Docs

Create Thumbnails

Generate individual images or sprite sheets from a Source. Each accepted request creates a new resource. Processing continues after the response.

POST
/thumbnails

Authorization

Authorization
header
string
required

Enter the project access token with the Bearer prefix, e.g. "Bearer project_access_token"

Bodyapplication/json
source_id
string
required

SourceId identifies a video Source in this Project.

timestamps
number[]
required

Timestamps specifies 1 to 100 Source-relative target times in seconds. Every time must be within the selected range. Repeated targets produce separate outputs.

count
integer

Count specifies 1 to 100 thumbnails at the middle of equal sections of the selected range.

Required range: 1 <= x <= 100
format
default: "jpeg"
string

Format specifies the image encoding.

Available options:
jpegwebp
metadata
object

Metadata attaches string values to this request. The serialized object may contain at most 2048 bytes.

output
default: "images"
string

Output specifies individual images or automatically arranged sprite sheets.

Available options:
imagessprites
range
object

Range limits sampling to part of the Source. Defaults to the whole Source duration.

size
default: 320
integer

Size specifies the maximum image or tile edge in pixels, from 64 to 1920. Defaults to 320. Odd sizes are supported. Preserves display aspect ratio without cropping or upscaling.

Required range: 64 <= x <= 1920
storage
object

Storage overrides the Project output destination and names the output files. Source storage remains independent.

Responses

application/json
data
object
required

Data contains the thumbnail resource.

status
"success"
string
required

Status is success for a successful request.

Thumbnail accepted for processing.