---
title: "Grok Imagine Video"
description: "xAI's Grok video generation model. Auto-switches between text-to-video and image-to-video based on inputs."
updated: 2026-09-19
---

# Grok Imagine Video

**Badge:** New  
**Node type:** `video:xai_grok_imagine_video_text_to_video`  
**Category:** `video`

## Description

xAI's Grok video generation model. Auto-switches between text-to-video and image-to-video based on inputs.

## Pricing

- **Cost:** ~10 credits per second
- **Per-second rate:** The figure is the rate at a 5-second reference run. Our margin is progressive and steepest on the smallest runs, so a clip shorter than that can cost more per second, and a model priced with a flat multiplier is exact at every length. The charge is always computed from the real duration.

## Variant family

- **Family:** `xai-grok-imagine-video`
- **Is primary:** yes
- **All variants:** `video:xai_grok_imagine_video_text_to_video`, `video:xai_grok_imagine_video_image_to_video`

## Canvas ports

These appear as port handles on the left side of the node.

| ID          | Label         | Details                                                    |
| ----------- | ------------- | ---------------------------------------------------------- |
| `prompt`    | **Prompt**    | `TEXT` _(required)_                                        |
| `image_url` | **Image URL** | `IMAGE` — Optional - uses text-to-video when not connected |

## Sidebar config

These render as form fields in the right-side config panel when the node is selected.

| ID             | Label            | Details                                                  |
| -------------- | ---------------- | -------------------------------------------------------- |
| `duration`     | **Duration**     | `NUMBER` · `1…15` — Video duration in seconds.           |
| `aspect_ratio` | **Aspect Ratio** | `TEXT` · options: `16:9`, `4:3`, `3:2`, `1:1`, `2:3`, +2 |
| `resolution`   | **Resolution**   | `TEXT` · options: `480p`, `720p`                         |

## Outputs

| ID      | Label               | Type    |
| ------- | ------------------- | ------- |
| `video` | **Generated Video** | `VIDEO` |

---

_Auto-generated from the Wireflow node registry._

---

Documentation index: fetch https://www.wireflow.ai/llms.txt for the full list of Wireflow docs.
