This node uses the latest Kling AI model to generate a video from a text description. It sends your prompt to a remote API and returns the generated video. The node allows you to control the video's length, shape, quality, and even create multi-shot storyboards.

## Inputs

| Parameter | Description | Data Type | Required | Range |
| --- | --- | --- | --- | --- |
| `model_name` | The specific Kling model to use for video generation (default: `"kling-v3-omni"`). | COMBO | Yes | `"kling-v3-omni"`<br>`"kling-video-o1"` |
| `prompt` | A text prompt describing the video content. This can include both positive and negative descriptions. Ignored when storyboards are enabled. | STRING | Yes | 0 to 2500 characters |
| `aspect_ratio` | The shape or dimensions of the video to generate. | COMBO | Yes | `"16:9"`<br>`"9:16"`<br>`"1:1"` |
| `duration` | The length of the video in seconds (default: 5). | INT | Yes | 3 to 15 seconds |
| `resolution` | The quality or pixel resolution of the video (default: `"1080p"`). | COMBO | No | `"4k"`<br>`"1080p"`<br>`"720p"` |
| `storyboards` | Generate a series of video segments with individual prompts and durations. Ignored for the o1 model. | DYNAMIC_COMBO | No | `"disabled"`<br>`"1 storyboard"`<br>`"2 storyboards"`<br>`"3 storyboards"`<br>`"4 storyboards"`<br>`"5 storyboards"`<br>`"6 storyboards"` |
| `generate_audio` | Whether to generate audio for the video (default: False). | BOOLEAN | No | True / False |
| `seed` | Seed controls whether the node should re-run; results are non-deterministic regardless of seed (default: 0). | INT | No | 0 to 2147483647 |

### Parameter Constraints and Limitations

- **Model-specific limitations:**
  - The `kling-video-o1` model only supports durations of **5 or 10 seconds**.
  - The `kling-video-o1` model does **not** support audio generation.
  - The `kling-video-o1` model does **not** support 4k resolution.
  - The `kling-video-o1` model does **not** support storyboards.
- **Storyboard constraints:**
  - When storyboards are enabled, the `prompt` field is ignored.
  - Each storyboard requires its own prompt (1 to 512 characters) and duration.
  - The total duration of all storyboards must exactly equal the global `duration` parameter.
- **Prompt requirements:**
  - When storyboards are **disabled**, the `prompt` field is required (minimum 1 character).
  - When storyboards are **enabled**, the `prompt` field can be empty (0 characters).

## Outputs

| Output Name | Description | Data Type |
| --- | --- | --- |
| `output` | The video generated based on the provided text prompt and settings. | 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/KlingOmniProTextToVideoNode/en.md)

---
**Source fingerprint (SHA-256):** `8789c78184356c8ca1d84e046a2c8db644b6e47822d909d95e9d7417f2311109`
