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

# KlingOmniProImageToVideoNode - ComfyUI Built-in Node Documentation

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

此节点使用 Kling AI 模型，基于文本提示词和最多七张参考图像生成视频。它允许您控制视频的宽高比、时长和分辨率。该节点将请求发送至外部 API 并返回生成的视频。

## 输入参数

| 参数                 | 数据类型   | 必填 | 取值范围                                | 描述                                                          |
| ------------------ | ------ | -- | ----------------------------------- | ----------------------------------------------------------- |
| `model_name`       | COMBO  | 是  | `"kling-video-o1"`                  | 用于视频生成的具体 Kling 模型。                                         |
| `prompt`           | STRING | 是  | -                                   | 描述视频内容的文本提示词。可以包含正向和负向描述。文本会自动进行规范化处理，长度必须在 1 到 2500 个字符之间。 |
| `aspect_ratio`     | COMBO  | 是  | `"16:9"`<br />`"9:16"`<br />`"1:1"` | 生成视频的期望宽高比。                                                 |
| `duration`         | INT    | 是  | 3 到 10                              | 视频的时长，单位为秒。可通过滑块调整该值（默认值：3）。                                |
| `reference_images` | IMAGE  | 是  | -                                   | 最多 7 张参考图像。每张图像必须至少为 300x300 像素，且宽高比在 1:2.5 到 2.5:1 之间。     |
| `resolution`       | COMBO  | 否  | `"1080p"`<br />`"720p"`             | 视频的输出分辨率。此参数为可选参数（默认值："1080p"）。                             |

**注意：** `reference_images` 输入最多接受 7 张图像。如果提供了更多图像，节点将报错。每张图像都会进行最小尺寸和宽高比的验证。

## 输出参数

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