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

Overview

Kling 2.5 Turbo Pro turns a single image and prompt into cinematic video with fluid motion and exact intent. A new text-timing engine, improved dynamics, and faster inference enable high-speed action and complex camera moves with stable frames, while refined conditioning preserves palette, lighting, and mood.

Authentication

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

Request Body

image
string
required
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.
prompt
string
required
The positive prompt for the generation.
negative_prompt
string
The negative prompt for the generation.
guidance_scale
number
default:"0.5"
0.00 ~ 1.00 . The guidance scale to use for the generation.
duration
integer
default:"5"
5, 10. default 5 . The duration of the generated media in seconds.

Request Example

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"
}'

Response

data.id
string
Unique identifier for the prediction, Task Id
data.status
string
Status of the task: created, processing, completed, or failed
{
  "error": {
    "message": "Invalid signature",
    "type": "401"
  }
}