Google AI Studio Watermark: How to Remove It from Generated Images

Google AI Studio at aistudio.google.com is where developers test Gemini models, including image generation. Every image you generate and download comes with the same Nano Banana watermark you see in the consumer Gemini app. Here is how to deal with it.

AI Studio and Gemini use the same watermark

If you have used both gemini.google.com and aistudio.google.com for image generation, you may have noticed the output looks identical in terms of watermarking. That is because both services run the same underlying model (Nano Banana / Nano Banana Pro / Nano Banana 2) and apply the same post-processing pipeline before serving the download.

The watermark is a semi-transparent logo composited onto the bottom-right corner of the image. Standard resolution outputs get a 48x48 pixel mark. Higher resolution images — and AI Studio tends to produce these more often, since developers frequently request larger outputs — get a 96x96 pixel version of the same logo.

Both the visible Nano Banana logo and the invisible SynthID watermark are applied. This article focuses on removing the visible one.

What makes AI Studio different from Gemini

For watermark removal purposes, the differences between AI Studio and Gemini matter:

Gemini (gemini.google.com) AI Studio (aistudio.google.com)
Audience General users Developers, researchers
Max resolution 1024x1024 (typical) Up to 2048x2048
Watermark size Usually 48x48 Often 96x96 (higher-res outputs)
API access No Yes (Gemini API)
Batch generation One at a time Possible via API
Download method Download button in chat Download button in playground

The key difference for watermark removal: AI Studio outputs are often larger, which means they use the 96x96 mask instead of the 48x48 one. Any removal tool needs to handle both sizes.

Removing the watermark in the AI Studio web UI

When you use AI Studio's image generation playground in the browser (not the API), the workflow is the same as Gemini. You type a prompt, the model generates an image, you click Download.

Banana Clean works here automatically. The extension monitors downloads from aistudio.google.com the same way it monitors gemini.google.com. It intercepts the fetch request, applies reverse alpha blending with the appropriate mask (48px or 96px, selected based on image dimensions), and returns a clean file.

Setup:

  1. Install Banana Clean from Chrome Web Store
  2. Open aistudio.google.com (refresh if already open)
  3. Generate an image in the playground
  4. Click Download — the file is already clean

No configuration. The extension detects the AI Studio domain and activates automatically.

The API problem: watermarks on programmatic downloads

This is where things get more interesting for developers. When you call the Gemini API to generate images programmatically — using the REST endpoint or a client library — the response includes the image data with the watermark already applied. The image bytes you receive have the Nano Banana logo composited in.

Banana Clean cannot help here. The extension works by intercepting browser downloads on specific Google domains. An API call from your Python script or Node.js server does not go through the browser — the extension never sees it.

Options for API-generated images

If you are generating images via the Gemini API and need them without the visible watermark, you have a few paths:

  • Apply the reverse alpha blending formula yourself. The math is straightforward: original = (watermarked - alpha * 255) / (1 - alpha). You need the watermark mask (48x48 or 96x96), which is the same static image for every output. Libraries like Pillow (Python) or Sharp (Node.js) can do the pixel math.
  • Use a headless browser that loads aistudio.google.com with the Banana Clean extension installed. Puppeteer with Chrome can load extensions. This is overengineered for most use cases, but it works if you want the exact same pipeline.
  • Generate images in the web UI when you need clean outputs, and use the API for cases where the watermark does not matter (prototyping, batch testing, internal tools).

Implementing reverse alpha blending in Python

For developers who want to remove the watermark from API responses programmatically, here is the approach:

from PIL import Image
import numpy as np

def remove_watermark(image_path, mask_path, output_path):
    img = np.array(Image.open(image_path)).astype(np.float64)
    mask = np.array(Image.open(mask_path)).astype(np.float64)

    # mask alpha = max(R,G,B) / 255
    alpha = np.max(mask[:, :, :3], axis=2) / 255.0
    h, w = alpha.shape

    # apply to bottom-right corner
    region = img[-h:, -w:, :3]
    for c in range(3):
        a = alpha
        valid = a > 0.002  # threshold
        a_clamped = np.clip(a, 0, 0.99)
        region[:, :, c] = np.where(
            valid,
            np.clip((region[:, :, c] - a_clamped * 255) / (1 - a_clamped), 0, 255),
            region[:, :, c]
        )
    img[-h:, -w:, :3] = region
    Image.fromarray(img.astype(np.uint8)).save(output_path)

You will need the mask PNG files. These are the same masks Banana Clean uses internally — static images of the Nano Banana logo at 48x48 and 96x96 pixels. The mask's RGB channels encode the watermark shape, and the alpha for each pixel is derived from max(R, G, B) / 255.

AI Studio image generation parameters

When testing image generation in AI Studio, the output resolution depends on the model and parameters you choose. Nano Banana 2 Pro, the latest model as of March 2026, supports outputs up to 2048x2048 pixels. At that resolution, the watermark uses the 96x96 mask.

Some specifics worth knowing:

  • Images under ~1024px on the longest side get the 48x48 watermark
  • Images above that threshold get the 96x96 version
  • The watermark position is always bottom-right, flush with the image edge
  • The watermark is applied server-side, before the image reaches your browser or API response
  • JPEG and PNG outputs both carry the watermark

Does removing the AI Studio watermark affect SynthID?

No. SynthID is embedded during the generation process, not during post-processing. It lives in the statistical structure of the pixel data across the entire image. Removing the visible Nano Banana logo from the corner does not touch SynthID in any way. The invisible watermark persists after cleaning.

This means platforms with SynthID detection can still identify your image as AI-generated regardless of whether the visible mark is present.

FAQ

Does Banana Clean work on both gemini.google.com and aistudio.google.com?

Yes. The extension monitors both domains. When you click Download on either site, the watermark is removed automatically before the file hits your downloads folder.

Why does AI Studio use a larger watermark than Gemini?

It does not always. The watermark size depends on image resolution, not the platform. AI Studio often produces higher-resolution outputs (up to 2048px), which triggers the 96x96 mask. Gemini web typically outputs at 1024px, which gets the 48x48 mask. Same logic, different defaults.

Can I use the Gemini API free tier for image generation?

Google offers a free tier for the Gemini API with rate limits. Image generation is available on both free and paid tiers, but the free tier has lower quotas. The watermark is identical regardless of tier.

Will Banana Clean work if Google changes the AI Studio URL?

The extension matches against aistudio.google.com as declared in its manifest. If Google changes the domain, an extension update would be needed. The download URL pattern (lh3.googleusercontent.com/rd-gg) is the actual trigger for interception, and that has remained stable across both platforms.

Works on AI Studio too

Banana Clean removes the Nano Banana watermark from both Gemini and AI Studio images. 15 free cleans, then $4.99 for life.

Install from Chrome Web Store