Skip to main content
POST
/
api
/
v3
/
openai
/
sora-2
/
text-to-video-pro
sora-2-pro (text to video)
curl --request POST \
  --url https://api.example.com/api/v3/openai/sora-2/text-to-video-pro
This endpoint provides text to video pro functionality.
curl -X POST "https://gptproto.com/api/v3/openai/sora-2/text-to-video-pro" \
  -H "Authorization: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "prompt": "A video of a horse dancing.",
  "size": "720*1280",
  "duration": 4
}'
{
  "error": {
    "message": "Invalid signature",
    "type": "401"
  }
}

Parameters

ParameterTypeRequiredDefaultDescription
promptstring✅ YesA video of a horse dancing.Prompt parameter
sizestring❌ No720*1280Size parameter
durationinteger❌ No4Duration parameter