Skip to main content
POST
/
api
/
v3
/
kwaivgi
/
kling-v2.5-turbo-pro
/
text-to-video
kling-v2.5-turbo-pro
curl --request POST \
  --url https://gptproto.com/api/v3/kwaivgi/kling-v2.5-turbo-pro/text-to-video \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "aspect_ratio": "<string>",
  "duration": "<string>",
  "guidance_scale": 123,
  "prompt": "<string>"
}'
{
  "error": {
    "message": "Invalid request parameters",
    "type": "invalid_request_error",
    "code": "invalid_parameters"
  }
}

Overview

This endpoint provides kling-v2.5-turbo-pro functionality.

Authentication

This endpoint requires authentication using a Bearer token.
Authorization
string
required
Your API key in the format: Bearer YOUR_API_KEY

Request Body

aspect_ratio
string
Aspect Ratio parameter
duration
string
Duration parameter
guidance_scale
number
Guidance Scale parameter
prompt
string
required
Prompt parameter

Request Example

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 '{
  "aspect_ratio": "16:9",
  "duration": "5",
  "guidance_scale": 0.5,
  "prompt": "A world-weary private investigator leans against a rain-streaked phone booth on a foggy 1940s New York street, steam rising from a manhole cover. A fedora casts a deep shadow over his eyes. Holding the classic receiver, he speaks in a low, gravelly voice: \"The recording was pure static, a dead end. Then I ran it through WaveSpeedAI. The new Wan2.5 algorithm filtered the noise... I heard everything. The whisper, the threat, the whole rotten deal.\" High-contrast black and white, dramatic chiaroscuro lighting, deep focus, 35mm film grain, moody and atmospheric.\n\n"
}'

Response

Success
200
Successful response
{
  "status": "success"
}

Error Responses

{
  "error": {
    "message": "Invalid request parameters",
    "type": "invalid_request_error",
    "code": "invalid_parameters"
  }
}