impulse

Grok Imagine Image 2.0

Frontier labImage
API id grok-imagine-image-2.0
Input / 1M
-
not listed
Output / 1M
-
not listed
Context window
-
tokens
Max output
-
tokens per reply
Hosts
1
2 listings
Released
-
date not published

Where to run it

1 host serve Grok Imagine Image 2.0. The comparison is on blended price, 3 parts input to 1 part output.

HostIn / out per 1M
xAILab API
grok-imagine-image-2.0
-
Show 1 more listings: regions, snapshots and variants
xAI
low · 1024×1024
grok-imagine-image-2.0
-

Capabilities

Core

  • Streaming
  • Function calling
  • JSON mode
  • Structured outputs

Multimodal

  • Vision
  • Image input
  • Audio
  • Image generation
  • Video

Advanced

  • Reasoning
  • Tool calling
  • MCP
  • Prompt caching
  • Batch API
  • Embeddings
Takes in
ImagesText
Produces
Images

Similar models

This model has no listed price, so these are current models with similar capabilities.

Smaller xAI models

No similar xAI model keeps its key capabilities.

Other frontier labs

Open-weight picks

No similar open-weight match.

Call it

Using xAI's API.

Python
import os
from openai import OpenAI

client = OpenAI(base_url="https://api.x.ai/v1", api_key=os.environ["XAI_API_KEY"])

completion = client.chat.completions.create(
    model="grok-imagine-image-2.0",
    messages=[{"role": "user", "content": "Hello"}],
)
print(completion.choices[0].message.content)

Quick answers

Which APIs offer Grok Imagine Image 2.0?

Grok Imagine Image 2.0 runs on 1 API: xAI.

Is Grok Imagine Image 2.0 being retired?

No retirement date is scheduled for it on any API we track.

What is Grok Imagine Image 2.0's API model id?

Use grok-imagine-image-2.0 with xAI.

Sources

Raw catalog entry for grok-imagine-image-2.0 on xAI
{
  "input_cost_per_image": 0.06,
  "litellm_provider": "xai",
  "mode": "image_generation",
  "output_cost_per_image_1K": 0.04,
  "output_cost_per_image_2K": 0.06,
  "source": "https://docs.x.ai/developers/migration/imagine-image-quality-nov-2",
  "supported_endpoints": [
    "/v1/images/generations"
  ],
  "supported_modalities": [
    "text",
    "image"
  ],
  "supported_output_modalities": [
    "image"
  ]
}