@imgly/plugin-ai-video-generation-web
Version:
AI video generation plugin for the CE.SDK editor
25 lines (24 loc) • 898 B
TypeScript
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 Kling v2.6 Pro text-to-video
*/
export type KlingV26ProTextToVideoInput = {
prompt: string;
duration?: '5' | '10';
aspect_ratio?: '16:9' | '9:16' | '1:1';
};
/**
* Kling v2.6 Pro - High-quality text-to-video generation via EachLabs
*
* Features:
* - 5 or 10 second video duration
* - 3 aspect ratio options
* - Native audio generation support (Chinese/English)
* - High-quality video generation from Kuaishou
*/
export declare function KlingV26ProTextToVideo(config: EachLabsProviderConfiguration): (context: {
cesdk: CreativeEditorSDK;
}) => Promise<Provider<'video', KlingV26ProTextToVideoInput, VideoOutput>>;
export default KlingV26ProTextToVideo;