> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-docs-recommend-assets-api.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# KlingImageToVideoWithAudio - ComfyUI Built-in Node Documentation

> Complete documentation for the KlingImageToVideoWithAudio node in ComfyUI. Learn its inputs, outputs, parameters and usage.

> 本文档由 AI 生成。如果您发现任何错误或有改进建议，欢迎贡献！ [在 GitHub 上编辑](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/KlingImageToVideoWithAudio/zh.md)

Kling Image(First Frame) to Video with Audio 节点使用 Kling AI 模型，从单张起始图像和文本提示生成短视频。它会创建一个以提供的图像为起始帧的视频序列，并可选择性地包含 AI 生成的音频来配合视觉效果。

## 输入参数

| 参数名              | 数据类型    | 必填 | 取值范围           | 描述                                                       |
| ---------------- | ------- | -- | -------------- | -------------------------------------------------------- |
| `model_name`     | COMBO   | 是  | `"kling-v2-6"` | 用于视频生成的 Kling AI 模型的具体版本。                                |
| `start_frame`    | IMAGE   | 是  | -              | 将作为生成视频第一帧的图像。图像必须至少为 300x300 像素，且宽高比在 1:2.5 到 2.5:1 之间。 |
| `prompt`         | STRING  | 是  | -              | 正向文本提示。用于描述您想要生成的视频内容。提示长度必须在 1 到 2500 个字符之间。            |
| `mode`           | COMBO   | 是  | `"pro"`        | 视频生成的操作模式。                                               |
| `duration`       | COMBO   | 是  | `5`<br />`10`  | 要生成的视频长度，单位为秒。                                           |
| `generate_audio` | BOOLEAN | 否  | -              | 启用时，节点将生成伴随视频的音频。禁用时，视频将没有声音。（默认值：True）                  |

## 输出参数

| 输出名称    | 数据类型  | 描述                                       |
| ------- | ----- | ---------------------------------------- |
| `video` | VIDEO | 生成的视频文件，根据 `generate_audio` 输入参数，可能包含音频。 |
