Sweety Image Reprocess logo

Sweety Image Reprocess

Community
threerocks
sweety-image-reprocess

对已生成的图片做像素层重处理(注入真实高斯噪声、非均匀锐化、非整数重采样、JPEG 重编码、抹元数据),扰乱扩散/GAN 模型在频域与噪声层留下的统计指纹,降低"半真实"内容被 AI 检测器误判的概率。适用于"图片重处理""去 AI 频域指纹""降低 AI 检测概率""real grain/翻拍替代""图片重压破指纹"等请求。本 skill 只处理像素,不写提示词、不改提示词层 AI 味。

Overview

Publisherthreerocks
Repositorysweety-skills
Skill namesweety-image-reprocess
Stars
42
Forks
5
Bundled files
1
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by threerocks on GitHub. Read the source before you install it.

Installation

Install the Sweety Image Reprocess AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/threerocks/sweety-skills/tree/main/skills/sweety-image-reprocess
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/threerocks/sweety-skills.git /tmp/sweety-skills
mkdir -p .claude/skills
cp -r /tmp/sweety-skills/skills/sweety-image-reprocess .claude/skills/sweety-image-reprocess
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Sweety Image Reprocess in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Sweety Image Reprocess on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Sweety Image Reprocess is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

图片像素层重处理

把一张已有图片(通常是 AI 生成图)的像素本身重处理一遍,覆盖掉生成模型留下的、人眼看不见但检测器敏感的统计指纹:频域周期峰、合成噪声分布、纹理过度规整。

这个 skill 解决什么 / 不解决什么

✅ 能处理(低层像素指纹)❌ 不能处理(必须在选图阶段解决)
频域/上采样网格伪影手指数量、牙齿、首饰对称错误
合成噪声分布异常反光、阴影、物理逻辑破绽
纹理过度平滑/规整背景语义不合理

铁律:先选语义干净的图,再跑本 skill。 重处理一张"六根手指"的图,只会得到一张"高清真实噪声的六根手指图"——低层骗过、高层照样露馅。

使用边界

  • 仅用于提升原创/半原创视觉内容的发布稳健性,不用于伪造新闻、身份、医疗、证据类图片,或任何欺骗性纪实用途。
  • 若用户意图是"让人误信这是真人拍摄以行骗",改为建议透明标注(符合生成式 AI 内容标识规定)+ 内容质量提升。
  • 重处理 ≠ 永久免疫。检测器与生成器是军备竞赛,任何处理都有半衰期;本 skill 是降低误判概率,不承诺"过检测"。

工作流

  1. 确认意图与合规:确认是发布稳健性需求而非欺骗用途;提醒平台 AI 标识规定。

  2. 先验语义:让用户确认图片无语义级破绽(手/眼/反光/背景)。有破绽 → 回去重选图,本 skill 不补救。

  3. 选等级 --level 1-10(默认 5):数字越大处理越重、画质损失越大。各参数在等级 1↔10 间线性插值:

    等级噪声 attenuate重采样JPEG 质量饱和度扰动适用
    1–20.12–0.2198–96%92–89—日常配图、本就接近真实的图
    5(默认)0.4791%80—标准 AI 图发布前处理
    7–80.64–0.7387–86%75–7299.3–98.6检测压力大、可接受画质轻微下降
    100.9082%6697.2极限处理,画质明显下降

    旧的命名别名仍可用:--intensity light = 等级 2,medium = 5,strong = 8。越界数字自动钳制到 1–10。

  4. 运行脚本(见下)。

  5. 告知用户后续链路:

    • 元数据进一步真实化 → sweety-image-privacy(注入类 iPhone EXIF)。
    • 生图阶段就去 AI 味 → sweety-image-naturalizer(提示词层)。
    • 最强手段仍是物理翻拍/拍屏:本 skill 是软件替代,效果弱于真实相机重采集。

Script Directory

Important: All scripts are located in the scripts/ subdirectory of this skill.

Agent Execution Instructions:

  1. Determine this SKILL.md file's directory path as {baseDir}
  2. Script path = {baseDir}/scripts/main.ts
  3. Resolve ${BUN_X} runtime: if bun installed → bun; if npx available → npx -y bun; else suggest installing bun
  4. Replace all {baseDir} and ${BUN_X} in this document with actual values

Script Reference:

ScriptPurpose
scripts/main.ts重处理链 CLI 入口

运行

bash
${BUN_X} {baseDir}/scripts/main.ts <输入图> [-o 输出图] [--level 1-10] [--intensity light|medium|strong] [--keep-metadata] [--json]

示例:

bash
# 默认等级 5,输出 <name>.reprocessed.jpg
${BUN_X} {baseDir}/scripts/main.ts portrait.png

# 指定等级 8 + 指定输出
${BUN_X} {baseDir}/scripts/main.ts portrait.png -o out.jpg --level 8

# 兼容旧别名
${BUN_X} {baseDir}/scripts/main.ts portrait.png --intensity strong

引擎

引擎能力说明
ImageMagick(首选,magick/convert)全链路:高斯噪声 + 锐化 + 重采样 + JPEG + stripbrew install imagemagick
sips(macOS 自带,降级)仅重采样 + JPEG 重压 + 抹元数据无法加噪声,频域去除弱,会明确告警

脚本自动检测;若只有 sips,会处理但打印降级告警,建议安装 ImageMagick 后重跑。

重处理链原理(每步对应一类指纹)

步骤操作打击的指纹
1注入真实高斯噪声覆盖扩散模型的合成噪声分布
2非均匀锐化破坏纹理全局规整性
3非整数重采样(如 92%)位移上采样网格在频谱的周期峰
4抹元数据去掉生成工具标识
5JPEG 重编码(中质量)块状量化进一步淹没高频指纹

顺序固定:加噪 → 锐化 → 重采样 → 抹元数据 → 重压,最后一步必须是有损压缩。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Sweety Image Reprocess AI skill do?

对已生成的图片做像素层重处理(注入真实高斯噪声、非均匀锐化、非整数重采样、JPEG 重编码、抹元数据),扰乱扩散/GAN 模型在频域与噪声层留下的统计指纹,降低"半真实"内容被 AI 检测器误判的概率。适用于"图片重处理""去 AI 频域指纹""降低 AI 检测概率""real grain/翻拍替代""图片重压破指纹"等请求。本 skill 只处理像素,不写提示词、不改提示词层 AI 味。

Why use Sweety Image Reprocess on TypingMind?

Because you install it once and use it with any model. Sweety Image Reprocess is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Sweety Image Reprocess in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/threerocks/sweety-skills/tree/main/skills/sweety-image-reprocess. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Sweety Image Reprocess?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Sweety Image Reprocess?

As many as you like. As long as a model supports skills, you can use Sweety Image Reprocess with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Sweety Image Reprocess AI skill free?

It is published on GitHub by threerocks. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇