WaveSpeedAI APIKling V2.0 I2V

Kling V2.0 I2V

Kling AI is a powerful AI Text to Video and Image to Video model family developed by Kuaishou, the company behind one of China’s largest video-sharing platforms.

Features

kling-v2.0-i2v-master model developed by Kuaishou AI Team, maintains global leadership in the dimensions of dynamic quality, semantic response, and screen aesthetics, etc.

Key Features

  • High-Fidelity Motion: Generates smooth, realistic character movement and expressions.
  • Advanced Camera Control: Supports zoom, panning, tracking shots, and dynamic angles.
  • Extended Video Duration: Create videos up to 10 seconds long.
  • Realistic Visuals: Produces cinematic lighting, sharp details, and vivid colors.
  • Multimodal Understanding: Accurately follows complex instructions and prompt nuance.

Use Cases

  • Creative Storytelling: For filmmakers, animators, and writers wanting to visualize scenes.
  • Product & Brand Videos: For marketers to showcase features and aesthetics dynamically.
  • Social Media Content: Ideal for short-form, eye-catching video posts.

Authentication

For authentication details, please refer to the Authentication Guide.

API Endpoints

Submit Task & Query Result


# Submit the task
curl --location --request POST "https://api.wavespeed.ai/api/v3/kwaivgi/kling-v2.0-i2v-master" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}" \
--data-raw '{
    "image": "https://d2g64w682n9w0w.cloudfront.net/media/images/1747713619037325077_BGFFEAws.jpeg",
    "prompt": "Capture a dynamic, high-speed chase scene featuring two motorcycles navigating through a bustling cityscape at night. The camera alternates between close-up shots of the riders' intense expressions, the glowing neon signs of the city, and the sleek lines of the motorcycles as they weave through traffic. The sound of revving engines and the hum of the city create an exhilarating atmosphere.",
    "guidance_scale": 0.5,
    "duration": "5"
}'

# Get the result
curl --location --request GET "https://api.wavespeed.ai/api/v3/predictions/${requestId}/result" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}"

Parameters

Task Submission Parameters

Request Parameters

ParameterTypeRequiredDefaultRangeDescription
imagestringYeshttps://d2g64w682n9w0w.cloudfront.net/media/images/1747713619037325077_BGFFEAws.jpeg-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
end_imagestringNo--Tail 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.
promptstringNoCapture a dynamic, high-speed chase scene featuring two motorcycles navigating through a bustling cityscape at night. The camera alternates between close-up shots of the riders' intense expressions, the glowing neon signs of the city, and the sleek lines of the motorcycles as they weave through traffic. The sound of revving engines and the hum of the city create an exhilarating atmosphere.-Text prompt for generation; Positive text prompt; Cannot exceed 2500 characters
negative_promptstringNo--Negative text prompt; Cannot exceed 2500 characters
guidance_scalenumberNo0.50.00 ~ 1.00Flexibility in video generation; The higher the value, the lower the model’s degree of flexibility, and the stronger the relevance to the user’s prompt.
durationstringNo55, 10Generate video duration length seconds.

Response Parameters

ParameterTypeDescription
codeintegerHTTP status code (e.g., 200 for success)
messagestringStatus message (e.g., “success”)
data.idstringUnique identifier for the prediction, Task Id
data.modelstringModel ID used for the prediction
data.outputsarrayArray of URLs to the generated content (empty when status is not completed)
data.urlsobjectObject containing related API endpoints
data.urls.getstringURL to retrieve the prediction result
data.has_nsfw_contentsarrayArray of boolean values indicating NSFW detection for each output
data.statusstringStatus of the task: created, processing, completed, or failed
data.created_atstringISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”)
data.errorstringError message (empty if no error occurred)
data.timingsobjectObject containing timing details
data.timings.inferenceintegerInference time in milliseconds

Result Query Parameters

Result Request Parameters

ParameterTypeRequiredDefaultDescription
idstringYes-Task ID

Result Response Parameters

ParameterTypeDescription
codeintegerHTTP status code (e.g., 200 for success)
messagestringStatus message (e.g., “success”)
dataobjectThe prediction data object containing all details
data.idstringUnique identifier for the prediction
data.modelstringModel ID used for the prediction
data.outputsarrayArray of URLs to the generated content (empty when status is not completed)
data.urlsobjectObject containing related API endpoints
data.urls.getstringURL to retrieve the prediction result
data.has_nsfw_contentsarrayArray of boolean values indicating NSFW detection for each output
data.statusstringStatus of the task: created, processing, completed, or failed
data.created_atstringISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”)
data.errorstringError message (empty if no error occurred)
data.timingsobjectObject containing timing details
data.timings.inferenceintegerInference time in milliseconds
© 2025 WaveSpeedAI. All rights reserved.