ProtectedcreateFactory method to create the GoogleGenAI client instance. Subclasses can override this to provide custom configuration.
ProtectedcreateHelper method to create an error result with proper timing
ProtectedcreateHelper method to create a successful result with proper timing
Create variations of an existing image. Uses the original image as context with a variation prompt.
Edit an existing image using Gemini's multimodal capabilities. Uses image-to-image generation with the original image as context.
Generate image(s) from a text prompt using Gemini 3 Pro Image (Nano Banana Pro).
Get available Gemini image generation models.
Get supported methods for this provider.
ProtectednormalizeHelper method to convert image input (Buffer, base64, or URL) to the format required by the specific provider. Subclasses can override as needed.
Image as Buffer, base64 string, or URL
Normalized image data
Google Gemini 3 Pro Image (Nano Banana Pro) implementation of the BaseImageGenerator class. Supports Google's most advanced image generation model with 2K/4K resolution support.
Model: gemini-3-pro-image-preview (November 2025)