█

AI/TLDR

Buy me a coffee
Buy me a coffee

Remove AI Watermarks

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

Media Provenance & WatermarkingOpen source
Updated
18 May 2026
Language
Python
License
Apache-2.0
$uv tool install remove-ai-watermarks

What's new

18 May 2026

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.

IN SHORT

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.

Updated Markdown version ↗

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.

bashbash
uv tool install remove-ai-watermarks

See what an image carries

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

bashbash
remove-ai-watermarks identify image.png

Strip AI metadata

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

bashbash
remove-ai-watermarks metadata image.png --remove -o clean.png

Remove a known visible mark

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

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

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.

bashbash
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

Process a directory

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

bashbash
remove-ai-watermarks video batch ./videos --mode all

Commands 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