@ai-sdk/provider 4.0.0-beta.19 → 4.0.0-beta.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @ai-sdk/provider
2
2
 
3
+ ## 4.0.0-beta.20
4
+
5
+ ### Patch Changes
6
+
7
+ - 0416e3e: feat (video): add first-class `generateAudio` call option
8
+
3
9
  ## 4.0.0-beta.19
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -6775,6 +6775,10 @@ type VideoModelV4CallOptions = {
6775
6775
  * The image serves as the starting frame that the model will animate.
6776
6776
  */
6777
6777
  image: VideoModelV4File | undefined;
6778
+ /**
6779
+ * Whether the model should generate audio alongside the video.
6780
+ */
6781
+ generateAudio: boolean | undefined;
6778
6782
  /**
6779
6783
  * Additional provider-specific options that are passed through to the provider
6780
6784
  * as body parameters.
@@ -6996,6 +7000,10 @@ type VideoModelV3CallOptions = {
6996
7000
  * The image serves as the starting frame that the model will animate.
6997
7001
  */
6998
7002
  image: VideoModelV3File | undefined;
7003
+ /**
7004
+ * Whether the model should generate audio alongside the video.
7005
+ */
7006
+ generateAudio: boolean | undefined;
6999
7007
  /**
7000
7008
  * Additional provider-specific options that are passed through to the provider
7001
7009
  * as body parameters.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/provider",
3
- "version": "4.0.0-beta.19",
3
+ "version": "4.0.0-beta.20",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "sideEffects": false,
@@ -54,6 +54,11 @@ export type VideoModelV3CallOptions = {
54
54
  */
55
55
  image: VideoModelV3File | undefined;
56
56
 
57
+ /**
58
+ * Whether the model should generate audio alongside the video.
59
+ */
60
+ generateAudio: boolean | undefined;
61
+
57
62
  /**
58
63
  * Additional provider-specific options that are passed through to the provider
59
64
  * as body parameters.
@@ -54,6 +54,11 @@ export type VideoModelV4CallOptions = {
54
54
  */
55
55
  image: VideoModelV4File | undefined;
56
56
 
57
+ /**
58
+ * Whether the model should generate audio alongside the video.
59
+ */
60
+ generateAudio: boolean | undefined;
61
+
57
62
  /**
58
63
  * Additional provider-specific options that are passed through to the provider
59
64
  * as body parameters.