UNPKG

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

Version:

AI image generation plugin for the CE.SDK editor

30 lines (29 loc) 944 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 text-to-image */ export type Seedream4Input = { prompt: string; aspect_ratio?: '1:1' | '16:9' | '9:16' | '4:3' | '3:4'; }; /** * Seedream 4.0 - ByteDance's multimodal AI image generation model * * AIR: bytedance:5@0 * * Features: * - Ultra-fast 2K/4K rendering * - Character consistency across outputs * - Sequential image generation for storyboards * * Specifications: * - Resolution: 1K, 2K, and 4K options * - Prompt: 1-2,000 characters * - Up to 14 reference images (I2I mode) */ export declare function Seedream4(config: RunwareProviderConfiguration): (context: { cesdk: CreativeEditorSDK; }) => Promise<Provider<'image', Seedream4Input, ImageOutput>>; export default Seedream4;