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
Set
For image editing, pass an image in
To view all image models supported on AI Gateway, see the full list here.
Read more
Continue reading...
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
Continue reading...