Skip to main content
POST
/
api
/
v3
/
openai
/
sora-2
/
image-to-video-pro
sora-2-pro (image to video)
curl --request POST \
  --url https://api.example.com/api/v3/openai/sora-2/image-to-video-pro
This endpoint provides image to video pro functionality.
curl -X POST "https://gptproto.com/api/v3/openai/sora-2/image-to-video-pro" \
  -H "Authorization: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "prompt": "A video of a horse dancing.",
  "image": "https://oss.heyoos.com/ai-draw/material/land-part1-default.png",
  "duration": 4,
  "resolution": "720p"
}'
{
  "error": {
    "message": "Invalid signature",
    "type": "401"
  }
}

Parameters

ParameterTypeRequiredDefaultDescription
promptstring✅ YesA video of a horse dancing.Prompt parameter
imagestring❌ Nohttps://oss.heyoos.com/ai-draw/material/land-part1-default.pngImage parameter
durationinteger❌ No4Duration parameter
resolutionstring❌ No720pResolution parameter