The Grok Video node generates a short video from a text description. It can create a video from scratch using a prompt or animate a single input image based on a prompt. The node sends a request to an external API and returns the generated video.

## Inputs

| Parameter | Description | Data Type | Required | Range |
| --- | --- | --- | --- | --- |
| `model` | The model to use for video generation. | COMBO | Yes | `"grok-imagine-video"`<br>`"grok-imagine-video-beta"` |
| `prompt` | Text description of the desired video. | STRING | Yes | - |
| `resolution` | The resolution of the output video. | COMBO | Yes | `"480p"`<br>`"720p"` |
| `aspect_ratio` | The aspect ratio of the output video (default: "auto"). | COMBO | Yes | `"auto"`<br>`"16:9"`<br>`"4:3"`<br>`"3:2"`<br>`"1:1"`<br>`"2:3"`<br>`"3:4"`<br>`"9:16"` |
| `duration` | The duration of the output video in seconds (default: 6). | INT | Yes | 1 to 15 |
| `seed` | Seed to determine if node should re-run; actual results are nondeterministic regardless of seed (default: 0). | INT | Yes | 0 to 2147483647 |
| `image` | An optional input image to animate. | IMAGE | No | - |

**Note:** If an `image` is provided, only one image is supported. Providing multiple images will cause an error. The `prompt` must be at least 1 character long after stripping whitespace.

## Outputs

| Output Name | Description | Data Type |
| --- | --- | --- |
| `output` | The generated video. | VIDEO |

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/GrokVideoNode/en.md)

---
**Source fingerprint (SHA-256):** `7b4bcd25cfe620b4593c16a2cb2a288e47f9791ae2c60d56b79009bc62bac6e2`
