The Vercel AI SDK has released updates, including the addition of a Grok Build harness and new functionality for video generation. These changes were published in the @ai-sdk/workflow-harness@1.0.64 and @ai-sdk/xai@4.0.33 releases.
Key Points
- A Grok Build harness has been added to the Vercel AI SDK, built on top of an ACP adapter.
- The ToolLoopAgent now respects timeouts configured in agent settings.
- The
generateVideofunction now supports anaspectRatio: 'adaptive'option. - This
adaptiveaspect ratio is available onVideoModelV3CallOptions,VideoModelV4CallOptions, andexperimental_generateVideo. - Some video models, such as BytePlus Seedance 2.5, derive output ratios from input and reject explicit
width:heightvalues for tasks like first-frame, first-and-last-frame, editing, and extension.
Context
According to the Vercel AI SDK Changelog, these updates aim to enhance the SDK's capabilities for integrating with different models and managing video generation parameters. The introduction of the Grok Build harness expands the range of supported models, while the adaptive aspect ratio addresses specific requirements of certain video generation models.
Why It Matters
These updates provide builders with more flexibility in integrating with diverse AI models, particularly Grok, and managing video output. The adaptive aspect ratio feature helps developers work around constraints imposed by video models that do not accept fixed dimensions, potentially streamlining video generation workflows.
What To Do
- Review the Vercel AI SDK documentation for details on the Grok Build harness.
- Test the
aspectRatio: 'adaptive'option when working with video models that derive output ratios from input. - Note the updated
VideoModelV3CallOptions,VideoModelV4CallOptions, andexperimental_generateVideofor video generation tasks. - Check agent settings for ToolLoopAgent timeout configurations.
Keep Exploring
/atlas/**grok**-family /atlas/image-models /techniques/multimodal-grounding