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

# Vidu4ImageToVideoNode - ComfyUI Built-in Node Documentation

> 使用 Vidu Q4 模型从起始帧和可选提示词生成视频。

使用 Vidu Q4 模型从起始帧和可选提示词生成视频。输出保持输入图像的宽高比。

选择 `model` 会显示该模型特定的参数。

## 输入

| 参数 | 描述 | 数据类型 | 必需 | 范围 |
| - | - | - | - | - |
| `image` | 生成视频的起始帧。宽高比必须在 1:5 到 5:1 之间。 | IMAGE | 是 | N/A |
| `model` | 用于视频生成的模型。选择模型会显示其特定参数：`prompt`、`resolution`、`duration`、`audio` 和 `seed`。 | DYNAMIC\_COMBO | 是 | `"Vidu Q4 Preview"` |
| `prompt` | 用于视频生成的可选文本提示词，最多 5000 个字符（默认：空）。 | STRING | 是 | 任意文本 |
| `resolution` | 输出视频的分辨率（默认：`"720p"`）。 | COMBO | 是 | `"540p"`<br />`"720p"`<br />`"1080p"`<br />`"2K"`<br />`"4K"` |
| `duration` | 输出视频的时长（秒）（默认：5）。 | INT | 是 | 3 到 16 |
| `audio` | 启用时，输出带声音的视频，包括对话和音效（默认：True）。 | BOOLEAN | 是 | `True`<br />`False` |
| `seed` | 种子控制节点是否应重新运行；无论种子如何，结果都是非确定性的。此参数具有“生成后控制”功能（默认：42）。 | INT | 是 | 1 到 2147483647 |

**注意：** `image` 的宽高比必须保持在 1:5 到 5:1 之间，并且 `prompt` 不能超过 5000 个字符。结果保持输入图像的宽高比，因此输出尺寸仅在该比例内遵循 `resolution` 设置。

## 输出

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

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

***

**Source fingerprint (SHA-256):** `8778696edbdfb821afaa99dcba09cbebff57fd4cd2378273e82ad9fb18600b62`


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