Veridex Documentation¶
A modular, probabilistic, and research-grounded AI content detection library
Welcome¶
Veridex is a production-ready library for detecting AI-generated content across multiple modalities: text, image, audio, and video. Unlike binary classifiers, Veridex provides probabilistic detection with confidence estimates and interpretable signals.
🎯 Multi-Modal
Detect AI-generated text, images, audio, and video with a unified API
📊 Probabilistic
Get confidence scores and probabilities, not just binary labels
🔍 Interpretable
Access individual detection signals for transparency
🧩 Modular
Easy to extend with new detection methods
🚀 Production-Ready
Robust error handling and graceful degradation
📖 Research-Grounded
Based on state-of-the-art academic papers
Quick Start¶
Get started with Veridex in under 5 minutes:
How It Works¶
graph LR
A[Input Data] --> B{Modality}
B -->|Text| C[Text Signals]
B -->|Image| D[Image Signals]
B -->|Audio| E[Audio Signals]
B -->|Video| F[Video Signals]
C --> G[Normalization]
D --> G
E --> G
F --> G
G --> H[Detection Result]
H --> I[Score + Confidence]
Veridex uses a signal-based architecture where each detector:
- Analyzes specific features or artifacts
- Returns a standardized
DetectionResult - Operates independently for transparency
- Declares its limitations explicitly
🏗️ Learn More About Architecture →
Choose Your Path¶
Get running in 5 minutes 📝 Text Detection
Analyze LLM outputs 🖼️ Image Detection
Spot AI-generated images 🎵 Audio Detection
Detect voice deepfakes 🎥 Video Detection
Detect deepfake videos
Available Detectors¶
Text Detection¶
| Signal | Method | Speed | Accuracy | Best For |
|---|---|---|---|---|
PerplexitySignal |
Statistical (LLM) | Medium | ⭐⭐ | General purpose |
BinocularsSignal |
Contrastive | Medium | ⭐⭐⭐ | High accuracy |
ZlibEntropySignal |
Compression | Fast | ⭐ | Quick screening |
StylometricSignal |
Linguistic | Fast | ⭐ | Style analysis |
Image Detection¶
| Signal | Method | Speed | Accuracy | Best For |
|---|---|---|---|---|
FrequencySignal |
Spectral | Fast | ⭐⭐ | Quick screening |
DIRESignal |
Diffusion | Slow | ⭐⭐⭐ | High accuracy |
ELASignal |
Error Level | Fast | ⭐⭐ | Manipulation detection |
Audio Detection¶
| Signal | Method | Speed | Accuracy | Best For |
|---|---|---|---|---|
SpectralSignal |
Frequency | Fast | ⭐⭐ | Lightweight |
AASISTSignal |
Spectro-Temporal | Medium | ⭐⭐⭐ | Anti-spoofing |
Wav2VecSignal |
Foundation Model | Slow | ⭐⭐⭐⭐ | Production |
SilenceSignal |
Pause Analysis | Fast | ⭐ | Speech patterns |
Video Detection¶
| Signal | Method | Speed | Accuracy | Best For |
|---|---|---|---|---|
RPPGSignal |
Biological | Medium | ⭐⭐⭐ | Face swaps |
I3DSignal |
Spatiotemporal | Medium | ⭐⭐⭐ | General deepfakes |
LipSyncSignal |
Audio-Visual | Medium | ⭐⭐⭐ | Dubbing |
VideoEnsemble |
Fusion | Medium | ⭐⭐⭐⭐ | Production use |
Popular Guides¶
What's New¶
Latest Updates
- ✅ Added
SilenceSignalfor audio detection - ✅ Added
StylometricSignalfor text analysis - ✅ Added
ELASignalfor image manipulation detection - ✅ Added Video Detection support (
RPPG,I3D,LipSync) - ✅ Improved test coverage to 80%+
- ✅ Enhanced documentation with tutorials
Community & Support¶
Have questions or want to contribute?
- 💬 GitHub Discussions - Ask questions and share ideas
- 🐛 Issue Tracker - Report bugs or request features
- 📧 Email - Direct contact
- 🤝 Contributing Guide - Learn how to contribute
Quick Links¶
- Installation Guide
- 5-Minute Quick Start
- Text Detection Tutorial
- Image Detection Tutorial
- Audio Detection Tutorial
- Video Detection Tutorial
- API Reference
- FAQ
- GitHub Repository
Connect with Me: Aditya Mahakali on LinkedIn
Built with ❤️ for transparency in the age of generative AI