🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@ai-sdk/provider

Package Overview
Dependencies
Maintainers
3
Versions
162
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ai-sdk/provider - npm Package Compare versions

Comparing version
4.0.2
to
4.0.3
+6
-0
CHANGELOG.md
# @ai-sdk/provider
## 4.0.3
### Patch Changes
- 0f93c57: feat (video): support video (not just image) reference inputs in `inputReferences` for reference-to-video generation
## 4.0.2

@@ -4,0 +10,0 @@

+1
-1
{
"name": "@ai-sdk/provider",
"version": "4.0.2",
"version": "4.0.3",
"type": "module",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

@@ -66,3 +66,7 @@ import type { SharedV3ProviderOptions } from '../../shared';

/**
* Reference image inputs for reference-to-video generation.
* Reference inputs for reference-to-video generation.
*
* Each entry is an image or video file. Providers route each reference by
* its media type (image vs. video) and warn when a reference kind is
* unsupported.
*/

@@ -69,0 +73,0 @@ inputReferences: Array<VideoModelV3File> | undefined;

@@ -66,3 +66,7 @@ import type { SharedV4ProviderOptions } from '../../shared';

/**
* Reference image inputs for reference-to-video generation.
* Reference inputs for reference-to-video generation.
*
* Each entry is an image or video file. Providers route each reference by
* its media type (image vs. video) and warn when a reference kind is
* unsupported.
*/

@@ -69,0 +73,0 @@ inputReferences: Array<VideoModelV4File> | undefined;

@@ -37,2 +37,9 @@ import type { SharedV4ProviderMetadata } from '../../shared';

/**
* The media type of the referenced file, when known.
* Video types: 'video/mp4', 'video/webm', 'video/quicktime'
* Image types: 'image/png', 'image/jpeg', 'image/webp'
*/
mediaType?: string;
/**
* Optional provider-specific metadata for the file part.

@@ -39,0 +46,0 @@ */

Sorry, the diff of this file is too big to display