Create Video Task
Sora Video
Create Video
Create a new video generation task using Sora models. Route 1 (route1): model sora2-12s, duration must be 12. Route 3: sora2-gz-stable / sora2-gz-sp. Route 6: see model config.
POST
Create Video Task
Routes and models
Assign aroute in the OpenAPI model config, then call this endpoint. Common Sora examples:
| Route | Config route | Model examples | Duration |
|---|---|---|---|
| Route 1 | route1 | sora2-12s | 12s only |
| Route 3 | route3 | sora2-gz-stable, sora2-gz-sp | Per model |
| Route 6 | route6 | openai-sora-2, etc. | Per model |
Route 1 (sora2-12s)
durationmust be12orientation:landscape→ 16:9,portrait→ 9:16- Optional
images: one reference image URL for image-to-video - Query tasks via Query video task
Result URLs are kept for about 3 days; download promptly.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Model name. Route 1: sora2-12s (duration must be 12). Route 3: sora2-gz-stable, sora2-gz-sp, etc.
Text prompt for video generation
Duration in seconds. Route 1 sora2-12s must be 12
Video orientation
Available options:
landscape, portrait Reference image URLs