The Vercel AI SDK has released updates, including version 7.0.74 of the core ai package. These updates, detailed across several changelog entries, introduce new capabilities for multimodal models and enhance gateway functionality for video processing.
Key Points
- The core
aipackage has been updated to version 7.0.74. - DeepSeek V4 Flash Vision Exp now supports image input and Files API through the SDK.
- The
@ai-sdk/gatewaypackage is updated to version 4.0.60. - A new
handleWebhookOptionhas been implemented for video models within the gateway. - This webhook option registers a factory URL as the gateway's
callbackUrlforgenerateVideo({ webhook })calls. - The gateway will now await delivery via webhook instead of falling back to polling for video generation.
- Other updated packages include
@ai-sdk/vue@4.0.74,@ai-sdk/angular@3.0.74,@ai-sdk/azure@4.0.47,@ai-sdk/code-mode@1.0.31,@ai-sdk/harness@1.0.82,@ai-sdk/harness-acp@1.0.20,@ai-sdk/workflow@2.0.4, and@ai-sdk/workflow-harness@1.0.82.
Context
According to the Vercel AI SDK changelog, the updates integrate DeepSeek V4 Flash Vision Exp's image input and Files API, expanding the multimodal capabilities available through the SDK. Concurrently, the @ai-sdk/gateway package has been enhanced to manage video model callbacks more efficiently. The handleWebhookOption feature allows the gateway to register a specified URL as a callback, enabling asynchronous delivery of video generation results rather than relying on a polling mechanism.
Why It Matters
These updates provide developers using the Vercel AI SDK with expanded multimodal model support and improved asynchronous processing for video generation. The addition of webhook support for video models can streamline workflows by reducing the need for continuous polling, potentially leading to more efficient and responsive applications.
What To Do
- Review the Vercel AI SDK changelog for specific details on the DeepSeek V4 Flash Vision Exp integration.
- Examine the
@ai-sdk/gatewaydocumentation for the newhandleWebhookOptionand its usage with video models. - Test the
generateVideo({ webhook })functionality to understand its impact on callback mechanisms. - Note the updated package versions, including
ai@7.0.74, for dependency management in projects.
Keep Exploring
/atlas/image-models /techniques/multimodal-grounding /studio?pack=foundation
