Skip to main content

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

License

Apache-2.0

Metadata

Release files for gemini-unwatermark 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gemini-unwatermark 0.1.1
File Size Uploaded
gemini_unwatermark-0.1.1.tar.gz 9.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gemini-unwatermark 0.1.1
File Interpreter ABI Platform
gemini_unwatermark-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 21.0 kB

Release files / gemini_unwatermark-0.1.1.tar.gz

Download URL gemini_unwatermark-0.1.1.tar.gz
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7923860be78b0b3c36b111ef1cce58853e4cd408c959702c915376e0eab4b508
BLAKE2b-256 checksum
How to use checksums
b22c3db0c2f23644b3613fbd034d04805b9eafa2da16866e9ca95de147cc4a62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Release files / gemini_unwatermark-0.1.1-py3-none-any.whl

Download URL gemini_unwatermark-0.1.1-py3-none-any.whl
Size 11.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
33f06aea17075eef9eaf6e5a09fc3d6b84066012b89ec88b9b9af24bf2453eae
BLAKE2b-256 checksum
How to use checksums
2b9f384c244a8cddd972e4341972a24c3cba4de5096da5be59a68809ac31b265
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page