gemini-image
Generate images from text descriptions using Gemini's Nano Banana models. Create visuals for various use cases with adjustable parameters like aspect ratio and quantity, automatically selecting Pro model for text-heavy prompts.
Instructions
Generate images using Nano Banana (Gemini's native image generation).
Two models available:
Nano Banana (default): Fast, cheap (~$0.04/image), good for most use cases
Nano Banana Pro: Advanced model with better text rendering, infographics, diagrams
Auto-detection: Says "nano banana pro" or mentions text/infographic/diagram/chart/logo/poster in prompt → automatically uses Pro model.
Parameters:
prompt: Text description of the image to generate (required)
numberOfImages: How many images to generate (1-4, default: 1)
aspectRatio: Image aspect ratio ("1:1", "3:4", "4:3", "9:16", "16:9", default: "1:1")
usePro: Force Nano Banana Pro (auto-detected from prompt if not specified)
outputPath: Optional path to save images
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Text description of the image to generate | |
| numberOfImages | No | Number of images to generate (1-4) | |
| aspectRatio | No | Aspect ratio of generated images | |
| usePro | No | Use Nano Banana Pro for higher quality (better text, infographics) | |
| outputPath | No | Optional directory path to save generated images |