Skip to main content
POST
Create a new frame extraction for a file

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

file_id
string<uuid>
required

The ID of the file to extract frames from

Body

application/json

Frame extraction configuration

Frame extraction configuration (root level) with optional thumbnails configuration.

strategy
enum<string>
required

Frame extraction strategy - currently only 'uniform' is supported

Available options:
uniform
uniform_config
object

Configuration for uniform frame extraction

thumbnails_config
object

Configuration for frame thumbnails. Optional.

start_time_seconds
number

Optional: The start time of the video in seconds to start extracting frames from

Required range: x >= 0
end_time_seconds
number

Optional: The end time of the video in seconds to stop extracting frames at

Required range: x >= 0

Response

Frame extraction created successfully

frame_extraction_id
string<uuid>
required

Unique identifier for the frame extraction job

status
enum<string>
required

Status of the frame extraction job

Available options:
pending,
processing,
completed,
failed
created_at
number
required

Unix timestamp in milliseconds when the frame extraction was created

Required range: x >= 0
file_id
string<uuid>
required

ID of the file this frame extraction belongs to

frame_extraction_config
object
required

Configuration for frame extraction. Currently only supports uniform strategy.

frame_count
number

Total number of frames extracted (only present when status is completed)

Required range: x >= 0
data
object

Frame data with pagination (only present when status is completed and frames exist)