Skip to main content
Video generation normally runs as an asynchronous task. A create endpoint returns a task ID, and a status endpoint returns progress, errors, and the final video URL.

API families

Standard workflow

1

Create a generation task

Send the prompt, input media, model, and generation settings.
2

Store the task ID

Read the exact id, task_id, or taskId field returned by the selected endpoint.
3

Poll the same API family

Use the matching status endpoint and its documented terminal states.
4

Download the result

Generated URLs may expire, so copy completed assets to your own storage.

Build reliable task polling

Review backoff, timeouts, failure states, and asset downloads.