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

openai /sora-2:c86d0285

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
seconds
None
4
Duration of the video in seconds
aspect_ratio
None
portrait
Aspect ratio of the video. Portrait is 720x1280, landscape is 1280x720
prompt
string
A text description of the video to generate
openai_api_key
string
Optional: Your OpenAI API key. If you use your own OpenAI API key, you will be charged directly by OpenAI.
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.

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