Skip to content
Reduced motion is on. Play a preview to watch it.
Explore models

Image

Nano Banana 2

Generate or edit Nano Banana 2 images with selectable resolution and framing.

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

Catalog preview for Nano Banana 2. Review your own result before publishing.

A starting point.

Set the composition before requesting a larger output.

Before you publish.

Inspect small lettering and object placement at the final output size.

Review the quote before running. A failed generation releases its reserved credits. Download the results you want to keep; stored media is retained for 30 days.

How credits work · Use the API · Content guidelines

Settings and model questionsCheck the available settings and guidance when preparing your input.

Inputs and settings

The default starts with prompt. To alter existing images, select editing and supply image_urls; optional system_prompt carries broader style instructions.

aspect_ratio includes auto and panoramic choices. resolution offers 0.5K, 1K, 2K or 4K; num_images and output_format control count and export format.

Inputs, all modes and APIModel IDs, current input limits and the API generation workflow.

Supported inputs

These fields come from the current studio form for nano-banana-2. Other modes may require different inputs.

Input types, requirements and limits for nano-banana-2
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
resolutionTextOptional0.5K, 1K, 2K, 4K
safety_toleranceTextOptional—
seedWhole numberOptional—
system_promptTextOptionalMax. characters: 50000
thinking_levelTextOptional—

Check the full model schema for all options and cross-field rules. Request a quote for your selected settings before generating.

Other modes and their inputs

Open the operation you need and check its inputs. Settings from one mode do not automatically apply to another.

Image editingnano-banana-2/edit

Supported inputs

These fields come from the current studio form for nano-banana-2/edit. Other modes may require different inputs.

Input types, requirements and limits for nano-banana-2/edit
InputTypeRequirementOptions and limits
image_urlsListRequiredMin. items: 1
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
resolutionTextOptional0.5K, 1K, 2K, 4K
safety_toleranceTextOptional—
seedWhole numberOptional—
system_promptTextOptionalMax. characters: 50000
thinking_levelTextOptional—

Check the full model schema for all options and cross-field rules. Request a quote for your selected settings before generating.

Open this operation in the studio

Use Nano Banana 2 through the API.

Start with this model ID for the endpoint featured on this page:

nano-banana-2

Input requirements belong to this model ID. Check a different mode’s schema separately when switching modes.

Available modes

Check the current model schema for supported inputs and options. Other tasks may use different model IDs.

From quote to result.

Request a credit quote for your input and settings before submitting a generation. A sample output or the price of another model is not a quote for your request.

Follow the generation workflow, then poll the job for its status and result. The API and studio use the same balance.