UNPKG

@imgly/plugin-ai-video-generation-web

Version:

AI video generation plugin for the CE.SDK editor

35 lines (34 loc) 1.18 kB
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 Fast Image-to-Video */ export type Veo31FastImage2VideoInput = { image_url: string; prompt?: string; format?: '1280x720' | '720x1280' | '1920x1080' | '1080x1920'; generate_audio?: boolean; }; /** * Veo 3.1 Fast Image-to-Video - Google's fast video generation from images * * AIR: google:3@3 * * Features: * - First frame image input * - Native audio generation * - Optimized for high-speed generation with cinematic quality * - Ultra-low latency for rapid creative iteration * * 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 Veo31FastImage2Video(config: RunwareProviderConfiguration): (context: { cesdk: CreativeEditorSDK; }) => Promise<Provider<'video', Veo31FastImage2VideoInput, VideoOutput>>; export default Veo31FastImage2Video;