Google Gemini Watermark Remover
Pricing
from $0.01 / actor start
Go to Apify Store
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
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Share
An Apify actor that detects and removes the Gemini watermark (4-pointed star ✦) from AI-generated images.
How it works
- Detection — Multi-scale template matching (
TM_CCOEFF_NORMEDwith alpha mask) locates the watermark in the bottom-right region of the image. - Inpainting — The watermark area is reconstructed using either LaMa (deep learning, high quality) or Telea (OpenCV, fast fallback).
Input
| Parameter | Type | Default | Description |
|---|---|---|---|
imageUrls | string[] | required | URLs of images to process |
detectionThreshold | number | 0.50 | Minimum match confidence (0–1) |
outputFormat | string | PNG | Output format: PNG, JPEG, or WEBP |
jpegQuality | number | 95 | Quality for JPEG/WEBP (1–100) |
inpaintMethod | string | auto | auto, 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.txtpython -c "import asynciofrom src.main import mainasyncio.run(main())"
With Apify CLI:
$apify run
Deploy to Apify
apify loginapify push
Docker build
$docker build -f .actor/Dockerfile -t gemini-watermark-remover .
License
MIT