Skip to main content
POST
/
v1
/
video
/
create
sora-2 (submit task)
curl --request POST \
  --url https://api.example.com/v1/video/create
This endpoint provides submit task functionality.
curl -X POST "https://gptproto.com/v1/video/create" \
  -H "Authorization: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "sora-2",
  "orientation": "portrait",
  "prompt": "A video of a horse dancing.",
  "images": [
    "https://oss.heyoos.com/ai-draw/material/land-part1-default.png"
  ],
  "duration": 15
}'
{
  "error": {
    "message": "Invalid signature",
    "type": "401"
  }
}

Parameters

ParameterTypeRequiredDefaultDescription
modelstring✅ Yessora-2The model to use for the request
orientationstring❌ NoportraitOrientation parameter
promptstring✅ YesA video of a horse dancing.Prompt parameter
imagesarray❌ No["https://oss.heyoos.com/ai-draw/material/land-part1-default.png"]Images parameter
durationinteger❌ No15Duration parameter