@imgly/plugin-ai-image-generation-web
Version:
AI image generation plugin for the CE.SDK editor
13 lines (12 loc) • 646 B
TypeScript
import { type Provider, type ImageOutput } from '@imgly/plugin-ai-generation-web';
import type CreativeEditorSDK from '@cesdk/cesdk-js';
import { BytedanceProviderConfiguration } from './types';
export type Seedream50Text2ImageInput = {
prompt: string;
format?: 'square' | 'landscape_16_9' | 'portrait_9_16' | 'landscape_4_3' | 'portrait_3_4';
resolution?: 'resolution_2k' | 'resolution_3k';
};
export declare function Seedream50Text2Image(config: BytedanceProviderConfiguration): (context: {
cesdk: CreativeEditorSDK;
}) => Promise<Provider<'image', Seedream50Text2ImageInput, ImageOutput>>;
export default Seedream50Text2Image;