grok-imagine-image-2-0 / image-edit

Grok Imagine Image 2.0 is xAI’s next-generation image model built for precise generation and editing. It improves instruction following, typography rendering, visual consistency, and reference-based transformation, delivering more controlled and refined image creation capabilities.

Model Type:
Pricing: 4 credits per image (= $0.02), approximately 67% cheaper than the official price ($0.06/image). High-tier top-ups include a +10% bonus, making effective pricing approximately 10% lower than listed.
Input

Click to upload or drag and drop

Supported formats: JPEG, PNG, WEBP Maximum file size: 30MB; Maximum files: 5

Upload an image file to use as input for the API

Text prompt describing the desired image.

0/8000

Specifies the width-to-height ratio of the generated image. Controls the aspect ratio of the output.

Output
output typeimage
Generated output
Examples

Explore different use cases and parameter configurations

README

Complete guide to using Grok Imagine Image 2.0

Grok Imagine Image 2.0 API Brings More Precise Image Creation

Original image
Grok Imagine Image 2.0 API Brings More Precise Prompt Following
Sharper Typography Comes with Imagine Image 2.0 API
Precise Editing Expands with Grok Imagine Image 2.0 API
Multiple Visual References Come Together through Imagine Image 2.0 API
Smart Resize Gives Grok Imagine Image 2.0 API More Flexible Framing
Build More Consistent Visual Worlds with Grok Image API
Grok Imagine Image 2.0 Text To Image for Advanced Visual Generation
Grok Imagine Image 2.0 Image To Image for More Precise Image Editing
Grok Imagine Image 2.0 vs GPT Image 2 for Abstract Concept Visualization
Grok Imagine Image 2.0 vs GPT Image 2 for Complex Scenes with Text Integration
Grok Imagine Image 2.0 vs GPT Image 2 for Reference-Based Image Editing
Create Marketing Posters and Promotional Visuals with Grok Imagine Image 2.0 API
Design Product Images and E-commerce Visuals with Grok Imagine Image 2.0 API
Develop Characters and Story Worlds with Imagine Image 2.0 API
Generate Infographics and Educational Visual Content with Grok Imagine Image 2.0 API
Transform Existing Images through Grok Imagine Image 2.0 API Editing