Skip to main content
Nano Banana 2.1 (gemini-nano-banana-2.1) is available in ComfyUI through Partner Nodes. One node covers both text-to-image generation and image editing: start from a prompt, or connect reference images and describe the change you want.

What Nano Banana 2.1 is good at

  • Generation and editing in one node: the same node handles text-to-image and image editing, so you can iterate on a result without rebuilding the workflow
  • 1K, 2K and 4K output: choose the resolution that fits the job, from quick drafts to large, detailed images
  • Adjustable thinking level: MINIMAL, MEDIUM and HIGH control how much the model reasons before it draws. Nano Banana 2.1 starts at MEDIUM, while the other two models start at MINIMAL
  • Up to 14 reference images: connect several images in one call to guide subject, style or layout
  • Model switching without rewiring: the model dropdown also runs Nano Banana 2 and Nano Banana 2 Lite in the same node

Example outputs

Text to image, using the workflow’s default prompt: Poster with oversized white NANO BANANA 2.1 type over a yellow banana wrapped in translucent glass rings on a black background Image edit, from one input image plus the instruction “Change the background to dark, and relight this portrait with dramatic blue light from the front and a warm amber rim light from behind”:
Profile portrait of a bearded man wearing silver wrap-around sunglasses and a silver chain, against a pale grey skyThe same portrait against a dark background, lit by warm amber rim light from behind and cool blue light from the front

Use it

Call it from code

Call it over HTTP through Comfy Router, with copy-paste Python, TypeScript, Swift and cURL snippets
This runs on the same Comfy account and is billed in the same credits as running it in ComfyUI below. See Partner Nodes pricing for per-model rates and Concurrency limits for how many requests you can have in flight.
To use the Partner Nodes, you need to ensure that you are logged in properly and using a permitted network environment. Please refer to the Partner Nodes Overview section of the documentation to understand the specific requirements for using the Partner Nodes.
Make sure your ComfyUI is updated.Workflows in this guide can be found in the Workflow Templates. If you can’t find them in the template, your ComfyUI may be outdated.If nodes are missing when loading a workflow, possible reasons:
  1. You are not using the latest ComfyUI version (Nightly version)
  2. Some nodes failed to import at startup

Workflows

Text to Image

Run on Comfy Cloud

Open in Comfy Cloud

Download Workflow

Download JSON or search “Nano Banana 2.1” in Template Library
Write the description of the image you want and run the workflow. No input files are needed: the prompt is the only input, aspect_ratio decides the shape (see below), and the result is saved as a PNG.

Image Edit

Run on Comfy Cloud

Open in Comfy Cloud

Download Workflow

Download JSON or search “Nano Banana 2.1” in Template Library

Download Sample Image

Get the example input image for this workflow
Load an image into the Load Image node and describe the edit in the prompt. The workflow wires the image into the model’s reference input and adds an Image Compare node, so you can check the original against the result in the same canvas.

Settings that matter

temperature and top_p are exposed by the node, and Nano Banana 2.1 does not send them. They apply when you switch the model dropdown to Nano Banana 2 or Nano Banana 2 Lite.

Which model should you pick?

Get started

  1. Update ComfyUI to 0.39.1 or newer: the workflows use the Nano Banana 2.1 node
  2. Double-click the canvas and search for “Nano Banana 2.1”, or open the Template Library and pick Text to Image or Image Edit
  3. Enter a prompt. For editing, load an image into the Load Image node first
  4. Choose the resolution and thinking level, then run the workflow