# Remove AI Watermarks

> Inspect and strip AI provenance marks from your own images and video

- Category: Multimodal Generation / Media Provenance & Watermarking
- Language: Python
- Licence: Apache-2.0
- Repository: https://github.com/wiltodelta/remove-ai-watermarks
- Website: https://raiw.cc
- Canonical page: https://ai-tldr.dev/tools/remove-ai-watermarks/
- Updated: 2026-05-18

## In short

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.

1. Install the CLI

   The README installs the tool with uv.

```bash
uv tool install remove-ai-watermarks
```

2. See what an image carries

   `identify` reads signed provenance and metadata and never starts the optional pixel classifier.

```bash
remove-ai-watermarks identify image.png
```

3. Strip AI metadata

   Without `-o` this command overwrites the source in place, so pass an output path when you want to keep the original.

```bash
remove-ai-watermarks metadata image.png --remove -o clean.png
```

4. Remove a known visible mark

   Visible detection and inpainting live behind the `visible` extra.

```bash
uv tool install --force "remove-ai-watermarks[visible]"
remove-ai-watermarks visible image.png -o clean.png
```

5. Work 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.

```bash
uv tool install --force "remove-ai-watermarks[video]"
remove-ai-watermarks video identify input.mp4
remove-ai-watermarks video all input.mp4 -o clean.mp4
```

6. Process a directory

   Batch mode applies the same contract across a folder; whether it needs a GPU depends on the mode you pick.

```bash
remove-ai-watermarks video batch ./videos --mode all
```

## 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

## Version history

- 2026-05-18: Reached the Hacker News front page at 292 points, a day after OpenAI added SynthID to its image API. The README ships a regulatory warning covering EU and US provenance law and limits the project to content you own.
