tropa-voice-mini — open-weights AI Voice Detector by wasitaigenerated
Detect AI-generated and cloned voices — ElevenLabs, MiniMax, OpenAI, Gemini, xAI, HeyGen and dozens of open-source TTS systems. Free, open weights, Apache-2.0, runs on CPU.
tropa-voice-mini is the open-weights voice detector by wasitaigenerated.com, the small sibling of the tropa-voice system behind the hosted API. We benchmarked it against every strong open-source speech deepfake detector on five public and in-house benchmarks, measured with the same code on the same files.
- ✅ Best open model on today's commercial AI voices: 0.19 % EER across 14 commercial TTS systems (next-best open model: 2.0 %)
- ✅ Best open model on real-world social-media deepfakes (Deepfake-Eval-2024): 13.5 % EER (next-best: 17.2 %)
- ✅ Best commercially usable open model on In-the-Wild: 0.98 % EER
- ✅ XLS-R-300M backbone, 1.26 GB, CPU-friendly. Returns a per-segment timeline, not just one number.
- ✅ Apache-2.0, commercial use allowed
How to detect AI-generated voices in Python
# pip install torch transformers safetensors soundfile huggingface_hub (+ ffmpeg for mp3/m4a/mp4)
from huggingface_hub import hf_hub_download
import importlib.util, sys
repo = "wasitaigeneratedcom/ai-voice-detector-small"
spec = importlib.util.spec_from_file_location("detector", hf_hub_download(repo, "detector.py"))
detector = importlib.util.module_from_spec(spec); spec.loader.exec_module(detector)
det = detector.VoiceDetector.from_pretrained(repo) # GPU if available, else CPU
result = det("suspicious_clip.mp3")
print(result["ai_score"], result["verdict"]) # e.g. 0.9986 'ai'
for seg in result["segments"]: # per-window scores (6 s windows, 3 s hop)
print(seg["start"], seg["end"], seg["ai_score"])
ai_score is a calibrated probability in [0, 1]. verdict is ai / uncertain / human. The default ai threshold sits at a 0.5 % false-positive rate on held-out human speech (see serving_head.json, which also lists thresholds for 1 % and 0.1 % FPR). Clips shorter than ~2 s are less reliable.
Speed: a 30-second clip takes ~0.06 s on a GPU and ~10 s on 4 CPU cores.
Prefer one API call over self-hosting? The wasitaigenerated AI Voice Detector API runs tropa-voice, our most accurate system: it beats every open detector on all five benchmarks below (comparison).
Benchmarks (vs. other open-weights detectors)
Every model was run by us on exactly the same files with the same scoring code, using sliding windows over the full clip. Metric: equal error rate (EER), lower is better.
| model | license | In-the-Wild | Deepfake-Eval-2024 (test) | Commercial voices 2026 | SONAR | MLAAD-tiny |
|---|---|---|---|---|---|---|
| tropa-voice-mini (this model) | Apache-2.0 | 0.98 % | 13.5 % | 0.19 % | 0.18 % | 2.33 % |
| lab260/Spectra-AASIST | Apache-2.0 | 1.43 % | 17.2 % | 2.01 % | 0.48 % | 0.71 % |
| Speech-Arena-2025/DF_Arena_1B | non-commercial | 0.96 % | 27.6 % | 7.14 % | 1.26 % | 3.24 % |
| nii-yamagishilab/xls-r-2b-anti-deepfake | non-commercial | 1.34 % | 25.1 % | 3.99 % | 0.43 % | 4.72 % |
Commercial-Voices-2026-mini, EER per system:
| system | tropa-voice-mini | Spectra-AASIST | DF_Arena_1B | NII XLS-R-2B |
|---|---|---|---|---|
| ElevenLabs v4 | 0.0 % | 2.5 % | 15.6 % | 7.4 % |
| ElevenLabs v3 | 0.0 % | 0.7 % | 9.1 % | 2.4 % |
| MiniMax Speech 2.8 HD | 0.0 % | 0.7 % | 8.7 % | 3.4 % |
| MiniMax Speech-02 HD | 0.0 % | 2.7 % | 5.4 % | 6.8 % |
| xAI TTS | 0.0 % | 1.6 % | 14.4 % | 3.1 % |
| HeyGen | 0.2 % | 6.2 % | 12.0 % | 7.3 % |
| VibeVoice 7B | 1.5 % | 7.4 % | 11.8 % | 27.9 % |
| Qwen Audio 3 TTS | 0.0 % | 1.5 % | 6.0 % | 2.3 % |
| Inworld TTS | 0.0 % | 1.3 % | 7.3 % | 2.2 % |
| Gemini 3.8 Flash TTS · OpenAI gpt-4o-mini-tts · OpenAI tts-1-hd · Seed Speech v2 · Chatterbox | 0.0 % | 0.0–0.6 % | 0.0–2.8 % | 0.0–0.8 % |
Datasets
- In-the-Wild: 31,748 clips of celebrities and politicians, 2019–2022 deepfakes.
- Deepfake-Eval-2024: real social-media deepfakes from 2024, official test split (773 files), with music, video soundtracks and many languages.
- Commercial-Voices-2026-mini (ours, public): 2,084 clips from 14 commercial TTS systems (speakers/texts unseen in training) + 2,200 openly licensed real clips. Reproduce with voice-deepfake-benchmark.
- SONAR: 8 recent TTS systems.
- MLAAD-tiny: 69 TTS systems, multilingual.
Limitations.
- On MLAAD-tiny, Spectra-AASIST is clearly better (0.71 % vs. 2.33 %). The gap comes from newer LLM-based TTS (VoxCPM, Spark-TTS, Llasa): ~10 % EER for us vs. ≤2 % for Spectra.
- On In-the-Wild, the non-commercial DF_Arena_1B is marginally ahead (0.96 % vs. 0.98 %).
- Very short clips (<2 s), heavy background music and phone-quality audio are harder for all detectors.
tropa-voice-mini vs. tropa-voice (the hosted API)
The hosted detector runs tropa-voice, a larger system that is continuously updated for new voice generators. tropa-voice-mini is its fast, CPU-friendly sibling. Same benchmarks, same scoring:
| benchmark (EER ↓) | tropa-voice-mini (open) | tropa-voice (API) | best other open model |
|---|---|---|---|
| In-the-Wild | 0.98 % | 0.66 % | 0.96 % |
| Deepfake-Eval-2024 | 13.5 % | 11.9 % | 17.2 % |
| Commercial voices 2026 | 0.19 % | 0.23 % | 2.0 % |
| SONAR | 0.18 % | 0.05 % | 0.43 % |
| MLAAD-tiny | 2.33 % | 0.34 % | 0.71 % |
Model details
- Base model: wav2vec2-XLS-R-300M, fine-tuned end-to-end for AI-voice detection, with a multi-layer attention head.
- Input: 16 kHz mono (any format ffmpeg can read). Scored in 6 s windows with a 3 s hop. Clips shorter than one window are scored at their native length. The file score is calibrated to a probability.
License
Apache-2.0. Base model: facebook/wav2vec2-xls-r-300m (Apache-2.0).
Built by wasitaigenerated.com — AI detection for text, images, video and voice.