@ai-sdk/xai 5.0.15 Adds New Image and Audio Capabilities
The latest release of @ai-sdk/xai introduces support for the grok-imagine-image-2.0 image model ID, an auto image quality option, a 1.5k image resolution provider, and expanded transcription model capabilities.
What changed?
@ai-sdk/xai version 5.0.15 introduces several updates: the grok-imagine-image-2.0 image model ID is now supported, an auto image quality setting has been added, as well as a 1.5k image resolution provider option. For audio processing, the update brings support for transcription model IDs, the vadThreshold parameter, and the opus audio format.
Why does it matter to an everyday developer?
These changes expand the range of image generation and transcription features available in applications using @ai-sdk/xai. The new grok-imagine-image-2.0 model can offer improved creative options, while the auto image quality and the 1.5k resolution option help developers balance output quality and performance demands. Enhanced transcription capabilities, including customizable vadThreshold and support for the opus audio format, make it easier to handle a wider variety of audio input scenarios.
What can the developer do now?
Developers can update to @ai-sdk/xai 5.0.15 to access these new features. They can use the grok-imagine-image-2.0 model for image tasks, try out the auto quality and 1.5k resolution options to optimize workflows, and leverage the advanced audio transcription settings for diverse use cases. No code changes are required unless you want to take advantage of these new APIs.
