@imgly/plugin-ai-video-generation-web
Version:
AI video generation plugin for the CE.SDK editor
34 lines (33 loc) • 1.11 kB
TypeScript
import { type Provider, type VideoOutput } from '@imgly/plugin-ai-generation-web';
import type CreativeEditorSDK from '@cesdk/cesdk-js';
import { RunwareProviderConfiguration } from './types';
/**
* Input interface for Veo 3.1 Image-to-Video
*/
export type Veo31Image2VideoInput = {
image_url: string;
prompt?: string;
format?: '1280x720' | '720x1280' | '1920x1080' | '1080x1920';
generate_audio?: boolean;
};
/**
* Veo 3.1 Image-to-Video - Google's cinematic video generation from images
*
* AIR: google:3@2
*
* Features:
* - First frame image input
* - Native audio generation
* - Cinematic quality with natural sound and smooth motion
*
* Specifications:
* - Prompt: 2-3,000 characters
* - Input image: 300-2048 pixels, 20MB max
* - Resolutions: 1280x720, 720x1280, 1920x1080, 1080x1920
* - Frame rate: 24 FPS
* - Duration: 8 seconds (fixed)
*/
export declare function Veo31Image2Video(config: RunwareProviderConfiguration): (context: {
cesdk: CreativeEditorSDK;
}) => Promise<Provider<'video', Veo31Image2VideoInput, VideoOutput>>;
export default Veo31Image2Video;