360 Secure SkillHub
360 安全技能中心

gemini-watermark-remover

该 Skill 提供基于 Pillow 的 Python 命令行脚本,利用预置的 Gemini 水印 alpha 图和反向 alpha 混合算法,按输入和输出路径去除图片右下角的可见水印;附算法说明与两张 alpha 图资源。

分类:效率
rookie-ricardo
热度 0.00
最近更新 2026-10-21 03:11:36

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add rookie-ricardo/erduo-skills/gemini-watermark-remover
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
gemini-watermark-remover
description
Remove the visible Gemini AI watermark from images using reverse alpha blending. Use when asked to strip Gemini watermarks, batch-process Gemini images, or build/modify a CLI script that removes the bottom-right Gemini watermark without HTML or server-side components.

Gemini Watermark Remover

Dependencies

  • Python 3.9+
  • Pillow (install with pip install -r requirements.txt)

Quick start

  1. Install dependencies in the scripts folder:
    • cd skills/gemini-watermark-remover/scripts && pip install -r requirements.txt
  2. Run the CLI:
    • python remove_watermark.py <input-image> <output-image>

CLI usage

  • Parameters:
    • input-image: path to the Gemini watermarked image
    • output-image: path for the cleaned image (format inferred from extension)

Example:

python remove_watermark.py ./in.png ./out.png

What this skill provides

  • scripts/remove_watermark.py: CLI entry point and core algorithm.
  • assets/bg_48.png, assets/bg_96.png: Pre-captured watermark alpha maps.
  • references/algorithm.md: Math, detection rules, and limits.

Workflow

  1. Use remove_watermark.py for one-off processing.
  2. If you need to adjust detection rules or alpha logic, read references/algorithm.md.

Notes

  • The script uses Pillow for image IO and per-pixel edits.
  • Output format is inferred from the output file extension by Pillow.