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

openai /sora-2:dea6b974

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
Your OpenAI API key
prompt
string
A text description of the video to generate
input_reference
string
An optional image or video to use as a reference for generation
seconds
None
4
Duration of the video in seconds
aspect_ratio
None
portrait
Aspect ratio of the video. Portrait is 720x1280, landscape is 1280x720

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