Skip to main content
POST
/
api
/
v3
/
kwaivgi
/
kling-v2.1-i2v-master
kling-v2.1-i2v-master (image to video)
curl --request POST \
  --url https://api.example.com/api/v3/kwaivgi/kling-v2.1-i2v-master
Kling’s GPTProto format for the image to video API.
curl -X POST "https://gptproto.com/api/v3/kwaivgi/kling-v2.1-i2v-master" \
  -H "Authorization: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "prompt": "The character in the picture walks to the anime garden to find a comb placed on the ground, without changing the proportion of the character'''s face",
  "image": "https://oss.heyoos.com/ai-draw/user/-ead3cec3-de6b-4ed5-b38c-4d8707731686.png",
  "guidance_scale": 0.5,
  "duration": 5
}'
{
  "error": {
    "message": "Invalid signature",
    "type": "401"
  }
}

Parameters

ParameterTypeRequiredDefaultDescription
promptstring✅ YesThe character in the picture walks to the anime garden to find a comb placed on the ground, without changing the proportion of the character'''s facePrompt parameter
imagestring❌ Nohttps://oss.heyoos.com/ai-draw/user/-ead3cec3-de6b-4ed5-b38c-4d8707731686.pngImage parameter
guidance_scalenumber❌ No0.5Guidance Scale parameter
durationinteger❌ No5Duration parameter