Text-to-video and optional image-guided video generation
sora-2-official supports text-to-video generation and optional single-image guided generation with fixed 4s, 8s, 12s, 16s, and 20s durations.
4, 8, 12, 16, or 20. Default is 416:9 or 9:16. Default is 16:91 imageimage_urls is optional. If provided, only one image is supported.All API endpoints require Bearer Token authentication
Get your API Key:
Visit the API Key Management Page to get your API Key
Add it to the request header:
Authorization: Bearer YOUR_API_KEY