remove-ai-watermarks
An MCP server that exposes the remove-ai-watermarks CLI for inspecting AI provenance and removing visible, invisible, and metadata watermarks from images, video, audio, and text files.
Identify provenance and watermarks in images, video, audio, and text, including C2PA/EXIF/XMP/IPTC/TC260 metadata, visible labels, text marks, and supported audio/video watermark detectors.
Classify likely AI provider and model version from image pixels without treating it as provenance.
Remove watermarks from a single file in metadata, visible, or all modes, with presets such as lossless-fast, balanced, and deep-clean.
Batch-clean directories of images, video, audio, or mixed media into separate output directories.
Check or strip AI metadata from images, video, audio, and text while aiming to leave coded media data untouched.
Remove known visible AI marks from images and videos, or erase user-specified regions in images/videos with inpainting and optional tracking.
Attempt invisible image watermark removal via diffusion regeneration, with CUDA-only profiles and controls for strength, tiling, CPU offload, vendor, seeds, and metadata stripping.
Process video pixels with profiles for SynthID, Seedance, and Wan experimental regeneration, optionally preserving native FPS and stabilizing temporally.
Inspect and clean compatible audio watermarks, including audio tracks embedded in video, with verification and explicit force/override options.
Identify or remove experimental public VideoSeal, PixelSeal, and ChunkySeal video messages when an independent encoder message is supplied.
Identify and strip text provenance such as C2PA wrappers, VSRMark bindings, and Unicode steganography, and optionally regenerate prose for token-watermark removal using local or Ollama backends.
Draft OCR manifest lines for later human verification and verified-text restoration.
Emit JSON reports for many commands and expose fine-grained CLI-style tools for advanced media processing.
Supports removing visible Veo marks, disrupting Google SynthID invisible watermarks in video, and classifying Google source-export images.
Removes the visible Google Gemini sparkle watermark from images generated by Gemini.
Supports removing visible Sora watermarks from video and classifying OpenAI source-export images.
Remove AI Watermarks
Remove AI provenance marks from images, video, and audio you generated yourself:
known visible labels such as the Google Gemini sparkle watermark and vendor text marks;
invisible pixel watermarks through direct local-format disruption or diffusion regeneration;
compatible public audio watermarks, with source and saved-output decoder checks;
C2PA, EXIF, XMP, IPTC, and related AI metadata.
Before | After |
|
|
uv tool install "remove-ai-watermarks[visible]" # CLI for visible marks and metadata
npx skills add wiltodelta/remove-ai-watermarks # agent skill for Claude Code, Codex, Cursor, and other agentsVideo support covers provenance identification, complete visible-plus-metadata cleaning, directory batches, visible Sora, Veo, Seedance, Doubao, Dola, Hailuo AI, and Kling AI mark removal, and oracle-certified VAE regeneration for video SynthID removal.
raiw.cc runs this library as a hosted service, with the GPU included and nothing to install. Visible mark and metadata removal at Standard output up to 12 MP are free there; original resolution above 12 MP and invisible watermark removal are paid. Project page · by Victor Kuznetsov.
This is a research project on AI provenance signals, for lawful use on content you own. It is provided as is, without warranty or liability, and each user is responsible for how they use it. It does not target stock agency previews or other watermarks that protect third party paid content. Some jurisdictions, including China, restrict removing AI labels or supplying tools that do. See scope, safety, and legal notes.
Choose what you want to do
Goal | Command | GPU |
Find provenance signals and watermarks |
| No |
Classify likely AI provider and model version from pixels (opt-in, not provenance) |
| No |
Remove known visible AI marks |
| No |
Erase a region you select |
| No |
Strip AI metadata |
| No |
Identify supported video provenance |
| No |
Inspect audio metadata and compatible public-model evidence |
| No |
Strip AI metadata from audio |
| No |
Process a detected compatible audio watermark and verify the saved file ( |
| No |
Strip AI metadata and optionally clean compatible audio watermarks |
| No |
Process one or all audio tracks ( |
| No |
Remove visible marks, AI metadata, and opt-in video/audio invisible marks |
| Depends on |
Strip AI metadata from video |
| No |
Remove a registered visible AI mark from video |
| No |
Erase user-specified |
| No |
Process a directory of videos |
| Depends on mode |
Detect or disrupt public VideoSeal/PixelSeal/ChunkySeal video marks |
| Optional |
Regenerate video pixels ( |
| Recommended |
Identify C2PA text/HTML wrappers, |
| No |
Strip C2PA text/HTML wrappers, |
| No |
Regenerate unlocked prose for best-effort token-watermark removal |
| Recommended |
Strip text provenance and optionally regenerate prose spans |
| Depends on |
Regenerate an image to disrupt invisible watermarks |
| Required (CUDA) |
Run visible, invisible, and metadata removal |
| Recommended |
Process a directory |
| Depends on mode |
Install remove-ai-watermarks[text] for the default local Transformers text
rewriter and its packaged language checker. Local text regeneration also supports
optional Apple silicon MLX models through
remove-ai-watermarks[text-mlx] and
--rewriter-backend mlx --rewriter-model /path/to/checkpoint.
An explicitly configured API rewriter is available through the
Python API with
remove-ai-watermarks[text-api]. The same extra connects the CLI to a
locally served Ollama model. Review generated prose for factual fidelity.
See the text CLI.
Experimental public VideoSeal, PixelSeal, and ChunkySeal video checks and processing
use video message.
Known-message checks and processing require an independently known encoder
message; video message detect is a blind presence check. Neither certifies
arbitrary unknown marks or provider deployments.
Microsoft Paint and Photos InvisMark declarations are routed automatically to
pixel regeneration. The all command removes both the hidden pixel watermark and
its linked C2PA manifest; metadata stripping alone removes only the manifest. A
specialized Python API can inspect and disrupt the validated local
Watermarker.dll payload without diffusion.
Related MCP server: AI Image Metadata Cleaner
Installation modes
Need | Install |
Metadata inspection and stripping |
|
10-provider source-export & model-version classification |
|
Visible detection and removal |
|
Visible video processing |
|
Public VideoSeal/PixelSeal/ChunkySeal checks |
|
Video SynthID removal |
|
Audio sample processing and spectral disruption |
|
Compatible public audio watermark detection (AudioSeal) |
|
Neural audio codec resynthesis (EnCodec / FocalCodec / DAC) |
|
Torch-free DWT-DCT detection |
|
Direct local Paint InvisMark disruption |
|
Invisible image removal (needs CUDA) |
|
Production removal and default classifier backends |
|
Optional OCR proposals for operator verification |
|
Lower-level and specialized extras include pixels, heif, trustmark,
migan, lama, diffusion, source-classify, audio-vocoder,
audio-wavmark, audio-perth, and audio-silentcipher. The
installation guide documents their exact
dependency composition, Python compatibility, and model requirements.
Quick start
Install the metadata-focused default CLI:
uv tool install remove-ai-watermarksInspect an image:
remove-ai-watermarks identify image.pngFor an abstaining, CPU-only 10-provider source-export and model-version
classifier from pixels after metadata removal (classify_source and CLI
classify-source), install source-classify. identify never runs it, and it
is not a SynthID detector:
uv tool install --force "remove-ai-watermarks[source-classify]"
remove-ai-watermarks classify-source image.pngimport remove_ai_watermarks as raiw
result = raiw.classify_source("image.png")
print(result.label, result.version_subfamily, result.synthetic_detected, result.confidence)Guide: source-pipeline classification. Model card and weights: wiltodelta/raiw-source-classify on Hugging Face and GitHub.
Signed provenance is the supported route for SynthID and identify reads it.
There is no local SynthID pixel detector in the package. Research on a
periodic lattice expert is in scripts/synthid_runtime/ and
synthid-detector-research.md.
For visible watermark removal, install the pixel dependencies:
uv tool install --force "remove-ai-watermarks[visible]"Then remove a known visible mark and AI metadata:
remove-ai-watermarks visible image.png -o clean.pngStrip metadata without running visible inpainting or diffusion:
remove-ai-watermarks metadata image.png --remove -o clean.pngWithout -o this command overwrites the source in place.
Inspect or remove AI metadata from an MP4, MOV, M4V, WebM, MKV, AVI, or FLV file:
remove-ai-watermarks video metadata input.mp4 --check
remove-ai-watermarks video metadata input.mp4 --remove -o clean.mp4The video metadata command does not transcode video or audio streams. Unlike
the image command above, when -o is omitted it writes <source>_clean and
preserves the original. MP4 and MOV
inspection includes the native TC260 AIGC tag in
moov.udta.meta.keys/ilst, including a moov placed after the media payload,
plus the QuickTime-form meta variants Doubao's iOS export writes (a bare
meta box as a direct moov child, and a keyless hdlr=mdir metadata list).
Keyed workflow and prompt entries in the same metadata-list structure are
also detected and removed, including ComfyUI exports.
MKV and WebM inspection reads the normative
Segment.Tags.Tag.SimpleTag placement. AVI uses LIST/INFO/AIGC, while FLV
uses script.onMetaData.AIGC. The non-ISOBMFF formats are remuxed with stream
copy for removal.
Use the product-oriented video path to identify or clean a file:
uv tool install --force "remove-ai-watermarks[video]"
remove-ai-watermarks video identify input.mp4
remove-ai-watermarks video all input.mp4 -o clean.mp4video identify also names invisible watermark hints from metadata and provider
policy. These are separate from pixel detection and per-file removal verification.
video all removes a stable registered visible mark when present and always
strips verified AI metadata. If neither signal is found, it still writes a
same-container passthrough, so application callers get one predictable output
contract. Proprietary invisible-video removal is excluded by default:
--invisible opts into the lossy, oracle-certified video SynthID profile (with motion-compensated temporal stabilization enabled by default and --keep-fps to retain native frame rate), and --audio-invisible inspects and cleans compatible watermarked audio tracks in the same atomic pipeline.
Process a directory with the same contract:
remove-ai-watermarks video batch ./videos --mode allRemove a supported visible video mark:
remove-ai-watermarks video visible input.mp4 -o clean.mp4
remove-ai-watermarks video visible veo.mp4 --mark veo -o veo_clean.mp4
remove-ai-watermarks video visible seedance.mp4 --mark seedance -o seedance_clean.mp4
remove-ai-watermarks video visible dola.mp4 --mark dola -o dola_clean.mp4
remove-ai-watermarks video visible hailuo.mp4 --mark hailuo -o hailuo_clean.mp4
remove-ai-watermarks video visible kling.mp4 --mark kling -o kling_clean.mp4This path scans the complete sequence before changing pixels. It accepts only a
mark that repeats at a stable position across adjacent frames, then reuses the
same OpenCV, MI-GAN, or LaMa fill backends as image removal. Audio is copied
without re-encoding and is allowed to reach its natural end; the video stream
is transcoded because its pixels change. By default, a guarded optical-flow
pass motion-aligns the preceding accepted fill and blends it only when the
nearby source context agrees; use --no-temporal-consistency to disable it.
The encoder preserves supported 8-bit and 10-bit HDR (yuv420p10le, bt2020nc,
smpte2084/arib-std-b67) source chroma sampling, color tags, and MP4/MOV track timescale instead
of relying on ffmpeg's implicit raw-BGR defaults. Variable frame intervals are
preserved through a timestamped in-memory NUT bridge instead of being flattened
to the average frame rate. Non-zero source start timestamps are retained
together with the copied audio offset. The default --mark auto
scans all providers in one decode pass and selects the first stable match in
the specificity order shown below. Valid Google AI-video provenance breaks a
Sora/Veo cross-match in favor of Veo when the diamond is nested in the Sora
region or Veo persists through the complete clip while Sora does not.
Pass an explicit mark to restrict detection to one provider.
Sora covers the moving Sora 2 mascot, with or without the wordmark; mascot-only
matches also require the complete two-eye shape. Veo covers both the current
four-point diamond and the legacy Veo text. Seedance covers the fixed boxed
AI label, Dola covers the fixed Dola AI text, Hailuo AI covers the composite
MINIMAX | hailuo AI label, and Kling AI covers the bottom-right KLING AI or
KlingAI label with its version suffix. A completed encode is published
atomically. No output is written when no stable mark is found.
Unsupported pixel formats are rejected before encoding rather than silently
reduced to 8-bit SDR.
Apply the calibrated video-pixel SynthID-removal profile:
uv tool install --force "remove-ai-watermarks[video,diffusion]"
remove-ai-watermarks video invisible input.mp4 -o clean.mp4This path regenerates the complete sequence with one latent-noise field shared
across time, copies complete audio, strips source metadata, and publishes the
completed encode atomically. The default noise_std=0.15 profile passed both
the two-carrier calibration and a complete public eight-second Veo oracle
check. Google does not publish a local decoder, so a fresh provider check
remains useful for unusually important files or after provider changes, but it
is not a product result state. The CLI therefore describes video-pixel
regeneration instead of claiming a per-file SynthID verdict, and reports the
copied audio watermark as UNVERIFIED.
For invisible watermark removal through the CLI or high-level API, install the
qwen-zimage extra. An NVIDIA GPU is required: all diffusion profiles are
CUDA-only, and there is no CPU or MPS fallback. The specialized local Paint API
uses the pixels extra without CUDA.
uv tool install --force "remove-ai-watermarks[qwen-zimage]"
remove-ai-watermarks invisible image.png -o clean.pngIf the local detectors cannot confirm an invisible watermark but you know the
image came from an AI generator, add --force:
remove-ai-watermarks invisible image.png -o clean.png --forceTypography-heavy images can opt into the experimental verified-text post-pass. It accepts manually reviewed strings and line boxes or an operator-verified geometry-only manifest; it never treats raw OCR output as ground truth or runs automatically:
uv tool install --force "remove-ai-watermarks[text-restoration]"
remove-ai-watermarks invisible image.png -o clean.png \
--text-manifest verified-lines.json --forceSee the CLI guide for the manifest schema, compatibility restrictions, and oracle caveats.
See the installation guide for Homebrew, uv, optional features, and development setup.
Examples
Visible Gemini mark
The after raster at the top of this page is generated from the tracked before
raster by the public path:
uv run remove-ai-watermarks visible demo_banana_before.png \
--backend cv2 -o demo_banana_after.pngHigh quality invisible removal
qwen-zimage is the default profile: a Qwen-Image-2512 Lightning pass under Canny
ControlNet, followed by SAM-masked Z-Image repair of any detected face. The
alternative, sdxl-zimage, swaps the global stage for SDXL and keeps the same face
stage. chroma-zimage uses the Apache-2.0 Chroma1 global pass with its own flat
vendor floors; see docs/chroma1-engine-research.md for the calibration. An opt-in
profile, qwen21-zimage, swaps the global stage for Qwen-Image-2.1 (with
madebyollin/texture-fix-vae-for-qwen-image-2.1 and Qwen-Image-2.1-Fun-Controlnet-Union
Canny); because Qwen/Qwen-Image-2.1 is released under the Qwen Research License,
qwen21-zimage is for non-commercial research, evaluation, and personal use only
(not for commercial use). --pipeline auto picks sdxl-zimage for Google,
chroma-zimage for Microsoft, and qwen-zimage otherwise, keeping auto commercial-safe.
All are CUDA only.
Since 0.57.0, qwen21-zimage includes bounded geometric alignment by default after the shared
Qwen-2.1 global and face stages, accepting a result only when both source MSE and local LPIPS improve.
It retains the Qwen Research License restrictions. Qualified text geometry can
be supplied through the Python API; the CLI does not run automatic OCR. See
the fidelity profile for limits and fallback behavior.
uv tool install --force "remove-ai-watermarks[qwen-zimage]"
remove-ai-watermarks invisible image.png -o clean.png --forceOpenAI example before | OpenAI example after |
|
|
Gemini example before | Gemini example after |
|
|
These exact output files were checked with the matching provider verifiers. That result applies to these files, not to every seed, image, or future watermark version.
Common recipes
Remove every detected visible mark
remove-ai-watermarks visible image.png -o clean.pngThe default --mark auto checks all registered visible marks and removes every
match. If the mark is visible to you but the detector misses it, select its
region explicitly:
remove-ai-watermarks erase image.png \
--region 1640,1930,400,100 \
-o clean.png--region uses x,y,width,height and may be repeated.
Use a learned fill backend
The visible extra uses OpenCV inpainting when no learned backend is installed.
For more difficult backgrounds, the learned-backend extras include the same
pixel dependencies automatically:
uv tool install --force "remove-ai-watermarks[migan]"
remove-ai-watermarks visible image.png -o clean.png --backend miganuv tool install --force "remove-ai-watermarks[lama]"
remove-ai-watermarks visible image.png -o clean.png --backend lamaReduce CUDA memory use
remove-ai-watermarks invisible image.png -o clean.png \
--cpu-offload --forceCPU offload lowers CUDA memory pressure by moving model components between CPU and GPU, at the cost of speed.
Process a directory
remove-ai-watermarks batch ./images --mode visible
remove-ai-watermarks batch ./images --mode allWhat the tool can recognize
Visible mark support includes:
Google Gemini and Nano Banana visible sparkle watermark;
Doubao, the Jimeng wordmark and top-left
AI生成layouts, Qwen, Kling AI, Yuanbao, Dola, WorkBuddy, Baidu, LiblibAI's bottom-center wordmark and compact top-left pill, and RunningHub labels;calibrated Microsoft top-right white and beige AI-badge layouts;
calibrated Italian and Korean Samsung Galaxy AI disclosures;
a generic brand-less bottom-right
AI生成fallback for OS/gallery-level AI-edit stamps that carry no vendor wordmark of their own (vivo and Xiaomi Gallery confirmed); synthetic-only calibration, weaker evidence than the vendor-tuned detectors above;the OpenArt wordmark, placed at the frame center rather than a corner; uncalibrated (one confirmed real case, no captured corpus).
Metadata and provenance inspection covers C2PA, EXIF, XMP, IPTC, common generator parameters in image and video containers, China TC260 AIGC labels, and several vendor specific signals. Optional decoders add support for open DWT-DCT watermarks and Adobe TrustMark.
The exact support matrix, including important locale and detector limits, lives in supported signals. The synthetic example gallery carries one canonical sample for every registered image and video mark.
How it works
Visible removal follows three steps:
Detect a registered mark in its expected area.
Build a mask around the mark.
Fill only the masked region with OpenCV, MI-GAN, or LaMa.
Metadata removal uses format aware stripping. JPEG metadata removal preserves the encoded image scan instead of recompressing it. Native MP4/MOV TC260 values and keyed generation parameters are blanked without changing box sizes or media offsets. Other supported containers use their corresponding metadata path.
Invisible removal through the CLI and high-level API regenerates the image through a diffusion pipeline. Specialized callers can instead decode and disrupt the positively identified local Microsoft Paint format with much smaller pixel changes. Neither path can guarantee that every proprietary verifier will reject every output.
See supported signals and known limitations for the full technical boundary.
Python API
The visible-removal API requires remove-ai-watermarks[visible].
import remove_ai_watermarks as raiw
result, removed = raiw.remove_visible("watermarked.png", "clean.png")
print(removed)
report = raiw.remove_visible_detailed("watermarked.png", "clean.png")
print(report.status) # cleaned | partial | unvalidated | no_watermark
complete = raiw.remove_all("watermarked.png", "clean.png")
print(complete.visible_status, complete.visible_marks)
images = raiw.remove_batch("images", "images_clean", mode="visible")
for item in images.items:
print(item.source, item.visible_status, item.visible_marks)
provenance = raiw.identify_video("input.mp4")
report = raiw.inspect_video_metadata("input.mp4")
complete = raiw.remove_video_all("input.mp4", "clean.mp4")
print(complete.visual_invisible_action, complete.audio.watermark_status)
batch = raiw.remove_video_batch("videos", "videos_clean")
cleaned = raiw.remove_video_metadata("input.mp4")
synthid_cleaned = raiw.remove_video_invisible("input.mp4", "synthid_clean.mp4")
auto_cleaned = raiw.remove_video_invisible(
"input.mp4", "auto_clean.mp4", profile="auto"
) # routes ByteDance/Seedance vs SynthID and prefers CUDA Wan 2.1 when available
seedance_experiment = raiw.remove_video_seedance_experimental(
"owned-label-cleaned.mp4", "seedance_clean.mp4", quality="delivery"
) # experimental pixel reconstruction; handle visible labels first
seedance_complete = raiw.remove_video_all(
"input.mp4", "seedance-clean.mp4",
include_invisible=True, invisible_profile="seedance-experimental",
) # supported visible removal, then experimental reconstruction
wan_synthid = raiw.remove_video_wan_experimental(
"owned-veo.mp4", "veo_wan_clean.mp4", profile="wan21-synthid-experimental"
) # optional CUDA 3D Wan 2.1 video diffusion at native resolution (multi-window >193 frames)
print(synthid_cleaned.visual_invisible_action, synthid_cleaned.audio.watermark_status)
visible = raiw.remove_video_visible("input.mp4", "clean.mp4")
print(visible.mark)
veo = raiw.remove_video_visible("veo.mp4", "veo_clean.mp4", mark="veo")
seedance = raiw.remove_video_visible(
"seedance.mp4",
"seedance_clean.mp4",
mark="seedance",
)
dola = raiw.remove_video_visible("dola.mp4", "dola_clean.mp4", mark="dola")The high level API accepts a file path or a BGR NumPy array. For path inputs it also reads provenance metadata, preserves alpha, and can strip AI metadata from the written result.
See the Python API guide for visible removal, the full
remove_all and remove_batch pipeline, provenance inspection, metadata
stripping, and diffusion usage.
Agent skill
Coding agents can install the published skill and drive this CLI:
npx skills add wiltodelta/remove-ai-watermarksClaude Code can add this repository as a plugin marketplace:
/plugin marketplace add wiltodelta/remove-ai-watermarks
/plugin install remove-ai-watermarks@remove-ai-watermarksCodex reads the same skill through .codex-plugin/plugin.json, Cursor through .cursor-plugin/plugin.json, and Gemini CLI through gemini-extension.json.
The skill refuses stock-agency and other third-party paid-asset marks. See
the agent skill guide.
MCP server
remove-ai-watermarks mcp serves identify, remove, batch, and one tool per
CLI command as Model Context Protocol tools over stdio, each a thin wrapper
around one CLI command:
{"mcpServers": {"remove-ai-watermarks": {"command": "uvx", "args": ["--python", "3.12", "--with", "remove-ai-watermarks[all,text-draft]", "remove-ai-watermarks", "mcp"]}}}See the MCP server guide.
ComfyUI
The separate ComfyUI Remove AI Watermarks package provides nodes for visible removal, detection, region erasing, and invisible removal.
Important limitations
A missing local signal means unknown, not clean. Proprietary pixel watermarks may remain after metadata has been stripped. What each path leaves behind lists, per command, what may remain and how to check it.
Visible removal reconstructs a small region. Results depend on the background and selected fill backend.
Invisible removal changes the whole image and may alter faces, text, or fine detail.
Visible video removal recognizes the moving Sora 2 wordmark, the current Veo diamond plus legacy
Veotext, the Seedance boxedAIlabel, and the fixed Doubao, Dola, Hailuo AI, Vidu, and Kling AI labels. It does not recognize the older Sora Turbo corner swirl or unregistered layouts from those providers. The classical OpenCV backend can smear structured backgrounds; use MI-GAN or LaMa when recovery quality matters.Video SynthID regeneration changes resolution, frame rate, and image detail. The shipped profile is oracle-certified, but no public local decoder can certify an arbitrary output at runtime. Recheck unusually important outputs after provider changes.
Invisible-watermark removal through the CLI and high-level API requires CUDA. All diffusion profiles refuse any other device at construction rather than falling back to one that cannot run them. The specialized local Paint API, visible removal, metadata stripping and
identifyrun without CUDA.Provider watermark systems can change. Validate important outputs with the provider's own verifier when one is available.
The shipped video invisible command uses the certified noise_std=0.15
profile. The companion scripts/video_synthid_sweep.py research harness builds
a matched re-encode control plus VAE-regenerated candidates and leaves the
verifier verdict blank:
uv run --extra video --extra diffusion python scripts/video_synthid_sweep.py input.mp4 -o sweep/To score what an output actually cost, use scripts/video_fidelity_probe.py:
the engine's own PSNR is measured after the input resize and before final
encoding, so only the probe sees the delivered picture.
uv run --extra video python scripts/video_fidelity_probe.py input.mp4 input_clean.mp4The control must still be SynthID-positive before a negative candidate can
count as removal evidence. In the 2026-07-29 two-clip calibration, both matched
controls were positive in Gemini's built-in SynthID verifier; the stronger
candidate was negative on both carriers, while a weaker candidate was
negative on one. A later adversarial follow-up that asked ordinary Gemini to
reinterpret the pixel result returned UNAVAILABLE; that follow-up was not a
verifier rerun and does not invalidate the built-in verdicts. A 2026-07-31
full-clip check on a public eight-second Veo sample found 0.10 still detected
and 0.15 not detected, so 0.15 is now the certified default. The
reproducible hashes and verdicts for that full-clip check -- one carrier, two
rows -- live in data/evaluations/video-synthid-oracle.csv. The earlier
two-clip calibration is narrative only: its verdicts were not recorded in a
tracked manifest, so treat the certified default as resting on the 2026-07-31
rows.
Documentation
Start with the documentation index.
Research notes and historical experiments are listed separately in the documentation index. They explain past decisions but do not define the current public API.
Contributing
Install the development environment and run the project gate:
uv sync --frozen --extra dev
bash maintain.shSee module internals before changing a subsystem with documented invariants. Report vulnerabilities as described in SECURITY.md.
License
Apache 2.0. Copyright 2025-2026 wiltodelta.
Made by Victor Kuznetsov.
Available Tools
37 toolsapi_draft_textdraft text for verificationC
Propose OCR manifest lines. Every accepted proposal still requires human verification.
Inputs: source (required), stable, min_score.
audio_identifyCRead-only
Inspect audio metadata and named compatible public-model evidence. Read-only.
Inputs: path (required), scheme, stream, check_invisible.
audio_invisibleC
Process one audio track to WAV, FLAC, MP3, M4A, OGG, or Opus. Default publication requires a compatible source positive under the requested models and a fully negative saved output. Force permits explicitly unverified results.
Inputs: path (required), force, method, output, +9 more.
batchRemove AI watermarks from a directoryA
Clean every supported image (media=image), video (media=video), or audio file (media=audio) in a directory the user owns, writing results to a separate directory (default _clean). Modes match the remove tool (for video, use cli_video_batch when opt-in invisible regeneration is needed).
Inputs: directory (required), mode, media, preset, +1 more.
cli_allallA
Remove ALL watermarks: visible + invisible + metadata.
Runs the full pipeline in order:
1. Visible watermark removal (Gemini sparkle / text marks, localize -> fill)
2. Invisible watermark removal (SynthID etc., diffusion regeneration)
3. AI metadata stripping (EXIF, PNG text, C2PA)
If invisible watermark deps are not installed, skips step 2 with a warning.
Inputs: source (required), seed, tile, force, +18 more.
cli_audio_allaudio allB
Remove AI metadata and optionally clean compatible audio watermarks.
Inputs: source (required), force, method, output, +12 more.
cli_audio_batchaudio batchC
Process every supported audio file in a directory.
Inputs: directory (required), mode, force, method, +12 more.
cli_audio_identifyaudio identifyC
Inspect a selected audio track with compatible optional decoders.
Inputs: source (required), scheme, stream, as_json, +1 more.
cli_audio_invisibleaudio invisibleC
Apply an audio processing profile, keeping verification explicit.
Inputs: source (required), force, method, output, +10 more.
cli_audio_metadataaudio metadataB
Check or remove AI metadata without re-encoding audio samples.
Inputs: source (required), check, output, remove, +2 more.
cli_batchbatchC
Process all supported media files (images, videos, audio, text) in a directory.
Inputs: directory (required), mode, seed, tile, +17 more.
cli_classify_sourceclassify-sourceA
Classify an image's likely AI provider and model version from pixels.
Runs the abstaining 10-provider source-pipeline classifier and stacked
Stage-2 version head. This is not provenance and does not detect or verify
SynthID. identify never starts this command.
Install: pip install 'remove-ai-watermarks[source-classify]'
Inputs: source (required), as_json.
cli_eraseeraseA
Erase arbitrary region(s) from an image or video via inpainting.
Universal and position-agnostic: removes any logo / watermark / object inside
the boxes you pass, regardless of color or location. Runs on CPU. Use this
for marks the dedicated ``visible`` registry does not cover.
Inputs: source (required), regions (required), track, dilate, +6 more.
cli_identifyidentifyA
Identify where an image was made and what watermarks it carries.
Aggregates supported C2PA, IPTC, EXIF, XMP, generator, visible-mark, and optional invisible-watermark signals into one provenance verdict. Absence of signals is reported as "unknown", never as "clean" because stripped metadata leaves no local proof.
Inputs: source (required), as_json, no_visible.
cli_invisibleinvisibleB
Attempt to disrupt invisible AI watermarks through pixel regeneration.
Regenerates the pixels with the two-stage diffusion profile. CUDA-only:
pip install 'remove-ai-watermarks[qwen-zimage]'
Inputs: source (required), seed, tile, force, +15 more.
cli_metadatametadataA
Check or remove AI-generation metadata (images, video, and audio).
Strips EXIF AI tags, PNG text chunks, C2PA provenance manifests, and the China TC260 AIGC label. Beyond images (PNG/JPEG/WebP/AVIF/HEIF/JXL) it also strips provenance metadata from MP4/MOV/M4V/M4A containers and, via ffmpeg, from WebM/MKV/MKA/AVI/FLV/MP3/WAV/FLAC/OGG/OGA/Opus/AAC. The coded image, audio, and video data are left untouched.
Inputs: source (required), check, output, remove, +1 more.
cli_text_alltext allC
Strip deterministic text provenance and optionally regenerate prose spans.
Inputs: source (required), seed, output, invisible, +5 more.
cli_text_identifytext identifyC
Identify C2PA text/HTML wrappers, VSRMark soft bindings, and Unicode steganography in text.
Inputs: source (required), as_json.
cli_text_invisibletext invisibleC
Remove statistical token watermarks by regenerating unlocked prose spans.
Inputs: source (required), seed, output, ollama_url, +4 more.
cli_text_metadatatext metadataB
Check or remove C2PA text/HTML wrappers, VSRMark soft bindings, and Unicode steganography.
Inputs: source (required), check, output, remove.
cli_video_allvideo allC
Remove stable visible marks, AI metadata, and optional pixel/audio marks from video.
Inputs: source (required), fps, mark, seed, +23 more.
cli_video_audiovideo audioC
Process one or all audio tracks while preserving encoded video and untouched tracks.
Inputs: source (required), force, method, output, +12 more.
cli_video_batchvideo batchC
Process every supported video in a directory.
Inputs: directory (required), fps, mark, mode, +23 more.
cli_video_erasevideo eraseC
Erase user-directed (x,y,w,h) region(s) from a video across all or selected frames.
Inputs: source (required), regions (required), track, dilate, +6 more.
cli_video_identifyvideo identifyC
Identify supported provenance and visible AI marks in video.
Inputs: source (required), audio, as_json, no_visible, +1 more.
cli_video_invisiblevideo invisibleC
Regenerate video pixels with an explicitly selected profile.
Inputs: source (required), fps, seed, device, +9 more.
cli_video_message_detectvideo message detectA
Check a video for blind VideoSeal, PixelSeal, or ChunkySeal presence without a known hex key.
Inputs: source (required), scheme, as_json.
cli_video_message_identifyvideo message identifyA
Compare all video frames with an independently known encoder message.
Inputs: source (required), reference (required), scheme, as_json.
cli_video_message_removevideo message removeC
Process a known target, verifying the delivered file before publication.
Inputs: source (required), reference (required), force, device, +7 more.
cli_video_metadatavideo metadataB
Check or remove AI metadata without transcoding video streams.
Inputs: source (required), check, output, remove, +2 more.
cli_video_visiblevideo visibleC
Remove a temporally stable visible AI wordmark from video.
Inputs: source (required), mark, output, as_json, +4 more.
cli_visiblevisibleA
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``.
Inputs: source (required), mark, detect, output, +3 more.
identifyIdentify AI provenanceARead-only
Report which AI provenance signals an image, video, audio, or text file carries: metadata (C2PA, IPTC, EXIF, TC260), visible AI-generator labels, deterministic text marks, and supported local invisible-watermark decoders. Read-only. Media type is detected by file suffix.
Inputs: path (required), check_audio, check_visible.
removeRemove AI watermarks from one fileA
Write a cleaned copy of an image, video, audio, or text file the user generated or edited. mode=metadata strips AI metadata without touching pixels or re-encoding audio/video; mode=visible also removes a known visible AI label on images or videos; mode=all adds the invisible-watermark scrub for images (when extras and CUDA allow), compatible public-decoder audio (audio all --invisible), and text (text all), while for video it runs visible+metadata cleaning only (use cli_video_all for opt-in video/audio invisible regeneration). The source is never overwritten; the default output is _clean beside it.
Inputs: path (required), mode, output, preset.
video_audioB
Process one selected audio track (or all source-positive tracks with all_streams=true) inside a video, copying other encoded streams. Outputs MKV/MOV with float PCM or MP4 with selected-track AAC (target 192 kbps). Visual marks and untouched audio tracks remain unchanged. Default publication requires compatible source-positive and final-mux-negative checks for the requested models.
Inputs: path (required), force, method, output, +10 more.
video_message_identifyARead-only
Experimental known-message correlation under pinned public VideoSeal, PixelSeal, or ChunkySeal models. Requires an independently known encoder message. Does not identify AI origin or unknown marks. Read-only, checks every decoded frame.
Inputs: path (required), reference (required), scheme.
video_message_removeB
Experimental known-message correlation under pinned public VideoSeal, PixelSeal, or ChunkySeal models. Requires an independently known encoder message. Does not identify AI origin or unknown marks. Writes a processed video after saved-file checks; copies audio and reports delivered quality.
Inputs: path (required), reference (required), force, device, +6 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 37 tools
Many tools overlap heavily: identify vs cli_identify vs media-specific identify variants, and remove/batch/cli_* all perform similar cleanup with slightly different scopes. Descriptions differentiate media and CLI wrappers somewhat, but an agent can easily misselect between duplicate-purpose tools.
Names are mostly snake_case but follow inconsistent conventions: some use cli_ prefixes, some omit them, and verbs/nouns are mixed (identify, audio_identify, cli_video_all, video_audio). The many parallel cli_ and non-cli variants make the pattern unpredictable.
37 tools is excessive for the apparent scope, largely because CLI wrappers and aggregate pipelines duplicate media-specific operations. The domain is broad, but the surface is heavy and redundant rather than well-scoped.
The set covers identify, metadata, visible/invisible removal, erase, batch, and media-specific workflows across image, video, audio, and text. Coverage is broad, with only minor gaps around verification/dependency management and clearer consolidated operations.
Maintenance
Related MCP Connectors
Inspect and remove C2PA content credentials from AI-generated images, video and audio. Free, no key.
Inspect and strip EXIF, XMP, IPTC, C2PA, PDF info, and Word properties.
Remove GPS, device details, dates and AI labels from video, PDF, RAW and photo files.
Rules and code for marking AI images, video and audio with C2PA and watermarks
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables reading and verifying C2PA Content Credentials from images and videos through both embedded manifests and invisible watermarks. Supports direct filesystem access, URL checking, and provides structured provenance data including creator identity, AI generation info, and content authenticity.2MIT
- AlicenseAqualityCmaintenanceEnables removal of AI provenance metadata and invisible watermarks from images, and injection of realistic camera EXIF profiles to make them appear as authentic photography.6MIT
- AlicenseAqualityBmaintenanceEnables AI agents to analyze images from a URL, local path, or Base64 string and determine whether they are AI-generated, including detection of signatures from Flux, Midjourney, DALL·E, and Stable Diffusion. Also inspects cryptographic C2PA provenance manifests, signing certificate authorities, and camera EXIF metadata without requiring API keys or accounts.276 npmMIT
- AlicenseNot gradedqualityBmaintenanceLets AI assistants inspect a photo's shooting history and copy EXIF/XMP/IPTC/ICC metadata from untouched originals onto AI-edited images, including batch processing of two folders and listing supported formats. All of this runs locally over stdio through natural-language requests.MIT





