Sora 2 Pro
Text-to-video endpoint for Sora 2 Pro, OpenAI's state-of-the-art video model capable of creating richly detailed, dynamic clips with audio from natural language or images.
Header parameters
AuthorizationstringRequiredExample:
sk-Qp03mnjjNqXKxpnw5qQ4IqVABNfad5YOk1axUhp7pJbokFmuBody
modelstringRequiredExample:
model is the model name
sora-2-pro-text-to-videopromptstringRequiredExample:
prompt is the prompt.
A cute baby sea otter.resolutionstring · enumOptionalDefault:
The resolution of the generated video Default value: "1080p"
Possible enum values: 720p, 1080p
1080pExample: 1080pPossible values: aspect_ratiostring · enumOptionalDefault:
The aspect ratio of the generated video Default value: "16:9"
Possible enum values: 9:16, 16:9
16:9Example: 16:9Possible values: durationstring · enumOptionalDefault:
Duration of the generated video in seconds Default value: "4"
Possible enum values: 4, 8, 12
4Example: 4Possible values: output_formatstring · enumOptionalDefault:
output_format indicate the output format, default value is url.
urlExample: urlPossible values: Responses
200Success
application/json
post
/v1/videos/generations200Success
Last updated