swaylq

Deai Image — AI skill for Claude Code

AI community

Detect and remove AI fingerprints from AI-generated images.

How to install Deai Image

This entry records only its repository, not the path inside it, so there is no exact command to give. Open swaylq/deai-image and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Deai Image does

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. MIT.

Alternatives in AI

  • Azure OpenAI .net — GPT-4, embeddings, DALL-E, and Whisper client 1.8k ★
  • Academic Humanizer — Strip AI-writing tells from papers and grant proposals (NSF/NIH), while keeping scholarly voice and tying clai 1.1k ★
  • Browser Search — A skill for AI agents: search the web with SearXNG, browse with Camofox, bypass protections with CloakBrowser 499 ★

README

AI Image De-Fingerprinting Skill

Remove AI detection patterns from AI-generated images. Transform machine-generated photos into human-camera-like photographs by stripping metadata, adding film grain, adjusting color, and recompressing.

**Works with:** Midjourney, DALL-E 3, Stable Diffusion, Flux, Firefly, Leonardo, and other diffusion models.

What It Does

AI image detectors (Hive, Illuminarty, SynthID) identify AI-generated images through:

  • Metadata: EXIF tags, C2PA watermarks
  • Pixel patterns: Over-smoothness, unnatural noise
  • Frequency domain: DCT coefficient signatures
  • Deep learning: Model-specific fingerprints

This skill applies a 7-stage processing pipeline to disrupt these detection vectors:

Input → Metadata Strip → Grain → Color Adjust → Blur/Sharpen → 
Resize → JPEG Recompress → Final Clean → Output

Quick Start

# Check dependencies
bash scripts/check_deps.sh

# Process single image (Python)
python scripts/deai.py ai_generated.png

# Process with specific strength
python scripts/deai.py image.png --strength heavy -o clean.jpg

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

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

Installation

Dependencies

  • ImageMagick 7.0+ — Image processing
  • ExifTool — Metadata removal
  • Python 3.7+ + Pillow + NumPy (for Python version)

Install

**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

**Verify:**

bash scripts/check_deps.sh

Usage

Python Version (Recommended)

# Basic (default medium strength)
python scripts/deai.py image.png

# Custom output path
python scripts/deai.py image.png -o cleaned.jpg

# Processing strength
python scripts/deai.py image.png --strength light    # Prese