visible
cli_visibleRemove known visible AI watermarks from images by detecting registered marks, localizing each to a mask, and filling it with an inpainting backend. Use erase for arbitrary logos.
Instructions
Remove a known visible AI watermark from an image.
Finds registered marks in their expected areas and removes them by localizing
each mark to a mask, then filling that mask with the selected ``--backend``.
``--mark auto`` removes every detected registry entry in one pass. Run
``--help`` to see the current mark keys. For arbitrary logos and objects, use
``erase``.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"source": "<source>"
},
"name": "cli_visible"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mark | No | Which known visible mark to target (auto picks every detected mark). The fill backend is chosen by --backend (default auto). | auto |
| detect | No | Detect watermark before removal. | |
| output | No | Output path (default: <source>_clean.<ext>). | |
| source | Yes | source | |
| backend | No | Fill backend for visible-mark removal (localize -> fill). auto: best available, LaMa > MI-GAN > cv2 (a learned backend needs the 'lama' or 'migan' extra; else cv2, with a warning). cv2: classical inpaint (no model download, smears texture). migan: MI-GAN ONNX (light, ~1 GB, the memory-tight pick). lama: big-LaMa ONNX (best quality, ~4.7 GB). | auto |
| sensitivity | No | How hard to trust a borderline mark. auto: relax a mark only when metadata or a same-product sibling mark corroborates it (safe; clean images untouched). strict: high-precision visual gate only, never relaxed. To act on a mark YOU can see but the detector missed, use 'erase --region' or '--mark <name> --no-detect' rather than a blanket relaxation. | auto |
| strip_metadata | No | Strip AI metadata from output. |