UNPKG

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

Version:

AI image generation plugin for the CE.SDK editor

33 lines (32 loc) 1.12 kB
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 Seedream 4.5 image-to-image */ export type Seedream45Image2ImageInput = { prompt: string; image_url?: string; image_urls?: string[]; }; /** * Seedream 4.5 Image-to-Image - Transform images using ByteDance's Seedream 4.5 * * AIR: bytedance:seedream@4.5 * * Features: * - Improved facial detail rendering * - Enhanced text generation quality * - Multi-image fusion capabilities * - Up to 14 reference images * * Specifications: * - Resolution: 2K and 4K options (uses 2K by default) * - Prompt: 1-2,000 characters * - Min 3,686,400 pixels, max 16,777,216 pixels * - Uses resolution parameter to auto-match input image aspect ratio */ export declare function Seedream45Image2Image(config: RunwareProviderConfiguration): (context: { cesdk: CreativeEditorSDK; }) => Promise<Provider<'image', Seedream45Image2ImageInput, ImageOutput>>; export default Seedream45Image2Image;