Sora 2 Pro
Authorizations
API Key for API endpoints
Body
A text description of the video to generate
Duration of the video in seconds
Resolution quality. Standard is 720p, high is 1080p
720p, 1080p Aspect ratio of the video. Portrait is 720x1280, landscape is 1280x720
9:16, 16:9 An optional image to use as the first frame of the video. The image must be the same aspect ratio as the video.
Number of results to generate (1-4)
1 <= x <= 4Response
Generation submission accepted
Generation id.
Queue status
IN_QUEUE, IN_PROGRESS, COMPLETED, FAILED, CANCELED Normalized input payload for the generation task.
Credit usage breakdown for the request
Machine-readable generation error code. Present when status is FAILED.
Sanitized human-readable failure message. Present when status is FAILED.