Model or dataset
GargantuaX/gemini-watermark-remover avatar
GargantuaX/gemini-watermark-remover

Gemini Watermark Remover: Lossless Watermark Removal for Gemini AI Images

A high-performance, 100% client-side tool for removing Gemini AI image & video watermarks. Built with pure JavaScript using mathematically precise Reverse Alpha Blending. / 基于 JavaScript 的纯浏览器端 Gemini AI 图像和视频无损去水印工具,使用数学精确的反向 Alpha 混合算法

5,616 stars870 forksJavaScriptMIT

At a glance

What is it?
Gemini Watermark Remover is a JavaScript tool that removes watermarks from Gemini AI-generated images and videos using a mathematically exact Reverse Alpha Blending algorithm rather than AI inpainting. It processes images entirely in the browser or in Node.js with no server uploads required, and is available as an online tool, a Chrome extension, a userscript, and a CLI.
Who is it for?
Gemini Watermark Remover is the right tool when you have Gemini AI-generated images or videos and need to remove their watermarks without uploading files to a third-party server. The Reverse Alpha Blending approach works reliably for Gemini's documented watermark patterns but is not a general-purpose watermark remover: it depends on knowing the exact watermark size and position from Gemini's output catalog.
Can I use it commercially?
Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository last received commits 8 days ago.
What is it written in?
Mainly JavaScript, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on September 29, 2026, and from our analysis. They are not legal advice.

Editorial analysis

What Gemini Watermarks Are and Why They Exist

Google's Gemini image generation models embed a visible watermark on their outputs to identify AI-generated content. The watermark is composited onto the image at export time using alpha blending: the watermark graphic is placed over the image pixels with a known transparency value. Because the compositing formula is fixed and reproducible, the original pixel values can be recovered mathematically without guessing. That is the basis for this tool. Standard AI inpainting approaches analyze surrounding pixels and hallucinate plausible replacements; they are unpredictable and can alter image content. Reverse Alpha Blending does the opposite: given the known watermark image, its position, and its alpha value, the formula subtracts the watermark contribution and recovers the original pixel. The README describes this as a mathematically exact approach rather than an AI model.

Auto-Detection and the Known Watermark Catalog

Finding the watermark in an image is handled by an auto-detection step that checks the image against Gemini's known output catalog and uses a local anchor search to locate the watermark position. This means the tool works for watermarks that match patterns Gemini has actually used. The auto-detection is not a general image analysis; it looks for specific signatures Gemini produces. If the watermark dimensions or position differ from the known catalog, for example due to a change in Gemini's export pipeline, the tool may not detect it correctly. The README includes a note that Canvas Fingerprint Defender browser extensions can interfere with the processing by altering canvas data that the algorithm depends on. Disabling such extensions before using the online tool or the browser extension resolves that issue. For video, the tool applies the same Reverse Alpha Blending frame by frame using ONNX Runtime's WebAssembly backend bundled in the npm package.

How to Use It: Online Tool, Extension, and Userscript

The fastest way to remove a Gemini watermark is the online tool at geminiwatermarkremover.io. Open the site, drop in the image, and download the result. No files are uploaded to a server; the processing runs in your browser. For Gemini video files, a separate interface at geminiwatermarkremover.io/video handles frame-by-frame watermark removal, also entirely in the browser.

For users who work directly in the Gemini web interface, the Chrome extension available on the Chrome Web Store processes images automatically on the page. The extension adds an "Enable on Gemini" toggle in its popup. When enabled, it intercepts Gemini's native copy and download actions to return processed images. If Gemini becomes slow or behaves unexpectedly, the toggle turns processing off without uninstalling the extension.

The userscript works in any userscript manager such as Tampermonkey or Greasemonkey. Install it from geminiwatermarkremover.io/userscript/gemini-watermark-remover.user.js. Once active, eligible Gemini preview images on the page are replaced in place with a "Processing..." overlay while the algorithm runs. Native copy and download actions also return processed results when the source image is reachable.

CLI and Skill for Scripting and Automation

For batch processing or integration into automated workflows, the package includes a CLI named gwr. Install it globally and run it against a file:

bash
gwr remove <input> [--output <file> | --out-dir <dir>] [--overwrite] [--json]

For a local repo run without a global install:

bash
node bin/gwr.mjs remove <input> --output <file>

Video files export at a calibrated 12 Mbps AVC profile by default. For quality-sensitive sources, specify a higher bitrate:

bash
gwr remove input.mp4 --output clean.mp4 --video-bitrate-mbps 20

The CLI reports video frame progress on stderr. The --video-timeout-ms flag sets an inactivity timeout: the export can run longer as long as frames continue advancing.

For AI coding agent workflows, the repository ships a packaged Skill in skills/gemini-watermark-remover/. Install it using:

bash
pnpm dlx skills add GargantuaX/gemini-watermark-remover --skill gemini-watermark-remover

Then invoke it from the CLI:

bash
node skills/gemini-watermark-remover/scripts/run.mjs remove <input> --output <file>

The SKILL.md file in that directory documents agent integration details.

Limitations: Not a General Watermark Remover

The tool is specific to Gemini AI watermarks. It depends on knowing the exact watermark graphic, its size, and its alpha blending parameters, all of which are derived from Gemini's known output catalog. Images from other AI generators (Midjourney, DALL-E, Stable Diffusion, or others) use different watermarking methods, and Reverse Alpha Blending cannot remove them. Even for Gemini images, the tool may fail on edge cases: corrupted image formats, unusual EXIF data, or images that were re-encoded after Gemini generated them can shift pixel values and break the mathematical inversion. The README carries an explicit disclaimer that the author assumes no responsibility for data loss or image corruption. For production pipelines handling large batches of Gemini images, run a small validation set first to confirm that the watermark patterns in your images match the current catalog.

The .env.example in the repository defines paths to sample file directories (GWR_SAMPLE_ROOT, GWR_VIDEO_SAMPLE_ROOT, GWR_DOWNLOAD_SAMPLE_ROOT) used by optional research and benchmark scripts. These are not needed for typical use; they exist for contributors who test the detection algorithm against large sample sets. The repository also bundles ONNX Runtime WebAssembly files and pretrained ONNX models for video denoising in the dist/ directory, which is why the npm package includes binary assets. The video processing path runs ONNX inference in the browser through WebAssembly with SIMD threading enabled.

Alternatives: AI Inpainting vs. Mathematical Removal

General-purpose AI watermark removers such as the one at pilio.ai/image-watermark-remover use neural inpainting: they analyze surrounding pixels and fill in the watermark area with predicted content. This approach works on any visible watermark but alters image pixels and can introduce artifacts or inaccurate reconstructions. The mathematical approach in Gemini Watermark Remover recovers original pixels exactly, which is why the README calls the results reproducible and high-fidelity. The trade-off is scope: mathematical recovery requires knowing the exact blending parameters, so it only works for watermarks from supported Gemini outputs. For images from generators other than Gemini, an AI inpainting tool is the practical path. For Gemini images specifically, Reverse Alpha Blending is preferable because it does not alter pixel values beyond the watermark region and produces the same output on every run given identical input.

Editorial conclusion

Gemini Watermark Remover is the right tool when you have Gemini AI-generated images or videos and need to remove their watermarks without uploading files to a third-party server. The Reverse Alpha Blending approach works reliably for Gemini's documented watermark patterns but is not a general-purpose watermark remover: it depends on knowing the exact watermark size and position from Gemini's output catalog. If a watermark falls outside those known patterns, the tool may produce unexpected results. Before using the CLI or SDK for production batch work, confirm your images come from Gemini models that the current catalog covers. The project is MIT licensed, actively maintained, and its last push was on 2026-09-22.

Frequently asked questions

Why does Gemini add a watermark?

Google's Gemini image generation models embed a visible watermark to identify their outputs as AI-generated content. The watermark is composited onto the image using alpha blending at a fixed transparency level.

How can I remove the Gemini watermark for free?

The online tool at geminiwatermarkremover.io removes Gemini watermarks for free, entirely in your browser without uploading files. A Chrome extension and a CLI are also available at no cost under the MIT license.

Is it illegal to use AI to remove watermarks?

The repository's README does not address the legal question and includes a disclaimer that use is at the user's own risk. Legal requirements around watermark removal vary by jurisdiction and context; the tool itself performs a mathematical operation on pixel data.

How can I download Gemini videos without a watermark?

The online video tool at geminiwatermarkremover.io/video removes watermarks from Gemini-generated videos in the browser. The CLI also supports video files: run gwr remove input.mp4 --output clean.mp4 for a local workflow.

how to use gemini watermark remover

Open geminiwatermarkremover.io, drop in your Gemini-generated image, and download the result. For automation, install the npm package and use gwr remove <input> --output <file> from the command line.

Official sources

  1. GargantuaX/gemini-watermark-remover on GitHub
  2. License: MIT
  3. Project website
  4. README
  5. Releases
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/gargantuax-gemini-watermark-remover.svg)](https://hysenlabs.com/projects/gargantuax-gemini-watermark-remover)