ComfyUI Node Runs on cloud
Nano Banana Pro (Google Gemini Image)
Generate or edit images synchronously via Google Vertex API.
Nano Banana Pro (Google Gemini Image)
- images
- files
- IMAGE
- STRING
◄prompt►
◄model▾►
◄seed42►
◄aspect_ratioauto►
◄resolution▾►
◄response_modalities▾►
◄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.►
Categorypartner/image/Gemini
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | STRING | Text prompt describing the image to generate or the edits to apply. Include any constraints, styles, or details the model should follow. | |
| model | COMBO | 2 options: gemini-3-pro-image-preview, Nano Banana 2 (Gemini 3.1 Flash Image) | |
| seed | INT | 420–18446744073709550000 | When the seed is fixed to a specific value, the model makes a best effort to provide the same response for repeated requests. Deterministic output isn't guaranteed. Also, changing the model or parameter settings, such as the temperature, can cause variations in the response even when you use the same seed value. By default, a random seed value is used. |
| aspect_ratio | COMBO | auto | If set to 'auto', matches your input image's aspect ratio; if no image is provided, a 16:9 square is usually generated. |
| resolution | COMBO | Target output resolution. For 2K/4K the native Gemini upscaler is used. | |
| response_modalities | COMBO | Choose 'IMAGE' for image-only output, or 'IMAGE+TEXT' to return both the generated image and a text response. | |
| 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) to use as context for the model. Accepts inputs from the Gemini Generate Content 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. | Foundational instructions that dictate an AI's behavior. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |
| STRING | STRING | — |