UNPKG

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

Version:

AI video generation plugin for the CE.SDK editor

31 lines (30 loc) 1.03 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 Text-to-Video */ export type Sora2ProText2VideoInput = { prompt: string; format?: '1280x720' | '720x1280' | '1792x1024' | '1024x1792'; duration?: '4' | '8' | '12'; }; /** * Sora 2 Pro - OpenAI's higher-quality video generation model * * AIR: openai:3@2 * * Features: * - Text-to-video and image-to-video support * - Expanded resolution options * - Refined control for professional applications * * Specifications: * - Prompt: 1-4,000 characters * - Resolutions: 1280x720, 720x1280, 1792x1024, 1024x1792 * - Duration: 4, 8, or 12 seconds */ export declare function Sora2ProText2Video(config: RunwareProviderConfiguration): (context: { cesdk: CreativeEditorSDK; }) => Promise<Provider<'video', Sora2ProText2VideoInput, VideoOutput>>; export default Sora2ProText2Video;