Video ThumbnailsCreate and set default thumbnail
Video Thumbnails

Create and set default thumbnail

This is is to create a thumbnail of specified dimensions with the frame of video at the given position in sec. Generated thumbnail gets assigned as default thumbnail immediately to the content

curl -X POST "https://api.videograph.ai/video/services/api/v1/contents/example_string/thumbnails" \
  -H "Content-Type: application/json" \
  -H "Authorization: Basic YOUR_CREDENTIALS" \
  -d '{
  "videoPositionInSec": 123,
  "width": 123,
  "height": 42
}'
{
  "status": "Success",
  "message": "Thumbnail created",
  "code": 201
}
POST
/video/services/api/v1/contents/{CONTENT_ID}/thumbnails
POST
Security Scheme
Basic Authentication
Usernamestring
Required

Username for basic authentication

Passwordpassword
Required

Password for basic authentication

Content-Typestring
Required

The media type of the request body

Options: application/json
videoPositionInSecinteger
Required

Provide the exact duration of video in seconds at which you wish to create the thumbnail.

Format: int64
widthinteger
Required

Specify the Width of thumbnail in pixels.

Format: int64
heightinteger
Required

Specify the Height of thumbnail in pixels.

Format: int64
Request Preview
Response

Response will appear here after sending the request

Authentication

basicAuth
header
Authorizationstring
Required

Basic authentication credentials. Provide username and password encoded in Base64 format: Basic base64(username:password)

Path Parameters

Body

application/json
videoPositionInSecinteger
Required

Provide the exact duration of video in seconds at which you wish to create the thumbnail.

widthinteger
Required

Specify the Width of thumbnail in pixels.

heightinteger
Required

Specify the Height of thumbnail in pixels.

Responses

Was this page helpful?
Built with Documentation.AI

Last updated Dec 29, 2025