ExploreModels
Pricing
Explore

Nano Banana 2.1

All text to image models

Nano Banana 2.1 by Google generates images from text prompts, with output resolutions up to 4K, adjustable aspect ratios, and optional web search grounding.

Inference$ Commercial useFrom 2 credits per run

About Nano Banana 2.1

Nano Banana 2.1 by Google generates images from text prompts, with output resolutions up to 4K, adjustable aspect ratios, and optional web search grounding.

image generationphotorealismtypographytext rendering

Pricing

A run with the default settings costs 2 credits. The exact cost updates in the playground as you change settings, and you're only charged when you press Run. Failed runs are refunded automatically.

Inputs

prompttextarearequired

The text prompt to generate an image from.

num_imagesintegerdefault: 1

The number of images to generate.

seedinteger

The seed for the random number generator.

aspect_ratioselectdefault: "auto"

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.

Options: auto, 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

output_formatselectdefault: "png"

The format of the generated image.

Options: jpeg, png, webp

safety_toleranceselectdefault: "4"

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

Options: 1, 2, 3, 4, 5, 6

sync_modebooleandefault: false

If `True`, the media will be returned as a data URI and the output data won't be available in the request history.

system_prompttextareadefault: ""

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

resolutionselectdefault: "1K"

The resolution of the image to generate.

Options: 1K

limit_generationsbooleandefault: true

Experimental parameter to limit the number of generations from each round of prompting to 1. Set to `True` to to disregard any instructions in the prompt regarding the number of images to generate and ignore any intermediate images generated by the model. This may affect generation quality.

enable_web_searchbooleandefault: false

Enable web search for the image generation task. This will allow the model to use the latest information from the web to generate the image.

thinking_levelselectdefault: "medium"

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

Options: minimal, medium, high

More from Nano Banana 2.1

Nano Banana Pro
Nano Banana Pro

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

realismtypography
text-to-image
FLUX.1 [schnell]
FLUX.1 [schnell]

FLUX.1 [schnell] is a 12 billion parameter flow transformer that generates high-quality images from text in 1 to 4 steps, suitable for personal and commercial use.

text-to-image
Nano Banana 2
Nano Banana 2

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

text-to-image
GPT Image 2 API
GPT Image 2 API

GPT Image 2, OpenAI's latest image model, is capable of creating extremely detailed images with fine typography.

gpt-image-2openai
text-to-image
GPT Image 2.5 Flare Text to Image
GPT Image 2.5 Flare Text to Image

OpenAI's default image model for most applications. Fast, high-quality generation with natural lighting, rich textures, and support for complex layouts including transparent backgrounds.

realismtypography
text-to-image
FLUX.1 [dev]
FLUX.1 [dev]

FLUX.1 [dev] is a 12 billion parameter flow transformer that generates high-quality images from text. It is suitable for personal and commercial use.

text-to-image
GPT Image 2.6 Flare Text to Image✦ new
GPT Image 2.6 Flare Text to Image

OpenAI's default image model for most applications. Fast, high-quality generation with natural lighting, rich textures, and support for complex layouts including transparent backgrounds.

realismtypography
text-to-image
GPT Image 2.6 Sunburst Text to Image✦ new
GPT Image 2.6 Sunburst Text to Image

OpenAI's precision-focused image model, built for premium visual work, extra fidelity on intricate detail, in exchange for longer generation times.

realismtypography
text-to-image
GPT Image 2.5 Sunburst Text to Image
GPT Image 2.5 Sunburst Text to Image

OpenAI's precision-focused image model, built for premium visual work, extra fidelity on intricate detail, in exchange for longer generation times.

realismtypography
text-to-image
Flux 2 Pro
Flux 2 Pro

Image editing with FLUX.2 [pro] from Black Forest Labs. Ideal for high-quality image manipulation, style transfer, and sequential editing workflows

text-to-image
Nano Banana
Nano Banana

Google's famous original image generation and editing model

image-generation
text-to-image
FLUX1.1 [pro]
FLUX1.1 [pro]

FLUX1.1 [pro] is an enhanced version of FLUX.1 [pro], improved image generation capabilities, delivering superior composition, detail, and artistic fidelity compared to its predecessor.

text-to-image