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

# KlingTextToVideoWithAudio - ComfyUI Built-in Node Documentation

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

Kling 文本转视频（含音频）节点可根据文本描述生成短视频。该节点向 Kling AI 服务发送请求，由服务处理提示词并返回视频文件。节点还可根据文本为视频生成配套音频。

## 输入

| 参数     | 说明                                         | 数据类型    | 是否必填 | 取值范围                                |
| ------ | ------------------------------------------ | ------- | ---- | ----------------------------------- |
| `模型`   | 用于视频生成的特定 AI 模型。                           | COMBO   | 是    | `"kling-v2-6"`                      |
| `提示词`  | 正向文本提示词。用于生成视频的描述，长度需在 1 到 2500 个字符之间。     | STRING  | 是    | -                                   |
| `模式`   | 视频生成的操作模式。                                 | COMBO   | 是    | `"pro"`                             |
| `宽高比`  | 生成视频的期望宽高比。                                | COMBO   | 是    | `"16:9"`<br />`"9:16"`<br />`"1:1"` |
| `时长`   | 视频时长（秒）。                                   | COMBO   | 是    | `5`<br />`10`                       |
| `生成音频` | 控制是否为视频生成音频。启用后，AI 将根据提示词创建声音。（默认值：`True`） | BOOLEAN | 否    | -                                   |

## 输出

| 输出名称     | 说明       | 数据类型  |
| -------- | -------- | ----- |
| `output` | 生成的视频文件。 | VIDEO |

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

***

**Source fingerprint (SHA-256):** `eff4549816c347a090e2f6e8ae8ba832bd2c5b7aef7c729b51c9d72b7a814d5a`
