WaveSpeedAI APIKwaivgi Kling V2.1 I2v Master

Kwaivgi Kling V2.1 I2V Master

Kwaivgi Kling V2.1 I2V Master

Playground

Try it on WavespeedAI!

Kling 2.1 Master: The premium endpoint for Kling 2.1, designed for top-tier image-to-video generation with unparalleled motion fluidity, cinematic visuals, and exceptional prompt precision.

Features

Kling 2.1

Kling 2.1 is Kuaishou’s advanced image-to-video generation model released in 2025. Designed for high-fidelity cinematic output, Kling 2.1 transforms reference images — with optional text prompts — into visually rich, lifelike video clips.

🔧 Key Technology

  • 3D Spatiotemporal Attention Architecture
    Enables realistic motion and coherent visual progression across frames.

  • Real-World Physics Simulation
    Produces natural, fluid, and intricate character movements and scene dynamics.

🎬 Core Features

  • Image-to-Video Transformation
    Generates cinematic sequences from static images, optionally guided by user text.

  • AI-Assisted Prompting
    Offers intelligent prompt suggestions to help users craft effective input instructions.

  • Multiple Video Variants
    Capable of producing diverse outputs from the same prompt for greater creative flexibility.

🚀 Performance

Kling 2.1 marks a major leap over Kling 2.0 in:

  • Visual Realism
  • Motion Coherence
  • Prompt Adherence

In comparative evaluations, it rivals the quality of top-tier closed-source video generation models.


Kling 2.1 sets a new benchmark for generative video, blending artistry, physics, and AI precision.

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.1-i2v-master" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}" \
--data-raw '{
    "prompt": "The scene opens with a small fishing boat caught in the midst of a raging storm. The sky is dark and ominous, filled with swirling clouds and flashes of lightning. The sea is tumultuous, with massive waves crashing against the boat, threatening to capsize it. The boat's deck is slick with rain, and the crew members are struggling to maintain control.",
    "negative_prompt": "blur, distort, and low quality",
    "image": "https://d3gnftk2yhz9lr.wavespeed.ai/media/images/1749522950129341275_kHvrnkgd.jpeg",
    "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
promptstringYes-Text prompt for generation; Positive text prompt; Cannot exceed 2500 characters.
negative_promptstringNo-Negative text prompt; Cannot exceed 2500 characters.
imagestringYes-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.
guidance_scalenumberNo0.50.00 ~ 1.00The guidance scale to use for the generation.
durationstringNo55, 10The duration of the generated media in 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, the ID of the prediction to get
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.