Skip to main content
MindStudio
Pricing
BlogAbout
My Workspace
Image Generation Model

Grok Imagine 2.0

Grok Imagine 2.0 is an image generation model from X.ai that accepts source images and supports configurable aspect ratio, resolution, and quality.

PublisherX.ai
TypeImage
Context Window131,072 tokens
ReleasedAugust 2026
Price$0.04/image
LATESTSOURCE IMAGEIMAGE GENERATION

Image generation with source image support

Grok Imagine 2.0 is an image generation model developed by X.ai, the AI division associated with the Grok family of models. It accepts a source image as input alongside text prompts, enabling image-to-image workflows in addition to standard text-to-image generation. The model supports configurable aspect ratio, resolution, and quality settings, giving developers direct control over output characteristics. It is priced at $0.04 per image and carries a context window of 131,072 tokens.

Grok Imagine 2.0 is suited for applications that require image generation with reference-based inputs, such as style transfer, image editing pipelines, or product visualization workflows. Its input schema exposes aspect ratio selection and resolution and quality toggles, making it straightforward to integrate into structured generation pipelines. The model is listed as available on MindStudio and is tagged as the latest release in the Grok Imagine line. Developers working within the X.ai ecosystem can use it without managing separate API credentials through MindStudio.

What Grok Imagine 2.0 supports

Text-to-Image Generation

Generates images from text prompts with a context window of 131,072 tokens, allowing detailed and lengthy prompt inputs.

Source Image Input

Accepts a reference image URL as input to support image-to-image workflows such as style transfer or guided generation.

Aspect Ratio Control

Allows selection of output aspect ratio via a dropdown input, enabling images tailored to specific layout or platform requirements.

Resolution Selection

Exposes a toggle group for choosing output resolution, giving developers direct control over image dimensions at generation time.

Quality Configuration

Provides a quality toggle group so users can balance output fidelity against generation cost or speed on a per-request basis.

Ready to build with Grok Imagine 2.0?

Get Started Free

Common questions about Grok Imagine 2.0

How much does Grok Imagine 2.0 cost per image?

Grok Imagine 2.0 is priced at $0.04 per image generated.

What is the context window for Grok Imagine 2.0?

The model has a context window of 131,072 tokens, which applies to the text prompt input.

Can I use a reference image as input?

Yes. The model accepts a source image URL as an input, enabling image-to-image generation workflows alongside standard text-to-image prompts.

What output settings can I configure?

You can configure aspect ratio, resolution, and quality. Aspect ratio is selected via a dropdown, while resolution and quality are each controlled by a toggle group.

Who publishes Grok Imagine 2.0?

Grok Imagine 2.0 is published by X.ai and is available as a first-party model on MindStudio.

Parameters & options

Max Temperature1
Source ImageImage URL
Aspect RatioSelect
Default: 1:1
Auto1:1 (Square)16:99:164:33:43:22:32:11:219.5:99:19.520:99:20
ResolutionToggle Group
Default: 1k
1K2K
QualityToggle Group
Default: medium
LowMedium

Start building with Grok Imagine 2.0

No API keys required. Create AI-powered workflows with Grok Imagine 2.0 in minutes — free.