UNPKG

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

Version:

AI image generation plugin for the CE.SDK editor

29 lines (28 loc) 938 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 GPT Image 1 text-to-image */ export type GptImage1Input = { prompt: string; format?: '1024x1024' | '1536x1024' | '1024x1536'; }; /** * GPT Image 1 - OpenAI's advanced AI image generation model * * AIR: openai:1@1 * * Features: * - High-fidelity image generation with GPT-4o architecture * - Enhanced prompt following and superior text rendering * - Advanced multimodal capabilities * * Specifications: * - Prompt: up to 32,000 characters * - Dimensions: 1024×1024, 1536×1024, 1024×1536 */ export declare function GptImage1(config: RunwareProviderConfiguration): (context: { cesdk: CreativeEditorSDK; }) => Promise<Provider<'image', GptImage1Input, ImageOutput>>; export default GptImage1;