跳到正文
cccskills
免费在 GitHub 公开

opennomark

Remove visible watermarks from user-provided or authorized images, including Gemini sparkle marks, AI-generator corner signatures, and compact high-confidence text watermarks. Use when a user asks to remove, clean, erase, or batch-process visible image watermarks, including requests containing "remove watermark", "去水印", "去除水印", or "水印去除".

中文简介正在准备中。当前显示原文说明。

集成工具Gemini
查看安装方法

包含的文件(2)

  • SKILL.md2.4 KB
  • agents/openai.yaml215 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

OpenNoMark

Use the OpenNoMark CLI as the deterministic execution layer. Preserve every source image and write cleaned files to a separate output directory.

Run

  1. Confirm that the inputs are user-provided or that the user is authorized to edit them.
  2. Resolve every requested image path. Accept PNG, JPEG, and WebP files, directories, and glob patterns.
  3. Prefer an installed opennomark executable. Otherwise run it from the official repository with uvx:
opennomark <inputs...> --output <output-directory> --json
uvx --from git+https://github.com/NanmiCoder/OpenNoMark.git opennomark <inputs...> --output <output-directory> --json
  1. Set --device cuda only when CUDA is available. Allow automatic device selection otherwise. Do not force mps; LaMa safely falls back to CPU on Apple Silicon.
  2. Parse the JSON response. Treat exit code 0 with status: "ok" as success, 1 as invalid or missing input, and 2 as a model-loading or processing failure.
  3. Report the absolute paths in results[].output, grouped by cleaned and no_watermark. Treat partial as a failure that requires review: it can mean unresolved residual evidence or that dense/tiled candidates exceeded the automatic-removal safety budget. Do not claim an image was cleaned when its status says otherwise.
  4. Inspect at least one output when visual inspection is available. For batch requests, inspect representative outputs and any low-confidence or unexpected result.

The first run can take longer because model weights are downloaded and cached. Keep the command running while downloads or inference are active.

Useful options

# Batch a directory without overwriting the originals
opennomark /path/to/images --output /path/to/cleaned --json

# Save detector boxes and masks when diagnosing a miss
opennomark /path/to/image.png --output /path/to/debug --debug --json

# Inspect the installed CLI version
opennomark --version

Use --debug only for diagnosis because it creates extra artifacts beside the cleaned output.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

报告此技能的问题