Token导航 LogoToken导航TokenDH.com
图像处理需要联网clawhub未标认证来源可访问clear审计通过

deai-image德艾图像

Agent Skill

用于辅助图像生成、图片编辑、视觉素材处理或图像模型工作流。它适合让 Agent 根据文本生成图片、处理背景、整理视觉提示词或调用相关图像工具。使用时需要确认输入图片、版权来源、输出格式和模型限制;涉及人物、品牌、商品或公开展示素材时,应额外核对授权、真实性和内容合规边界。

总安装

15,729

周安装

662

GitHub Stars

公开资料未说明

下载量

5,508
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:deai-image(德艾图像)
来源仓库:https://github.com/swaylq/deai-image
安装命令:
openclaw skills install deai-image
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install deai-image

简介

用于剥离 AI 生成图像的指纹和元数据。

  • 适合绕过 AI 图像检测器并添加胶片颗粒效果。
  • 与 Midjourney 等模型协作优化视觉输出。
  • 安装前建议确认输入图片格式兼容性。deai-image 属于图像处理类 Skill,可作为该场景下的辅助能力补充。
  • 不涉及内容篡改,仅做后期处理操作。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。

SKILL.md

name
deai-image
description
Detect and remove AI fingerprints from AI-generated images. Strip metadata, add film grain, recompress, and bypass AI image detectors. Works with Midjourney, DALL-E, Stable Diffusion, Flux output.
allowed-tools

AI Image De-Fingerprinting Skill

Comprehensive CLI for removing AI detection patterns from AI-generated images. Transforms detectable AI images into human-camera-like photographs using multiple processing techniques.

Supported Models: Midjourney, DALL-E 3, Stable Diffusion, Flux, Firefly, Leonardo, and more.

Quick Start

# Basic processing (medium strength)
python scripts/deai.py input.png

# Specify output file
python scripts/deai.py input.png -o output.jpg

# Adjust processing strength
python scripts/deai.py input.png --strength heavy

# Only strip metadata (fastest)
python scripts/deai.py input.png --no-metadata

# Batch process directory
python scripts/deai.py input_dir/ --batch

# Pure Bash version (no Python needed)
bash scripts/deai.sh input.png output.jpg

How It Works

AI-generated images contain multiple detection layers:

Detection Vectors

  1. Metadata: EXIF tags revealing generation tool, C2PA watermarks
  2. Frequency Domain: DCT coefficient patterns unique to diffusion models
  3. Pixel Patterns: Over-smoothness, unnatural noise distribution
  4. Visual Features: Perfect lighting, repetitive textures

Processing Pipeline

Our de-fingerprinting pipeline applies 7 transformation stages:

Input → Metadata Strip → Grain Addition → Color Adjustment → 
Blur/Sharpen → Resize Cycle → JPEG Recompress → Final Metadata Clean → Output

Stage Details

StagePurposeTechnique
Metadata StripRemove EXIF/C2PA/JUMBF tagsExifTool
Grain AdditionAdd camera sensor noisePoisson/Gaussian noise overlay
Color AdjustmentBreak color distribution patternsContrast/saturation/brightness tweak
Blur/SharpenDisrupt edge detection patternsGaussian blur + unsharp mask
Resize CycleIntroduce resampling artifactsDownscale → upscale with Lanczos
JPEG RecompressAdd compression artifactsQuality 75 → 95 cycle
Final CleanEnsure no metadata leakageExifTool re-run

Processing Strength

Choose strength based on detection risk vs quality tradeoff:

StrengthDescriptionSuccess RateQuality Loss
lightMinimal processing, preserve quality35-45%Very low
mediumBalanced (default)50-65%Low
heavyAggressive processing65-80%Medium

Success rate = percentage of images passing common AI detectors (Hive, Illuminarty, AI or Not)


Usage Examples

Single Image Processing

# Default medium strength
python scripts/deai.py ai_portrait.png

# Light processing for high-quality images
python scripts/deai.py artwork.png --strength light -o clean_artwork.jpg

# Heavy processing for stubborn detection
python scripts/deai.py midjourney_out.png --strength heavy

Batch Processing

# Process entire directory
python scripts/deai.py ./ai_images/ --batch -o ./cleaned/

# Batch with specific strength
python scripts/deai.py ./gallery/*.png --batch --strength heavy

Metadata-Only Mode

# Only strip metadata (instant, no quality loss)
python scripts/deai.py image.jpg --no-metadata

Using Bash Version

# No Python/Pillow needed, pure ImageMagick + ExifTool
bash scripts/deai.sh input.png output.jpg

# Specify strength
bash scripts/deai.sh input.png output.jpg heavy

Dependencies

Required

  • ImageMagick (7.0+) — Image processing engine
  • ExifTool — Metadata manipulation
  • Python 3.7+ (for deai.py)
  • Pillow (Python imaging library)
  • NumPy (for deai.py)

Check Installation

bash scripts/check_deps.sh

This will verify all dependencies and provide installation commands if missing.

Manual Installation

Debian/Ubuntu:

sudo apt update
sudo apt install -y imagemagick libimage-exiftool-perl python3 python3-pip
pip3 install Pillow numpy

macOS:

brew install imagemagick exiftool python3
pip3 install Pillow numpy

Fedora/RHEL:

sudo dnf install -y ImageMagick perl-Image-ExifTool python3-pip
pip3 install Pillow numpy

Command Reference

deai.py (Python Version)

python scripts/deai.py <input> [options]

Arguments:
  input                 Input image file or directory (batch mode)

Options:
  -o, --output FILE     Output file path (default: input_deai.jpg)
  --strength LEVEL      Processing strength: light|medium|heavy (default: medium)
  --no-metadata         Only strip metadata, skip image processing
  --batch               Process entire directory
  -q, --quiet           Suppress progress output
  -v, --verbose         Show detailed processing steps

Examples:
  python scripts/deai.py image.png
  python scripts/deai.py image.png -o clean.jpg --strength heavy
  python scripts/deai.py folder/ --batch

deai.sh (Bash Version)

bash scripts/deai.sh <input> <output> [strength]

Arguments:
  input                 Input image file
  output                Output file path
  strength              light|medium|heavy (default: medium)

Examples:
  bash scripts/deai.sh input.png output.jpg
  bash scripts/deai.sh input.png output.jpg heavy

Understanding Detection

Common AI Detectors

DetectorMethodBypass Rate
Hive ModerationDeep learning model50-70% (medium)
IlluminartyComputer vision analysis60-75% (medium)
AI or NotBinary classification55-70% (medium)
SynthIDPixel-level watermark35-50% (heavy)
C2PA VerifyMetadata check100% (metadata strip)

What This Skill Cannot Do

Not a Silver Bullet:

  • Cannot guarantee 100% bypass of all detectors
  • Advanced detectors (SynthID) require more aggressive processing
  • New detection methods may emerge

Limitations:

  • Processing reduces image quality (tradeoff necessary)
  • Some detectors use multiple layers (metadata + pixel + frequency)
  • Extremely aggressive processing may introduce visible artifacts

What It DOES Do:

  • Significantly reduces detection probability (40-80%)
  • Removes metadata watermarks (100% effective)
  • Maintains reasonable visual quality
  • Batch processes entire collections

Verification Workflow

  1. Process Image:
   python scripts/deai.py ai_image.png -o clean.jpg --strength medium
  1. Test on Multiple Detectors:

- Hive Moderation - Illuminarty - AI or Not

  1. If Still Detected:

- Increase strength: --strength heavy - Try multiple passes - Manual touch-ups (add slight noise in photo editor)

  1. Quality Check:

- Compare original vs processed - Ensure no visible artifacts - Verify colors/details preserved


Advanced Usage

Custom Processing Pipeline

Edit scripts/deai.py to adjust parameters:

# Noise strength (line ~80)
noise = np.random.normal(0, 3, img_array.shape)  # Increase 3 → 5 for more grain

# Contrast adjustment (line ~95)
enhancer.enhance(1.05)  # Increase 1.05 → 1.08 for stronger effect

# JPEG quality (line ~120)
img.save(temp_path, "JPEG", quality=80)  # Decrease 80 → 70 for more compression

Combining with External Tools

# Step 1: De-fingerprint
python scripts/deai.py ai_gen.png -o step1.jpg

# Step 2: Add subtle texture overlay (GIMP/Photoshop)
# (Manual step)

# Step 3: Re-strip metadata
exiftool -all= step1_edited.jpg

Best Practices

For Social Media

  • Use medium strength (good balance)
  • Output as JPEG (universal compatibility)
  • Test on platform's upload flow before posting

For Professional Use

  • Start with light (preserve quality)
  • Manual review each output
  • Keep originals in secure storage
  • Document processing steps

For Research/Testing

  • Use heavy for stress testing
  • Compare multiple detectors
  • Document success/failure patterns

Legal & Ethical Notice

⚠️ Use Responsibly:

This tool is intended for:

  • ✅ Personal creative projects
  • ✅ Academic research on AI detection
  • ✅ Security testing (authorized)
  • ✅ Understanding detection mechanisms

DO NOT use for:

  • ❌ Fraud or deception
  • ❌ Impersonating human creators
  • ❌ Bypassing platform policies without authorization
  • ❌ Creating misleading content

Legal Risks:

  • Some jurisdictions (e.g., COPIED Act 2024) may restrict watermark removal
  • Platform terms of service often prohibit AI content masking
  • Commercial use may have additional legal requirements

You are responsible for compliance with applicable laws and terms of service.


Troubleshooting

"Command not found: exiftool"

# Install ExifTool
sudo apt install libimage-exiftool-perl  # Debian/Ubuntu
brew install exiftool                     # macOS

"ImportError: No module named PIL"

pip3 install Pillow numpy

"ImageMagick policy.xml blocks operation"

# Edit /etc/ImageMagick-7/policy.xml
# Change: <policy domain="coder" rights="none" pattern="PNG" />
# To:     <policy domain="coder" rights="read|write" pattern="PNG" />

Processing is slow on large images

# Pre-resize before processing
magick large.png -resize 2048x2048\> resized.png
python scripts/deai.py resized.png

Output looks too grainy/noisy

# Use light strength
python scripts/deai.py input.png --strength light

Development

Running Tests

# Test dependency check
bash scripts/check_deps.sh

# Test single image (verbose)
python scripts/deai.py test_images/sample.png -v

# Test batch mode
mkdir test_output
python scripts/deai.py test_images/ --batch -o test_output/

Contributing

Improvements welcome! Focus areas:

  • New detection bypass techniques
  • Quality preservation algorithms
  • Support for more image formats (HEIC, AVIF)
  • Integration with detection APIs

References

Detection Research:

  • Hu, Y., et al. (2024). "Stable signature is unstable: Removing image watermark from diffusion models." arXiv:2405.07145
  • IEEE Spectrum: UnMarker tool analysis

Open Source Projects:

Detection Tools:


Version: 1.0.0 License: MIT (for educational/research use) Maintainer: voidborne-d Last Updated: 2026-02-23

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

85.44%
按下载量换算4,706

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills