About this endpoint
What it does
Submits a video file for conversion to GIF as an asynchronous job. The request sends the source video plus optional conversion settings, and the response returns a job identifier for polling.
Query Parameter(s)
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| persistent | Boolean | No | When true, requests persistent job handling. |
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| video | String | Yes | The video file to convert. Format: binary. |
| size | String | No | Output dimensions in WIDTHxHEIGHT format using even integers, for example 320x240. |
| speed | String | No | Integer from -10 to 10; negative values slow the video down, positive values speed it up, and 0 is normal speed. |
| duration | String | No | Clip length in seconds. Maximum 20. Default is 2. |
| start_time | String | No | Seek offset in seconds. Default is 0. |
Response
Returns a JSON object with a top-level job_id string field. The job_id is a UUID used for status polling.
| 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 from job_id.