🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@ai-sdk/provider

Package Overview
Dependencies
Maintainers
3
Versions
157
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
3.0.12
to
3.0.13
+24
src/video-model/v3/video-model-v3-frame-image.ts
import type { VideoModelV3File } from './video-model-v3-file';
/**
* The role a frame image plays in video generation.
*
* - `first_frame`: the starting frame the model animates from
* - `last_frame`: the ending frame the model animates towards
*/
export type VideoModelV3FrameType = 'first_frame' | 'last_frame';
/**
* A role-tagged image input for image-to-video and first-last-frame generation.
*/
export type VideoModelV3FrameImage = {
/**
* The image file used for this frame.
*/
image: VideoModelV3File;
/**
* Which frame this image represents.
*/
frameType: VideoModelV3FrameType;
};
+6
-0
# @ai-sdk/provider
## 3.0.13
### Patch Changes
- fa850e6: feat (video): add first-class `frameImages` and `inputReferences` call options for video generation
## 3.0.12

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

+1
-1
{
"name": "@ai-sdk/provider",
"version": "3.0.12",
"version": "3.0.13",
"license": "Apache-2.0",

@@ -5,0 +5,0 @@ "sideEffects": false,

@@ -7,1 +7,5 @@ export type {

export type { VideoModelV3File as Experimental_VideoModelV3File } from './video-model-v3-file';
export type {
VideoModelV3FrameImage as Experimental_VideoModelV3FrameImage,
VideoModelV3FrameType as Experimental_VideoModelV3FrameType,
} from './video-model-v3-frame-image';
import type { SharedV3ProviderOptions } from '../../shared';
import type { VideoModelV3File } from './video-model-v3-file';
import type { VideoModelV3FrameImage } from './video-model-v3-frame-image';

@@ -58,2 +59,14 @@ export type VideoModelV3CallOptions = {

/**
* Role-tagged image inputs for first-last-frame generation.
* Each entry declares whether it is the `first_frame` or the
* `last_frame` of the generated video.
*/
frameImages: Array<VideoModelV3FrameImage> | undefined;
/**
* Reference image inputs for reference-to-video generation.
*/
inputReferences: Array<VideoModelV3File> | undefined;
/**
* Whether the model should generate audio alongside the video.

@@ -60,0 +73,0 @@ */

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

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