Skip to main content
POST
/
api
/
v3
/
kwaivgi
/
kling-v2.5-turbo-pro
/
text-to-video
kling-v2.5-turbo-pro (text to video)
curl --request POST \
  --url https://api.example.com/api/v3/kwaivgi/kling-v2.5-turbo-pro/text-to-video
Kling’s GPTProto format for the text to video API.
curl -X POST "https://gptproto.com/api/v3/kwaivgi/kling-v2.5-turbo-pro/text-to-video" \
  -H "Authorization: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "The astronaut stood up and walked away",
    "aspect_ratio": "16:9",
    "duration": 5,
    "guidance_scale": 0.5
}'
{
  "error": {
    "message": "Invalid signature",
    "type": "401"
  }
}

Parameters

ParameterTypeRequiredDefaultDescription
promptstring✅ Yes-The positive prompt for the generation.
negative_promptstring❌ No-The negative prompt for the generation.
aspect_ratiostring❌ No16:91:1, 9:16, 16:9. default 16:9 . The aspect ratio of the generated media.
durationinteger❌ No55, 10. default 5 . The duration of the generated media in seconds.
guidance_scalenumber❌ No0.50.00 ~ 1.00 . The guidance scale to use for the generation.