Kling V2.1 I2V Standard
Kling 2.1 Standard is a cost-efficient endpoint for the Kling 2.1 model, delivering high-quality image-to-video generation
Features
Kling 2.1 is an advanced AI video generation model developed by Kuaishou, designed to deliver high-quality, realistic, and coherent video content from text and image prompts. It targets creators and professionals needing scalable, cinematic-grade video generation with strong motion consistency and rich visual detail.
Kling-v2.1-i2v-standard is cost-effective and suitable for rapid prototyping and rough drafts.
Key Features
- Smooth Motion: Algorithmic stabilization for jitter-free long shots.
- High-Fidelity Rendering: Physically accurate skin, fluid, and reflection modeling.
- Prompt Understanding: Context-aware interpretation of actions/styles.
- Camera Control: Cinematic techniques like dolly zoom and motion paths.
Use Cases
- Short-Form Video Production (TikTok, Reels, YouTube Shorts).
- Creative Storyboarding and Previsualization for film and advertising.
- High-Quality Commercials and Promo Videos.
- Artistic and Stylized Video Content for NFTs and experimental projects.
- Game Development Previews and Virtual Environment Visualization.
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-standard" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}" \
--data-raw '{
"prompt": "In a sky filled with swirling clouds and patches of bright sunlight, a fighter jet pilot expertly performs high-speed maneuvers. As the pilot spots an incoming threat, they swiftly execute a barrel roll to evade it. The jet's engines roar as it slices through the air, leaving a trail of contrails behind. ",
"negative_prompt": "blur, distort, and low quality",
"image": "https://d2g64w682n9w0w.cloudfront.net/media/images/1749521540283047966_dqzyvrnl.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
Parameter | Type | Required | Default | Range | Description |
---|---|---|---|---|---|
prompt | string | Yes | In a sky filled with swirling clouds and patches of bright sunlight, a fighter jet pilot expertly performs high-speed maneuvers. As the pilot spots an incoming threat, they swiftly execute a barrel roll to evade it. The jet's engines roar as it slices through the air, leaving a trail of contrails behind. | - | Text prompt for generation; Positive text prompt; Cannot exceed 2500 characters |
negative_prompt | string | No | blur, distort, and low quality | - | Negative text prompt; Cannot exceed 2500 characters |
image | string | No | https://d2g64w682n9w0w.cloudfront.net/media/images/1749521540283047966_dqzyvrnl.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 |
guidance_scale | number | No | 0.5 | 0.00 ~ 1.00 | Flexibility 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. |
duration | string | No | 5 | 5, 10 | Generate video duration length seconds. |
Response Parameters
Parameter | Type | Description |
---|---|---|
code | integer | HTTP status code (e.g., 200 for success) |
message | string | Status message (e.g., “success”) |
data.id | string | Unique identifier for the prediction, Task Id |
data.model | string | Model ID used for the prediction |
data.outputs | array | Array of URLs to the generated content (empty when status is not completed ) |
data.urls | object | Object containing related API endpoints |
data.urls.get | string | URL to retrieve the prediction result |
data.has_nsfw_contents | array | Array of boolean values indicating NSFW detection for each output |
data.status | string | Status of the task: created , processing , completed , or failed |
data.created_at | string | ISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”) |
data.error | string | Error message (empty if no error occurred) |
data.timings | object | Object containing timing details |
data.timings.inference | integer | Inference time in milliseconds |
Result Query Parameters
Result Request Parameters
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
id | string | Yes | - | Task ID |
Result Response Parameters
Parameter | Type | Description |
---|---|---|
code | integer | HTTP status code (e.g., 200 for success) |
message | string | Status message (e.g., “success”) |
data | object | The prediction data object containing all details |
data.id | string | Unique identifier for the prediction |
data.model | string | Model ID used for the prediction |
data.outputs | array | Array of URLs to the generated content (empty when status is not completed ) |
data.urls | object | Object containing related API endpoints |
data.urls.get | string | URL to retrieve the prediction result |
data.has_nsfw_contents | array | Array of boolean values indicating NSFW detection for each output |
data.status | string | Status of the task: created , processing , completed , or failed |
data.created_at | string | ISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”) |
data.error | string | Error message (empty if no error occurred) |
data.timings | object | Object containing timing details |
data.timings.inference | integer | Inference time in milliseconds |