Grok Imagine Image
Frontier labImage
API id
grok-imagine-imageReleased 2 Mar 2026 (Mar 2026)Input / 1M
-
not listed
Output / 1M
-
not listed
Context window
-
tokens
Max output
-
tokens per reply
Hosts
2
3 listings
Released
Mar 2026
2 Mar 2026
Where to run it
2 hosts serve Grok Imagine Image. The comparison is on blended price, 3 parts input to 1 part output.
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",
messages=[{"role": "user", "content": "Hello"}],
)
print(completion.choices[0].message.content)Python
from litellm import completion
response = completion(
model="xai/grok-imagine-image",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)Quick answers
Which APIs offer Grok Imagine Image?
Grok Imagine Image runs on 2 APIs: xAI and Replicate.
Is Grok Imagine Image being retired?
No retirement date is scheduled for it on any API we track.
When was Grok Imagine Image released?
xAI released it on 2 Mar 2026.
What is Grok Imagine Image's API model id?
Use grok-imagine-image with xAI.
Sources
Raw catalog entry for grok-imagine-image on xAI
{
"input_cost_per_image": 0.02,
"litellm_provider": "xai",
"mode": "image_generation",
"source": "https://docs.x.ai/docs/models",
"supported_endpoints": [
"/v1/images/generations"
],
"supported_modalities": [
"text",
"image"
],
"supported_output_modalities": [
"image"
]
}