Skip to main content
POST
/
api
/
v3
/
kwaivgi
/
kling-v2.5-turbo-pro
/
image-to-video
kling-v2.5-turbo-pro (image to video)
curl --request POST \
  --url https://api.example.com/api/v3/kwaivgi/kling-v2.5-turbo-pro/image-to-video
Kling’s GPTProto format for the image to video API.
curl -X POST "https://gptproto.com/api/v3/kwaivgi/kling-v2.5-turbo-pro/image-to-video" \
--header 'Authorization: sk-xxx' \
--header 'Content-Type: application/json' \
--data-raw '{
    "image": "https://h2.inkwai.com/bs2/upload-ylab-stunt/se/ai_portal_queue_mmu_image_upscale_aiweb/3214b798-e1b4-4b00-b7af-72b5b0417420_raw_image_0.jpg",
    "prompt": "The astronaut stood up and walked away",
    "negative_prompt": "",
    "guidance_scale": 0.5,
    "duration": "5"
}'
{
  "error": {
    "message": "Invalid signature",
    "type": "401"
  }
}

Parameters

ParameterTypeRequiredDefaultDescription
imagestring✅ Yes-First frame of the video; Supported image formats include.jpg/.jpeg/.png; The image file size cannot exceed 10MB, and the image resolution should not be less than 300*300px, and the aspect ratio of the image should be between 1:2.5 ~ 2.5:1.
promptstring✅ Yes-The positive prompt for the generation.
negative_promptstring❌ No-The negative prompt for the generation.
guidance_scalenumber❌ No0.50.00 ~ 1.00 . The guidance scale to use for the generation.
durationinteger❌ No55, 10. default 5 . The duration of the generated media in seconds.