Skip to content

Grok Imagine Image

Grok Imagine Image is xAI's image generation model. It creates images from text descriptions through the Grok Imagine API, delivering fast generation for creative and production workflows.

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

Providers

Route requests across multiple providers. Copy a provider slug to set your preference. Visit the docs for more info. Using a provider means you agree to their terms, listed under Legal.

Provider
Context
Latency
Throughput
Input
Output
Cache
Web Search
Per Query
Capabilities
ZDR
No Training
Release Date
xAI
Legal:Terms
Privacy
01/28/2026