Remove watermarks from Gemini-generated images using LaMa inpainting
Project description
gemini-unwatermark
Fast CLI to remove watermarks from Google Gemini-generated images using AI inpainting.
Installation
pip install gemini-unwatermark
Or run directly without installing:
uvx gemini-unwatermark image.png
For GPU acceleration (CUDA):
pip install "gemini-unwatermark[gpu]"
Requirements: Python 3.10-3.13
Usage
# Single image
gemini-unwatermark image.png
# Custom output
gemini-unwatermark image.png -o clean.png
# Batch processing
gemini-unwatermark *.png -d ./cleaned/
# Parallel (8 workers)
gemini-unwatermark photos/*.jpg -d ./output -w 8
Options
| Option | Description |
|---|---|
-o, --output |
Output path (single image only) |
-d, --output-dir |
Output directory for batch |
-f, --force |
Overwrite existing files |
-q, --quiet |
Suppress progress output |
-w, --workers |
Parallel workers (1-8, default: 4) |
--model-path |
Custom ONNX model path |
How it works
Uses LaMa (Large Mask Inpainting) to intelligently fill the watermark region in the bottom-right corner of Gemini images.
The model (~200MB) auto-downloads on first use to ~/.cache/gemini-unwatermark/.
Disclaimer
This tool only removes the visible watermark. It does not remove SynthID, Google's invisible watermarking technology embedded in the image data.
Credits
- Original Chrome extension: dinoBOLT/Gemini-Watermark-Remover
- LaMa ONNX model: Carve/LaMa-ONNX
License
Apache-2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gemini_unwatermark-0.1.1.tar.gz.
File metadata
- Download URL: gemini_unwatermark-0.1.1.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7923860be78b0b3c36b111ef1cce58853e4cd408c959702c915376e0eab4b508
|
|
| MD5 |
5af7d53270fdf8fdd2a0e48f3b77ce7f
|
|
| BLAKE2b-256 |
b22c3db0c2f23644b3613fbd034d04805b9eafa2da16866e9ca95de147cc4a62
|
File details
Details for the file gemini_unwatermark-0.1.1-py3-none-any.whl.
File metadata
- Download URL: gemini_unwatermark-0.1.1-py3-none-any.whl
- Upload date:
- Size: 11.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33f06aea17075eef9eaf6e5a09fc3d6b84066012b89ec88b9b9af24bf2453eae
|
|
| MD5 |
33b59cae87bf0a6c8fe0d7f4e2b8c592
|
|
| BLAKE2b-256 |
2b9f384c244a8cddd972e4341972a24c3cba4de5096da5be59a68809ac31b265
|