@imgly/plugin-ai-video-generation-web
Version:
AI video generation plugin for the CE.SDK editor
26 lines (25 loc) • 844 B
TypeScript
import { type Provider, type VideoOutput } from '@imgly/plugin-ai-generation-web';
import type CreativeEditorSDK from '@cesdk/cesdk-js';
import { EachLabsProviderConfiguration } from './types';
/**
* Input interface for Veo 3.1 image-to-video
*/
export type Veo31ImageToVideoInput = {
image_url: string;
prompt: string;
resolution?: '720p' | '1080p';
generate_audio?: boolean;
};
/**
* Veo 3.1 - Google's image-to-video generation via EachLabs
*
* Features:
* - 8 second video duration
* - 720p or 1080p resolution
* - Optional audio generation
* - Animates input image based on prompt
*/
export declare function Veo31ImageToVideo(config: EachLabsProviderConfiguration): (context: {
cesdk: CreativeEditorSDK;
}) => Promise<Provider<'video', Veo31ImageToVideoInput, VideoOutput>>;
export default Veo31ImageToVideo;