> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# KlingTextToVideoWithAudio - ComfyUI Built-in Node Documentation

> The Kling Text to Video with Audio node generates a short video from a text description.

The Kling Text to Video with Audio node generates a short video from a text description. It sends a request to the Kling AI service, which processes the prompt and returns a video file. The node can also generate accompanying audio for the video based on the text.

## Inputs

| Parameter | Description | Data Type | Required | Range |
| - | - | - | - | - |
| `model_name` | The specific AI model to use for video generation. | COMBO | Yes | `"kling-v2-6"` |
| `prompt` | Positive text prompt. The description used to generate the video. Must be between 1 and 2500 characters. | STRING | Yes | - |
| `mode` | The operational mode for the video generation. | COMBO | Yes | `"pro"` |
| `aspect_ratio` | The desired width-to-height ratio for the generated video. | COMBO | Yes | `"16:9"`<br />`"9:16"`<br />`"1:1"` |
| `duration` | The length of the video in seconds. | COMBO | Yes | `5`<br />`10` |
| `generate_audio` | Controls whether audio is generated for the video. When enabled, the AI will create sound based on the prompt (default: `True`). | BOOLEAN | No | - |

## Outputs

| Output Name | Description | Data Type |
| - | - | - |
| `output` | The generated video file. | VIDEO |

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/KlingTextToVideoWithAudio/en.md)

***

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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.