Skip to main content
POST
/
api
/
v3
/
openai
/
sora-2
/
image-to-video
sora-2 (image to video)
curl --request POST \
  --url https://api.example.com/api/v3/openai/sora-2/image-to-video
Turn a single reference image into a coherent video clip with synchronized audio. Built on Sora 2’s core advances, the image-to-video pipeline preserves identity, lighting, and composition while synthesizing believable motion and camera dynamics.
curl -X POST "https://gptproto.com/api/v3/openai/sora-2/image-to-video" \
  -H "Authorization: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "prompt": "She turns around and smiles, then slowly walks out of the frame.",
  "image": "https://filesystem.site/cdn/202xxx/xxxx.png",
  "duration": 4
}'
{
  "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.
imagestring❌ Nohttps://filesystem.site/cdn/202xxx/xxxx.pngThe image for generating the output.
durationinteger❌ No4The duration of the generated video in seconds.4, 8, 12