Generate high-quality videos using the Sora 2 Pro model from text prompts or with image references.
| Size | Aspect Ratio | Use Case |
|---|---|---|
| 720x1280 | 9:16 | Vertical/Portrait (mobile, social media) |
| 1280x720 | 16:9 | Horizontal/Landscape (standard video) |
| 1024x1792 | 9:16 | Tall Portrait (extended vertical) |
| 1792x1024 | 16:9 | Wide Landscape (cinematic) |
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Text description for the video. For best results, describe:
Example: "Wide shot of a child flying a red kite in a grassy park, golden hour sunlight, camera slowly pans upward."
2000Optional image reference that guides generation. Can be a URL or Base64 encoded data.
Format for Base64: data:image/jpeg;base64,{base64_data}
Supported formats: image/jpeg, image/png, image/webp Image resolution must match the target video's size parameter Max file size: 10MB
Clip duration in seconds.
4, 8, 12 Output resolution formatted as width x height.
720x1280, 1280x720, 1024x1792, 1792x1024 Accepted - Task created successfully