All Models

Google logo

Nano Banana 2.1 API

Nano Banana 2.1 generates and edits images, combining reference-based composition with recognizable subjects and text rendered within the artwork.

Recommended for general image creation.

Choose your image model

Try in Studio
More options (2)
Generate

Pricing depends on the selected inputs. See the rates below.

Nano Banana 2.1 example

Supported modes

Edit

Edit uses images and prompt. Adjust the model options to prepare a request for this mode.

image.edit

Text to Image

Text to Image uses prompt. Adjust the model options to prepare a request for this mode.

image.generate

Pricing

Image editing

Price per run for each listed option.

OfferingPrice (USD)
Images count: 1 · Enable Image Search: Off · Enable Web Search: Off · Resolution: 1K$0.04 / run
Images count: 1 · Enable Image Search: Off · Enable Web Search: Off · Resolution: 2K$0.06 / run
Images count: 1 · Enable Image Search: Off · Enable Web Search: Off · Resolution: 4K$0.12 / run
Images count: 1 · Enable Image Search: Off · Enable Web Search: On · Resolution: 1K$0.05 / run
Images count: 1 · Enable Image Search: Off · Enable Web Search: On · Resolution: 2K$0.07 / run
Images count: 1 · Enable Image Search: Off · Enable Web Search: On · Resolution: 4K$0.13 / run
Images count: 1 · Enable Image Search: On · Enable Web Search: Off · Resolution: 1K$0.05 / run
Images count: 1 · Enable Image Search: On · Enable Web Search: Off · Resolution: 2K$0.07 / run
Images count: 1 · Enable Image Search: On · Enable Web Search: Off · Resolution: 4K$0.13 / run
Images count: 1 · Enable Image Search: On · Enable Web Search: On · Resolution: 1K$0.07 / run
Images count: 1 · Enable Image Search: On · Enable Web Search: On · Resolution: 2K$0.09 / run
Images count: 1 · Enable Image Search: On · Enable Web Search: On · Resolution: 4K$0.15 / run

Image generation

Price per run for each listed option.

OfferingPrice (USD)
Enable Image Search: Off · Enable Web Search: Off · Resolution: 1K$0.04 / run
Enable Image Search: Off · Enable Web Search: Off · Resolution: 2K$0.06 / run
Enable Image Search: Off · Enable Web Search: Off · Resolution: 4K$0.12 / run
Enable Image Search: Off · Enable Web Search: On · Resolution: 1K$0.05 / run
Enable Image Search: Off · Enable Web Search: On · Resolution: 2K$0.07 / run
Enable Image Search: Off · Enable Web Search: On · Resolution: 4K$0.13 / run
Enable Image Search: On · Enable Web Search: Off · Resolution: 1K$0.05 / run
Enable Image Search: On · Enable Web Search: Off · Resolution: 2K$0.07 / run
Enable Image Search: On · Enable Web Search: Off · Resolution: 4K$0.13 / run
Enable Image Search: On · Enable Web Search: On · Resolution: 1K$0.07 / run
Enable Image Search: On · Enable Web Search: On · Resolution: 2K$0.08 / run
Enable Image Search: On · Enable Web Search: On · Resolution: 4K$0.15 / run

Edit options

OptionDetailsDefault
Images *
images
Public URLs, data URIs, or asset ids.—
Prompt *
prompt
The positive prompt for the generation.—
Aspect ratio
aspect_ratio
The aspect ratio of the generated media. Options: 1:1, 3:2, 2:3, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9, 1:4, 4:1, 1:8, 8:1.—
Enable image search
enable_image_search
If enabled, the model will use image search to enhance the generation with real-time information.false
Enable web search
enable_web_search
If enabled, the model will use web search to enhance the generation with real-time information.false
Format
output_format
The format of the output image. Options: png, jpeg."png"
Resolution
resolution
The resolution of the output image. Options: 1k, 2k, 4k."1k"

Nano Banana 2.1

Nano Banana 2.1 creates images from written descriptions and revises supplied images using text instructions. References can contribute a subject, clothing, or visual style to a composition, while editing can keep a person or product recognizable as its surroundings change.

Its editing tasks include changing backgrounds and lighting, updating a character’s outfit, and placing products in different scenes. It can also replace or translate words within an image while preserving the surrounding design. Image generation supports typography as part of the artwork, including signs and labels.

What it's good for

Designers can develop a poster concept from text, then use image editing to adjust the scene or adapt its wording for another audience. Product campaigns can explore settings around an established item, and character-led projects can test costume changes. Reference-based composition also suits packaging concepts that combine a product with a particular visual treatment.

Run Nano Banana 2.1 on Protoface

Use Nano Banana 2.1 in Protoface Studio without writing code. Choose your inputs and generation settings, then generate with affordable, usage-based pricing. For your own AI app or workflow, use the Protoface API to submit generations and retrieve their outputs.

Model publisher

About Google

Google develops AI through Google DeepMind, with research spanning multimodal systems, generative media, and simulated worlds. Its creative model families include Veo for video, Lyria for music, and Gemini Image for image creation and editing, alongside broader work on Gemini systems and Gemma open models.

  • Multimodal AI
  • Video generation
  • Music generation

Related models

Unified API

One API for generative media.

Protoface serves popular frontier AI models through one API.

  • minimax
  • minimax
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai

Unified API

One API for generative media.

Protoface serves popular frontier AI models through one API.

  • minimax
  • minimax
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai

Unified API

One API for generative media.

Protoface serves popular frontier AI models through one API.

  • minimax
  • minimax
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai
  • z.ai