Model
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | Yes | - | Text prompt describing the video to generate |
mode | string | No | "pro" | "std" (720p) or "pro" (1080p) |
duration | integer | No | 5 | 5 or 10 seconds |
native_audio | boolean | No | false | Enable AI audio generation. Required for voices, pro mode only |
start_frame_url | string | No | - | First frame image URL. Omit for text-to-video |
end_frame_url | string | No | - | Last frame image URL (not available with native_audio) |
voices | array | No | - | Voice references for character speech (max 5, requires native_audio) |
| Parameter | Type | Description |
|---|---|---|
voice_id | integer | Official voice ID (use GET /v1/resources/kuaishou/kling/voices to list). Mutually exclusive with voice_url |
voice_url | string | Custom voice MP3 URL. Mutually exclusive with voice_id |
Constraints
native_audiorequiresmode: "pro"end_frame_urlis not available whennative_audiois enabledvoicesrequirenative_audioto be enabled
