The Vercel AI SDK has been updated, with @ai-sdk/vue@4.0.62 introducing typed custom bodies for Completion APIs. Concurrently, the @ai-sdk/xai@4.0.36 package now supports Grok Imagine Video 1.5, and @ai-sdk/workflow@1.0.62 includes enhancements for maxRetries and abortSignal overrides.
Key Points
- The @ai-sdk/vue@4.0.62 package now includes typed custom bodies for Completion APIs.
- @ai-sdk/xai@4.0.36 adds support for the Grok Imagine Video 1.5 model.
- The Grok Imagine Video 1.5 model supports native 1080p for text-to-video and image-to-video generation.
- Reference-to-video generation with Grok Imagine Video 1.5 remains capped at 720p, with 1080p requests downgraded and a warning issued.
- @ai-sdk/xai@4.0.36 also adds
referenceVoiceIdsfor reference audio in reference-to-video, allowing up to 3 xAI preset voice IDs. - The @ai-sdk/workflow@1.0.62 package now honors
maxRetriesandabortSignaloverrides returned fromprepareCall. - All three packages (@ai-sdk/vue@4.0.62, @ai-sdk/xai@4.0.36, and @ai-sdk/workflow@1.0.62) updated their dependency on
aito 7.0.62.
Context
According to the Vercel AI SDK Changelog, the @ai-sdk/vue update focuses on developer experience by adding type safety to custom bodies in Completion APIs. The @ai-sdk/xai update expands the SDK's capabilities by integrating with Grok Imagine Video 1.5, providing new video generation features. The @ai-sdk/workflow update improves the robustness of workflow execution by allowing more control over retry logic and signal handling.
Why It Matters
These updates provide developers using the Vercel AI SDK with enhanced type safety, new multimodal capabilities through Grok Imagine Video 1.5, and more granular control over workflow execution. The addition of 1080p video generation for certain modes and reference audio options expands creative possibilities for applications.
What To Do
- Review the @ai-sdk/vue documentation for details on implementing typed custom bodies with Completion APIs.
- Explore the @ai-sdk/xai package to integrate Grok Imagine Video 1.5 into applications, noting the 1080p support for text-to-video and image-to-video.
- Test the
referenceVoiceIdsfeature in @ai-sdk/xai for adding preset xAI voice IDs to reference-to-video generations. - Examine the @ai-sdk/workflow package to understand how
maxRetriesandabortSignaloverrides can be used to manage workflow calls.
