# Vercel's AI SDK xAI provider adds image response format and storage options

published: 2026-12-03T14:05:37.791Z
topic: frameworks
source: https://github.com/vercel/ai/releases/tag/%40ai-sdk%2Fxai%405.0.55
url: https://aiagentnews.io/stories/vercel-s-ai-sdk-xai-provider-adds-image-response-format-and-storage-options

Vercel has released @ai-sdk/xai 5.0.55, a patch that adds image options to the xAI provider for the AI SDK. The release also exposes image URLs and stored-file details in provider metadata.

Vercel has published version 5.0.55 of @ai-sdk/xai, the package that connects the AI SDK to xAI models. GitHub lists the release as dated 2 December. The release contains a single patch change.

That change adds the responseFormat and storageOptions image provider options. It also exposes image URLs and stored-file details under providerMetadata.xai.images, so calling code can read them from the result.

The release page does not include usage examples or other changes. Developers who want the details should check the package's changes for this version.

## Why it matters if you build agents

If you generate images with xAI through the AI SDK, you can now set a response format and storage behavior in your provider options. You can also read image URLs and stored-file details from the metadata returned with each image. Upgrading to 5.0.55 is needed to use these options.
