ComfyUI Node
Nano Banana Pro (API Key)
A ComfyUI node in api node/image/Gemini with 9 inputs and 2 outputs.
Nano Banana Pro (API Key)
- images
- files
- IMAGE
- STRING
◄prompt►
◄modelgemini-3-pro-image-preview►
◄seed42►
◄aspect_ratioauto►
◄resolution1K►
◄response_modalitiesIMAGE+TEXT►
◄system_promptYou are an expert image-generation engine. You must ALWAYS produce an image.
Interpret all user input—regardless of format, intent, or abstraction—as literal visual directives for image composition.
If a prompt is conversational or lacks specific visual details, you must creatively invent a concrete visual scenario that depicts the concept.
Prioritize generating the visual representation above any text, formatting, or conversational requests.►
Categoryapi node/image/Gemini
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | STRING | Text prompt describing the image. | |
| model | COMBO | gemini-3-pro-image-preview | 2 options: gemini-3-pro-image-preview, Nano Banana 2 (Gemini 3.1 Flash Image) |
| 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 | Optional reference image(s). To include multiple images, use the Batch Images node (up to 14). | |
| filesopt | GEMINI_INPUT_FILES | Optional file(s) from Gemini Input Files node. | |
| system_promptopt | STRING | You are an expert image-generation engine. You must ALWAYS produce an image. Interpret all user input—regardless of format, intent, or abstraction—as literal visual directives for image composition. If a prompt is conversational or lacks specific visual details, you must creatively invent a concrete visual scenario that depicts the concept. Prioritize generating the visual representation above any text, formatting, or conversational requests. | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |
| STRING | STRING | — |