UNPKG

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

Version:

AI video generation plugin for the CE.SDK editor

31 lines (30 loc) 946 B
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 Text-to-Video */ export type Sora2Text2VideoInput = { prompt: string; format?: '1280x720' | '720x1280'; duration?: '4' | '8' | '12'; }; /** * Sora 2 - OpenAI's video generation model * * AIR: openai:3@1 * * Features: * - Text-to-video and image-to-video support * - Accurate physics simulation * - Synchronized dialogue and high-fidelity visuals * * Specifications: * - Prompt: 1-4,000 characters * - Resolutions: 1280x720, 720x1280 * - Duration: 4, 8, or 12 seconds */ export declare function Sora2Text2Video(config: RunwareProviderConfiguration): (context: { cesdk: CreativeEditorSDK; }) => Promise<Provider<'video', Sora2Text2VideoInput, VideoOutput>>; export default Sora2Text2Video;