@imgly/plugin-ai-image-generation-web
Version:
AI image generation plugin for the CE.SDK editor
32 lines (31 loc) • 1 kB
TypeScript
import { type Provider, type ImageOutput } from '@imgly/plugin-ai-generation-web';
import type CreativeEditorSDK from '@cesdk/cesdk-js';
import { RunwareProviderConfiguration } from './types';
/**
* Input interface for FLUX.2 [pro] image-to-image
*/
export type Flux2ProImage2ImageInput = {
prompt: string;
image_url?: string;
image_urls?: string[];
};
/**
* FLUX.2 [pro] Image-to-Image - Transform images using FLUX.2 [pro]
*
* AIR: bfl:5@1
*
* Features:
* - Professional model from Black Forest Labs
* - Image transformation with text prompts
* - Up to 9 reference images
* - Prompt upsampling support
*
* Specifications:
* - Resolution: 256-1920 pixels (multiples of 16)
* - Max output: 4 megapixels
* - Prompt: 1-3,000 characters
*/
export declare function Flux2ProImage2Image(config: RunwareProviderConfiguration): (context: {
cesdk: CreativeEditorSDK;
}) => Promise<Provider<'image', Flux2ProImage2ImageInput, ImageOutput>>;
export default Flux2ProImage2Image;