Models
| Model | Mode | Features |
|---|---|---|
kuaishou/kling-2.1-video | std, pro | Image-to-video only, end frame supported |
kuaishou/kling-2.1-master-video | pro only | Text-to-video + image-to-video, no end frame |
Kling v2.1
Image-to-video only —start_frame_url is required.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | Yes | - | Text prompt describing the video to generate |
start_frame_url | string | Yes | - | First frame image URL |
end_frame_url | string | No | - | Last frame image URL |
duration | integer | No | 5 | 5 or 10 seconds |
mode | string | No | "pro" | "std" (720p) or "pro" (1080p) |
sound_effects | object | No | - | Sound effects and music configuration. Omit to disable audio |
Example
Kling v2.1 Master
Supports both text-to-video and image-to-video. Pro-only mode. No end frame support.Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | Yes | - | Text prompt describing the video to generate |
duration | integer | No | 5 | 5 or 10 seconds |
start_frame_url | string | No | - | First frame image URL (optional) |
sound_effects | object | No | - | Sound effects and music configuration. Omit to disable audio |
Example - Text-to-Video
Example - Image-to-Video
Sound Effects
| Parameter | Type | Default | Description |
|---|---|---|---|
sound | string | "" | Sound effect prompt (e.g. “wind blowing, birds chirping”) |
music | string | "" | Background music prompt (e.g. “cinematic orchestral”) |
asmr_mode | boolean | false | Enable ASMR-style audio generation |
