Skip to main content
Need 1080p output? Use the Sora 2 Pro Image-to-Video variant (openai/sora-2-pro-i2v). Pricing differs significantly.

Endpoint

Async — returns {id, status: "pending"}; poll GET /v1/videos/generations/{id} until success or failed.

Parameters

string
required
Text prompt describing the desired motion or scene change. Audio cues in the prompt feed Sora 2’s synthesized audio track. Maximum 2000 characters — longer prompts are rejected with 400 invalid_request_error.
string[]
required
Exactly one source-image URL (PNG / JPEG, publicly accessible over HTTPS). Mapped to upstream image.
"4" | "8" | "12"
default:"\"4\""
Length of the generated clip in seconds. This is the only price lever — see pricing.

Example

Poll until terminal:
Try it live in the Sora 2 Playground.