Skip to main content
POST
/
api
/
v3
/
grok
/
grok-imagine-0.9
/
image-to-video
grok-imagine-0.9 (image to video)
curl --request POST \
  --url https://api.example.com/api/v3/grok/grok-imagine-0.9/image-to-video
Grok’s GPTProto format for the image to video API.
curl -X POST "https://gptproto.com/api/v3/grok/grok-imagine-0.9/image-to-video" \
  -H "Authorization: sk-***********" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "grok-imagine-0.9",
    "prompt": "跳舞",
    "image": "https://oss.heyoos.com/2025/11/20/4cc8f98d0e7e4b19a5c73b0f8fc8c16c.jpeg",
    "size": ""
}'
{
  "status": "success",
  "task_id": "3cafe8541391455fba76ce18829ef4c9"
}

Parameters

ParameterTypeRequiredDefaultDescription
Authorization (Header)string✅ Yes-Your API key in the format: sk-***********
modelstring✅ Yesgrok-imagine-0.9The model identifier
promptstring✅ Yes-The prompt describing the desired video animation
imagestring✅ Yes-URL of the input image to animate
sizestring❌ No-Optional size parameter for the output video