Skip to content
Dashboard

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.'
});

Playground

Try out Grok Imagine Image by xAI. Usage is billed to your team at API rates. Free users (those who haven't made a payment) get $5 of credits every 30 days.

xai logo
Prompt
Describe what you want the model to generate.
Need inspiration?
Reference images(optional)
Size
Aspect ratio
Images to generate
xai logo

Your generated image will appear here