返回全部动态
Vercel AI SDK 7.0.58 发布:新增自适应视频宽高比支持
原标题:ai@7.0.58
AI 摘要
Vercel AI SDK 发布 ai@7.0.58 版本,主要更新包括:尊重代理设置中的 ToolLoopAgent 超时;为 generateVideo 添加 'adaptive' 宽高比支持,适配 BytePlus Seedance 2.5 等模型;通过使 Zod v4 导入可树摇动来减小包体积。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
### Patch Changes - 72ad23f: Respect ToolLoopAgent timeouts configured in agent settings. - ad6a650: feat(video): allow `aspectRatio: 'adaptive'` on `generateVideo` Some video models derive the output ratio from the input and reject explicit `{width}:{height}` values — BytePlus Seedance 2.5 does this for first-frame, first-and-last-frame, editing, and extension tasks. `aspectRatio` on `VideoModelV3CallOptions`, `VideoModelV4CallOptions`, and `experimental_generateVideo
发布时间:2026-08-08 07:43
抓取时间:2026-08-08 08:10
来源机构:Vercel