AI SDK 6.0.248

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' 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, and experimental_generateVideo is 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
View original

Upgraded? How did it go?

Discussion