Sora2
Sora2 Video Generation
- Asynchronous processing mode, returns task ID for subsequent queries
- Supports multiple generation modes including text-to-video and image-to-video
- Supports both
sora-2andsora-2-promodels - Generated video links are valid for 24 hours, please save them promptly
POST
Documentation Index
Fetch the complete documentation index at: https://gccai.heqingsong.uk/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
All API endpoints require Bearer Token authenticationGet your API Key:Visit the API Key Management Page to get your API KeyAdd it to the request header:
Body
Video generation model nameSupported models:
sora-2Sora 2 standardsora-2-proSora 2 Pro
"sora-2"Text description for video generationExample:
"A waterfall cascading down forming a rainbow"Supported values:
4, 8, 12, 16, 20Example: 8Video resolutionSupported values:
Defaults to
| Model | Allowed values |
|---|---|
sora-2 | 720p |
sora-2-pro | 720p, 1024p, 1080p |
720p when not provided.Example: "720p"Video aspect ratio, controls landscape or portrait orientationSupported values:
Defaults to landscape when not provided.
| Orientation | Allowed values |
|---|---|
| Landscape | 16:9, landscape |
| Portrait | 9:16, portrait |
Array of reference image URLs for image-to-video generation
- Omit for text-to-video; provide 1 image for image-to-video
- Maximum 1 image
- Supports publicly accessible image URLs (http:// or https://)
- Supported formats:
.jpeg,.jpg,.png,.webp - Maximum file size: 10MB
["https://example.com/image.jpg"]Response
Response status code, 200 for success
Response data array