能力标签
去除AI水印工具
🛠
AI工具

去除AI水印工具

基于 Python · 开源免费,本地部署,数据完全自主可控
英文名:remove-ai-watermarks
⭐ 3.1k Stars 🍴 272 Forks 💻 Python 📄 Apache-2.0 🏷 AI 7.5分
7.5AI 综合评分
installableaiai-watermarkc2paclicomfyuipython
✦ AI Skill Hub 推荐

AI Skill Hub 推荐使用:去除AI水印工具 是一款优质的AI工具。已获得 3.1k 颗 GitHub Star,AI 综合评分 7.5 分,在同类工具中表现稳健。如果你正在寻找可靠的AI工具解决方案,这是一个值得深入了解的选择。

📚 深度解析

去除AI水印工具 是一款基于 Python 的开源工具,在 GitHub 上收获 3k+ Star,是installable、ai、ai-watermark、c2pa领域中的优质开源项目。开源工具的最大优势在于代码完全透明,你可以审计每一行代码的安全性,也可以根据自身需求进行二次开发和定制。

**为什么要使用开源工具而非商业 SaaS?**
对于个人开发者和有隐私需求的用户,本地部署的开源工具意味着数据不离本机,不受第三方服务商的数据政策约束。同时,开源工具通常没有使用次数限制和月度费用,一次安装即可长期使用,对于高频使用场景的总拥有成本(TCO)远低于订阅制商业工具。

**安装与环境准备**
去除AI水印工具 依赖 Python 运行环境。建议通过 pyenv(Python)或 nvm(Node.js)管理 Python 版本,避免全局环境污染。对于新手用户,推荐先创建虚拟环境(python -m venv venv && source venv/bin/activate),再安装依赖,这样即使出现问题也可以随时删除虚拟环境重新开始,不影响系统稳定性。

**社区与维护**
GitHub Issue 和 Discussion 是获取帮助的最快渠道。在提问前建议先检查 Closed Issues(已关闭的问题),大多数常见问题都已有解答。遇到 Bug 时,提供 pip list 的输出、完整错误堆栈和最小可复现示例,能显著提高开发者响应速度。AI Skill Hub 将持续追踪 去除AI水印工具 的版本更新,及时通知重要功能变化。

📋 工具概览

AI水印去除器,CLI和Python库,去除可见和不可见AI水印。

去除AI水印工具 是一款基于 Python 开发的开源工具,专注于 installable、ai、ai-watermark 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。

GitHub Stars
⭐ 3.1k
开发语言
Python
支持平台
Windows / macOS / Linux
维护状态
持续维护,定期更新
开源协议
Apache-2.0
AI 综合评分
7.5 分
工具类型
AI工具
Forks
272

📖 中文文档

以下内容由 AI Skill Hub 根据项目信息自动整理,如需查看完整原始文档请访问底部「原始来源」。

AI水印去除器,CLI和Python库,去除可见和不可见AI水印。

去除AI水印工具 是一款基于 Python 开发的开源工具,专注于 installable、ai、ai-watermark 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。

📌 核心特色
  • 开源免费,支持本地部署,数据完全自主可控
  • 活跃的 GitHub 开源社区,持续迭代更新
  • 提供详细文档和使用示例,新手友好
  • 支持自定义配置,灵活适配不同使用环境
  • 可作为基础组件集成进现有技术栈或进行二次开发
🎯 主要使用场景
  • 本地部署运行,保护数据隐私,满足合规要求
  • 自定义集成到现有系统,扩展技术栈能力
  • 作为开源基础组件进行商业化二次开发
以下安装命令基于项目开发语言和类型自动生成,实际以官方 README 为准。
安装命令
# 方式一:pip 安装(推荐)
pip install remove-ai-watermarks

# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate  # Windows: .venv\Scripts\activate
pip install remove-ai-watermarks

# 方式三:从源码安装(获取最新功能)
git clone https://github.com/wiltodelta/remove-ai-watermarks
cd remove-ai-watermarks
pip install -e .

# 验证安装
python -c "import remove_ai_watermarks; print('安装成功')"
📋 安装步骤说明
  1. 访问 GitHub 仓库页面
  2. 按照 README 文档完成依赖安装
  3. 根据系统环境完成初始化配置
  4. 参考官方示例或文档开始使用
  5. 遇到问题可在 GitHub Issues 中查找解答
以下用法示例由 AI Skill Hub 整理,涵盖最常见的使用场景。
常用命令 / 代码示例
# 命令行使用
remove-ai-watermarks --help

# 基本用法
remove-ai-watermarks input_file -o output_file

# Python 代码中调用
import remove_ai_watermarks

# 示例
result = remove_ai_watermarks.process("input")
print(result)
以下配置示例基于典型使用场景生成,具体参数请参照官方文档调整。
配置示例
# remove-ai-watermarks 配置文件示例(config.yml)
app:
  name: "remove-ai-watermarks"
  debug: false
  log_level: "INFO"

# 运行时指定配置文件
remove-ai-watermarks --config config.yml

# 或通过环境变量配置
export REMOVE_AI_WATERMARKS_API_KEY="your-key"
export REMOVE_AI_WATERMARKS_OUTPUT_DIR="./output"
📑 README 深度解析 真实文档 完整度 90/100 查看 GitHub 原文 →
以下内容由系统直接从 GitHub README 解析整理,保留代码块、表格与列表结构。

Remove-AI-Watermarks

Remove visible and invisible AI watermarks from images generated by Google Gemini (Nano Banana), ChatGPT / DALL-E, Stable Diffusion, Adobe Firefly, Midjourney, and other AI models.

Strips SynthID, C2PA Content Credentials, EXIF/XMP "Made with AI" labels, and visible sparkle overlays — all in one command.

## Try it online: raiw.cc No Python, no GPU, no setup. Visible-watermark and metadata removal are free. Invisible-watermark removal (SynthID / SDXL regeneration) normally needs a local GPU and ~2 GB of models. On raiw.cc it runs on cloud GPUs in one click for a small per-image fee.

PyPI Python Downloads License Tests Sponsor

If this tool saves you time, consider sponsoring its development.

Intended for lawful use only. Publishing and running this software is lawful; responsibility for any downstream use, and for compliance with local law, rests entirely with the user. Some jurisdictions restrict removing an AI label as such (see Legal). The authors do not condone use for deception, fraud, or any unlawful activity.

Features

  • Visible watermark removal — a registry of known marks in their usual places: the Gemini / Nano Banana sparkle, the Doubao "豆包AI生成" text strip, the Jimeng "★ 即梦AI" wordmark, and the Samsung Galaxy AI "✦ Contenuti generati dall'AI" strip (bottom-left, locale-specific). Each is removed by reverse-alpha blending against a captured alpha map (original = (wm − α·logo)/(1−α)), recovering the true pixels rather than inpainting a guess. The Gemini sparkle recovers cleanly on its own on bright backgrounds; it adapts the alpha to each image's sparkle opacity, so a more-opaque-than-captured sparkle is still fully removed (and on a dark background, where the fixed alpha would over-subtract and leave a dark spot, it automatically inpaints the small sparkle footprint instead); the Doubao, Jimeng, and Samsung text marks re-rasterize slightly per image, so a thin residual inpaint over the glyph footprint clears the leftover edges (the alpha maps are reproducibly rebuilt from controlled captures by scripts/visible_alpha_solve.py). Fast, offline, no GPU. visible --mark auto finds and removes the strongest detected mark. (For arbitrary logos/objects, see erase.)
  • Universal region eraser (erase) — remove any logo / watermark / object inside boxes you specify, regardless of position or colour. Default cv2 inpainting (CPU, instant); optional big-LaMa via onnxruntime (lama extra) for higher quality
  • Invisible watermark removal — SynthID, StableSignature, TreeRing via diffusion-based regeneration (needs a local GPU, or run it with no setup on raiw.cc)
  • AI metadata stripping — EXIF, PNG text chunks, C2PA provenance manifests (PNG / JPEG / AVIF / HEIF / JPEG-XL, MP4 / MOV / M4V / M4A at the container level, and WebM / MP3 / WAV / FLAC / OGG losslessly via ffmpeg), XMP DigitalSourceType
  • "Made with AI" label removal — removes the AI-disclosure metadata that platforms read to apply automatic labels (useful for clearing a false-positive label from a human-edited photograph)
  • Analog Humanizer — optional film grain and chromatic aberration post-processing
  • Text and face preservation (default) — the default pipeline is a canny ControlNet that keeps text and face structure sharp through the removal pass (without copying original pixels, so SynthID is still removed). Use --pipeline sdxl for plain SDXL img2img (lighter, no extra model download) on inputs without text or faces. Canny preserves face structure, not identity (the regenerated face drifts in likeness). The library does not ship a face-restore extra: every approach evaluated (GFPGAN-on-cleaned, PhotoMaker-V2, InstantID txt2img, InstantID img2img-on-cleaned) regenerated the face via SDXL and made the output look more AI-generated than the cleaned image. The cleaned controlnet output is the least-AI face state achievable without re-introducing SynthID.
  • Batch processing — process entire directories
  • Detection — three-stage NCC watermark detection with confidence scoring
  • Provenance detection (identify) — aggregate C2PA issuer, the C2PA soft-binding forensic-watermark vendor (Adobe TrustMark, Digimarc, Imatag, ...), IPTC "Made with AI" plus the IPTC 2025.1 AISystemUsed field, embedded SD/ComfyUI params, EXIF/XMP generator tags, the xAI/Grok EXIF signature, the China TC260 AIGC label (XMP, PNG chunk, or EXIF), the HuggingFace hf-job-id job marker, the SynthID metadata proxy, the visible marks (Gemini sparkle plus the Doubao "豆包AI生成" / Jimeng "即梦AI" / Samsung Galaxy AI "Contenuti generati dall'AI" text marks), the open SD/SDXL/FLUX invisible watermark, and (with the trustmark extra) the open Adobe TrustMark watermark into one origin-platform + watermark-inventory verdict (--json for machine output)

Install with dev dependencies (pytest, ruff, pyright)

pip install -e ".[dev]"

Invisible watermark only (SynthID etc.) — requires GPU

remove-ai-watermarks invisible image.png -o clean.png --humanize 4.0 --unsharp 0.5

Requirements

  • Python ≥ 3.10
  • Visible removal / metadata: CPU only, no GPU required
  • Invisible removal: GPU recommended (CUDA or MPS), works on CPU (slow)

Installation

Install from repository

Prerequisites: Python 3.10+ and pip (or uv).

```bash

2. Install the package in editable mode

pip install -e .

Install certifi (the tool auto-detects it)

pip install certifi

macOS only: run the Python certificate installer

/Applications/Python\ 3.*/Install\ Certificates.command ```

First run is slow — this is expected. The tool downloads model weights (~2 GB) on first launch. Subsequent runs use cached models.

Examples

Before (Watermarked)After (Cleaned)
![Before](demo_banana_before.png)![After](demo_banana_after.png)

Usage

Optional: set a HuggingFace token for gated/private models

cp .env.example .env

Edit .env and set HF_TOKEN=hf_your_token_here


#### Developer setup
bash

Python API

```python from remove_ai_watermarks.gemini_engine import GeminiEngine import cv2

engine = GeminiEngine() image = cv2.imread("watermarked.png")

Supported models

AI modelVisible watermarkInvisible watermarkMetadataOur approach
**Google Gemini / Nano Banana / Gemini 3 Pro**✅ Sparkle logo✅ SynthID v1 + v2 (default SDXL pipeline, native resolution)✅ C2PA + EXIFAlpha reversal + diffusion + metadata strip
**OpenAI DALL-E 3 / ChatGPT**✅ C2PA manifestMetadata strip
**OpenAI ChatGPT Images 2.0** (gpt-image-2)✅ SynthID + content-specific pixel watermark (since May 2026; no local decoder, openai.com/verify oracle)✅ C2PA manifest (verified)Diffusion regeneration + metadata strip
**Stable Diffusion / SDXL (AUTOMATIC1111, ComfyUI)**✅ DWT-DCT (imwatermark — locally detectable)✅ PNG text chunksDiffusion regeneration + metadata strip
**Black Forest Labs FLUX**✅ DWT-DCT (imwatermark — locally detectable)✅ C2PA (FLUX.2 Pro)Diffusion regeneration + metadata strip
**Adobe Firefly**✅ Content Credentials (C2PA)Metadata strip
**Stability AI** (DreamStudio / Stable Image)✅ C2PA ("Stability AI Ltd")Metadata strip
**Microsoft Designer / Bing Image Creator**✅ SynthID via DALL-E backend (Designer)✅ C2PA (Bing runs MAI-Image, signed "Microsoft")Metadata strip
**xAI Grok (Aurora)**✅ EXIF signature scheme (no C2PA): Signature: blob + UUID ArtistDetected (identify); metadata strip
**Midjourney**✅ EXIF + XMP (prompt, model, seed)Metadata strip
**Meta AI**✅ IPTC "Made with AI" (digitalSourceType)Metadata strip (removes the label)
**Doubao** (ByteDance) / China AIGC generators✅ "豆包AI生成" text strip (bottom-right)✅ TC260 AIGC label (<TC260:AIGC> XMP, AIGC PNG chunk, or EXIF JSON) **+ C2PA** signed by ByteDance Volcano Engine (volcengine)Reverse-alpha (captured α map) + thin residual inpaint, NCC-aligned across resolutions, + metadata strip
**Jimeng / Dreamina** (即梦AI, ByteDance)✅ "★ 即梦AI" wordmark (bottom-right)✅ TC260 AIGC label + C2PA (Volcano Engine)Reverse-alpha (captured α map) + residual inpaint over the glyph footprint, NCC-aligned across resolutions, + metadata strip
**Samsung Galaxy AI** (Generative Edit, Sketch to Image, ...)✅ "✦ Contenuti generati dall'AI" strip (bottom-left, locale-specific)✅ C2PA (signer "Samsung Galaxy") + trainedAlgorithmicMedia / proprietary genAIType markerReverse-alpha (captured α map) + thin residual inpaint, NCC-aligned across resolutions, + metadata strip
**Black Forest Labs** (FLUX API)✅ C2PA (Black Forest Labs API + c2pa.ai_generated_content + trainedAlgorithmicMedia)Metadata strip
**StableSignature** (Meta)✅ In-model watermarkDiffusion regeneration
**TreeRing**✅ Latent space watermarkDiffusion regeneration
Visible overlays are used by Google Gemini / Nano Banana (sparkle logo), by ByteDance's Doubao ("豆包AI生成" corner text) and Jimeng / Dreamina ("★ 即梦AI" wordmark), and by Samsung Galaxy AI ("✦ Contenuti generati dall'AI" strip, bottom-left, locale-specific). All are removed on CPU by reverse-alpha against a captured alpha map (Jimeng and Samsung add a thin residual inpaint over the glyph footprint, since their marks re-rasterize per image). Other services rely on invisible watermarks and/or metadata; our diffusion-based regeneration works against any invisible watermark in pixel or frequency domain. For a visible mark from any other source (any position, any colour), use the universal erase --region command.
Detection: remove-ai-watermarks identify <image> reports the origin platform and watermark inventory for all the signals above — C2PA issuer, the C2PA soft-binding forensic-watermark vendor (TrustMark / Digimarc / Imatag / ...), IPTC "Made with AI" plus the IPTC 2025.1 AISystemUsed field, the China TC260 AIGC label (XMP, PNG chunk, or EXIF), the HuggingFace hf-job-id job marker, embedded generation params, EXIF/XMP generator tags, the xAI/Grok EXIF signature, the SynthID metadata proxy, the visible marks (Gemini sparkle plus the Doubao "豆包AI生成" / Jimeng "即梦AI" / Samsung Galaxy AI "Contenuti generati dall'AI" text marks), and (with the [detect] / [trustmark] extras) the open SD/SDXL/FLUX and Adobe TrustMark invisible watermarks. SynthID and the proprietary soft-binding watermarks (Digimarc etc.) have no local decoder, so they are reported by metadata proxy / vendor name only.

for both pipelines); override with --strength. controlnet (text/face

structure preservation) is the default pipeline; --pipeline sdxl opts down

--pipeline/...); --adaptive-polish is on by default (--no-adaptive-polish to disable)

remove-ai-watermarks batch ./images/ --mode all ```

pipeline: "controlnet" (default, preserves text/face structure) or "sdxl" (plain).

Troubleshooting

SSL certificate error (CERTIFICATE_VERIFY_FAILED):

```bash

🎯 aiskill88 AI 点评 A 级 2026-06-10

该工具提供了一个简单易用的API,去除AI水印的功能比较强大,但仍需要进一步优化和测试。

⚡ 核心功能

👥 适合人群

AI 技术爱好者研究人员和学生开发者和工程师技术创业者

🎯 使用场景

  • 本地部署运行,保护数据隐私,满足合规要求
  • 自定义集成到现有系统,扩展技术栈能力
  • 作为开源基础组件进行商业化二次开发

⚖️ 优点与不足

✅ 优点
  • +Apache-2.0 协议,可免费商用
  • +完全开源免费,无授权费用
  • +本地部署,数据完全自主可控
  • +开发者社区支持,遇问题可查可问
⚠️ 不足
  • 安装和初始配置可能需要一定技术基础
  • 功能完整性通常不如成熟商业产品
  • 技术支持主要依赖开源社区,响应速度不稳定
⚠️ 使用须知

AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。

建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。

📄 License 说明

✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。

🔗 相关工具推荐

🧩 你可能还需要
基于当前 Skill 的能力图谱,自动补全的工具组合

❓ 常见问题 FAQ

请参阅README文件
💡 AI Skill Hub 点评

总体来看,去除AI水印工具 是一款质量良好的AI工具,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。

📚 深入学习 去除AI水印工具
查看分步骤安装教程和完整使用指南,快速上手这款工具
🌐 原始信息
原始名称 remove-ai-watermarks
原始描述 开源AI工具:AI watermark remover. CLI and Python library to strip visible and invisible AI w。⭐3.1k · Python
Topics installableaiai-watermarkc2paclicomfyuipython
GitHub https://github.com/wiltodelta/remove-ai-watermarks
License Apache-2.0
语言 Python
🔗 原始来源
🐙 GitHub 仓库  https://github.com/wiltodelta/remove-ai-watermarks 🌐 官方网站  https://raiw.cc

收录时间:2026-06-10 · 更新时间:2026-06-10 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。