> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-feat-openapi-i18n.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# GrokVideoEditNode - ComfyUI Built-in Node Documentation

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

This node uses the Grok API to edit an existing video based on a text prompt. It uploads your video, sends a request to the AI model to modify it according to your description, and returns the newly generated video.

## Inputs

| Parameter | Description                                                                                                   | Data Type | Required | Range                  |
| --------- | ------------------------------------------------------------------------------------------------------------- | --------- | -------- | ---------------------- |
| `model`   | The AI model to use for video editing (default: `"grok-imagine-video"`).                                      | STRING    | Yes      | `"grok-imagine-video"` |
| `prompt`  | Text description of the desired video.                                                                        | STRING    | Yes      | N/A                    |
| `video`   | The input video to be edited. Maximum supported duration is 8.7 seconds and 50MB file size.                   | VIDEO     | Yes      | N/A                    |
| `seed`    | Seed to determine if node should re-run; actual results are nondeterministic regardless of seed (default: 0). | INT       | No       | 0 to 2147483647        |

**Constraints:**

* The input `video` must be between 1 and 8.7 seconds in duration.
* The input `video` file size must not exceed 50MB.
* The `prompt` must not be empty.

## Outputs

| Output Name | Description                                 | Data Type |
| ----------- | ------------------------------------------- | --------- |
| `video`     | The edited video generated by the AI model. | 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/GrokVideoEditNode/en.md)

***

**Source fingerprint (SHA-256):** `488aa152744e5a17a9fbc55f8cbc3e863e1212f58544e47aa377276e8990834c`
