@ai-sdk/provider
Advanced tools
+13
-0
| # @ai-sdk/provider | ||
| ## 3.0.15 | ||
| ### 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. | ||
| ## 3.0.14 | ||
@@ -4,0 +17,0 @@ |
+1
-1
| { | ||
| "name": "@ai-sdk/provider", | ||
| "version": "3.0.14", | ||
| "version": "3.0.15", | ||
| "license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
@@ -19,7 +19,8 @@ import type { SharedV3ProviderOptions } from '../../shared'; | ||
| * Aspect ratio of the videos to generate. | ||
| * Must have the format `{width}:{height}`. | ||
| * Must have the format `{width}:{height}`, or `'adaptive'` to inherit the | ||
| * ratio from the input media. | ||
| * `undefined` will use the provider's default aspect ratio. | ||
| * Common values: '16:9', '9:16', '1:1', '21:9', '4:3' | ||
| */ | ||
| aspectRatio: `${number}:${number}` | undefined; | ||
| aspectRatio: `${number}:${number}` | 'adaptive' | undefined; | ||
@@ -26,0 +27,0 @@ /** |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
518204
0.15%9528
0.02%