# Grok Imagine Image 2.0 now available on Vercel AI Gateway

DevFeed: [Grok Imagine Image 2.0 now available on Vercel AI Gateway](<https://devfeed.tech/articles/grok-imagine-image-2-0-now-available-on-vercel-ai-gateway-975.md>)

Original publisher: [Read original article](<https://vercel.com/changelog/grok-imagine-image-2-0-preview-now-available-on-vercel-ai-gateway>)

Author: Jerilyn Zheng

Published: 2026-08-08T00:00:00Z

Content type: release

Language: en

Sources: [Vercel News](<https://devfeed.tech/sources/vercel-news.md>)

Topics: [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Vercel](<https://devfeed.tech/topics/vercel.md>), [vercel ai sdk](<https://devfeed.tech/topics/vercel-ai-sdk.md>), [SDKs](<https://devfeed.tech/topics/sdks.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [images](<https://devfeed.tech/tags/images.md>), [model](<https://devfeed.tech/tags/model.md>), [models](<https://devfeed.tech/tags/models.md>), [sdk](<https://devfeed.tech/tags/sdk.md>), [vercel](<https://devfeed.tech/tags/vercel.md>)

## AI overview

Grok Imagine Image 2.0 Preview from xAI is now available through Vercel AI Gateway. It supports detailed image generation, layout-aware typography, and image editing that preserves unchanged subjects and details. The article also explains how to call the model with the AI SDK, select 1k or 2k resolution, generate multiple images, and provide an input image for editing.

## Source excerpt

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. 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. Read more