Preparing page…
▥ Seedance 2.5 is here! ›
PricingDocsUpdatesAccount

google/gemini-nano-banana-2.1

Gemini image generation and editing through Aistudio and Weavy.

Warm Official Live Priced by route Data privacy Zero training API docs

Input

prompt*string

A text description of the image you want to generate

route_modestring

Choose the provider route used for this request.

Lower-cost official route and the default for new requests and API keys.
generation_typestring

Select the generation workflow. The API mode updates with this choice.

aspect_ratiostring

Aspect ratio of the generated output

Default: "1:1"
resolutionstring

Higher resolutions may take longer to generate.

Default: "1K"
output_formatstring

Format of the output image

Indicative cost≈ $0.017 / image · 1K · token-based estimate16.8 credits for 1 image · official-cheap · 1KOfficial keys settle on returned tokens; relay routes use the configured resolution price. Final charge follows server pricing and actual usage.

Output

Ready for a predictionAdjust the inputs, then run the model.

Examples

View more examples ↗

Pricing

Choose the same two routing tiers used across MLMux. The selected route is included as route_mode in every request.

Learn more about pricing ↗

Readme

Gemini Nano Banana 2.1 is available through MLMux with one request shape and two explicit provider routes.

Generate and edit

Create images from prompts or refine them with image references.

Model details

Owner
Google
Type
image generation
References
Up to 14
Default route
official-cheap

More image models

Explore all models ↗
googleNano Banana 2

Google's fast image generation model with conversational editing, multi-image fusion, and character consistency.

googleNano Banana Pro

Google's professional image generation and editing model for complex instructions, accurate text, and multi-reference composition.

openaiGPT Image 2

OpenAI's high-fidelity image generation and editing model for product photography, readable text, and detailed creative workflows.

openaiSeedream 5 Pro

OpenAI's high-fidelity image generation and editing model for product photography, readable text, and detailed creative workflows.

openaiGPT Image 2.5 Flare

OpenAI's high-fidelity image generation and editing model for product photography, readable text, and detailed creative workflows.

openaiGPT Image 2.5 Sunburst

OpenAI's high-fidelity image generation and editing model for product photography, readable text, and detailed creative workflows.

openaiSeedream 4.0

OpenAI's high-fidelity image generation and editing model for product photography, readable text, and detailed creative workflows.

openaiSeedream 4.5

OpenAI's high-fidelity image generation and editing model for product photography, readable text, and detailed creative workflows.

openaiSeedream 5.0

OpenAI's high-fidelity image generation and editing model for product photography, readable text, and detailed creative workflows.

googleNano Banana

Google's fast image generation model with conversational editing, multi-image fusion, and character consistency.

googleNano Banana 2 Lite

Google's fast image generation model with conversational editing, multi-image fusion, and character consistency.

One API for image and video generation.

ModelsPricingDocumentationConsole