Back to Models
Grok 2 Image
Available
Description
Grok 2 Image is xAI's flagship image generation model that turns text prompts into sharp, photorealistic visuals. Optimized for marketing creatives, social posts, product visuals, and concept art with strong prompt following and flexible visual styles.
At a Glance
Key pricing and model details available for this model.
Starting price
$0.13
per image
Hallucination rate
0%
Supported sizes
default
Image Pricing
Image generation pricing currently exposed by the models API.
Starting price
$0.13
per image
Resolution Pricing
Resolution-specific prices returned for this image model.
| auto | $0.13 |
| default | $0.13 |
Image Details
Additional image-related pricing and format support.
| Pricing unit | per image |
| Supported sizes | default |
Feature Availability
Capabilities explicitly listed in the current payload.
Image
Available
Yes
Vision
Not listed
No
Function calling
Not listed
No
Reasoning
Not listed
No
Code Samples
Quick start with the Routeway API
const response = await fetch('https://api.routeway.ai/v1/images/generations', {
method: 'POST',
headers: {
'Authorization': 'Bearer <YOUR_API_KEY>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
model: 'grok-2-image',
prompt: 'A futuristic city skyline at sunset',
size: '1024x1024',
})
});
const imageData = await response.json();
console.log(imageData);