Nano Banana 2.1

Featured

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

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

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).

How much the model reasons before generating. Higher levels can improve complex compositions and use more thinking tokens.

Price$0.10 / run

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.