Skip to main content
POST
Video generation (Sora)
Generate video with Sora. It uses an asynchronous task flow: submit to get a task ID, poll until done, then download the video.

Submit a task

Parameters

Response (task created)

Query task status

status possible values: queued / processing / completed / failed.

Polling guidance

  • Start polling after an initial delay of 5-10 seconds.
  • Poll every 10-30 seconds.
  • It usually completes in 1-5 minutes.
  • On failure, the failure_reason field explains why.

Billing

A fixed charge per seconds generated + resolution. System-side failed tasks are not billed; tasks rejected by the upstream are billed by the compute already consumed.