Skip to main content
POST
/
api
/
v3
/
openai
/
reverse
/
sora-2
/
text-to-video
sora-2 (text to video)
curl --request POST \
  --url https://api.example.com/api/v3/openai/reverse/sora-2/text-to-video
This endpoint provides submit task functionality.

Request Parameter

curl --request POST \
  --url https://gptproto.com/api/v3/openai/reverse/sora-2/text-to-video \
  --header 'Authorization: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
  "orientation": "portrait",
  "prompt": "She turns around and smiles, then slowly walks out of the frame.",
  "size": "small",
  "duration": 10,
  "character_url": "https://oss.heyoos.com/2025/11/11/fffe18ab440d4fadb16b4563c4cd18d1.mp4"
}'
{
  "error": {
    "message": "Invalid signature",
    "type": "401"
  }
}

Parameters

ParameterTypeRequiredDefaultDescription
promptstring✅ YesShe turns around and smiles, then slowly walks out of the frame.The positive prompt for the generation.
sizestring✅ YessmallVideo size quality. Options: small, large. Only sora-2-pro supports high-definition (large)
orientationstring❌ NoportraitVideo orientation, does not support specific size control. Options: portrait, landscape
durationinteger❌ No10The duration of the generated video in seconds. For sora-2: 10, 15. For sora-2-pro: 15, 25
character_urlstring❌ Nohttps://oss.heyoos.com/2025/11/11/fffe18ab440d4fadb16b4563c4cd18d1.mp4Non-human IP video URL.