Submit a job
Stream status
video.status events and then [DONE].
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Submit video generations and poll or stream job status.
| Method | Path | Description |
|---|---|---|
POST | /v1/videos/generations | Submit a video generation. |
GET | /v1/videos/{id} | Poll job status. |
GET | /v1/videos/{id}/stream | Stream job status over SSE. |
POST | /external/v1/videos/generations | External video submission. |
{
"model": "sora-2",
"prompt": "A slow pan across a clean product dashboard",
"duration": 5,
"aspect_ratio": "16:9",
"size": "1280x720",
"image_url": "data:image/png;base64,..."
}
{
"id": "provider-job-id",
"object": "video.generation",
"status": "queued",
"model": "sora-2"
}
GET /v1/videos/{id}/stream?pollIntervalMs=2000&timeoutMs=600000
video.status events and then [DONE].