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

Request Parameter

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

Parameters

ParameterTypeRequiredDefaultDescription
modelstring✅ Yessora-2The video generation model to use.
promptstring✅ YesShe turns around and smiles, then slowly walks out of the frame.The positive prompt for the generation.
imagesstring[]✅ Yes["https://oss.heyoos.com/ai-draw/material/land-part1-default.png"]Images parameter
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.