POST
/
sora
/
generate
curl -X POST https://api.example.com/sora/generate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A beautiful landscape"
  }'
Create a Sora video using the unified format.

Request Parameters

prompt
string
required
Video description prompt.
duration
number
Video duration.
curl -X POST https://api.example.com/sora/generate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A beautiful landscape"
  }'