UNPKG

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

Version:

AI image generation plugin for the CE.SDK editor

31 lines (30 loc) 973 B
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.0 image-to-image */ export type Seedream4Image2ImageInput = { prompt: string; image_url?: string; image_urls?: string[]; }; /** * Seedream 4.0 Image-to-Image - Transform images using ByteDance's Seedream 4.0 * * AIR: bytedance:5@0 * * Features: * - Character consistency across outputs * - Text-guided image editing * - Up to 14 reference images * * Specifications: * - Resolution: 1K, 2K, and 4K options * - Prompt: 1-2,000 characters * - Dimensions must be divisible by 64 */ export declare function Seedream4Image2Image(config: RunwareProviderConfiguration): (context: { cesdk: CreativeEditorSDK; }) => Promise<Provider<'image', Seedream4Image2ImageInput, ImageOutput>>; export default Seedream4Image2Image;