reverse-SynthID — What is it?

This project reverse-engineers Google's SynthID watermarking system, enabling the detection and removal of watermarks from images generated by Gemini.

⭐ 2,955 Stars 🍴 302 Forks Python NOASSERTION Author: aloshdenny
Source: Official README and linked documentation View on GitHub →

Why it matters

The project is being discussed because its innovative approach to watermark detection and removal, addressing the privacy concerns associated with AI-generated content. Its unique use of spectral analysis and multi-resolution bypass techniques differs through the field of watermarking.

Source: Official README and linked documentation

Core Features

Watermark Detection

The project includes a detector that identifies SynthID watermarks with 90% accuracy, utilizing spectral analysis and resolution-dependent carrier frequency structures.

Source: Official README and linked documentation
Spectral Bypass

A multi-resolution spectral bypass (V3) is developed, achieving significant drops in carrier energy and phase coherence, with a PSNR of over 43dB.

Source: Official README and linked documentation
Cross-Color Consensus

V4 introduces cross-color phase consensus, allowing for effective watermark removal across different color backgrounds.

Source: Official README and linked documentation
Human-in-the-Loop Calibration

A calibration loop incorporates manual detection feedback to refine the watermark removal process.

Source: Official README and linked documentation

Architecture

The architecture is modular, with separate components for watermark detection, spectral bypass, and calibration. It use machine learning for ICA and image processing libraries for visualization and manipulation.

Source: Official repository tree and dependency files

Project Knowledge Graph

Knowledge graph: project (center) + core features (inner hexagons) + key dependencies (outer chips) numpy scipy opencv-python PyWavelets scikit-learn Watermark Detection Spectral Bypass Cross-Color ConsensusCross-Color Consens… Human-in-the-Loop CalibrationHuman-in-the-Loop C… reverse-SynthID Project Core feature Key dependency

Tech Stack

LanguagePythonFrameworkScikit-learn, OpenCV, NumPy, SciPy, Pillow, Matplotlib
numpyscipyopencv-pythonPyWaveletsscikit-learnPillowmatplotlibtqdm
Not specified
Source: Official repository tree and dependency files

Quick Start

python scripts/build_codebook_v4.py --root /path/to/reverse-synthid-dataset --output artifacts/spectral_codebook_v4.npz python scripts/dissolve_batch.py --input./to_clean/ --output./runs/round_06/ --codebook artifacts/spectral_codebook_v4.npz --model gemini-3.1-flash-image-preview --strengths final nuke
Source: Official README and linked documentation

Use Cases

The project is suitable for developers and researchers interested in watermark detection and removal, particularly those dealing with AI-generated content. It can be used in scenarios where privacy concerns are a priority, such as in content moderation or intellectual property protection.

Source: Official README and linked documentation

Strengths & Limitations

Strengths

  • Strengths: High accuracy in watermark detection and removal, innovative use of spectral analysis, and support for multi-model and multi-color consensus.

Limitations

  • Limitations: The project is research-oriented and may require technical expertise to implement effectively. The license is not specified, which may limit its use in commercial applications.
Source: Official README and linked documentation

Latest Release

v4 (2026-04-23): Complete rebuild of the watermark-dissolving pipeline, adding multi-model support, a richer codebook, and a new all-in-one attack.

Source: Official releases

Verdict

The aloshdenny/reverse-SynthID project is a significant contribution to the field of watermark detection and removal, offering innovative solutions for privacy concerns in AI-generated content. It is particularly valuable for technical teams and individuals involved in AI research and content moderation.

Source: Official repository
Sources and review scope
This review is based on the project's public documentation. Versions, installation commands, and feature boundaries can change upstream; check the cited sources and current release before use. Sources checked on: 2026-05-23 17:56.

Reference materials: README, GitHub API, dependency files