# Grok Video Node

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-1.5"` |
| `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` | Optional starting image for grok-imagine-video. Required for grok-imagine-video-1.5. | IMAGE | No | - |

**Note:** The `grok-imagine-video-1.5` model always requires an input image. 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):** `1f9bdd4698f01a36b0bd9a696a7acb04330073794c11ede229949999ffce5be4`
