Google Gemini Watermark Remover avatar

Google Gemini Watermark Remover

Pricing

from $0.01 / actor start

Go to Apify Store
Google Gemini Watermark Remover

Google Gemini Watermark Remover

Detect and remove the Gemini watermark from AI-generated images using template matching and inpainting.

Pricing

from $0.01 / actor start

Rating

0.0

(0)

Developer

Karl Goyer

Karl Goyer

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

An Apify actor that detects and removes the Gemini watermark (4-pointed star ✦) from AI-generated images.

How it works

  1. Detection — Multi-scale template matching (TM_CCOEFF_NORMED with alpha mask) locates the watermark in the bottom-right region of the image.
  2. Inpainting — The watermark area is reconstructed using either LaMa (deep learning, high quality) or Telea (OpenCV, fast fallback).

Input

ParameterTypeDefaultDescription
imageUrlsstring[]requiredURLs of images to process
detectionThresholdnumber0.50Minimum match confidence (0–1)
outputFormatstringPNGOutput format: PNG, JPEG, or WEBP
jpegQualitynumber95Quality for JPEG/WEBP (1–100)
inpaintMethodstringautoauto, telea, or lama

Output

  • Key-Value Store — Each cleaned image saved as {name}_cleaned.{format}
  • Dataset — JSON records with originalUrl, outputKey, watermarkDetected, confidence, bbox

Run locally

pip install -r requirements.txt
python -c "
import asyncio
from src.main import main
asyncio.run(main())
"

With Apify CLI:

$apify run

Deploy to Apify

apify login
apify push

Docker build

$docker build -f .actor/Dockerfile -t gemini-watermark-remover .

License

MIT