@imgly/plugin-ai-image-generation-web
Version:
AI image generation plugin for the CE.SDK editor
11 lines (10 loc) • 566 B
TypeScript
import CreativeEditorSDK from '@cesdk/cesdk-js';
import { FalClient } from './createFalClient';
type CustomImageSize = {
width: number;
height: number;
};
export declare function isCustomImageSize(imageSize: any): imageSize is CustomImageSize;
export declare function uploadImageInputToFalIfNeeded(client: FalClient, imageUrl?: string, cesdk?: CreativeEditorSDK): Promise<string | undefined>;
export declare function uploadImageArrayToFalIfNeeded(client: FalClient, imageUrls?: string[], cesdk?: CreativeEditorSDK): Promise<string[] | undefined>;
export {};