---
title: "Nano Banana Text-to-Image API & Playground - Comfy"
description: "Nano Banana Text-to-Image by Google: Generates or edits an image quickly with up to 14 reference images (Gemini 2.5 Flash Image / Nano Banana)."
canonical: https://comfy.org/hub/models/nano-banana-text-to-image/
lang: en
index: https://comfy.org/llms.txt
---

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

Google

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

# Nano Banana Text-to-Image

Generates or edits an image quickly with up to 14 reference images (Gemini 2.5 Flash Image / Nano Banana).

Cost depends on your settings.

- [edit](https://comfy.org/hub/models/?q=edit)
- [fast](https://comfy.org/hub/models/?q=fast)
- [multimodal](https://comfy.org/hub/models/?q=multimodal)
-

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

Input

Prompt

Aspect ratio

Advanced settings

Temperature

Adjust the randomness of generated text.

Top P

Top K

Default: 40

Max Output Tokens

Output

![Nano Banana Text-to-Image: Rainy tram window at dusk](https://media.comfy.org/website/workshop/vertexai/gemini-2.5-flash-image/rainy-tram-window-at-dusk.png)

Example

## Try an example

- A candid photograph taken from inside an old yellow tram on a rainy evening: raindrops beading on the window glass, the warm blur of shop lights and a steep cobbled street outside, a worn wooden seat and a chrome handrail in the foreground catching the light. Shallow depth of field, moody blue-and-amber palette, gentle film grain, cinematic 35 mm look, empty tram, no people, no readable signs or text.

## More models

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

- [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 2 Image Edit

  Image to Image

  gemini google nano-banana thinking edit multimodal image text-to-image image-edit](https://comfy.org/hub/models/nano-banana-2-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/)
- [Ideogram

  ### Ideogram V3

  Text to Image

  text-rendering photorealistic fast ideogram image text-to-image](https://comfy.org/hub/models/ideogram-v3-text-to-image/)
