Thumbnails
Overview
The Thumbnails Task captures still image frames from a video file at regular intervals or specific moments.
Each thumbnail is generated as a separate Track file with "kind": "thumbnails"
and stored as an image (.jpg
or .png
).
Thumbnails are used for media previews, cover images, or frame-by-frame analysis in video applications.
Example Output
Creating a Thumbnails Task
Thumbnails can be generated directly from a video URL or included within an automation workflow.
When complete, the task produces one or more still image files which can be retrieved via API or webhook.
Webhook Example
File Structure
Property | Type | Description |
---|---|---|
id | string | Unique file ID for the thumbnails track. |
object | string | Always "track". |
kind | string | Always "thumbnails". |
format | string | Image output format — "jpg" or "png". |
count | number | Number of thumbnails generated. |
width | number | Output width of each thumbnail. |
height | number | Output height of each thumbnail. |
urls | array | Public URLs for all generated thumbnails. |
created / updated | string (ISO 8601) | Timestamps for creation and update. |
Supported Inputs
Thumbnails can be generated from:
- Video files:
.mp4
,.mov
,.webm
- Animated media:
.gif
,.avi
Example Workflow Integration
Thumbnails tasks are typically part of an Automation pipeline
alongside subtitles and chapters for end-to-end video processing.
Each time a new media object is created, this workflow automatically generates compressed video outputs,
subtitle tracks, thumbnails, and chapter markers.
Example Use in Media Objects
When a video is processed, thumbnail files appear as part of the related Media Object:
Example Display in HTML
Use thumbnails to display preview images or video selectors in your web app.
Common Use Cases
- Generating video previews and posters
- Selecting keyframes for editing interfaces
- Improving UX for media galleries
- Creating multi-frame summaries or reels
Summary
The Thumbnails task generates still image frames from a video file at defined intervals.
Each frame is output as a standalone image file for display, navigation, or preview generation,
and can be triggered directly or as part of an automation workflow.