> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-docs-custom-nodes-sdk-v2-frontend.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# GrokVideoExtendNode - ComfyUI Built-in Node Documentation

> The Grok Video Extend node uses an AI model to create a seamless continuation of an existing video.

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

### Common Inputs

| Parameter | Description                                                                                                   | Data Type      | Required | Range                  |
| --------- | ------------------------------------------------------------------------------------------------------------- | -------------- | -------- | ---------------------- |
| `model`   | The model to use for video extension.                                                                         | DYNAMIC\_COMBO | Yes      | `"grok-imagine-video"` |
| `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                    |
| `seed`    | Seed to determine if node should re-run; actual results are nondeterministic regardless of seed (default: 0). | INT            | Yes      | 0 to 2147483647        |

### grok-imagine-video Inputs

| Parameter  | Description                                      | Data Type | Required | Range   |
| ---------- | ------------------------------------------------ | --------- | -------- | ------- |
| `duration` | Length of the extension in seconds (default: 8). | INT       | Yes      | 2 to 10 |

**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 after whitespace is trimmed.
* The `model` parameter is a dynamic combo. Selecting the "grok-imagine-video" option reveals the nested `duration` parameter.

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