Skip to content

Grok Imagine Image 2.0

Grok Imagine Image 2.0 is an image generation and editing model from xAI.

Pricing

Image output
$10.06per 1M image tokens
Image input
$0.0105per image
Max output
58,982tokens

OpenRouter's price plus OpenRouter's 5% platform fee. Deference adds no markup.

Terminal

curl https://deference.si/v1/chat/completions \
  -H "Authorization: Bearer $DEFERENCE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "x-ai/grok-imagine-image-2.0",
    "modalities": ["image", "text"],
    "messages": [{ "role": "user", "content": "Say hello in one sentence." }]
  }'
curl, set up for Grok Imagine Image 2.0

Find us on