Skip to content

@ai-sdk/provider@4.0.7

Choose a tag to compare

@github-actions github-actions released this 07 Aug 23:45
63db193

Patch Changes

  • 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 is now `${number}:${number}` | 'adaptive', so
    those calls no longer need a type assertion. Support is provider-specific.