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

# GrokVideoReferenceNode - ComfyUI Built-in Node Documentation

> Complete documentation for the GrokVideoReferenceNode node in ComfyUI. Learn its inputs, outputs, parameters and usage.

Grok 参考转视频节点根据文本提示生成视频，并使用最多七张参考图像来引导输出的风格和内容。该节点连接外部 API 创建视频，随后下载并返回结果。

## 输入

| 参数                       | 描述                                        | 数据类型   | 是否必填 | 范围                                                                                      |
| ------------------------ | ----------------------------------------- | ------ | ---- | --------------------------------------------------------------------------------------- |
| `提示词`                    | 所需视频的文本描述。                                | STRING | 是    | 无                                                                                       |
| `模型`                     | 用于视频生成的模型。                                | COMBO  | 是    | `"grok-imagine-video"`                                                                  |
| `model.reference_images` | 最多 7 张参考图像，用于引导视频生成。                      | IMAGE  | 是    | 1 至 7 张图像                                                                               |
| `model.resolution`       | 输出视频的分辨率。                                 | COMBO  | 是    | `"480p"`<br />`"720p"`                                                                  |
| `model.aspect_ratio`     | 输出视频的宽高比。                                 | COMBO  | 是    | `"16:9"`<br />`"4:3"`<br />`"3:2"`<br />`"1:1"`<br />`"2:3"`<br />`"3:4"`<br />`"9:16"` |
| `model.duration`         | 输出视频的时长（秒），默认值为 6。                        | INT    | 是    | 2 至 10                                                                                  |
| `种子`                     | 用于确定节点是否应重新运行的种子；实际结果与种子无关，具有非确定性（默认值：0）。 | INT    | 否    | 0 至 2147483647                                                                          |

**注意：** `model` 参数是一个包含 `reference_images`、`resolution`、`aspect_ratio` 和 `duration` 的组。您必须提供至少一张参考图像，最多可提供七张。

## 输出

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

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

***

**Source fingerprint (SHA-256):** `e368769b869b7a0d0be8e6fdcc2b82774c11805483b2e83a448b6985a6dd9f96`
