@imgly/plugin-ai-image-generation-web
Version:
AI image generation plugin for the CE.SDK editor
32 lines (31 loc) • 1.03 kB
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 image-to-image
*/
export type NanoBanana2ProImage2ImageInput = {
prompt: string;
image_url?: string;
image_urls?: string[];
};
/**
* Nano Banana 2 Pro Image-to-Image - Transform images using Google's Gemini 3 Pro
*
* AIR: google:4@2
*
* Features:
* - Professional-grade controls
* - Enhanced reasoning capabilities
* - Style and lighting transfer
* - Up to 14 reference images
*
* Specifications:
* - Resolution: 1K, 2K, and 4K options
* - Prompt: 3-45,000 characters
* - Input image: 300-2048 pixels, max 20MB
*/
export declare function NanoBanana2ProImage2Image(config: RunwareProviderConfiguration): (context: {
cesdk: CreativeEditorSDK;
}) => Promise<Provider<'image', NanoBanana2ProImage2ImageInput, ImageOutput>>;
export default NanoBanana2ProImage2Image;