About this endpoint
What it does
Submits a video file to start an asynchronous video thumbnail generation job. The endpoint accepts a multipart file upload plus optional job parameters and returns a job identifier immediately.
Query Parameter(s)
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| persistent | Boolean | No | Whether the job should persist. |
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| video | String | Yes | Source video file. Binary upload (format: binary). |
| size | String | No | Optional output scale in WIDTHxHEIGHT format using even integers, for example 640x360. |
| duration | String | No | Clip length in seconds. Default 2; capped at 20. |
| start_time | String | No | Seek offset in seconds as a non-negative integer. Default 0. |
Response
Returns a JSON object with a job_id string field, formatted as a UUID. This is the identifier for polling job status after submission.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| job_id | String | Yes | Job identifier for status polling; format: UUID. |
Notes
This endpoint kicks off an async job and returns immediately with a job identifier; the actual work runs in the background. Pair this call with the corresponding job_check endpoint — poll that until the status reaches a terminal state to retrieve the result. Extract the job_id field from the response.