gemini-watermark-remover
Installation
Summary
Remove visible Gemini AI watermarks from images using reverse alpha blending.
- Provides a Python CLI tool that strips the bottom-right Gemini watermark without requiring HTML or server-side components
- Uses pre-captured watermark alpha maps (48px and 96px variants) and reverse alpha blending to reconstruct the underlying image
- Supports any image format that Pillow can read and write, with output format inferred from file extension
- Includes detailed algorithm documentation covering detection rules, math, and known limitations for understanding or modifying the removal logic
SKILL.md
Gemini Watermark Remover
Dependencies
- Python 3.9+
- Pillow (install with
pip install -r requirements.txt)
Quick start
- Install dependencies in the scripts folder:
cd skills/gemini-watermark-remover/scripts && pip install -r requirements.txt
- Run the CLI:
python remove_watermark.py <input-image> <output-image>
CLI usage
- Parameters:
input-image: path to the Gemini watermarked imageoutput-image: path for the cleaned image (format inferred from extension)
Example:
python remove_watermark.py ./in.png ./out.png
What this skill provides
scripts/remove_watermark.py: CLI entry point and core algorithm.assets/bg_48.png,assets/bg_96.png: Pre-captured watermark alpha maps.references/algorithm.md: Math, detection rules, and limits.
Workflow
- Use
remove_watermark.pyfor one-off processing. - If you need to adjust detection rules or alpha logic, read
references/algorithm.md.
Notes
- The script uses Pillow for image IO and per-pixel edits.
- Output format is inferred from the output file extension by Pillow.