The Vercel AI SDK has released updates, with the core ai package reaching version 7.0.74. This release includes enhancements for multimodal capabilities and gateway functionality.
Key Points
- The Vercel AI SDK
aipackage is updated to version 7.0.74. - DeepSeek V4 Flash Vision Exp image input is now supported.
- The DeepSeek V4 Flash Vision Exp Files API is also supported.
- The
@ai-sdk/gatewaypackage is updated to version 4.0.60. - The gateway now implements
handleWebhookOptionfor video models. - This allows
generateVideo({ webhook })to register a factory URL as the gateway'scallbackUrl. - The gateway will await delivery instead of falling back to polling for video generation.
Context
According to the Vercel AI SDK Changelog, the updates include specific feature additions. The @ai-sdk/deepseek package, now at version 3.0.30, gains support for DeepSeek V4 Flash Vision Exp image input and its associated Files API. Concurrently, the @ai-sdk/gateway package, updated to 4.0.60, introduces a mechanism for handling webhooks with video models. This mechanism registers a specified callbackUrl for video generation requests, enabling an await-delivery approach rather than polling.
Why It Matters
These updates expand the multimodal capabilities available to developers using the Vercel AI SDK, particularly for image and video processing with DeepSeek V4 Flash Vision Exp. The new webhook handling for video models in the gateway offers a more efficient method for managing asynchronous video generation tasks, potentially reducing latency and resource consumption associated with polling.
What To Do
- Review the Vercel AI SDK documentation for details on integrating DeepSeek V4 Flash Vision Exp image input and Files API.
- Explore the updated
@ai-sdk/gatewaypackage to understand the newhandleWebhookOptionfor video models. - Test the
generateVideo({ webhook })functionality to observe the change from polling to awaiting delivery. - Note the specific package versions:
ai@7.0.74,@ai-sdk/deepseek@3.0.30, and@ai-sdk/gateway@4.0.60.
