ComfyUI Node
ComfyUI-Nanobanana
A ComfyUI node in api/Gemini with 29 inputs and 4 outputs.
ComfyUI-Nanobanana
- image1
- image2
- image3
- image4
- image5
- image6
- image7
- image8
- image9
- image10
- image11
- image12
- image13
- image14
- image
- response
- image_url
- raw_response
◄protocolgemini_native►
◄base_urlhttps://your-provider.example.com►
◄api_key►
◄modelgemini-3.1-flash-image►
◄prompt—►
◄modeauto►
◄aspect_ratioauto►
◄image_size2K►
◄openai_api_stylechat_completions►
◄auth_modeauto►
◄timeout_seconds600►
◄seed0►
◄endpoint_path►
◄response_formatauto►
◄extra_body_json{}►
Categoryapi/Gemini
Inputs (29)
| Name | Type | Default | Description |
|---|---|---|---|
| protocol | COMBO | gemini_native | 2 options: gemini_native, openai_compatible |
| base_url | STRING | https://your-provider.example.com | — |
| api_key | STRING | — | |
| model | STRING | gemini-3.1-flash-image | — |
| prompt | STRING | — | |
| mode | COMBO | auto | 3 options: auto, text2img, img2img |
| aspect_ratio | COMBO | auto | 15 options: auto, 1:1, 16:9, 9:16, 4:3, 3:4, +9 |
| image_size | COMBO | 2K | 5 options: auto, 512, 1K, 2K, 4K |
| openai_api_style | COMBO | chat_completions | 2 options: chat_completions, images_api |
| auth_mode | COMBO | auto | 4 options: auto, query_key, bearer, x_goog_api_key |
| timeout_seconds | INT | 60010–3600 | — |
| seed | INT | 00–2147483647 | — |
| endpoint_path | STRING | — | |
| response_format | COMBO | auto | 3 options: auto, b64_json, url |
| extra_body_json | STRING | {} | — |
| image1opt | IMAGE | — | |
| image2opt | IMAGE | — | |
| image3opt | IMAGE | — | |
| image4opt | IMAGE | — | |
| image5opt | IMAGE | — | |
| image6opt | IMAGE | — | |
| image7opt | IMAGE | — | |
| image8opt | IMAGE | — | |
| image9opt | IMAGE | — | |
| image10opt | IMAGE | — | |
| image11opt | IMAGE | — | |
| image12opt | IMAGE | — | |
| image13opt | IMAGE | — | |
| image14opt | IMAGE | — |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| response | STRING | — |
| image_url | STRING | — |
| raw_response | STRING | — |