Menu

Grok Imagine Image 2.0 now available on Vercel AI Gateway - Vercel
📰

Grok Imagine Image 2.0 now available on Vercel AI Gateway - Vercel

Vercel News·Walter Korman·7 days ago
#q0Ifg6cr
#vercel#imagine#grok#preview#model
Reading 0:00
15s threshold

Grok Imagine Image 2.0 Preview from xAI is now available on AI Gateway.

The model follows detailed instructions closely and plans typography and layout together, so dense, multi-part visuals like infographics, posters, and title screens hold their structure and small text stays legible. Grok Imagine Image 2.0 Preview also supports image editing, keeping subjects and details consistent across repeated generations.

Try the model out now in imagine.vercel.sh , running on AI Gateway.

To use Grok Imagine Image 2.0 Preview, set model to xai/grok-imagine-image-2.0-preview and call generateImage from the AI SDK .

import { generateImage } from 'ai' ;

const { images } = await generateImage ( {

model : 'xai/grok-imagine-image-2.0-preview' ,

prompt : 'An infographic tracing letterforms from movable type to digital fonts.' ,

} ) ;

Set resolution to 1k or 2k under providerOptions.xai to pick an output tier, and n for more than one image per call.

For image editing, pass an image in prompt.images alongside the…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.