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

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

**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 | Description                          | Data Type |
| ----------- | ------------------------------------ | --------- |
| `output`    | The newly generated video extension. | 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/GrokVideoExtendNode/en.md)

***

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