Sora 2 Pro

sora-2-pro-image-to-video

post

Image-to-video endpoint for Sora 2 Pro, OpenAI's state-of-the-art video model capable of creating richly detailed, dynamic clips with audio from natural language or images.

Header parameters
AuthorizationstringRequiredExample: sk-Qp03mnjjNqXKxpnw5qQ4IqVABNfad5YOk1axUhp7pJbokFmu
Body
modelstringRequired

model is the model name

Example: sora-2-pro-image-to-video
promptstringRequired

The text prompt describing the video you want to generate

Example: A cute baby sea otter.
resolutionstring · enumOptional

The resolution of the generated video Default value: "auto"

Possible enum values: auto, 720p, 1080p

Default: autoExample: autoPossible values:
aspect_ratiostring · enumOptional

The aspect ratio of the generated video Default value: "auto"

Possible enum values: auto, 9:16, 16:9

Default: autoExample: autoPossible values:
durationstring · enumOptional

Duration of the generated video in seconds Default value: "4"

Possible enum values: 4, 8, 12

Default: 4Example: 4Possible values:
image_urlstringRequired

The URL of the image to use as the first frame

Example: https://resource.onerouter.pro/image/generated%2Fonerouter_fe4771ae-d67c-41bb-a366-b07f1411ae06.png
output_formatstring · enumOptional

output_format indicate the output format, default value is url.

Default: urlExample: urlPossible values:
Responses
200Success
application/json
post
/v1/videos/generations
200Success

Last updated