> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-docs-router-model-page-pilot.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Grok Imagine Video in ComfyUI: AI Video Generation, Editing, and Extension

> Generate, edit, and extend videos with Grok Imagine in ComfyUI: text/image to video, video editing, video extension, and reference-to-video workflows

Grok Imagine Video is xAI's video generation family, available in ComfyUI through the Grok partner nodes. It covers video generation from text or an image, video editing, seamless video extension, and reference-to-video generation guided by character or style images.

For the latest model, see [Grok Imagine Video 1.5](/tutorials/partner-nodes/grok/grok-imagine-video-1-5).

## What Grok Imagine Video is good at

* **Video generation with audio**: produces up to 15-second clips with synchronized audio from a text prompt, with an optional starting image
* **Natural-language video editing**: restyles footage, changes the setting, or applies a new aesthetic while keeping the original motion and content
* **Seamless video extension**: continues a short video with a new clip that follows on from the original footage, based on a natural-language description of the next scene
* **Reference-to-video**: generates video guided by up to 7 reference images, keeping characters, products, or styles consistent
* **Resolution options**: outputs at 480p or 720p

## Example outputs

Video generation from a text prompt with synchronized audio:

<video controls className="w-full aspect-video" src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/output/api_grok_video.mp4" />

Video editing with natural-language instructions, keeping the original motion:

<video controls className="w-full aspect-video" src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/output/api_grok_video_edit.mp4" />

Video extension, continuing a short clip with a new scene:

<video controls className="w-full aspect-video" src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/output/api_grok_video_extend.mp4" />

Reference-to-video, keeping the subject consistent from reference images:

<video controls className="w-full aspect-video" src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/output/api_grok_reference_to_video.mp4" />

## Use it in ComfyUI

<Card title="Grok Imagine Video workflows" icon="diagram-project" href="/tutorials/partner-nodes/grok/grok-video/workflow">
  Run the video generation, video edit, video extend, and reference-to-video workflows in ComfyUI, locally or on Comfy Cloud
</Card>
