wowmachine
smart_toy

Grok Imagine Image 2

xai/grok-imagine-image-2

Grok Imagine Image 2 is xAI's second-generation image model, released in August 2026 and ranked second on Arena's text-to-image and image-editing leaderboards at launch. It plans typography and layout the way a designer would, moves between photography and illustration with ease, and edits a single photo from a plain-language instruction. Every image costs a flat 4 credits, so 2K at full quality is the default, not an upgrade.

Input

Describe the image to generate, or the edit to apply when an input image is provided.

Optional image to edit (JPG, PNG or WebP). Leave empty to generate from text.

add_photo_alternate

Output aspect ratio, including tall phone-screen shapes. Ignored when editing an image.

Output resolution.

Generation quality. medium gives the best results; low is faster.

Output

image

Run the model to see output here.

Pricing

**4 credits per image.** Fixed for text-to-image and editing alike. *Resolution (1K or 2K), quality and aspect ratio do not change the price.*...

Features

## What Grok Imagine Image 2 is good at Grok Imagine Image 2 (xAI's own name for it is Imagine Image 2.0) is the second generation of the image model behind Grok. xAI released it on 7 August 2026 as ...

API Examples

curl -X POST \
  /api/v1/model/xai/grok-imagine-image-2 \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {}
}'

Tags