UNPKG

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

Version:

AI video generation plugin for the CE.SDK editor

32 lines (31 loc) 974 B
import { GetQuickActionDefinition } from './types'; /** * The ID of the quick action. */ export declare const ID = "ly.img.createVideo"; /** * The i18n prefix for the quick action. */ export declare const I18N_PREFIX = "ly.img.plugin-ai-video-generation-web.quickAction.createVideo"; export declare const I18N_DEFAULT_PREFIX = "ly.img.plugin-ai-video-generation-web.defaults.quickAction.createVideo"; /** * The input generated from this quick action which needs * to be mapped to the specific provider. */ export type InputType = { uri: string; }; declare const CreateVideo: GetQuickActionDefinition<InputType>; /** * Extend VideoQuickActionInputs with this action's input type. * This will ensure that the types are correctly recognized * in the VideoProvider. * * COPY this file to other quick action to support type safety */ declare module '../types' { interface VideoQuickActionInputs { [ID]: InputType; } } export default CreateVideo;