@imgly/plugin-ai-image-generation-web
Version:
AI image generation plugin for the CE.SDK editor
30 lines (29 loc) • 971 B
TypeScript
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 Nano Banana 2 Pro text-to-image
*/
export type NanoBanana2ProInput = {
prompt: string;
aspect_ratio?: '1:1' | '16:9' | '9:16' | '4:3' | '3:4';
};
/**
* Nano Banana 2 Pro (Gemini 3 Pro) - Google's advanced AI image generation model
*
* AIR: google:4@2
*
* Features:
* - Professional-grade controls
* - Enhanced reasoning capabilities
* - Supports 1K, 2K, and 4K resolutions
* - Invisible SynthID digital watermark
*
* Specifications:
* - Prompt: 3-45,000 characters
* - Up to 14 reference images (I2I mode)
*/
export declare function NanoBanana2Pro(config: RunwareProviderConfiguration): (context: {
cesdk: CreativeEditorSDK;
}) => Promise<Provider<'image', NanoBanana2ProInput, ImageOutput>>;
export default NanoBanana2Pro;