UNPKG

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

Version:

AI video generation plugin for the CE.SDK editor

18 lines (17 loc) 862 B
import type CreativeEditorSDK from '@cesdk/cesdk-js'; import { type Provider, type VideoOutput, type GatewayProviderConfiguration, type GatewayInput } from '@imgly/plugin-ai-generation-web'; /** * Creates a video generation provider that talks to the IMG.LY gateway. * Supports both text2video and image2video — the provider auto-selects * the appropriate defaults based on `schema.capability` once the model * schema resolves. * * Customers can disable or override individual quick actions via * `config.supportedQuickActions`. * * @param modelId - The model identifier (e.g., 'fal-ai/veo3.1') * @param config - Gateway connection configuration */ export declare function GatewayProvider(modelId: string, config: GatewayProviderConfiguration): (context: { cesdk: CreativeEditorSDK; }) => Promise<Provider<'video', GatewayInput, VideoOutput>>;