Skip to content

Grok Imagine Image Pro

Grok Imagine Image Pro is xAI's premium image generation model. It produces higher-fidelity images with enhanced detail, lighting, and composition compared to the standard Grok Imagine model, designed for professional creative workflows.

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