UNPKG

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

Version:

AI video generation plugin for the CE.SDK editor

33 lines (32 loc) 1.11 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 Sora 2 Pro Image-to-Video */ export type Sora2ProImage2VideoInput = { image_url: string; prompt?: string; format?: '1280x720' | '720x1280' | '1792x1024' | '1024x1792'; duration?: '4' | '8' | '12'; }; /** * Sora 2 Pro Image-to-Video - OpenAI's higher-quality video generation from images * * AIR: openai:3@2 * * Features: * - First frame image input * - Expanded resolution options * - Refined control for professional applications * * Specifications: * - Prompt: 1-4,000 characters * - Input image: 300-2048 pixels, 20MB max * - Resolutions: 1280x720, 720x1280, 1792x1024, 1024x1792 * - Duration: 4, 8, or 12 seconds */ export declare function Sora2ProImage2Video(config: RunwareProviderConfiguration): (context: { cesdk: CreativeEditorSDK; }) => Promise<Provider<'video', Sora2ProImage2VideoInput, VideoOutput>>; export default Sora2ProImage2Video;