6.0.248
Added 1
- Allow `aspectRatio: 'adaptive'` on `generateVideo` for video models that derive output ratio from input
Patch Changes
-
2171d15: feat(video): allow
aspectRatio: 'adaptive'ongenerateVideoSome 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.aspectRatioonVideoModelV3CallOptions, andexperimental_generateVideois now`${number}:${number}` | 'adaptive', so those calls no longer need a type assertion. Support is provider-specific. -
Updated dependencies [2171d15]
- @ai-sdk/provider@3.0.15
- @ai-sdk/gateway@3.0.168
- @ai-sdk/provider-utils@4.0.44