@ai-sdk/provider 4.0.2 → 4.0.3
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
package/dist/index.d.ts
CHANGED
|
@@ -6890,6 +6890,12 @@ type VideoModelV4File = {
|
|
|
6890
6890
|
* The URL of the video or image file.
|
|
6891
6891
|
*/
|
|
6892
6892
|
url: string;
|
|
6893
|
+
/**
|
|
6894
|
+
* The media type of the referenced file, when known.
|
|
6895
|
+
* Video types: 'video/mp4', 'video/webm', 'video/quicktime'
|
|
6896
|
+
* Image types: 'image/png', 'image/jpeg', 'image/webp'
|
|
6897
|
+
*/
|
|
6898
|
+
mediaType?: string;
|
|
6893
6899
|
/**
|
|
6894
6900
|
* Optional provider-specific metadata for the file part.
|
|
6895
6901
|
*/
|
|
@@ -6969,7 +6975,11 @@ type VideoModelV4CallOptions = {
|
|
|
6969
6975
|
*/
|
|
6970
6976
|
frameImages: Array<VideoModelV4FrameImage> | undefined;
|
|
6971
6977
|
/**
|
|
6972
|
-
* Reference
|
|
6978
|
+
* Reference inputs for reference-to-video generation.
|
|
6979
|
+
*
|
|
6980
|
+
* Each entry is an image or video file. Providers route each reference by
|
|
6981
|
+
* its media type (image vs. video) and warn when a reference kind is
|
|
6982
|
+
* unsupported.
|
|
6973
6983
|
*/
|
|
6974
6984
|
inputReferences: Array<VideoModelV4File> | undefined;
|
|
6975
6985
|
/**
|
|
@@ -7225,7 +7235,11 @@ type VideoModelV3CallOptions = {
|
|
|
7225
7235
|
*/
|
|
7226
7236
|
frameImages: Array<VideoModelV3FrameImage> | undefined;
|
|
7227
7237
|
/**
|
|
7228
|
-
* Reference
|
|
7238
|
+
* Reference inputs for reference-to-video generation.
|
|
7239
|
+
*
|
|
7240
|
+
* Each entry is an image or video file. Providers route each reference by
|
|
7241
|
+
* its media type (image vs. video) and warn when a reference kind is
|
|
7242
|
+
* unsupported.
|
|
7229
7243
|
*/
|
|
7230
7244
|
inputReferences: Array<VideoModelV3File> | undefined;
|
|
7231
7245
|
/**
|
package/package.json
CHANGED
|
@@ -63,7 +63,11 @@ export type VideoModelV3CallOptions = {
|
|
|
63
63
|
frameImages: Array<VideoModelV3FrameImage> | undefined;
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
|
-
* Reference
|
|
66
|
+
* Reference inputs for reference-to-video generation.
|
|
67
|
+
*
|
|
68
|
+
* Each entry is an image or video file. Providers route each reference by
|
|
69
|
+
* its media type (image vs. video) and warn when a reference kind is
|
|
70
|
+
* unsupported.
|
|
67
71
|
*/
|
|
68
72
|
inputReferences: Array<VideoModelV3File> | undefined;
|
|
69
73
|
|
|
@@ -63,7 +63,11 @@ export type VideoModelV4CallOptions = {
|
|
|
63
63
|
frameImages: Array<VideoModelV4FrameImage> | undefined;
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
|
-
* Reference
|
|
66
|
+
* Reference inputs for reference-to-video generation.
|
|
67
|
+
*
|
|
68
|
+
* Each entry is an image or video file. Providers route each reference by
|
|
69
|
+
* its media type (image vs. video) and warn when a reference kind is
|
|
70
|
+
* unsupported.
|
|
67
71
|
*/
|
|
68
72
|
inputReferences: Array<VideoModelV4File> | undefined;
|
|
69
73
|
|
|
@@ -33,6 +33,13 @@ export type VideoModelV4File =
|
|
|
33
33
|
*/
|
|
34
34
|
url: string;
|
|
35
35
|
|
|
36
|
+
/**
|
|
37
|
+
* The media type of the referenced file, when known.
|
|
38
|
+
* Video types: 'video/mp4', 'video/webm', 'video/quicktime'
|
|
39
|
+
* Image types: 'image/png', 'image/jpeg', 'image/webp'
|
|
40
|
+
*/
|
|
41
|
+
mediaType?: string;
|
|
42
|
+
|
|
36
43
|
/**
|
|
37
44
|
* Optional provider-specific metadata for the file part.
|
|
38
45
|
*/
|