360 Secure SkillHub
360 安全技能中心

GemClean

该技能通过 Python 脚本读取本地 PNG、JPEG 或 WebP 图片,将右下角区域发送至 GemClean 服务执行水印修复,成功后按指定路径或默认 <stem>.clean.png 保存结果;失败时返回错误码,需联网且图片会离开本机。

分类:效率
wzhang34
wzhang34
热度 8.03
最近更新 2026-12-01 10:23:26

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add wzhang34/gemclean
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
gemclean
description
Remove the visible Gemini or Nano Banana star watermark from the bottom-right corner of a local image when the user requests its removal. Use for Gemini 去水印 or 去掉右下角星标.

When installing from the web, save this file as SKILL.md and download scripts/gemclean.py at that relative path in the same skill folder. Resolve the script relative to the installed skill. Pass the image's absolute path. Example from the skill folder:

uv run --script scripts/gemclean.py remove "/project/hero.jpg" -o "/project/hero.clean.png" --json

If uv is unavailable, use Python 3.11+ with Pillow. If needed, install the script's declared Pillow version in a virtual environment dedicated to this skill. The script accepts still 8-bit PNG, JPEG and WebP images up to 20 MiB and 40 megapixels. It sends the bottom-right corner to https://gemclean.app. GemClean repairs the inner 320 × 320 pixels and may retain up to 512 × 512 source pixels privately for troubleshooting. On small inputs this can include the whole image. The repair area must be opaque.

Omit -o to save beside the input as <stem>.clean.png. An existing file is never replaced. On success, use the absolute output path in stdout. On failure, stderr includes an error code. For rate_limited, report the supplied retry_after_seconds when present.