You're looking at a specific version of this model. Jump to the model overview.
openai /sora-2-pro:f1024a89
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
|
| resolution |
None
|
standard
|
Resolution quality. Standard is 720p, high is 1024p
|
| 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 or video to use as a reference for generation
|
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'}