---
title: "Nano Banana 2 Image Edit API & Playground - Comfy"
description: "Nano Banana 2 Image Edit by Google: Generates or edits images at up to 4K with up to 14 reference images and adjustable thinking (Nano Banana 2 / Gemini 3.1 Flash Image)."
canonical: https://comfy.org/hub/models/nano-banana-2-image-edit/
lang: en
index: https://comfy.org/llms.txt
---

[Back to all models](https://comfy.org/hub/models/)

Google

[Edit images](https://comfy.org/hub/models/?useCase=edit-images)

# Nano Banana 2 Image Edit

Generates or edits images at up to 4K with up to 14 reference images and adjustable thinking (Nano Banana 2 / Gemini 3.1 Flash Image).

Cost depends on your settings.

- [thinking](https://comfy.org/hub/models/?q=thinking)
- [multimodal](https://comfy.org/hub/models/?q=multimodal)
- [text-to-image](https://comfy.org/hub/models/?q=text-to-image)

[Read docs](https://docs.comfy.org/development/comfy-router/models#google)

Input

Prompt

Source images

-

Select or drop up to 4 images PNG, JPEG, WEBP ·  up to 25 MiB

Aspect ratio

Resolution

Advanced settings

Temperature

Adjust the randomness of generated text.

Top P

Top K

Default: 40

Max Output Tokens

Output

![Nano Banana 2 Image Edit: Risograph hood with a visor readout](https://media.comfy.org/website/workshop/vertexai/gemini-nano-banana-2/risograph-hood-with-a-visor-readout.png)

Example

## Try an example

- Re-render this halftone portrait as a two-colour risograph print: black ink for the shadows and a fluorescent pink ink for every mid-tone, with slight misregistration between the two layers and visible paper grain. Across the glowing visor, replace the plain white bar with a dot-matrix readout that spells OFFLINE in crisp pink pixels on white. Keep the hooded figure, the framing, the pose, the jacket folds and the black background exactly as they are; only the printing process and the visor text change.
- Fill the blank rounded banner at the top with the words YETI RUN in chunky, slightly bouncy vintage ski-poster lettering, cream letters with a navy outline, printed in the same stipple-shaded style as the rest of the illustration. Then turn the scene into a night run: deep indigo sky with the falling snow now catching light, a glowing headlamp strapped to the yeti's forehead throwing a warm cone of light down the slope ahead of the skis. Keep the yeti, his pose, the skis, poles, mountains and trees exactly as drawn.
- Flood the platform ankle-deep with perfectly still black water so the mustard tiles, the fluorescent tubes and the traveler are mirrored in it, and let a thin layer of cold fog drift just above the surface toward the tunnel mouth. Keep the traveler, the charcoal coat, the silver suitcase, the tiles, the ceiling lights, the cyan-white lighting, the camera position and the framing exactly the same. Photorealistic, no text.

## More from Google

[Browse all Browse all models](https://comfy.org/hub/models/)

- [Google

  ### Nano Banana 2

  Text to Image

  gemini google nano-banana thinking edit multimodal image text-to-image image-edit](https://comfy.org/hub/models/nano-banana-2-text-to-image/)
- [Google

  ### Nano Banana Image Edit

  Image to Image

  gemini google edit fast multimodal nano-banana image text-to-image image-edit](https://comfy.org/hub/models/nano-banana-image-edit/)
- [Google

  ### Nano Banana Pro Image Edit

  Image to Image

  gemini google pro high-quality edit multimodal image text-to-image image-edit](https://comfy.org/hub/models/nano-banana-pro-image-edit/)
- [Google

  ### Gemini Omni 1.1 Flash

  Image to Video

  gemini omni omni-1.1 video generation edit text-to-video video-edit](https://comfy.org/hub/models/gemini-omni-1-1-flash-image-to-video/)
