AI-Powered Watermark Removal Tool using Florence-2 and LaMA Models
🇬🇧 English | 🇫🇷 Français | 🇨🇳 中文 | 🇯🇵 日本語 | 🇧🇷 Português | 🧠 Brainrot
WatermarkRemover-AI is a cutting-edge application that leverages AI models for precise watermark detection and seamless removal. Perfect for removing watermarks from AI-generated videos like Sora, Sora 2, Runway, and others.
It uses Florence-2 for watermark identification and LaMA for inpainting to fill in the removed regions naturally. The software features a modern web-based GUI accessible from your browser — runs on Windows, Google Colab, and Vercel.
- Smart Detection — AI-powered watermark detection using Florence-2
- Seamless Removal — LaMA inpainting for natural-looking results
- Video Support — Process videos with two-pass detection and audio preservation
- AI Video Ready — Remove watermarks from Sora, Sora 2, Runway, and other AI-generated videos
- Batch Processing — Handle entire folders at once
- Preview Mode — Preview detected watermarks before processing
- Fade In/Out Handling — Extend masks for watermarks that fade in/out
- GPU Acceleration — CUDA support for faster processing
- Multi-Language UI — English, French, Chinese, Japanese, Portuguese, and Brainrot
- 8 Themes — Brainrot, Slay Queen, Sigma Grindset, WitchTok, Korpo Baddie, Coquette, Windows XP, Anime Kawaii
- Multi-Platform — Windows localhost, Google Colab (free GPU), and Vercel
Requires Python 3.10+ installed (check "Add Python to PATH" during installation).
git clone https://github.com/imsovikde/WatermarkRemover-AI.git
cd WatermarkRemover-AISetup (one-time):
Double-click setup.bat
Run:
Double-click run.bat
Opens http://localhost:5000 in your browser automatically.
The easiest way to run — no setup needed, free T4 GPU included.
- Click the "Open in Colab" badge above
- Set runtime to T4 GPU (
Runtime → Change runtime type) - Run all 4 cells in order
- Click the ngrok URL that appears to open the web interface
git clone https://github.com/imsovikde/WatermarkRemover-AI.git
cd WatermarkRemover-AI
chmod +x setup.sh run.sh
./setup.sh # one-time setup
./run.sh # start servernpm i -g vercel
vercelNote: Vercel serves the UI preview only. AI processing requires a local server or Google Colab due to model size (~2GB).
- Run the app (
run.baton Windows,./run.shon Linux/macOS, or use Colab) - Open
http://localhost:5000in your browser - Select your preferred language and theme from the dropdown menus
- Drag & drop images/videos or click to upload
- Configure settings (detection threshold, prompt, etc.)
- Hit Start Processing
- Download the processed files
# Basic usage
python remwm.py input.png output_folder/
# With options
python remwm.py ./images ./output --overwrite --max-bbox-percent=15 --force-format=PNG
# Process video with two-pass detection
python remwm.py video.mp4 ./output --detection-skip=3 --fade-in=0.5 --fade-out=0.5
# Preview mode (detect without processing)
python remwm.py input.png --preview| Option | Description |
|---|---|
--overwrite |
Overwrite existing files |
--transparent |
Make watermark regions transparent (images only) |
--max-bbox-percent |
Max detection size as % of image (default: 10) |
--force-format |
Force output format (PNG, WEBP, JPG, MP4, AVI) |
--detection-prompt |
Custom detection prompt (default: "watermark") |
--detection-skip |
Detect every N frames for videos (1-10, default: 1) |
--fade-in |
Extend mask backwards by N seconds |
--fade-out |
Extend mask forwards by N seconds |
--preview |
Preview detected watermarks without processing |
- Supported formats: MP4, AVI, MOV, MKV, FLV, WMV, WEBM
- Audio preservation: Requires FFmpeg installed
- Two-pass mode: Faster processing with
--detection-skip> 1 - Fade handling: Use
--fade-in/--fade-outfor watermarks that appear/disappear gradually
| Platform | Command |
|---|---|
| Windows | Download from ffmpeg.org, add to PATH |
| Linux | sudo apt install ffmpeg |
| macOS | brew install ffmpeg |
| Component | Technology |
|---|---|
| Watermark Detection | Florence-2 (Microsoft) |
| Inpainting | LaMA (Large Mask Inpainting) |
| Web Server | Flask |
| Frontend | Alpine.js + Tailwind CSS |
| Deep Learning | PyTorch (CUDA) |
| Deployment | Windows / Google Colab / Vercel |
Contributions are welcome! Feel free to:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Please read our Code of Conduct before contributing.
This project is licensed under the MIT License — see the LICENSE file for details.
Copyright © 2025 Souvik Dey
Souvik Dey
- GitHub: @imsovikde
Made with ❤️ by Souvik Dey
