Grok Imagine Image 2.0 now available on Vercel AI Gateway Vercel's AI Gateway now supports xAI's Grok Imagine Image 2.0 Preview, a model that follows detailed instructions, plans typography and layout, and supports image editing. Developers can use it via the AI SDK by setting the model to 'xai/grok-imagine-image-2.0-preview' and calling generateImage, with options for resolution (1k or 2k) and multiple images per call. Grok Imagine Image 2.0 Preview from xAI https://vercel.com/ai-gateway/models/grok-imagine-image-2.0-preview 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 https://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 https://ai-sdk.dev/ . 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 instruction, and the model changes what you asked for and leaves the rest: To view all image models supported on AI Gateway, see the full list here https://vercel.com/ai-gateway/models?type=image .