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

# GrokVideoNode - ComfyUI Built-in Node Documentation

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

Grok Video 节点能够根据文本描述生成短视频。它既可以通过提示词从头创建视频，也可以基于提示词对单张输入图像进行动画化处理。该节点会向外部 API 发送请求并返回生成的视频。

## 输入参数

| 参数             | 数据类型   | 必填 | 取值范围                                                                                                  | 描述                                            |
| -------------- | ------ | -- | ----------------------------------------------------------------------------------------------------- | --------------------------------------------- |
| `model`        | COMBO  | 是  | `"grok-imagine-video-beta"`                                                                           | 用于视频生成的模型。                                    |
| `prompt`       | STRING | 是  | -                                                                                                     | 期望视频的文本描述。                                    |
| `resolution`   | COMBO  | 是  | `"480p"`<br />`"720p"`                                                                                | 输出视频的分辨率。                                     |
| `aspect_ratio` | COMBO  | 是  | `"auto"`<br />`"16:9"`<br />`"4:3"`<br />`"3:2"`<br />`"1:1"`<br />`"2:3"`<br />`"3:4"`<br />`"9:16"` | 输出视频的宽高比。                                     |
| `duration`     | INT    | 是  | 1 到 15                                                                                                | 输出视频的时长（单位：秒，默认值：6）。                          |
| `seed`         | INT    | 是  | 0 到 2147483647                                                                                        | 用于判断节点是否应重新运行的种子值；无论种子值如何，实际结果都是非确定性的（默认值：0）。 |
| `image`        | IMAGE  | 否  | -                                                                                                     | 用于动画化的可选输入图像。                                 |

**注意：** 如果提供了 `image`，则仅支持单张图像。提供多张图像将导致错误。

## 输出参数

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