
TL;DR
xAI released Grok Imagine Image 2.0 on August 7 as the new Quality Mode on grok.com and mobile, ranked second worldwide on both text-to-image and image-editing leaderboards. A 2.0 preview build is already callable through Vercel's AI Gateway with the AI SDK, before xAI's own API access goes live.
xAI shipped Grok Imagine Image 2.0 on August 7, 2026, and it is the first image model from a frontier lab built around a developer-shaped problem: text. The model plans typography and layout before it paints, so dense multi-part visuals like infographics, posters, and title screens hold their structure and small text stays legible. xAI says 2.0 ranks second in the world in both text-to-image generation and image editing on the Arena leaderboards (Elo, as of August 7, listed under SpaceXAI).
The developer-facing detail: a 2.0 preview build is already on Vercel's AI Gateway as xai/grok-imagine-image-2.0-preview, callable from the AI SDK today - even though xAI's own announcement says API access is "coming soon." Gateway first, vendor API second: that ordering is the story for anyone who builds image features.
| Resource | Description |
|---|---|
| xAI announcement: Imagine Image 2.0 | The official release post, August 7, 2026 |
| xAI Imagine API docs | Model capabilities, request shapes, resolution tiers |
| xAI API pricing | Verified live pricing, August 8, 2026 |
| Vercel changelog: Grok Imagine Image 2.0 on AI Gateway | Model id, AI SDK usage, playground |
| AI SDK generateImage docs | The call shape used below |
Imagine Image 2.0 is generally available as the new Quality Mode on grok.com/imagine and the iOS and Android Grok apps. xAI frames it around one goal: "make images you can use in real work." Concretely, that means three capability groups:
Precise editing as a first-class feature. The consumer surface adds a magic wand that edits only the region you point at, segmentation that selects exact areas, background removal that exports a subject with a transparent background, and multi-reference editing that accepts up to 5 input images in a single generation - no manual compositing step.
Smart resize. Give the model one image and a target ratio, and it recomposes the scene into the new frame instead of cropping it. Supported ratios cover 1:2, 9:16, 2:3, 3:4, 1:1, 4:3, 3:2, 16:9, and 2:1. The same persistence machinery keeps a character, location, or prop consistent across separate generations, which xAI positions as building "one world" for video pre-production:
The announcement also ships 15 templates (photo edit, product color change, e-commerce listings, headshots, icon maker, character sprite, merch maker, and more) that pre-configure a workflow so you supply inputs and get a finished asset.
From the archive
Aug 8, 2026 • 5 min read
Aug 8, 2026 • 6 min read
Aug 8, 2026 • 8 min read
Aug 7, 2026 • 7 min read
xAI says Image 2.0 "ranks second in the world in both text-to-image generation and image editing," citing the Image Edit Arena and Text-to-Image Arena leaderboards as of August 7, with xAI listed under its parent company name, SpaceXAI. That is the vendor's own framing, not an independent measurement, and "second" hides who is first - the numbers on the leaderboards themselves are the source if you want the full table. For developers the meaningful claim is directional: a frontier text model vendor has decided text rendering and structured layouts are the competitive battleground for image generation.
xAI has not published 2.0-specific API pricing yet - the API access is still "coming soon" - so the current Imagine API lineup is the reference until it lands:
| Model | Input | Output 1K | Output 2K |
|---|---|---|---|
| grok-imagine-image-quality | $0.01 / img | $0.05 / img | $0.07 / img |
| grok-imagine-image | $0.002 / img | $0.02 / img | $0.02 / img |
Source: the xAI pricing page, fetched today. Image generation is flat per-image regardless of prompt length, and edits are billed for both the input image and the generated output. A single request can return up to 10 images. The quality tier sits at $0.05 per 1K image, which is the tier 2.0 will presumably replace when its API pricing lands.
The 2.0 preview is on Vercel's AI Gateway, and the changelog shows the exact AI SDK shape:
import { generateImage } from 'ai'
const { images } = await generateImage({
model: 'xai/grok-imagine-image-2.0-preview',
prompt: 'An infographic tracing letterforms from movable type to digital fonts.',
})
Resolution is set per call - 1k or 2k under providerOptions.xai - and n controls how many images come back. Editing works by passing an image in prompt.images alongside the instruction, so the model changes what you asked for and leaves the rest. Vercel also hosts a playground at imagine.vercel.sh running on the gateway, which is the fastest way to feel the difference 2.0 makes on text-dense prompts without writing code.
One honest caveat: this is an image model, not a text model, so it does not run in OpenCode or any coding agent - the agent-side integration is the standard pattern of calling generateImage from tool code. If you want the text-side xAI experience, Grok 4.5 is the one to wire into your coding agent.
Image models have been excellent at single-subject aesthetics and unreliable at anything with words in it, which is exactly what production assets - social cards, product shots, game UI, documentation diagrams - are made of. A model that plans layout before rendering and can edit precisely after, at roughly $0.05 per 1K image, moves image generation from "prompt for a hero image" toward "actually produce the asset." The gateway-first availability through Vercel is the same pattern we saw with FLUX 3's rollout: the fastest route to a new model increasingly runs through the platform layer, not the vendor's own SDK, and Vercel has been collecting those routes for image and video models alike - Meta Muse, MiniMax H3, and now Grok Imagine 2.0.
For production image workflows, pair the model with prompt discipline: OpenAI's GPT-Image 2 prompt library shows the difference structured prompting makes on text-bearing output, and that lesson transfers directly. If 2.0 really holds small type and layout structure at $0.05 per image, the next generation of infographic, poster, and title-screen generation is going to be built on prompts like the one above.
xAI's next image generation model, announced August 7, 2026 and GA as the new Quality Mode on grok.com/imagine and the Grok mobile apps. It emphasizes instruction fidelity, typography and layout planning, subject consistency, and precise editing tools.
The official announcement says API access is "coming soon." A 2.0 preview build is already available now through Vercel's AI Gateway as xai/grok-imagine-image-2.0-preview, callable with generateImage from the AI SDK.
2.0-specific API pricing is not published yet. The current quality-tier model, grok-imagine-image-quality, costs $0.01 per input image and $0.05 per 1K (or $0.07 per 2K) output image, with flat per-image pricing and edits billed for input plus output.
No. It is an image generation model, not a text model, so it does not slot into coding agents. The standard integration is calling generateImage from tool code via the AI SDK or the xAI API once access goes live.
Read next
xAI launched Grok 4.5, trained on trillions of Cursor interaction tokens. At $2/M input pricing, it undercuts Claude and GPT while benchmarking near Opus 4.7 level.
5 min readA companion guide to the Grok 4.5 video: xAI's most intelligent model with a 500K context window, function calling, structured outputs, and a build-mode agent workflow for developers.
7 min readxAI has launched Grok 4, claiming the title of the world's most powerful AI model. With a $300/month Super Grok tier, saturated AMI benchmarks, and a coding model on the horizon, this is xAI's bigge...
7 min readTechnical content at the intersection of AI and development. Building with AI agents, Claude Code, and modern dev tools - then showing you exactly how it works.
xAI's model with real-time X/Twitter data access. Grok 3 rivals top models on reasoning. Built-in web search and current...
View ToolRun 50,000+ ML models with a simple API. No infrastructure management. Pay-per-second billing. Deploy custom models with...
View ToolUnified API for 200+ models. One API key, one billing dashboard. OpenAI, Anthropic, Google, Meta, Mistral, and more. Aut...
View ToolOpen-source OpenAI API replacement. Runs LLMs, vision, voice, image, and video models on any hardware - no GPU require...
View ToolInstall Ollama and LM Studio, pull your first model, and run AI locally for coding, chat, and automation - with zero cloud dependency.
Getting StartedAdd gateway or custom models to the picker via environment variables.
Claude CodeUse opus, sonnet, haiku, and best to switch models easily.
Claude Code
In this video, I introduce the beta release of Grok 2 and Grok 2 Mini. I discuss the new models available on the X platform and their impressive performance, including their ranking on the...

OpenAI's New GPT Image Model API📸 Today OpenAI released their new GPT Image one model via API! 🌟 Last month, ChatGPT introduced Image Generation, and it quickly became a hit with over...

Unveiling GPT-4o Image Generation: A Game-Changing Multimodal AI OpenAI has released the revolutionary GPT-4o image generation capabilities, which can produce stunning visuals from text and...

xAI launched Grok 4.5, trained on trillions of Cursor interaction tokens. At $2/M input pricing, it undercuts Claude and...

WeatherNext Cyclones adds a full day of lead time to tropical cyclone forecasts - roughly a decade of meteorological pro...

GitHub made Kimi K3 generally available in Copilot on August 6 at $3/$15 per million tokens, hosted on Fireworks AI. It...

Meta released Muse Code, a terminal coding agent, and Muse Spark 1.2 on August 5, 2026. The model co-trains with the har...

GPT-5.6 Sol gets a chat-focused retune with 68% fewer factual errors in OpenAI's internal eval, a new effort slider, and...

Liquid AI shipped LFM2.5-2.6B on August 4, 2026: a 2.6B open-weight model trained for agentic work inside real harnesses...

New tutorials, open-source projects, and deep dives on coding agents - delivered weekly.