infery
← All models

Sora 2

sora-2

Video generationby OpenAI

Flagship video generation with synced audio

Example

Details

Accepts
text

Pricing

Price
12.5 cr / second

Prices in credits (1 credit = $0.01).

Data schema

approximate

Input

FieldTypeDescription
nintegerNumber of outputs.
promptrequiredstringThe text prompt.
durationstringenum: 4, 8, 12
resolutionstringenum: 1280x720, 720x1280
aspect_ratiostringenum: 16:9, 9:16
secondsenum: 4, 8, 12Duration of the video in seconds
openai_api_keystringOptional: Your OpenAI API key. If you use your own OpenAI API key, you will be charged directly by OpenAI.
input_referencestringAn optional image to use as the first frame of the video. The image must be the same aspect ratio as the video.

Output

FieldTypeDescription
videoobjectGenerated video ({ url }).