Create videos using Sora with the official OpenAI video API format
POST /v1/videos
| Parameter | Type | Required | Description |
|---|---|---|---|
| model | string | Yes | sora-2 or sora-2-pro |
| prompt | string | Yes | Text prompt for video generation |
| size | string | No | Video size (e.g., 1280x720) |
| duration | integer | No | Video duration in seconds |
| images | array | No | Reference images |
| character_url | string | No | URL to a character video for character-based generation |
| storyboard | array | No | Storyboard segments for structured video creation |
| private | boolean | No | Enable private mode |