ComfyUI Node

Nano Banana Pro

Google's Gemini image model, no Google account needed

By Runware·Created 2 years ago·Updated about a month ago· 140
Nano Banana Pro
  • referenceImages
  • advancedFeatures.watermark.image
  • image
positivePrompt
size1K (1:1)
seed0
numberResults1
advancedFeaturesfalse
advancedFeatures.watermark.bgColor
advancedFeatures.watermark.displayPosition(default)
advancedFeatures.watermark.fontColor
advancedFeatures.watermark.opacityfalse
advancedFeatures.watermark.opacity_value0.10
advancedFeatures.watermark.text
safetyfalse
safety.checkContentfalse
providerSettings.google.safetyTolerancenone
settings.systemPrompt
settings.temperaturefalse
settings.temperature_value0.00
settings.topPfalse
settings.topP_value0.00
providerSettings.google.webSearchfalse
ttlfalse
ttl_value60
outputFormatJPG
outputQuality95

"Nano Banana" was the community's nickname for Google's Gemini image model, and it stuck because the thing was absurdly good at instruction-following - you could tell it to add a banana to a scene and it actually would. Nano Banana Pro (google:4@2) is the bigger tier of that line, and the remarkable part of this node is what you don't need: no Google AI account, no separate Gemini API key, no Vertex AI billing page. One Runware key and Google's model just shows up in your node menu.

This is a closed model by definition - you were never going to run Gemini locally - so the cloud wrapper isn't a compromise, it's the only way in. What you get for the API call is the model's real superpower: reference-image editing. Wire images into referenceImages and you can do character-consistent generations, style transfers, and multi-image composition the way Google demos them. That's the headline.

How it works

Standard Runware imageInference with the google:4@2 AIR. Your prompt and reference images go up as base64, Google renders, and the result comes back as a native IMAGE tensor. Two Google-specific knobs are worth flagging before you touch anything else:

  • providerSettings.google.webSearch - live web-search grounding. Turn this on and the model can incorporate real, current facts ("the current skyline of Osaka" instead of a hallucinated guess). It's the most Google-y feature on the node and the one nobody else offers.
  • providerSettings.google.safetyTolerance - high/medium/low/none, with off meaning "use Google's defaults." Google's image models are cautious; this is the dial if a prompt keeps getting refused.

The inputs that matter

  • positivePrompt (required) - and it's worth being specific. This model follows instructions unusually well.
  • referenceImages - the IMAGE input that unlocks editing, subject consistency, and style transfer. The single most important optional input on the node.
  • size - a dropdown of 34 presets, from "from input" (match the reference) up through 1K/2K/4K at every common ratio. One control replaces the width/height pair.
  • settings.systemPrompt - a global instruction that shapes every generation.
  • numberResults - up to 20 variations, which is a lot of different seeds for one credit.
  • settings.temperature / settings.topP - gated on/off toggles with paired value fields; off uses the model default.

Installing it

Install the pack, not the model. ComfyUI Manager → search Runware → install → restart. Manual:

cd ComfyUI/custom_nodes
git clone https://github.com/Runware/ComfyUI-Runware
pip install -r ComfyUI-Runware/requirements.txt

Key from runware.ai/api-keys → ComfyUI Settings → Runware API key (or RUNWARE_API_KEY). Nothing downloads.

Where people get burned

  • Safety is the model, not the node. Google's filters are the strongest in the field. If generations get refused, safetyTolerance only goes so far - the model's guardrails are load-bearing.
  • Web search costs and surprises. webSearch is a paid, slower mode that changes results every time (it's live data). Use it deliberately, not by accident.
  • Reference quality is ceiling quality. Editing works best with clean, high-res inputs; a noisy reference drags the output down.
  • It's metered. 20 results on one run is 20 billed generations. The title bar shows the total; check it before you batch.

Nano Banana Pro is the node you reach for when you want Google-grade editing without Google's onboarding. It's the closest thing in the pack to a magic wand - just mind the bill.

CategoryRunware/Image/google

Inputs (26)

NameTypeDefaultDescription
positivePromptSTRINGText prompt describing elements to include in the generated output.
referenceImagesoptIMAGE
advancedFeatures.watermark.imageoptIMAGE
sizeoptCOMBO1K (1:1)Output size. Only one of resolution or dimensions is sent.
seedoptINT00–2147483647Random seed for reproducible generation. When not provided, a random seed is generated in the unsigned 32-bit range.
numberResultsoptINT11–20Number of results to generate. Each result uses a different seed, producing variations of the same parameters.
advancedFeaturesoptBOOLEANfalseEnable to set advancedFeatures. Off uses the model's default.
advancedFeatures.watermark.bgColoroptSTRINGBackground color in hex format.
advancedFeatures.watermark.displayPositionoptCOMBO(default)Watermark position.
advancedFeatures.watermark.fontColoroptSTRINGText color in hex format.
advancedFeatures.watermark.opacityoptBOOLEANfalseEnable to set advancedFeatures.watermark.opacity. Off uses the model's default.
advancedFeatures.watermark.opacity_valueoptFLOAT0.100.1–1Watermark opacity.
advancedFeatures.watermark.textoptSTRINGWatermark text.
safetyoptBOOLEANfalseEnable to set safety. Off uses the model's default.
safety.checkContentoptBOOLEANfalseEnable or disable content safety checking.
providerSettings.google.safetyToleranceoptCOMBOnoneSafety filter tolerance level. Use `off` to use Google's defaults.
settings.systemPromptoptSTRINGSystem-level instruction that guides the model's behavior and output style across the entire generation.
settings.temperatureoptBOOLEANfalseEnable to set settings.temperature. Off uses the model's default.
settings.temperature_valueoptFLOAT0.000–2Controls randomness in generation. Lower values produce more deterministic outputs, higher values increase variation and creativity.
settings.topPoptBOOLEANfalseEnable to set settings.topP. Off uses the model's default.
settings.topP_valueoptFLOAT0.000–1Nucleus sampling parameter that controls diversity by limiting the probability mass. Lower values make outputs more focused, higher values increase diversity.
providerSettings.google.webSearchoptBOOLEANfalseEnable live web search grounding to incorporate real-world, up-to-date information into image generation.
ttloptBOOLEANfalseEnable to set ttl. Off uses the model's default.
ttl_valueoptINT60Time-to-live (TTL) in seconds for generated content. Only applies when `outputType` is `URL`.
outputFormatoptCOMBOJPGFile format for the generated image.
outputQualityoptINT9520–99Compression quality of the output. Higher values preserve quality but increase file size.

Outputs (1)

NameTypeDescription
imageIMAGE