AI Watermark Margin
БесплатноЗапускает вложенные скриптыНе проверенDrop the in-image watermark/signature that an AI image editor stamps on YOUR OWN ai-generated or ai-edited pictures, deterministically — by adding a blank…
от catsmansion230 установок в других каталогахОб этом скилле
AI Watermark Margin Drop
What this solves
AI image editors (image-to-image / inpainting tools, online generators) often stamp a small watermark, signature, or "made with X" text on the output — usually along an edge (most commonly the bottom). It looks cheap and you'd rather not have it baked into the file, even though you still disclose AI use separately.
This is a self-developed, deterministic technique (no model, no inpainting, no copyright-watermark removal):
Pad the canvas with a blank margin before sending the image to the AI; the generator drops its watermark into that margin; crop the margin off after the edit → the watermark is gone with zero reconstruction artifacts.
Workflow (3 steps)
- Pad. Run
add_margin.pyon your source image to add a ~10% blank (white) margin, typically at the bottom (where watermarks land). This is the image you hand to the AI. - Edit. Send the padded image to the AI editor / generator. Its watermark/signature lands in the blank margin instead of on your content.
- Crop. Run
crop_margin.pyon the AI output. It auto-detects the uniform blank border and crops it away, taking the watermark with it.
Scripts
add_margin.py (the "pad" step)
python scripts/add_margin.py input.png output.png --percent 10 --side bottom --color white
--percent N: margin thickness as % of the relevant dimension (default 10).--side:bottom(default),top,uniform,left,right.--color:white(留白, default) orblack(黑边). Hex like#000000also accepted.
crop_margin.py (the "drop" step)
python scripts/crop_margin.py ai_output.png cleaned.png
# dry-run to see detected margins without writing:
python scripts/crop_margin.py ai_output.png --report
- Auto-detects the uniform-color border (the margin you added) and crops all four sides.
--tol N: color tolerance for "is this border?" (default 12).--min-frac F: fraction of a row/column that must be border color (default 0.90).--max-percent P: safety cap — never crop more than P% per side (default 30).--fallback N: if detected border < N% per side, crop a fixed N% bottom margin instead.--report: print detected left/top/right/bottom crops, write nothing.
Ethics & compliance
- ✅ This removes only the generator's own visual watermark/signature from images you generated or edited with AI.
- ✅ It is not a tool for removing third-party copyright watermarks from stock/licensed media — don't do that.
- ⚠️ You remain responsible for disclosing AI use per each platform's rules. This technique only cleans the in-file stamp for aesthetics; keep your "AI-generated" labeling separate and compliant.
When NOT to use
- The watermark is baked into the content (not in a blank margin) → padding won't help; use a different method.
- You need to keep the margin for composition → don't crop.
- The image is someone else's copyrighted work with a rights watermark → do not use.
Tested backfires (don't retry)
- Adding too little margin (<5%) lets the watermark overlap content → crop can't remove it cleanly. Use ≥8–10%.
- Some generators recolor or fill the margin with content; if
crop_margin.pyreports ~0 border, bump--fallbackor re-pad with a larger percent.
Установить AI Watermark Margin в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл AI Watermark Margin?
Drop the in-image watermark/signature that an AI image editor stamps on YOUR OWN ai-generated or ai-edited pictures, deterministically — by adding a blank margin before the edit and cropping it off after. No inpainting, no ML model, no third-party copyright watermark removal. Use when: 'AI edit leaves a watermark', 'remove AI signature', 'AI 修图水印', '去AI生成签名', '图片下方有水印', 'generator watermark'. Two tiny Pillow scripts: add_margin.py pads the canvas with whitespace (or black) so the generator's mark lands outside the content; crop_margin.py detects that uniform border and crops it away. Includes an ethics/compliance note: this only removes the generator's own visual stamp; you still disclose AI use per platform rules.
Как установить скилл AI Watermark Margin?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл AI Watermark Margin запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic