UNPKG

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

Version:

AI image generation plugin for the CE.SDK editor

31 lines (30 loc) 980 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.5 text-to-image */ export type Seedream45Input = { prompt: string; aspect_ratio?: '1:1' | '16:9' | '9:16' | '4:3' | '3:4'; }; /** * Seedream 4.5 - ByteDance's production-focused AI image generation model * * AIR: bytedance:seedream@4.5 * * Features: * - Improved facial detail rendering * - Enhanced text generation quality * - Multi-image fusion capabilities * - 2K/4K resolution support * * Specifications: * - Resolution: 2K and 4K options * - Prompt: 1-2,000 characters * - Up to 14 reference images (I2I mode) */ export declare function Seedream45(config: RunwareProviderConfiguration): (context: { cesdk: CreativeEditorSDK; }) => Promise<Provider<'image', Seedream45Input, ImageOutput>>; export default Seedream45;