> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mage.space/llms.txt
> Use this file to discover all available pages before exploring further.

# Grok Image and Grok Video on Mage

> Run xAI's Grok Image and Grok Video through Mage. Two image models unlimited from Pro, video from 1 to 15 seconds unlimited from Pro Plus, Characters and References on both. xAI's safety filter applies.

Grok Image and Grok Video are xAI's generation models, run by xAI and reached through Mage. Grok Image and Grok Image 2.0 are unlimited from Pro. Grok Video runs unlimited from Pro Plus. Both take Characters and References.

## Overview

| Detail | |
| - | - |
| Type | Image and Video |
| Origin | Run by xAI, whose safety filter applies |
| Models | Grok Image, Grok Image 2.0, Grok Video |
| Unlimited from | Pro |

## Unlimited generation by plan

The longest clip that runs unlimited at each resolution on each plan, at the model's base settings. Anything longer, or any resolution marked Gems, runs on Gems.

| Model | Setting | Basic | Pro | Pro Plus | Max |
| - | - | - | - | - | - |
| Grok Image | 1K | Gems | Unlimited | Unlimited | Unlimited |
| Grok Image | 2K | Gems | Unlimited | Unlimited | Unlimited |
| Grok Image 2.0 | 1K | Gems | Unlimited | Unlimited | Unlimited |
| Grok Image 2.0 | 2K | Gems | Unlimited | Unlimited | Unlimited |
| Grok Video | 480p | Gems | Gems | 5s | 7s |
| Grok Video | 720p | Gems | Gems | 3s | 5s |

Add-ons such as LoRAs, ControlNet, extra reference images, or reference videos may raise a run's price and move it to a higher plan or to Gems.

## What it supports on Mage

| Feature | Support |
| - | - |
| Characters and References | Yes |
| Reference images | Up to 3, and 5 on Grok Video |
| Character Voices | No |
| First frame | No |
| Last frame | No |
| Video references | No |
| LoRAs | No |
| Negative prompts | No |
| Resolutions | Grok Image: 1K, 2K; Grok Image 2.0: 1K, 2K; Grok Video: 480p, 720p |
| Durations | Grok Video: 1 to 15 seconds |

## Best for

* Character work on a model that is not Mage's own
* Video from a Character reference on Pro Plus
* Clips between 1 and 15 seconds

## An example prompt to start from

```text theme={null}
@sasha walks through a night market, neon signs, handheld camera
```

## Limitations

* xAI's safety filter applies, and Mage cannot override it.
* No negative prompt field.
* Grok Video has no first or last frame; its images are references.

## Use via API

These models are available through the [Mage API](https://docs.mage.space/api/overview.md), each as its own architecture with its own reference page:

* [Grok Image](https://docs.mage.space/api/models/grok_image.md) as `grok_image`, with `model_id` selecting the model
* [Grok Video](https://docs.mage.space/api/models/grok_video.md) as `grok_video`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.