Skip to main content
Video generation is an asynchronous workflow. You submit a job, poll until it completes, then download the result. Content-Type (submission): multipart/form-data
Parameter support can differ depending on the model used. Check the Model Library for model-specific compatibility. Open Model Library.

Authentication

Send your API key in the Authorization header as a Bearer token.

Step 1 — Submit job

POST /api/v1/generate

Parameters

Response

Step 2 — Poll status

GET /api/v1/generate/status?jobId={task_id}&model={model} Poll this endpoint until status is completed or failed.

Response

Step 3 — Download result

GET /api/v1/generate/result?jobId={task_id}&model={model} Returns the generated MP4 file as binary content.

Examples

Full workflow