Spaces:
Sleeping
Sleeping
| title: RemoveWatermark | |
| emoji: 🧼 | |
| colorFrom: yellow | |
| colorTo: blue | |
| sdk: docker | |
| pinned: false | |
| license: mit | |
| # Watermark Remover (Hugging Face Space) | |
| A simple FastAPI + OpenCV inpainting service to remove watermarks. | |
| Deployable for free on Hugging Face Spaces using Docker. | |
| ## API | |
| Endpoint: `POST /api/remove-watermark` | |
| ### Fields (multipart/form-data) | |
| - `image`: file (required) | |
| - `mask`: file (optional) | |
| - `engine`: `opencv` (default) or `lama` | |
| - `method`: `telea` (default) or `ns` | |
| - `radius`: int (default 3, OpenCV only) | |
| - `auto_mask`: 1 or 0 (default 1) | |
| ### Example | |
| ```bash | |
| curl -X POST https://<your-space>.hf.space/api/remove-watermark \ | |
| -F image=@your_image.jpg \ | |
| -F engine=opencv -F method=telea -F radius=3 -F auto_mask=1 \ | |
| --output result.png | |
| ``` | |
| ## License | |
| MIT License | |