HTML

gemini-watermark-remover

A high-performance, 100% client-side tool for removing the visible Google Gemini ✦ AI sparkle watermark from both AI images and Veo videos. Built with Vue 3 + Vite + Tailwind CSS, it uses a mathematically precise Reverse Alpha Blending algorithm to restore pixels with zero quality loss.

D

dearabhin

Dernière activité 15 août 2026
dearabhin/gemini-watermark-remover

254

étoiles

64

forks

3

issues ouvertes

gemini-aigemini-watermark-removergoogle-gemininano-banananano-banana-prowatermark-remover

Ce README est souvent en anglais.

Gemini Watermark Remover

Live Demo Stack License Support on Patreon Donate via UPI

A high-performance, 100% client-side tool for removing the visible Google Gemini ✦ AI sparkle watermark from both images and videos. Built with Vue 3 + Vite + Tailwind CSS, it uses a mathematically precise Reverse Alpha Blending algorithm to restore pixels with zero quality loss.

🔗 Live Website: removewatermark.dev


✨ Before & After

Before (watermarked) After (cleaned)
Gemini AI image with the visible sparkle watermark Gemini AI image after the sparkle watermark was removed

The live site also shows this as an interactive drag-to-compare slider.


🚀 Features

  • Images & Videos: Remove the sparkle watermark from Gemini images and videos — all in the browser.
  • 100% Client-Side Processing: No servers involved. Files are processed locally for maximum privacy.
  • Lossless Image Restoration: Uses exact mathematical inversion rather than AI inpainting, preserving original pixel quality.
  • Audio-Preserving Video Cleaning: Videos are processed frame-by-frame and re-encoded with their original audio intact (via MediaRecorder + Web Audio).
  • Auto-Detection: Automatically detects watermark size (48px or 96px) based on resolution.
  • Mobile Responsive: Fully optimized UI for desktop and mobile devices.

🧠 How It Works (The Algorithm)

Gemini adds watermarks using a standard Alpha Compositing (blending) technique. This tool simply reverses that math.

1. The Watermark Formula

When Gemini generates an image, it applies the watermark logo using this formula:

$$Pixel_{final} = (\alpha \times Pixel_{logo}) + (1 - \alpha) \times Pixel_{original}$$

Where:

  • α (Alpha): The transparency level of the watermark pixel (0.0 to 1.0).
  • Pixel_logo: The color of the watermark (Pure White / 255).
  • Pixel_original: The original color we want to recover.

2. The Solution (Reverse Engineering)

Since we know the Pixel_final (from your uploaded image), the Pixel_logo (White), and the α map (extracted from reference images), we can solve for Pixel_original:

$$Pixel_{original} = \frac{Pixel_{final} - (\alpha \times Pixel_{logo})}{1 - \alpha}$$

3. Alpha Map Extraction

The tool loads two reference "background" images (bg_48.png and bg_96.png) which contain the isolated watermark alpha values. It reads these values to construct a precise Float32Array map of transparency levels, allowing for pixel-perfect subtraction.


📂 Project Structure

The homepage tool is a Vue 3 + Vite app. All SEO/content pages (about, blog, etc.) remain static HTML in public/ and are copied verbatim into the build.

gemini-watermark-remover/
├── index.html              # Vite entry — SEO <head> + Vue mount point
├── vite.config.js
├── tailwind.config.js
├── postcss.config.js
├── src/
│   ├── main.js             # Vue bootstrap
│   ├── App.vue             # Layout + image/video tab switcher
│   ├── style.css           # Tailwind directives + custom CSS
│   ├── components/
│   │   ├── SiteHeader.vue / SiteFooter.vue / NotificationBanner.vue
│   │   ├── BeforeAfter.vue     # Drag-to-compare showcase
│   │   ├── ImageRemover.vue    # Image tool (uses original engine)
│   │   ├── VideoRemover.vue    # NEW video tool
│   │   └── SupportPopup.vue
│   └── engine/
│       ├── alphaMap.js     # Transparency value calculation
│       ├── blendModes.js   # Reverse Alpha Blending math
│       ├── watermarkEngine.js  # Image engine (asset loading & processing)
│       └── videoEngine.js  # NEW per-frame video engine (+ audio)
└── public/                 # Copied as-is to /dist
    ├── about.html, contact.html, terms.html, privacy-policy.html
    ├── blog/ …
    ├── assets/             # bg_48.png, bg_96.png, before.png, after.png, og-image.jpg
    ├── fonts/, favicons, robots.txt, sitemap.xml, llms.txt, site.webmanifest
    └── css/output.css      # Tailwind build for the static pages (generated)

🛠️ Tech Stack

  • Vue 3 (Composition API, <script setup>)
  • Vite for dev/build
  • Tailwind CSS (via PostCSS)
  • Iconify for icons, JSZip (lazy-loaded) for bulk image download.

⚡ Running Locally

npm install

# Build the Tailwind CSS for the static SEO pages once (or `npm run watch:css`)
npm run build:css

# Start the Vite dev server for the homepage tool
npm run dev

⚠️ Disclaimer

This tool is for educational and personal use only.

  • It only removes visible watermarks; it does not remove invisible SynthID watermarks embedded by Google.
  • Please respect Google's Terms of Service and Intellectual Property rights.

💖 Support This Project

This tool is free, open source, and has no ads or paywalls — and it will stay that way. If it saved you time, a small donation helps renew the domain, build new free open-source tools, and occasionally buys me a tea or a meal ☕

Support on Patreon   Donate via UPI

UPI donations work with Indian bank accounts (INR). Supporting from outside India? Patreon has you covered.

🤝 Credits

Projets similaires

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 混合算法

JavaScriptchrome-extensiongeminigemini-video-watermark-remover
GGargantuaX
5,6 k étoiles870

Remove Google Gemini 3.5 / Veo video watermarks with mathematically precise reverse alpha blending. Standalone Windows CLI — demo/preview build.

cli-appgeminigui-application
Aallenk
277 étoiles37

A privacy-first app that strips AI watermarks from content you own.

Pythonagent-skillaianthropic
Gguillaumemeyer
23 k étoiles2,6 k