
Image generation and editing with reference-guided workflows.
Choose the same two routing tiers used across MLMux. The selected route is included as route_mode in every request.
Learn more about pricing ↗Nano Banana 2.1 is billed on the tokens it returns, per 1M tokens: official at the provider's published rates, official-cheap at 50% of them. If a response carries no usage, the per-image price applies.
| Tokens | official | official-cheap |
|---|---|---|
| Input (text and image) | $1.5 / 1M tokens | $0.75 / 1M tokens |
| Text and thinking output | $7.5 / 1M tokens | $3.75 / 1M tokens |
| Image output | $30 / 1M tokens | $15 / 1M tokens |
Nano Banana 2.1 is available through MLMux with one request shape and two explicit route tiers.
Create images from prompts or refine them with image references.
Nano Banana 2.1 is an image generation model from Google. On MLMux you can run it in the browser or call it through one API. Image generation and editing with reference-guided workflows.
Create an API key in the MLMux Console, then send a POST request to https://api.mlmux.com/v1/images/generations with the key in the Authorization header and model set to google/gemini-nano-banana-2.1. The generated images are returned in the response.
Generation modes: Text to image and Image editing. Each request accepts up to 14 reference images and returns 1K, 2K, or 4K images in aspect ratios such as 1:1, 2:3, 3:2, 3:4, 4:3, and 9:16.
MLMux is pay as you go, with no subscription or monthly fee, and 1 credit equals 1 US dollar. Each Nano Banana 2.1 request is billed by usage on the route you choose: official, or the lower-cost official-cheap route that is used by default. Current rates are listed in the pricing section of this page.
Yes. Sign in and use the playground at the top of this page to run Nano Banana 2.1 with the same settings as the API. The API tab shows the matching request in Node.js, Python, and HTTP.