Skip to main content
POST
Generate custom thumbnail
Generate a custom thumbnail image from a specific timestamp in the video.
  • Time parameter is in seconds, can be a float (e.g., 2.5 for 2.5 seconds into video)
  • Returns an Image object with URL and metadata
  • Generated thumbnails are stored and can be retrieved later
  • Time value should be within video duration (0 to video.length)
  • Multiple thumbnails can be generated at different timestamps

Authorizations

x-access-token
string
header
required

API key for authentication (sk-xxx format)

Path Parameters

video_id
string
required
Pattern: ^m-
Example:

"m-12345"

Body

application/json
timestamp
number
Example:

10.5

width
integer
Example:

320

height
integer
Example:

180

Response

200 - application/json

Thumbnail generated

success
boolean
Example:

true

status
enum<string>
Available options:
processing,
done,
failed
Example:

"processing"

data
object