Skip to main content
POST
/
generation
/
openai
/
sora-2-pro
Sora 2 Pro
curl --request POST \
  --url https://open.skills.video/api/v1/generation/openai/sora-2-pro \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "<string>"
}
'
{
  "id": "<string>",
  "status": "starting",
  "usage": {
    "total": 0,
    "subscription": 0,
    "permanent": 0
  }
}
Highest fidelity with cinematic detail

Authorizations

Authorization
string
header
required

API Key for API endpoints

Body

application/json
prompt
string
required

A text description of the video to generate

n
integer
default:1

Number of results to generate (1-4)

Required range: 1 <= x <= 4
seconds
default:4

Duration of the video in seconds

resolution
enum<string>
default:720p

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

Available options:
720p,
1080p
aspect_ratio
enum<string>
default:9:16

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

Available options:
9:16,
16:9
first_frame_url
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
usage
object
required

Credit usage breakdown for the request