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

# GrokVideoExtendNode - ComfyUI Built-in Node Documentation

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

> 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/GrokVideoExtendNode/en.md)

The Grok Video Extend node uses an AI model to create a seamless continuation of an existing video. You provide a short video and a text prompt describing what should happen next, and the node generates a new video clip that follows on from the original.

## Inputs

| Parameter | Data Type | Required | Range                  | Description                                                                                                   |
| --------- | --------- | -------- | ---------------------- | ------------------------------------------------------------------------------------------------------------- |
| `prompt`  | STRING    | Yes      | N/A                    | Text description of what should happen next in the video.                                                     |
| `video`   | VIDEO     | Yes      | N/A                    | Source video to extend. MP4 format, 2-15 seconds.                                                             |
| `model`   | COMBO     | Yes      | `"grok-imagine-video"` | The model to use for video extension. When selected, it reveals a nested `duration` parameter.                |
| `seed`    | INT       | No       | 0 to 2147483647        | Seed to determine if node should re-run; actual results are nondeterministic regardless of seed (default: 0). |

**Parameter Constraints:**

* The `video` input must be an MP4 file between 2 and 15 seconds in length and cannot exceed 50MB in file size.
* The `prompt` must contain at least one character (whitespace is trimmed).
* The `model` parameter is a dynamic combo. Selecting the "grok-imagine-video" option reveals a nested `duration` parameter, which controls the length of the extension in seconds (default: 8, range: 2 to 10).

## Outputs

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

***

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