Skip to content
Dashboard

Grok Imagine Image 2.0

Your use is subject to xAI's Terms & Privacy Policies.

Image Gen
import { experimental_generateImage as generateImage } from 'ai';
const result = await generateImage({
model: 'xai/grok-imagine-image-2.0',
prompt: 'A red balloon on a wooden table.'
});
Read docs

More models by xAI

Model
Context
Latency
Throughput
Input
Output
Cache
Web Search
Capabilities
Providers
ZDR
No Training
Release Date
500K
1.7s
57tps
$2/M+1 more
$6/M+1 more
Read:
$0.3/M+1 more
Write:
$5/K
+ input costs
+3
xai logo
07/08/2026
1M
1.1s
114tps
$1.25/M+1 more
$2.50/M+1 more
Read:
$0.2/M+1 more
Write:
$5/K
+ input costs
+3
vertex logo
xai logo
04/30/2026
2M
0.3s
80tps
$1.25/M+1 more
$2.50/M+1 more
Read:
$0.2/M+1 more
Write:
$5/K
+ input costs
+2
vertex logo
xai logo
03/10/2026
2M
0.9s
97tps
$1.25/M+1 more
$2.50/M+1 more
Read:
$0.2/M+1 more
Write:
$5/K
+ input costs
+3
vertex logo
xai logo
03/10/2026
1M
3.2s
145tps
$0.20/M
$0.50/M
Read:$0.05/M
Write:
+2
vertex logo
11/19/2025
1M
0.4s
197tps
$0.20/M
$0.50/M
Read:$0.05/M
Write:
+1
vertex logo
11/19/2025