Skip to main content
POST
/
generation
/
openai
/
sora-2-pro
Sora 2 Pro
curl --request POST \
  --url https://open.ppt.video/api/v1/generation/openai/sora-2-pro \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "<string>"
}
'
{
  "id": "<string>",
  "status": "starting"
}
Sora 2 Pro video generation model

Authorizations

Authorization
string
header
required

API Key for API endpoints

Body

application/json
prompt
string
required

A text description of the video to generate

webhook
string<uri>

Webhook URL for receiving updates

seconds
default:4

Duration of the video in seconds

resolution
enum<string>
default:standard

Resolution quality. Standard is 720p, high is 1024p

Available options:
standard,
high
aspect_ratio
enum<string>
default:portrait

Aspect ratio of the video. Portrait is 720x1280, landscape is 1280x720

Available options:
portrait,
landscape
openai_api_key
string<password>

Optional: Your OpenAI API key. If you use your own OpenAI API key, you will be charged directly by OpenAI.

input_reference
string<uri>

An optional image to use as the first frame of the video. The image must be the same aspect ratio as the video.

Response

Generation status

id
string
required

Generation id.

status
enum<string>
required

Generation status

Available options:
starting,
processing,
succeeded,
failed,
canceled