UNPKG

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

Version:

AI video generation plugin for the CE.SDK editor

26 lines (25 loc) 850 B
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 text-to-video */ export type Veo31TextToVideoInput = { prompt: string; aspect_ratio?: '16:9' | '9:16'; resolution?: '720p' | '1080p'; generate_audio?: boolean; }; /** * Veo 3.1 - Google's text-to-video generation via EachLabs * * Features: * - 8 second video duration * - 2 aspect ratio options (16:9, 9:16) * - 720p or 1080p resolution * - Optional audio generation */ export declare function Veo31TextToVideo(config: EachLabsProviderConfiguration): (context: { cesdk: CreativeEditorSDK; }) => Promise<Provider<'video', Veo31TextToVideoInput, VideoOutput>>; export default Veo31TextToVideo;