Skip to main content
AnyAIGC

Google · Nano Banana 2.1

Nano Banana 2.1 APIgemini-nano-banana-2.1

Google's newest Nano Banana upgrade, from $0.0128 per image.

Better image quality, text rendering and multi-turn character consistency than Nano Banana 2, with 1K, 2K and 4K output and 1:8 and 8:1 ultra-wide ratios.

  • From $0.0128 / image
  • vs Google 1K Save 62%
  • Output Up to 4K
  • Ratios 14
  • Concurrency Unlimited
  • Enterprise Self-service invoices
Cinematic scene: A vintage orange sedan in teal night fog (generated with Nano Banana)
Street posters: Indie film fest posters on a Los Angeles wall (generated with Nano Banana)
Motion moment: A spinning red embroidered dress with motion blur (generated with Nano Banana)

Sample images are from Google DeepMind's Nano Banana model pages, generated with Nano Banana models. Images © Google. View source ↗

Imagine it, then make it.Photoreal, playful, precise or surreal: a single sentence is enough.

What is Nano Banana 2.1

Nano Banana 2.1 is an image generation and editing model Google released on October 6, 2026. Its official name is Gemini Nano Banana 2.1, and it upgrades Nano Banana 2 (Gemini 3.1 Flash Image). It keeps Flash-class speed and cost while improving image quality, text rendering and character consistency in multi-turn conversations.

On AnyAIGC the model ID is gemini-nano-banana-2.1, billed per image from $0.0128; live 2K and 4K prices are in the model catalog. You do not need a Google account.

Model ID
gemini-nano-banana-2.1
Output
1K / 2K / 4K (default 1K)
Aspect ratios
14, including 1:4, 4:1, 1:8, 8:1
References
Up to 14 (10 object + 4 character)
Thinking
minimal / high
Endpoints
generateContent · chat/completions

What Nano Banana 2.1 can do

  • Poster design: A Swiss-style sports poster and a 1970s travel poster (generated with Nano Banana)

    Sharper text

    Poster headlines, packaging copy, menus and infographic labels render cleanly, and you can set the type style and layout.

  • One-line edit: "Change to daytime" applied to a sunset scene (generated with Nano Banana)

    One-line edits

    Upload an image and say what to change: lighting, background, removing an object. Everything else stays put, and you can keep refining over several turns.

  • Multi-image compositing: 14 character references combined into one sofa scene (generated with Nano Banana)

    Compositing with consistent characters

    Up to 14 reference images, including 4 character images that keep people looking the same across shots.

  • Street posters: Indie film fest posters on a Los Angeles wall (generated with Nano Banana)

    Ultra-wide and tall ratios

    Supports 4:1, 8:1, 1:4 and 1:8. 2.1 fixes stitching at these ratios in 2K / 4K, so banners and long images come out clean.

Nano Banana 2.1 API pricing

Billed per image from $0.0128. Live 2K and 4K prices are in the model catalog.

  • Per imageFlat price per image, not per token
  • 1 image per callA request usually returns 1 image
  • Unlimited concurrencyDefault for every account
  • Shared balanceOne balance covers 300+ models
Nano Banana per-image pricing (USD)
ModelModel IDAnyAIGC price (per image, from)Google list price (1K / 2K / 4K)
Nano Banana 2.1Save 62% vs Google 1Kgemini-nano-banana-2.1from $0.0128 / image$0.0336 / $0.0504 / $0.113

Prices are in USD and show the lowest price in the model catalog. 2K and 4K output can be priced differently; see the live rates in the model catalog. You are billed per successful request, and prompts and reference images are not charged separately. Google list prices are Standard-tier USD rates from the Gemini API pricing page, for reference only.

Cost examples

Calculated at the from price per image. Check 2K and 4K rates in the model catalog.

  • 1,000 product shots

    1,000 × $0.0128

    $12.80

    Everyday batch work

  • 500 social posts

    500 × $0.0128

    $6.40

    Great for 4:5 and 9:16

  • 10,000 catalog images

    10,000 × $0.0128

    $128.00

    Large SKU catalogs

How many images the 5M free tokens cover

New accounts get 5M free tokens, worth about $0.5. At the prices above, that covers this many images (rounded down).

Nano Banana: Images you can generate with the free credit
Model1K2K4K
Nano Banana 2.1392611

The 1K count uses the from price above. 2K and 4K counts are estimates based on AnyAIGC's price ratio between resolutions. Live prices are in the model catalog.

Nano Banana 2.1 vs the rest of the lineup

Nano Banana 2.1, Nano Banana 2 and Nano Banana Pro specs compared
Nano Banana 2.1Nano Banana 2Nano Banana Pro
AnyAIGC model IDgemini-nano-banana-2.1gemini-3.1-flash-image
gemini-3.1-flash-image-preview
gemini-3-pro-image
gemini-3-pro-image-preview
Google nameGemini Nano Banana 2.1Gemini 3.1 Flash ImageGemini 3 Pro Image
PositioningUpgrade to Nano Banana 2 with better image quality, text and multi-turn consistencyFlash-speed workhorse image modelReasoning-driven, pro-grade images for complex layouts and retouching
Output resolution1K / 2K / 4K1K / 2K / 4K (Google also offers 512px)1K / 2K / 4K
Aspect ratios14, including 1:4, 4:1, 1:8, 8:114, including 1:4, 4:1, 1:8, 8:110 (1:1 to 21:9)
Reference images (up to 14)10 object + 4 character10 object + 4 character6 object + 5 character + 3 style
Google Search groundingWeb + image searchWeb + image searchWeb search
ThinkingConfigurableConfigurableOn by default, cannot be turned off
AnyAIGC pricefrom $0.0128 / imagefrom $0.0164 / imagefrom $0.0328 / image
Google list price1K $0.0336 · 2K $0.0504 · 4K $0.1131K $0.067 · 2K $0.101 · 4K $0.1511K $0.134 · 2K $0.134 · 4K $0.24
ReleaseGA on 2026-10-06Preview 2026-02-26, GA 2026-05-28Preview 2025-11-20, GA 2026-05-28

Specs are from the Google Gemini API image generation docs and model list (read 2026-10-25). Request fields follow the AnyAIGC API docs.

Nano Banana 2.1 API use cases

  • E-commerce

    Product and lifestyle shots

    Upload a product photo and swap the background, scene or model while keeping the packaging and label text intact. Get every aspect ratio a SKU needs in one go.

  • Marketing

    Posters and localized copy

    Write headlines and selling points straight into the image, or translate the text on an existing poster into another language without touching the layout.

  • Social

    Assets for every platform

    Render one concept at 1:1, 4:5, 9:16 and 16:9 for Instagram, TikTok, YouTube thumbnails and web banners.

  • Education

    Infographics and diagrams

    Turn a concept, process or dataset into a labeled infographic, with Google Search grounding to keep the facts on screen accurate.

  • Characters

    Consistent characters

    Use a few character references to produce a series of scenes and poses, ideal for picture books, comic storyboards and brand mascots.

  • Design

    Sketch to render

    Add a one-line brief to a hand sketch, floor plan or product drawing and get a photoreal render, then keep refining it in conversation.

Get started with the Nano Banana 2.1 API

  1. Sign up: create an AnyAIGC account. New accounts get 5 million tokens of trial credit, and top-ups start at $1.
  2. Create an API key: generate a key in the console and store it in the ANYAIGC_API_KEY environment variable.
  3. Send a request: call POST https://anyaigc.ai/v1beta/models/gemini-nano-banana-2.1:generateContent (native Gemini format). Projects already on the OpenAI SDK can use /v1/chat/completions with model set to gemini-nano-banana-2.1.
Python · gemini-nano-banana-2.1 text to image
import base64
import os
import requests

API_KEY = os.environ["ANYAIGC_API_KEY"]
MODEL = "gemini-nano-banana-2.1"

resp = requests.post(
    f"https://anyaigc.ai/v1beta/models/{MODEL}:generateContent",
    headers={"Authorization": "Bearer " + API_KEY},
    json={
        "contents": [{"role": "user", "parts": [{"text": "A plate of miniature banana dishes in a fine-dining restaurant, Gemini-themed decor, soft overhead light"}]}],
        "generationConfig": {
            "responseModalities": ["TEXT", "IMAGE"],
            # aspectRatio / imageSize must go inside imageConfig; imageSize uses an uppercase K
            "imageConfig": {"aspectRatio": "16:9", "imageSize": "2K"},
        },
    },
    timeout=300,
)
resp.raise_for_status()

# The image comes back as inlineData in parts (base64, no data: prefix); any caption is in text
for part in resp.json()["candidates"][0]["content"]["parts"]:
    if "inlineData" in part:
        ext = part["inlineData"]["mimeType"].split("/")[-1]
        with open("output." + ext, "wb") as f:
            f.write(base64.b64decode(part["inlineData"]["data"]))
        print("Saved output." + ext)
    elif "text" in part:
        print(part["text"])
cURL · gemini-nano-banana-2.1 text to image
curl "https://anyaigc.ai/v1beta/models/gemini-nano-banana-2.1:generateContent" \
  -H "Authorization: Bearer $ANYAIGC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "contents": [{"role": "user", "parts": [{"text": "A plate of miniature banana dishes in a fine-dining restaurant, Gemini-themed decor, soft overhead light"}]}],
    "generationConfig": {
      "responseModalities": ["TEXT", "IMAGE"],
      "imageConfig": {"aspectRatio": "16:9", "imageSize": "2K"}
    },
    "response_format": "url"
  }'
Python · gemini-nano-banana-2.1 reference image editing
import base64
import os
import requests

API_KEY = os.environ["ANYAIGC_API_KEY"]
MODEL = "gemini-nano-banana-2.1"


def image_part(path, mime="image/jpeg"):
    with open(path, "rb") as f:
        return {"inlineData": {"mimeType": mime, "data": base64.b64encode(f.read()).decode()}}


# Put the instruction and all reference images in the same parts list, labeling each image in text
parts = [
    {"text": "Place the product from image 1 into the scene from image 2. Keep the product and its label text unchanged."},
    {"text": "Image 1:"},
    image_part("product.jpg"),
    {"text": "Image 2:"},
    image_part("scene.jpg"),
]

resp = requests.post(
    f"https://anyaigc.ai/v1beta/models/{MODEL}:generateContent",
    headers={"Authorization": "Bearer " + API_KEY},
    json={
        "contents": [{"role": "user", "parts": parts}],
        "generationConfig": {
            "responseModalities": ["TEXT", "IMAGE"],
            "imageConfig": {"aspectRatio": "1:1", "imageSize": "2K"},
        },
        "response_format": "url",  # return a temporary download link (non-streaming only); default is base64
    },
    timeout=300,
)
resp.raise_for_status()
for part in resp.json()["candidates"][0]["content"]["parts"]:
    if "fileData" in part:
        print(part["fileData"]["fileUri"])
cURL · /v1/chat/completions
curl https://anyaigc.ai/v1/chat/completions \
  -H "Authorization: Bearer $ANYAIGC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-nano-banana-2.1",
    "messages": [
      {"role": "user", "content": "A minimalist product shot of a perfume bottle on white marble, side lighting"}
    ]
  }'

For faster responses without thinking, use the model name gemini-nano-banana-2.1-nothinking; for stronger composition reasoning, use -thinking.

Authenticate with Authorization: Bearer <API Key>. imageConfig.imageSize accepts 1K, 2K or 4K and defaults to 1K. response_format is a platform extension: set it to url to get a temporary fileData.fileUri link (non-streaming only); leave it out to get base64. When a request is blocked by safety filters, finishReason is SAFETY or PROHIBITED_CONTENT and no image is returned.

Nano Banana 2.1 API for teams and enterprises

E-commerce companies, design teams and content platforms can buy through a standard business process, with support for finance, legal and engineering.

  • Invoices

    Issue them yourself

    Issue an invoice in the console for the amount you actually topped up, whenever you need one.

  • Dedicated support

    Account and technical contacts

    Work with a dedicated support contact and technical engineer for onboarding, migration and troubleshooting.

Payment methods
  • WeChat Pay
  • Alipay
  • USDT
  • Credit card

Why teams trust AnyAIGC

Trial credit, top-ups, refunds, data handling and billing, spelled out up front.

  • 5M free tokens to start

    New accounts get trial credit, so you can test before you top up.

  • Top up from $1, refundable

    Top up from $1. Unused balance can be refunded with no fee.

  • Official channels, real models

    Requests go to official model channels, never cheaper or reverse-engineered substitutes.

  • No retention, no training

    Unless the law requires it, your prompts and outputs are not persistently stored or used for training. See the privacy policy.

  • Transparent billing, spend caps

    See tokens and cost for every request in the console, and set a quota on each API key.

  • 24/7 support

    Contact support any time about integration, billing or incidents.

Specs and how to choose it

In Google's docs the model code for Nano Banana 2.1 is gemini-nano-banana-2.1. It updates Nano Banana 2 (Gemini 3.1 Flash Image) and keeps Flash-level speed and cost.

Google lists improvements in visual quality and realism, prompt adherence, multi-turn character consistency and text rendering; output is 1K, 2K or 4K, with 1K as the default.

It fuses up to 14 reference images, keeping up to 4 characters consistent and up to 10 objects faithful, supports grounding with Google Search, and offers thinking levels minimal, medium (default) and high.

Input can be text, image, video and PDF, and output is image and text, with a 131,072-token input limit and a 32,768-token output limit.

This page lists Nano Banana 2.1 at $0.0336, matching the pricing table above.

Compared with nano-banana-pro: Google calls 2.1 the more efficient counterpart to Gemini 3 Pro Image (Nano Banana Pro); Pro has a 65,536-token input limit and takes no video input.

Specs come from the vendor's official documentation (aistudio.google.com). The table on this page is the price, and the model catalog is authoritative for live rates.

Nano Banana 2.1 API FAQ

How much does the Nano Banana 2.1 API cost?

On AnyAIGC, Nano Banana 2.1 is billed per image, from $0.0128 per image (the lowest price in the model catalog; live 2K and 4K prices are shown in the model catalog). Google lists it at $0.0336 / $0.0504 / $0.113 per image for 1K / 2K / 4K. You are billed per successful request.

What is Nano Banana 2.1 and when was it released?

Nano Banana 2.1 (Gemini Nano Banana 2.1, model ID gemini-nano-banana-2.1) is an image generation and editing model Google released on October 6, 2026, as the upgrade to Nano Banana 2 (Gemini 3.1 Flash Image). Google positions it as the main high-efficiency model in the Nano Banana line.

How is Nano Banana 2.1 different from Nano Banana 2?

2.1 improves image quality, text rendering and character consistency across multi-turn edits, and fixes stitching issues at extreme ratios such as 1:4, 4:1, 1:8 and 8:1 in 2K / 4K. It also costs less per image. 2.1 drops the 512px (0.5K) tier and supports 1K, 2K and 4K only. The API is identical, so migrating means changing model to gemini-nano-banana-2.1.

Should I use Nano Banana 2.1 or Nano Banana Pro?

Pick 2.1 for everyday images, batch jobs and ultra-wide ratios; it costs less (from $0.0128 / image). Pick Pro (from $0.0328 / image) for complex layouts, dense text and commercial assets that need stronger reasoning and detail.

Which resolutions and aspect ratios are supported?

imageConfig.imageSize accepts 1K, 2K or 4K and defaults to 1K; 512 is not supported. imageConfig.aspectRatio supports 14 ratios: 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9, 1:4, 4:1, 1:8, 8:1. For example, 16:9 renders at 2752×1536 in 2K and 5504×3072 in 4K.

How many reference images can I upload? Can I turn thinking on or off?

Up to 14 reference images per request: up to 10 object images and 4 character images. Thinking is controlled with thinkingConfig.thinkingLevel, which accepts minimal and high; thinkingBudget is not supported. You can also append -thinking or -nothinking to the model name.

Are there concurrency limits?

AnyAIGC sets no concurrency limit on Nano Banana 2.1, and every account gets this by default. The base URL is https://anyaigc.ai, and you do not need a Google account. The same key works for 300+ other models.

Can I get an invoice from AnyAIGC?

Yes. You can issue invoices yourself in the console, for the amount you actually topped up.

Which payment methods are supported?

You can top up with WeChat Pay, Alipay, USDT or a credit card. Your balance is in USD and works across every model on the platform. Invoices can be issued in the console for the amount you topped up.

Is there free trial credit for new users?

Yes. New accounts get 5 million tokens of trial credit, so you can test before deciding to top up. Top-ups start at $1.

Can I get a refund on my balance?

Yes. Unused balance can be refunded with no fee. Contact support to start a refund.

Are these the real models? Is my data safe?

Requests go to official model channels, never cheaper or reverse-engineered substitutes. Unless the law requires it, we do not persistently store your prompts or outputs or use them for training, and the console shows tokens and cost for every request.

Can I use the images commercially? Are they watermarked?

Usage rights and content policies follow Google's official terms. Google embeds an invisible SynthID digital watermark in every image Nano Banana generates; it is not visible in the picture. AnyAIGC only provides API access and adds no extra restrictions on how you use the output. If an image involves real people's likenesses or third-party trademarks, make sure you have the rights you need.

Start building with Nano Banana 2.1

Sign up for 5 million free tokens. From $0.0128 per image with unlimited concurrency.