> ## 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.

# KlingOmniProVideoToVideoNode - ComfyUI Built-in Node Documentation

> Complete documentation for the KlingOmniProVideoToVideoNode 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/KlingOmniProVideoToVideoNode/zh.md)

此节点使用 Kling AI 模型，基于输入视频和可选的参考图像生成新视频。您提供描述所需内容的文本提示，节点将相应地转换参考视频。它还可以整合最多四张额外的参考图像，以指导输出的风格和内容。

## 输入参数

| 参数名                   | 数据类型    | 必填 | 取值范围                                | 描述                          |
| --------------------- | ------- | -- | ----------------------------------- | --------------------------- |
| `model_name`          | COMBO   | 是  | `"kling-video-o1"`                  | 用于视频生成的具体 Kling 模型。         |
| `prompt`              | STRING  | 是  | N/A                                 | 描述视频内容的文本提示。可以包含正面和负面的描述。   |
| `aspect_ratio`        | COMBO   | 是  | `"16:9"`<br />`"9:16"`<br />`"1:1"` | 生成视频的期望宽高比。                 |
| `duration`            | INT     | 是  | 3 到 10                              | 生成视频的长度（单位：秒，默认值：3）。        |
| `reference_video`     | VIDEO   | 是  | N/A                                 | 用作参考的视频。                    |
| `keep_original_sound` | BOOLEAN | 是  | N/A                                 | 决定输出中是否保留参考视频的音频（默认值：True）。 |
| `reference_images`    | IMAGE   | 否  | N/A                                 | 最多 4 张额外的参考图像。              |
| `resolution`          | COMBO   | 否  | `"1080p"`<br />`"720p"`             | 生成视频的分辨率（默认值："1080p"）。      |

**参数约束：**

* `prompt` 的长度必须在 1 到 2500 个字符之间。
* `reference_video` 的时长必须在 3.0 到 10.05 秒之间。
* `reference_video` 的尺寸必须在 720x720 到 2160x2160 像素之间。
* 最多可提供 4 张 `reference_images`。每张图像的尺寸必须至少为 300x300 像素，且宽高比在 1:2.5 到 2.5:1 之间。

## 输出参数

| 输出名称     | 数据类型  | 描述      |
| -------- | ----- | ------- |
| `output` | VIDEO | 新生成的视频。 |
