Grok Imagine Image 2.0: AI Image Generator

Generate images with Grok Imagine Image 2.0. Sharp typography, precise instruction-following, and chained follow-up edits. Try free — pay per generation.

Interactive model controls

Grok Imagine Image 2.0 is xAI's next-generation image model, built for precise instruction-following, sharp typography, and detailed layout control. It follows instructions closely down to fine detail and plans layout so dense, multi-part visuals hold together, turning a text prompt into a polished, commercial-ready image in one request.

📝

Overview

About this model

Grok Imagine Image 2.0 is xAI's next-generation image model, built for precise generation rather than one-shot novelty. It follows instructions closely down to fine detail, plans typography and layout the way a designer would so dense, multi-part visuals hold together, and renders small text sharply. The model is available on Muapi as two chained endpoints: grok-imagine-image-2 for text-to-image generation, and Grok Imagine Image 2.0 Edit for applying a targeted follow-up edit to a prior generation.

Because editing chains off the request_id of an earlier generation rather than an arbitrary uploaded photo, Image 2.0 is best suited to iterative creative sessions: generate a base image, then progressively refine it — swapping a garment, recomposing a background element, or adjusting a detail — while the rest of the composition, subject, and style stay locked in place across every step.

1Generating dense, text-heavy visuals like infographics, posters, and title screens with sharp, legible typography
2Iterative creative workflows where a base image is progressively refined edit-by-edit while style and subject persist
3Targeted follow-up edits that change only the described region of a prior generation, using Grok Imagine Image 2.0 Edit
4Concept art and product mockups that need several rounds of prompt-driven revision before a final version
5Marketing visuals and social creative where the same composition needs small iterative tweaks
💰

Pricing & Value

Cost analysis

muapiapp$0.05 per generation

Muapi offers cost-effective access to Grok Imagine Image 2.0 with the same pay-per-generation billing used across the rest of the Grok Imagine lineup.

Fal.aiNot available

Grok Imagine Image 2.0 is not listed on Fal.ai as of this writing.

ReplicateNot available

Grok Imagine Image 2.0 is not listed on Replicate as of this writing.

** Competitor pricing is estimated based on similar model architectures and usage tiers.

⚙️

Technical Details

Configuration schema

Promptstring

Text prompt describing the desired image. Max 5000 characters.

Default ValueA high-contrast halftone portrait of a young man rendered entirely in fine white dots on a black background, sharp facial detail, editorial poster style.
Aspect RatioEnum (5 options)

Width-to-height ratio of the generated image.

Default Value1:1
📖

Implementation Guide

Developer documentation

How to Use Grok Imagine Image 2.0

  1. Generate a base image

    • Submit a detailed prompt to grok-imagine-image-2 describing the image you want, along with an aspect_ratio (default 1:1). Image 2.0 follows detailed instructions closely, including layout and typography, so specificity pays off.
  2. Poll for the result

    • The request returns a request_id. Poll the standard Muapi prediction endpoint until the task completes and note the request_id — you'll need it to make a follow-up edit.
  3. Apply a follow-up edit (optional)

    • Call grok-imagine-image-2-edit with the request_id from step 1 and a prompt describing the change. Optionally pass mask_indexs to restrict the edit to specific segments of the source image.
  4. Iterate

    • Each edit call returns its own request_id, which can be chained into another edit call to keep refining the same image over multiple rounds.
curl -X POST https://api.muapi.ai/api/v1/grok-imagine-image-2 \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"A high-contrast halftone portrait in fine white dots on black", "aspect_ratio":"1:1"}'

Common Questions

Frequently asked

What's new in Grok Imagine Image 2.0 compared to the original Grok Imagine?

Image 2.0 focuses on precise instruction-following and sharp typography/layout for dense visuals, and adds a dedicated follow-up edit endpoint for iterative refinement — capabilities aimed at real creative work rather than single-shot images.

Can I edit an existing image with Grok Imagine Image 2.0?

Yes, using the separate grok-imagine-image-2-edit endpoint. Pass the request_id from a prior Grok Imagine Image 2.0 generation along with a prompt describing the change, and the model applies a targeted edit while preserving the rest of the image.

Can I edit any image I upload, or only images generated by this model?

Only images generated by Grok Imagine Image 2.0 itself can be edited, referenced by their request_id. This model doesn't accept arbitrary uploaded photos for editing.

What are mask_indexs used for?

mask_indexs optionally scopes an edit to specific segments identified in the source generation, letting you target a particular region rather than the whole image.

What aspect ratios are supported?

Text-to-image generation supports 1:1, 2:3, 3:2, 16:9, and 9:16, covering square, portrait, and landscape placements.

How is Grok Imagine Image 2.0 billed?

It uses Muapi's pay-per-generation billing model at $0.05 per generation, and each follow-up edit is billed the same way as a separate request.