🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Gemini Watermark

by @h1bomb

Remove visible Gemini AI watermarks from images via reverse alpha blending. Use for cleaning Gemini-generated images, removing the star/sparkle logo watermar...

Versionv2.1.0
Installs1
⚑ When to Use
TriggerAction
- Batch process a directory of Gemini-generated images
- Clean images before publishing or sharing
- Automate watermark removal in pipelines
πŸ’‘ Examples

Install Dependencies (one-time)

pip install Pillow numpy

Recommended: use uv for faster, isolated installs

uv pip install Pillow numpy

Requires: Python β‰₯ 3.9. No Rust toolchain, no compiled binaries, no downloads.

Basic Usage

# Single image (auto-detect watermark, save as photo_cleaned.jpg)
python3 scripts/remove_watermark.py photo.jpg

Specify output path

python3 scripts/remove_watermark.py photo.jpg -o clean_photo.jpg

Batch process directory

python3 scripts/remove_watermark.py ./input_dir -o ./output_dir

Force removal without detection

python3 scripts/remove_watermark.py photo.jpg -o clean.jpg --force

πŸ“‹ Tips & Best Practices

"No watermark detected" on a watermarked image

  • Try lowering the threshold: -t 0.1
  • Or bypass detection entirely: --force
  • Consider supplying a custom alpha map for your watermark variant
  • Image looks distorted after removal

  • The image may not have a Gemini watermark. Use detection (avoid --force)
  • Try --force-small or --force-large to match the correct size
  • Supply a custom alpha map for better precision
  • "Image too small" warning

    The image dimensions are smaller than the watermark region. This typically means the image does not have a Gemini watermark.

    ModuleNotFoundError: Pillow or numpy

    pip install Pillow numpy
    

    or

    uv pip install Pillow numpy

    View on ClawHub
    TERMINAL
    clawhub install gemini-watermark

    πŸ§ͺ Use this skill with your agent

    Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

    πŸ” Can't find the right skill?

    Search 60,000+ AI agent skills β€” free, no login needed.

    Search Skills β†’