gemini-watermark-remover  by GargantuaX

Client-side tool for lossless Gemini AI watermark removal

Created 3 months ago
3,611 stars

Top 13.4% on SourcePulse

GitHubView on GitHub
Project Summary

A client-side JavaScript tool addresses the removal of Gemini AI watermarks from images, targeting users and developers seeking a privacy-first, mathematically precise solution for cleaning AI-generated visuals. It offers lossless watermark removal directly in the browser without data transmission, providing a significant benefit over AI inpainting methods.

How It Works

The engine employs a mathematically exact Reverse Alpha Blending algorithm. By capturing the watermark on a known background, it reconstructs the precise alpha map and applies the inverse compositing formula: original = (watermarked - α * logo) / (1 - α). This approach guarantees lossless restoration, unlike heuristic or AI-based methods, and includes intelligent auto-detection for 48x48 or 96x96 watermark variants with validation checks.

Quick Start & Requirements

  • Online Demo: pilio.ai/gemini-watermark-remover offers a free, no-install browser experience.
  • Userscript: Install via Tampermonkey/Greasemonkey for automatic watermark removal on Gemini conversation pages.
  • Development: Requires Node.js and pnpm (pnpm install, pnpm dev).
  • Browser Compatibility: Chrome 90+, Firefox 88+, Safari 14+, Edge 90+ supporting ES6 Modules, Canvas API, Async/Await, and TypedArrays.
  • SDK: Available for third-party integrations.

Highlighted Details

  • 100% client-side processing ensures data privacy and zero server-side interaction.
  • Leverages a precise Reverse Alpha Blending algorithm for accurate watermark removal.
  • Features intelligent auto-detection for common Gemini watermark sizes (48x48, 96x96).
  • Offers a user-friendly drag-and-drop interface and an SDK for programmatic use.

Maintenance & Community

The project includes release notes in CHANGELOG.md and a release checklist in RELEASE.md. No specific community channels (e.g., Discord, Slack) or prominent maintainer details are listed in the README.

Licensing & Compatibility

The core Reverse Alpha Blending method and watermark masks are based on © 2024 AllenK's work, licensed under the MIT License. The repository's overall license is not explicitly stated but is likely permissive given the MIT base. Compatibility for commercial use is generally implied by MIT, though a legal disclaimer advises caution.

Limitations & Caveats

This tool exclusively targets visible Gemini watermarks and does not address invisible or steganographic watermarks. It is designed for Gemini's watermark patterns as of 2025 and may encounter issues with variations, corrupted formats, or edge cases. Users are advised to disable fingerprint defender extensions and proceed at their own risk, as per the provided disclaimer.

Health Check
Last Commit

1 day ago

Responsiveness

Inactive

Pull Requests (30d)
2
Issues (30d)
11
Star History
431 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.