Skip to content
Explore models

Image

Nano Banana 2.1

Nano Banana 2.1 by Google generates one to four images from a text prompt at 1K, 2K or 4K resolution.

  • Text to image
  • Image editing
Create with Nano Banana 2.1
Preview for Nano Banana 2.1

Catalog preview.

Technical details

Supported inputs

google/nano-banana-2.1

Input types, requirements and limits for google/nano-banana-2.1
InputTypeRequirementOptions and limits
promptTextRequiredMin. characters: 3 · Max. characters: 50000
aspect_ratioTextOptionalauto, 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16, 4:1, 1:4, 8:1, 1:8
num_imagesWhole numberOptional≥ 1 · ≤ 4
output_formatTextOptionaljpeg, png, webp
resolutionTextOptional1K, 2K, 4K
safety_toleranceTextOptional—
seedWhole numberOptional—
system_promptTextOptionalMax. characters: 50000
thinking_levelTextOptional—

Full model schema →

Other modes and their inputs

Image editinggoogle/nano-banana-2.1/edit

Supported inputs

google/nano-banana-2.1/edit

Input types, requirements and limits for google/nano-banana-2.1/edit
InputTypeRequirementOptions and limits
image_urlsListRequiredMin. items: 1 · Max. items: 14
promptTextRequiredMin. characters: 3 · Max. characters: 50000
aspect_ratioTextOptionalauto, 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16, 4:1, 1:4, 8:1, 1:8
num_imagesWhole numberOptional≥ 1 · ≤ 4
output_formatTextOptionaljpeg, png, webp
resolutionTextOptional1K, 2K, 4K
safety_toleranceTextOptional—
seedWhole numberOptional—
system_promptTextOptionalMax. characters: 50000
thinking_levelTextOptional—

Full model schema →

Open this operation in the studio

API

google/nano-banana-2.1

API quickstart →