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

openai /sora-2-pro:ccf1a58e

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
resolution
None
standard
Resolution quality. Standard is 720p (1280x720 landscape, 720x1280 portrait). High is 1024p (1792x1024 landscape, 1024x1792 portrait).

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'}