Skip to main content

Endpoint

Returns HTTP 202 immediately. Poll GET /v1/videos/{id} for the result.

Request

string
required
Bearer <your-token>
string
required
application/json
string
Any unique string. Reusing the same key returns the existing job instead of creating a new one. See Idempotency.

Body

string
required
Model ID from GET /v1/models.
string
required
Text description of the video to generate. Max 2500 characters.
string
Elements to avoid in the output. Max 2500 characters.
string
default:"16:9"
Output aspect ratio. One of 16:9, 9:16, 1:1.
number
default:"5"
Clip length in seconds. Allowed values depend on the model — check durations from GET /v1/models.
number
default:"0.5"
How closely to follow the prompt. Range 01. Higher = more literal.
string
Publicly accessible image URL. Required for image-to-video models. See Image to Video.

Example

Response 202