ComfyUI Node
Nano Banana Gemini
Generate images with Gemini image models
Nano Banana Gemini
- images
- images
- text
◄prompt►
◄modelNano Banana►
◄batch_size1►
◄seed42►
◄system_prompt►
◄api_key►
◄aspect_ratioauto►
◄image_sizeauto►
CategoryNano Banana
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | STRING | Text prompt for image generation | |
| model | COMBO | Nano Banana | Gemini image model for generation or editing |
| batch_size | INT | 11–4 | Number of images to generate (1-4) |
| seed | INT | 420–2147483647 | Base seed for generation. Sequential seeds used for batch (seed, seed+1, seed+2...) |
| system_promptopt | STRING | Optional system prompt to guide the model's behavior | |
| imagesopt | IMAGE | Optional image(s) to use as context or reference | |
| api_keyopt | STRING | Gemini API key (leave empty to use GEMINI_API_KEY env variable) | |
| aspect_ratioopt | COMBO | auto | Image models only. Sets output aspect ratio. 'auto' lets the model decide. |
| image_sizeopt | COMBO | auto | Gemini 3 image models only. Controls output resolution; ignored for Nano Banana 2.5. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| images | IMAGE | — |
| text | STRING | — |