You're looking at a specific version of this model. Jump to the model overview.

openai /sora-2-pro:51593d3a

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
openai_api_key
string
Optional: Your OpenAI API key. If you use your own OpenAI API key, you will be charged directly by OpenAI.
prompt
string
A text description of the video to generate
input_reference
string
An optional image to use as the first frame of the video. The image must be the same aspect ratio as the video.
seconds
None
4
Duration of the video in seconds
aspect_ratio
None
portrait
Aspect ratio of the video. Portrait is 720x1280, landscape is 1280x720
resolution
None
standard
Resolution quality. Standard is 720p, high is 1024p

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}