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

# ViduExtendVideoNode - ComfyUI Built-in Node Documentation

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

ViduExtendVideoNode 可生成额外的帧以延长现有视频的长度。它使用指定的 AI 模型，基于源视频和可选的文本提示，创建无缝的延续内容。

## 输入参数

| 参数                 | 数据类型   | 必填 | 取值范围                                 | 描述                                                          |
| ------------------ | ------ | -- | ------------------------------------ | ----------------------------------------------------------- |
| `model`            | COMBO  | 是  | `"viduq2-pro"`<br />`"viduq2-turbo"` | 用于视频延展的 AI 模型。选择模型后会显示其特定的时长和分辨率设置。                         |
| `model.duration`   | INT    | 是  | 1 到 7                                | 延展后视频的时长（单位：秒，默认值：4）。此设置在选择模型后出现。                           |
| `model.resolution` | COMBO  | 是  | `"720p"`<br />`"1080p"`              | 输出视频的分辨率。此设置在选择模型后出现。                                       |
| `video`            | VIDEO  | 是  | -                                    | 需要延展的源视频。                                                   |
| `prompt`           | STRING | 否  | -                                    | 用于引导延展视频内容的可选文本提示（最多 2000 个字符，默认值：空）。                       |
| `seed`             | INT    | 否  | 0 到 2147483647                       | 用于控制生成随机性的种子值（默认值：1）。                                       |
| `end_frame`        | IMAGE  | 否  | -                                    | 用作延展目标结束帧的可选图像。如果提供，其宽高比必须在 1:4 到 4:1 之间，且尺寸至少为 128x128 像素。 |

**注意：** 源 `video` 的时长必须在 4 到 55 秒之间。

## 输出参数

| 输出名称     | 数据类型  | 描述               |
| -------- | ----- | ---------------- |
| `output` | VIDEO | 包含延展片段的新生成的视频文件。 |
