Nano Banana 2

Nano Banana 2 is Google's new state-of-the-art fast image generation and editing model

Input

Fields marked * are required. Review the price before generating.

The text prompt to generate an image from.

The number of images to generate.

Tips and requirements

The aspect ratio of the generated image. Supports extreme ratios: 4:1, 1:4, 8:1, 1:8. Use "auto" to let the model decide based on the prompt.

The resolution of the image to generate.

Additional settings
Tips and requirements

Controls thinking effort ('minimal' or 'high') and requests thought summaries. Omit to use the provider default ('minimal'); thinking cannot be disabled.

The seed for the random number generator.

The format of the generated image.

The safety tolerance level for content moderation. 1 is the most strict (blocks most content), 6 is the least strict.

Tips and requirements

Optional system instruction that steers the model's persona and output style across the request. Leave blank to omit; when provided, it is sent as the system instruction to Gemini (or as a system message on OpenAI-compatible providers).

Starting price$0.10 / image

You sign up first. Your settings are kept.

API code for this input

Complete the required fields and fix input errors to see API code.

How to use Nano Banana 2

Getting started

Set the composition before requesting a larger output.

Review your result

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

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.