About this endpoint
What it does
Submits a video-to-GIF conversion job using a source video URL and returns a job identifier immediately. Use that job ID to poll the corresponding job status endpoint until the GIF is ready.
Query Parameter(s)
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| persistent | Boolean | No | Optional flag passed in the query string. |
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| video_url | String | Yes | Publicly accessible URL of the video to convert. Must be a URI. |
| size | String | No | Output dimensions as WIDTHxHEIGHT using even integers, for example 320x240. |
| speed | String | No | Integer from -10 to 10; negative values slow the clip down, positive values speed it up, and 0 keeps normal speed. |
| duration | String | No | Clip length in seconds. Capped at 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 — a UUID job identifier for status polling. The endpoint returns immediately after a successful async job submission.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| job_id | String | Yes | Job identifier for status polling. Must be a 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 to continue polling.