What is Remove AI Watermarks?
Remove AI Watermarks is a Python command-line tool and library for the provenance signals that generative-AI products attach to their output. It sits in the Media Provenance & Watermarking category of the Multimodal Generation tools and is open-source, written in Python and licensed Apache-2.0. To get started: install the CLI.
Overview
Remove AI Watermarks is a Python command-line tool and library for the provenance signals that generative-AI products attach to their output. It handles three separate layers: visible labels such as the Gemini sparkle mark and vendor text marks, embedded metadata (C2PA, EXIF, XMP, IPTC and related AI tags), and invisible pixel watermarks, which it disrupts by regenerating the image through a diffusion model.
The commands are split by what they touch, so you can start with the cheapest operation and only escalate when you need to. `identify` reports which provenance signals a file carries and needs no GPU; `metadata` strips the tags; `visible` inpaints a known visible mark; `invisible` runs the CUDA-only diffusion regeneration path; and `all` combines them. A parallel `video` command family covers the same ground for MP4, MOV, M4V, WebM, MKV, AVI and FLV, including the TC260 AIGC tags Chinese video generators write into the container.
Installation is split into extras (`[visible]`, `[video]`, `[diffusion]`, `[classify]`, and more) so a metadata-only install stays small and torch-free. The README scopes the project to lawful use on content you own, points at a legal-and-safety document covering EU and US provenance rules, and states that it does not target stock-agency previews or other marks protecting third-party paid content.
What it does
- `identify` reports the provenance signals in a file — visible marks, C2PA manifests, EXIF/XMP/IPTC AI tags — with no GPU required
- Visible-mark removal by inpainting (MI-GAN, LaMa and related backends) for registered vendor marks
- Invisible pixel-watermark disruption through diffusion regeneration on CUDA, with Microsoft InvisMark declarations routed there automatically
- Video support: provenance identification, visible-plus-metadata cleaning, directory batches, and an opt-in oracle-certified SynthID profile
- Container-level metadata handling for MP4/MOV (including the TC260 AIGC tag), MKV/WebM Segment tags, AVI LIST/INFO and FLV onMetaData
- Optional-extras packaging so a metadata-only install pulls no pixel or torch dependencies
Getting started
The default install is the metadata-focused CLI. Add extras when you need pixel work. Every command below is from the project README.
Install the CLI
The README installs the tool with uv.
uv tool install remove-ai-watermarksSee what an image carries
`identify` reads signed provenance and metadata and never starts the optional pixel classifier.
remove-ai-watermarks identify image.pngStrip AI metadata
Without `-o` this command overwrites the source in place, so pass an output path when you want to keep the original.
remove-ai-watermarks metadata image.png --remove -o clean.pngRemove a known visible mark
Visible detection and inpainting live behind the `visible` extra.
uv tool install --force "remove-ai-watermarks[visible]"
remove-ai-watermarks visible image.png -o clean.pngWork on video
`video identify` reports what a file carries; `video all` removes a registered visible mark when present and always strips verified AI metadata, writing a same-container passthrough when neither signal is found.
uv tool install --force "remove-ai-watermarks[video]"
remove-ai-watermarks video identify input.mp4
remove-ai-watermarks video all input.mp4 -o clean.mp4Process a directory
Batch mode applies the same contract across a folder; whether it needs a GPU depends on the mode you pick.
remove-ai-watermarks video batch ./videos --mode allCommands and code are distilled from the project's own documentation — always check the official repo for the latest.
When to use it
- Audit your own generated media to find out exactly which provenance signals a model or product attached to it
- Clean EXIF, XMP and C2PA metadata out of images you generated before publishing them, without re-encoding the pixels
- Remove a vendor's visible label from your own renders while leaving the rest of the frame untouched
- Batch-inspect a directory of exported video to check which files carry AIGC container tags
