> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-chore-sync-comfy-api-v2-spec.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# GrokVideoNode - ComfyUI Built-in Node Documentation

> The Grok Video node generates a short video from a text description.

The Grok Video node generates a short video from a text description. It can create a video from scratch using a prompt, or generate a video from a single input image. The node sends the 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. Optional for grok-imagine-video-1.5 when an input image is provided.   | STRING    | Yes      | -                                                                                                     |
| `resolution`   | The resolution of the output video. 1080p is only available for grok-imagine-video-1.5.                       | COMBO     | Yes      | `"480p"`<br />`"720p"`<br />`"1080p"`                                                                 |
| `aspect_ratio` | The aspect ratio of the output video.                                                                         | 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. If omitted, the video is generated from the text prompt alone.                       | IMAGE     | No       | -                                                                                                     |

**Note:** When an `image` is provided, only one input image is supported; providing multiple images will cause an error. The `prompt` must be non-empty after stripping whitespace when no image is provided, or when using `grok-imagine-video` even with an image. For `grok-imagine-video-1.5`, the `prompt` is optional only when an input image is provided. The `1080p` resolution is available only for `grok-imagine-video-1.5`. When `aspect_ratio` is set to `"auto"`, the aspect ratio is chosen automatically by the service.

## 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):** `c7d07b7bf9a776892873698abb97c7d936c7770aab397d031a287b7ecfad0b71`
