The Vercel AI SDK has introduced new features in its recent updates, including a harness for Grok Build and enhanced control over video aspect ratios. These changes are part of a release managed by the Changesets release GitHub action.
Key Points
- A Grok Build harness has been added, built on top of the ACP adapter.
- The
ToolLoopAgentnow respects timeouts configured in agent settings. - Video generation functions now support an
aspectRatiooption set to'adaptive'. - The
aspectRatioparameter forVideoModelV3CallOptions,VideoModelV4CallOptions, andexperimental_generateVideocan now be a string like${number}:${number}or'adaptive'. - Some video models, such as BytePlus Seedance 2.5, derive output aspect ratios from input and may reject explicit width-height values for tasks like first-frame, first-and-last-frame, editing, and extension.
Context
According to the Vercel AI SDK changelog, these updates aim to expand the SDK's capabilities for integrating with different models and managing video generation parameters. The Grok Build harness provides a structured way to interact with that model, while the video aspect ratio feature addresses how various video models handle output dimensions.
Why It Matters
These updates offer developers more flexibility and control when working with specific AI models and video generation tasks. The addition of the Grok Build harness simplifies integration, and the enhanced aspectRatio options allow for better adaptation to the requirements of different video models, potentially reducing errors and improving output quality.
What To Do
- Developers should review the updated
aspectRatiooptions when usingVideoModelV3CallOptions,VideoModelV4CallOptions, orexperimental_generateVideo. - Note that some video models, like BytePlus Seedance 2.5, may require
'adaptive'aspect ratios for certain tasks. - Compare the new Grok Build harness with existing integration methods if working with Grok.
- Check agent settings for
ToolLoopAgenttimeouts to ensure proper configuration.
Keep Exploring
/atlas/**grok**-family /atlas/image-models /techniques/output-schema
