wiltodelta/remove-ai-watermarks
Modular Python SDK and CLI for AI watermark and provenance processing
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
The package exposes a Python API (remove_ai_watermarks) and a file-oriented CLI (remove-ai-watermarks). It separates provenance inspection, metadata editing, localized repair, and regeneration. Keeping those stages separate lets an application inspect a file without launching diffusion, or edit metadata without touching pixels. The base install is metadata-focused; extras such as visible, video, audio, pixels, and diffusion add specific processing paths.
The visible path looks for a registered mark in its expected area, builds a mask, and fills that region with OpenCV, MI-GAN, or LaMa. Metadata handling is format-aware: JPEG edits preserve the encoded scan, while supported MP4/MOV edits blank TC260 values and keyed generation fields without changing box sizes or media offsets. The repository also ships agent skill and plugin packaging alongside server.json; these artifacts are not enough to establish the MCP transport, authentication, or hosted API contract.
Key Capabilities & Differentiators
The package covers image, video, audio, and selected text formats, but support varies by signal and operation. Visible video processing covers 23 registered marks, including layouts from Sora, Veo, and Seedance, and can selectively stream-copy GOPs. Public video checks cover VideoSeal, PixelSeal, and ChunkySeal; compatible audio paths can run decoder checks on both the source and the saved output. Text inspection and metadata operations cover signals such as C2PA wrappers, VSRMark, and Unicode steganography.
For invisible images, the default qwen-zimage profile runs Qwen-Image-2512 Lightning under Canny ControlNet, then uses SAM-masked Z-Image repair when it detects a face. The specialized Paint InvisMark API offers a smaller-footprint edit after positive identification. Video offers 2D VAE and Wan 2.1 regeneration paths. Neither a negative local inspection nor a source-classifier result establishes that a proprietary pixel watermark is absent; there is no local SynthID pixel decoder.
Trade-offs & Limitations
A dedicated metadata utility is the simpler choice for field-only edits, and a manual editor provides more control over unfamiliar visible layouts. This package earns its place when inspection, localized repair, and batch processing must share one interface. That convenience depends on coverage: unregistered layouts can be missed, and OpenCV inpainting can smear structured backgrounds. Diffusion can change faces, lettering, and fine detail even when a video profile preserves native dimensions and timing.
A verifier result on a calibrated profile is not a per-file guarantee, and a local no-signal result means unknown. Preserve originals and review representative outputs before automating a batch. Apache-2.0 applies to the package, not necessarily its model weights: qwen21-zimage uses research-licensed Qwen-Image-2.1 and is not for commercial use. Separately, check whether provenance labels must be retained for the content and jurisdiction in question.
Hardware & Deployment Guide
Install on Python 3.11–3.14. A practical deployment keeps metadata and visible workloads on CPU workers and routes invisible-image regeneration to CUDA workers with the required model weights. --cpu-offload reduces CUDA memory pressure at a speed cost; it is not CPU-only inference. Size workers against the selected model, media resolution, and concurrent jobs rather than a fixed VRAM figure. The hosted raiw.cc service includes GPU execution and charges for invisible processing and original-resolution output above 12 MP.
Version 0.76.0 promoted native-resolution, native-FPS 2D video SynthID processing as the default. Version 0.77.0 made the fps=None path preserve VFR, per-frame PTS, non-zero start_pts, and ISOBMFF terminal video durations. Version 0.78.0 added automatic 44.1 kHz DAC SynthID audio processing on the targeted video paths. Upgrade tests should therefore cover audio as well as video timing; use an explicit output path for metadata --remove to avoid overwriting the source.
_TimestampedNutWriter.video audio can process selected tracks while copying encoded video.classify-source can abstain and is not invoked by identify; neither is a local SynthID pixel detector.Teams processing owned or authorized media that need repeatable provenance inspection, format-aware edits, and optional GPU regeneration behind a Python API or CLI.
You need definitive proprietary watermark detection, pixel-identical invisible-image output, or a workflow that must retain all provenance marks and labels.
Quick Start & Installation
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 agents
Comparison vs. Top Voice, Vision & Video Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| remove-ai-watermarks ★ | 6.6k | +80 | Python | Apache-2.0 | Modular Python SDK and CLI for AI watermark and provenance processing |
| edge-tts | 12.7k | +54 | Python | — | Python SDK and CLI for Microsoft Edge's online TTS, with MP3 and SRT output |
| whisperX | 26.5k | +677 | Python | BSD-2-Clause | Batched Whisper with forced alignment for word timings and optional speaker labe |
| hypit | 32.4k | +731 | TypeScript | — | An SVML framework and CLI for turning video references into reusable workflows |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/wiltodelta/remove-ai-watermarks.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about remove-ai-watermarks
How should I integrate inspection and processing into an existing application?
remove_ai_watermarks Python API when your application needs separate inspection and processing steps, or the remove-ai-watermarks CLI for file-oriented jobs. identify does not invoke classify-source; the latter is an opt-in pixel classifier that can abstain, not a SynthID detector or proof of origin. Agent skill packaging and server.json are present, but they do not establish the MCP transport or authentication contract.Which paths need a GPU, and how should I size workers?
--cpu-offload trades GPU memory pressure for additional transfers and longer runtime. There is no fixed VRAM requirement established here; test the selected model at representative resolutions and concurrency.Does the Apache-2.0 license cover commercial self-hosting of every profile?
qwen21-zimage profile uses Qwen-Image-2.1 under a research license that excludes commercial use. Check the terms of each selected model separately, and retain original provenance where disclosure or audit rules require it. Self-hosting does not change those obligations.When is this preferable to a metadata tool or manual inpainting?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy