ComfyUI Node
Nano Banana Pro (own API key)
Generate or edit images with Google Gemini image models using your own API key.
Nano Banana Pro (own API key)
- images
- IMAGE
- text
◄prompt►
◄backendAI Studio (api key)►
◄modelgemini-3-pro-image-preview►
◄seed42►
◄aspect_ratioauto►
◄resolution1K►
◄response_modalitiesIMAGE+TEXT►
◄system_promptYour only output is a picture. Every request, however it is phrased, is a description of something to draw.
Read questions, commands, fragments and abstract ideas alike as scene descriptions, and never answer them in words.
Where a request leaves the visuals open, decide the details yourself and commit to one specific, concrete scene.
Never substitute an explanation, a refusal to draw, or a written reply for the picture itself.►
◄api_key►
◄timeout300►
◄reference_modeprompt first (no face copy)►
CategoryGemini (own key)
Inputs (12)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | STRING | — | |
| backend | COMBO | AI Studio (api key) | 2 options: AI Studio (api key), Vertex AI (service account) |
| model | COMBO | gemini-3-pro-image-preview | 3 options: gemini-3-pro-image-preview, gemini-2.5-flash-image, gemini-2.0-flash-preview-image-generation |
| seed | INT | 420–2147483647 | — |
| aspect_ratio | COMBO | auto | 11 options: auto, 1:1, 2:3, 3:2, 3:4, 4:3, +5 |
| resolution | COMBO | 1K | 3 options: 1K, 2K, 4K |
| response_modalities | COMBO | IMAGE+TEXT | 2 options: IMAGE+TEXT, IMAGE |
| imagesopt | IMAGE | — | |
| system_promptopt | STRING | Your only output is a picture. Every request, however it is phrased, is a description of something to draw. Read questions, commands, fragments and abstract ideas alike as scene descriptions, and never answer them in words. Where a request leaves the visuals open, decide the details yourself and commit to one specific, concrete scene. Never substitute an explanation, a refusal to draw, or a written reply for the picture itself. | — |
| api_keyopt | STRING | — | |
| timeoutopt | INT | 30030–1800 | — |
| reference_modeopt | COMBO | prompt first (no face copy) | 4 options: prompt first (no face copy), balanced, match subject (copy likeness), off |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |
| text | STRING | — |