Vercel has updated its AI SDK, releasing @ai-sdk/workflow version 1.0.62 and @ai-sdk/xai version 4.0.36. The @ai-sdk/workflow update, released on August 11, addresses how call overrides are handled. The @ai-sdk/xai update introduces support for Grok Imagine Video 1.5, enhancing video generation capabilities.
Key Points
- The
@ai-sdk/workflowpackage, version 1.0.62, now honorsmaxRetriesandabortSignaloverrides returned fromprepareCall. - This
@ai-sdk/workflowupdate was released on August 11. - The
@ai-sdk/xaipackage, version 4.0.36, adds support for the Grok Imagine Video 1.5 model. - Grok Imagine Video 1.5 supports native 1080p for text-to-video and image-to-video generation.
- Reference-to-video generation with Grok Imagine Video 1.5 is capped at 720p.
- The
@ai-sdk/xaiupdate also fixes reference routing for non-image references. - Users can pass up to 3 xAI preset voice IDs as
referenceVoiceIdsfor reference-to-video reference audio.
Context
According to the Vercel AI SDK Changelog, the @ai-sdk/workflow update improves the handling of call parameters, allowing for more precise control over retries and signal abortion. The @ai-sdk/xai update, also from the Vercel AI SDK Changelog, expands the SDK's capabilities by integrating Grok Imagine Video 1.5, which includes new features for video generation and audio referencing.
Why It Matters
These updates provide developers with more granular control over AI workflow execution and expand the range of supported models and features for video generation. The addition of Grok Imagine Video 1.5 with 1080p support for certain modes and reference audio capabilities could enable more sophisticated and higher-quality video applications.
What To Do
- Developers using
@ai-sdk/workflowshould review the changes tomaxRetriesandabortSignaloverrides. - Explore the new Grok Imagine Video 1.5 model capabilities within
@ai-sdk/xaifor text-to-video and image-to-video generation. - Note the 720p resolution cap for reference-to-video when using Grok Imagine Video 1.5.
- Experiment with the
referenceVoiceIdsfeature to incorporate preset xAI voice IDs into video generations.