xAI · Released May 2026 · Merged into 2.0
Grok Imagine Image Quality API
xAI’s former high-quality image mode. Since Nov 2, 2026 it’s part of Image 2.0, and old code still runs on AnyAIGC from $0.0223 / image with unlimited concurrency.
xAI has retired this model. Since Nov 2, 2026, requests to grok-imagine-image-quality are served by Grok Imagine Image 2.0 at low quality. For new projects, use Grok Imagine Image 2.0.
- Model
grok-imagine-image-quality - Price From $0.0223 / image
- Status Merged into 2.0
- Concurrency Unlimited
- Business Self-service invoices
What happened to grok-imagine-image-quality
Grok Imagine Image Quality was the high-quality generation and editing mode xAI introduced in May 2026, focused on more realistic images and better multilingual text rendering. In August 2026 xAI released Image 2.0 and made it the new Quality mode on grok.com.
xAI announced in September 2026 and completed on Nov 2 the retirement of grok-imagine-image-quality. Generation and edit requests to that model name are now handled by grok-imagine-image-2.0 with quality: "low", and request and response formats are unchanged (xAI migration guide).
The model name still works on AnyAIGC from $0.0223 (1K) to $0.0313 (2K) per image. Image 2.0 at Low quality is $0.0044–$0.0045 cheaper per image at every resolution, so moving to grok-imagine-image-2.0 saves money and adds quality: "medium" and the new 21:9 and 5:2 ratios.
- Model
grok-imagine-image-quality- Status
- Retired by xAI
- Served by
grok-imagine-image-2.0- Quality
- low
- Generate
- /v1/images/generations
- Edit
- /v1/images/edits
What you gain by moving to Image 2.0
These samples were generated by Imagine Image 2.0 and come from xAI’s launch post.

Text and layout
Headlines, small print, schedules and captions are laid out the way a designer would, so dense posters, itineraries and infographics stay readable.

Precise edits
Change only what you ask for and keep the rest. Swap a background, recolor a product or remove clutter with one sentence.

15 aspect ratios
From 1:2 portrait to 21:9 widescreen. Pick a ratio and the model recomposes the scene instead of cropping it.
Grok Imagine Image Quality API pricing
Priced by resolution, from $0.0223 to $0.0313 per image. Image 2.0 at Low quality costs less at every resolution.
- Per imageBilled per generated image, not per token
- By resolution1K / 1.5K / 2K, no quality parameter
- EditsPlus $0.00447 per input image
- Unlimited concurrencyOn by default for everyone
| Resolution | Quality | AnyAIGC output | Edit input image | xAI list output |
|---|---|---|---|---|
Legacy model name (retired by xAI) grok-imagine-image-quality | ||||
| 1K | — | $0.0223 / image | $0.00447 / image | Retired |
| 1.5K | — | $0.0268 / image | $0.00447 / image | Retired |
| 2K | — | $0.0313 / image | $0.00447 / image | Retired |
Recommended: Grok Imagine Image 2.0 grok-imagine-image-2.0 | ||||
| 1K | Low | $0.0179 / image | $0.00447 / image | $0.04 / image |
| 1.5K | Low | $0.0223 / image | $0.00447 / image | $0.05 / image |
| 2K | Low | $0.0268 / image | $0.00447 / image | $0.06 / image |
| 1K | Medium | $0.0268 / image | $0.00447 / image | $0.06 / image |
| 1.5K | Medium | $0.0313 / image | $0.00447 / image | $0.07 / image |
| 2K | Medium | $0.0357 / image | $0.00447 / image | $0.08 / image |
Prices from the AnyAIGC model catalog; edits add $0.00447 per input image. xAI no longer publishes a list price for Quality; per xAI’s migration guide, its requests are now served as 2.0 at low quality (xAI pricing). Billed per successful generation; live prices are in the model catalog.
Cost examples
Straight multiplication of the prices above, nothing else added.
-
1,000 images on Quality
1,000 × 1K $0.0223
$22.30
Legacy model name
-
The same 1,000 on 2.0
1,000 × 1K Low $0.0179
$17.90
Image 2.0 · Low
-
What you save
$22.30 − $17.90
Save $4.40
Per 1,000 images at 1K
Official Image 2.0 samples
Quality requests are now served by Image 2.0. These images were generated by Image 2.0 and come from xAI’s launch post.

TextureHalftone portrait rendered entirely in fine white dots 
Travel posterVintage travel poster of an Italian Riviera town 
InfographicIllustrated Odyssey infographic mapping the voyage home 
CinematicCinematic close-up glancing back across a candlelit ballroom 
MangaSoft manga page of a girl among cherry blossoms at dusk 
Ink washClassical Chinese ink painting of a waterfall and a robed figure
Sample images come from xAI's Imagine Image 2.0 launch post, were generated by Imagine Image 2.0, and are copyrighted by xAI. View source
Migrate in three steps
- Step 1
Change the model name
Replace
"model": "grok-imagine-image-quality"with"grok-imagine-image-2.0"in your request. - Step 2
Add quality if needed
Add
"quality": "medium"for more detail (it costs more than Low); leave it out to use the defaultauto. - Step 3
Check the response
The format is unchanged:
datastill holdsb64_jsonorurl, so your parsing code stays the same.
Why call it through AnyAIGC
One key, 300+ models
Grok Imagine, GPT Image, Nano Banana and Seedream share one API key and one balance.
No xAI account needed
The endpoint
https://anyaigc.aineeds no xAI account.Fixed prices
A flat price per image, below xAI’s list price, with every charge visible in the console.
Unlimited concurrency
Every account runs without a concurrency cap, so batch jobs don’t wait for approval.
Code examples
- Sign up for AnyAIGC. New accounts get 5M free tokens, and you can top up from $1.
- Create an API key in the console and save it as the
ANYAIGC_API_KEYenvironment variable. - Send a request to
POST https://anyaigc.ai/v1/images/generationswithmodelset togrok-imagine-image-2.0. For edits, usePOST /v1/images/edits.
import base64
import os
import requests
API_KEY = os.environ["ANYAIGC_API_KEY"]
resp = requests.post(
"https://anyaigc.ai/v1/images/generations",
headers={"Authorization": "Bearer " + API_KEY},
json={
"model": "grok-imagine-image-2.0",
"prompt": "A retro concert poster titled “Neon Night Drive”, bold vintage type, sharp small print “Dec 31, 2026 · Austin” at the bottom",
"aspect_ratio": "2:3", # 1:1, 16:9, 9:16, 3:2 and more
"resolution": "2k", # 1k / 1.5k / 2k
"quality": "medium", # low / medium / auto (2.0 only)
"n": 1,
"response_format": "b64_json", # or url
},
timeout=300,
)
resp.raise_for_status()
for i, item in enumerate(resp.json()["data"], 1):
if item.get("b64_json"):
with open(f"grok_{i}.jpg", "wb") as f:
f.write(base64.b64decode(item["b64_json"]))
print("saved", f"grok_{i}.jpg")
else: # with response_format url you get a temporary link, download it soon
print(item["url"])
curl https://anyaigc.ai/v1/images/generations \
-H "Authorization: Bearer $ANYAIGC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-imagine-image-quality",
"prompt": "A retro concert poster titled “Neon Night Drive”, bold vintage type, sharp small print “Dec 31, 2026 · Austin” at the bottom",
"aspect_ratio": "16:9",
"resolution": "1k",
"n": 1,
"response_format": "url"
}'
Authenticate with Authorization: Bearer <API Key>. The response looks like {"created": ..., "data": [{"b64_json": ...}], "usage": {"generated_images": 1, ...}}; with response_format set to url you get a temporary link, so download it promptly. Field reference in the AnyAIGC docs: Create image, Edit image.
Grok Imagine Image Quality API for teams and enterprises
E-commerce companies, design studios and content platforms can buy through a proper business process, with support for finance, legal and engineering.
- Invoices
Issue them yourself
Issue an invoice in the console for the amount you actually topped up, whenever you need one.
- Dedicated support
Account and technical contacts
Work with a dedicated support contact and technical engineer for onboarding, migration and troubleshooting.
- WeChat Pay
- Alipay
- USDT
- Credit card
Why teams trust AnyAIGC
Trial credit, top-ups, refunds, data handling and billing, spelled out up front.
5M free tokens to start
New accounts get trial credit, so you can test before you top up.
Top up from $1, refundable
Top up from $1. Unused balance can be refunded with no fee.
Official channels, real models
Requests go to official model channels, never cheaper or reverse-engineered substitutes.
No retention, no training
Unless the law requires it, your prompts and outputs are not persistently stored or used for training. See the privacy policy.
Transparent billing, spend caps
See tokens and cost for every request in the console, and set a quota on each API key.
24/7 support
Contact support any time about integration, billing or incidents.
Grok Image models
Same API key, same endpoint. Switch models by changing the model field.
Grok Imagine Image Quality API FAQ
Has grok-imagine-image-quality been retired?
Yes. xAI retired grok-imagine-image-quality on Nov 2, 2026. Requests are now handled by grok-imagine-image-2.0 with quality: "low", and request and response formats are unchanged. The model name still works on AnyAIGC; for new projects use Grok Imagine Image 2.0.
How much does the Grok Imagine Image Quality API cost?
On AnyAIGC it’s $0.0223 at 1K, $0.0268 at 1.5K and $0.0313 at 2K per image, plus $0.00447 per input image for edits. That’s $0.0044–$0.0045 more than Image 2.0 at Low quality at each resolution. xAI no longer publishes a separate list price for Quality. Billed per successful generation; live prices are in the model catalog.
What code do I need to change to move to 2.0?
Only set model to grok-imagine-image-2.0. The endpoint, request fields and response format stay the same. 2.0 also supports quality (low / medium / auto) and the 21:9 and 5:2 ratios.
What happens if I don’t change anything?
Requests won’t fail. They’re served by 2.0 at low quality, and the model field in the response shows the model that actually handled them. You also keep paying the Quality price, which is higher than 2.0 Low. If you want medium quality, switch to 2.0 and pass quality.
Image 2.0, Image or Quality: which one should I use?
Grok Imagine Image 2.0 (grok-imagine-image-2.0) is the model xAI currently recommends, with stronger typography, prompt following and editing. It starts at $0.0179 / image on AnyAIGC, so start new projects here. Grok Imagine Image (grok-imagine-image) is the first-generation Imagine model at $0.0119 / image, the lowest price in the series, fine for plain text to image and existing code. Grok Imagine Image Quality was retired by xAI on Nov 2, 2026, and its requests are now served by 2.0 at low quality.
Do I need an xAI account?
No xAI account needed. Sign up on AnyAIGC to get an API key. The endpoint is https://anyaigc.ai, and the same key works with 300+ other models on the platform.
Is there a concurrency limit?
AnyAIGC sets no concurrency limit on the Grok Image models. Every account gets this by default, so batch jobs don’t need a quota request.
Can I get an invoice from AnyAIGC?
Yes. You can issue invoices yourself in the console, for the amount you actually topped up.
Which payment methods are supported?
You can top up with WeChat Pay, Alipay, USDT or a credit card. Your balance is in USD and works across every model on the platform. Invoices can be issued in the console for the amount you topped up.
Is there free trial credit for new users?
Yes. New accounts get 5 million tokens of trial credit, so you can test before deciding to top up. Top-ups start at $1.
Can I get a refund on my balance?
Yes. Unused balance can be refunded with no fee. Contact support to start a refund.
Are these the real models? Is my data safe?
Requests go to official model channels, never cheaper or reverse-engineered substitutes. Unless the law requires it, we do not persistently store your prompts or outputs or use them for training, and the console shows tokens and cost for every request.
Can I use the images commercially?
Usage rights and content policy follow xAI’s official terms. AnyAIGC only provides API access and adds no extra restrictions on what you do with the output.
Switch from Quality to Image 2.0
From $0.0179 / image, cheaper than Quality at every resolution, with stronger typography and editing and unlimited concurrency.



