What tropa-voice and tropa-voice-mini are
tropa-voice is the voice model behind the deepfake detector and the voice detection API (it appears as tropa-voice-1 in API responses). It scores the speech in a recording in short segments over the first 5 minutes and returns a calibrated AI probability from 0 to 100, a verdict (ai, uncertain or human) and a timeline of segment scores, so you can see where in a clip a synthetic voice occurs. A check of an MP3, WAV, OGG, AAC or FLAC file also asks OpenAI's content provenance service whether the clip carries OpenAI's audio watermark; OpenAI checks clips of up to 60 seconds.
tropa-voice-mini is a compact open-weights model (1.26 GB) on Hugging Face. It returns the same kind of output, a calibrated score, a verdict and per-window scores, and runs on a normal CPU, with 0.0% EER on ElevenLabs v3 and v4, MiniMax, OpenAI, Gemini and xAI voices. It is the strongest open-weights voice detector you can use commercially.
Results
Equal error rate (lower is better) on five public benchmarks, every model scored by us with the same code on the same files. Method and all five detectors are in the voice detector benchmark.
| Benchmark (EER) | tropa-voice (API) | tropa-voice-mini (open) | Best other open model |
|---|---|---|---|
| In-the-Wild | 0.66% | 0.98% | 0.96% (DF_Arena_1B, non-commercial) |
| Deepfake-Eval-2024 (test) | 11.9% | 13.5% | 17.2% (Spectra-AASIST) |
| Commercial-Voices-2026-mini | 0.23% | 0.19% | 2.01% (Spectra-AASIST) |
| SONAR | 0.05% | 0.18% | 0.43% (NII XLS-R-2B, non-commercial) |
| MLAAD-tiny | 0.34% | 2.33% | 0.71% (Spectra-AASIST) |
tropa-voice has a lower error rate than every open-source detector on all five benchmarks. On real 2024 social-media deepfakes it makes about 30% fewer errors than the best open detector, and on In-the-Wild it catches 99.4% of deepfakes at a 1% false-positive rate. On commercial voices from ElevenLabs, MiniMax, OpenAI, Gemini, xAI, HeyGen and others, both models make about ten times fewer errors than the next open detector. The evaluation code for every number is on GitHub.
Hosted API or open model?
The API gives you our most accurate system, continuously updated for new voice generators, with nothing to host. tropa-voice-mini is the right choice when audio must stay on your own servers or you want to start for free.
| tropa-voice (hosted API) | tropa-voice-mini (open weights) | |
|---|---|---|
| Accuracy | Our most accurate system: beats every open-source detector on all five benchmarks | Strongest open-weights detector licensed for commercial use |
| New voice generators | Updated continuously | Fixed snapshot |
| OpenAI audio watermark check | Yes, reported as verified | No |
| Per-segment timeline | Yes | Yes |
| Input | Any audio or video file up to 100 MB, first 5 minutes scored | Anything ffmpeg reads, on your hardware |
| Default "ai" threshold | About 1% false positives on real speech | 0.5% false positives (1% and 0.1% thresholds included) |
| Infrastructure | None, one HTTPS call | You host it; CPU works, GPU is faster |
| Data | Processed by us, not used for training; zero retention on request | Never leaves your servers |
| Price and license | 1,000 credits per file; 1,000 free credits to start | Free, Apache-2.0 |
How to use tropa-voice (API)
Create an account, take the API key from the dashboard, and send a file or a URL. The response contains verdict, score (0–100), verified (OpenAI watermark confirmed) and detailed.segments with a score per segment. Each check costs 1,000 credits and is charged only when the analysis succeeds.
curl -X POST https://www.wasitaigenerated.com/api/v1/detect/audio \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "file=@suspicious_clip.mp3"
# Files over 4 MB (up to 100 MB): pass a URL instead
curl -X POST https://www.wasitaigenerated.com/api/v1/detect/audio \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com/voice.mp3"}'Field reference and code in Python, Node.js and PHP: API docs and the voice detection API page.
How to use tropa-voice-mini (Hugging Face)
# pip install torch transformers safetensors soundfile huggingface_hub (+ ffmpeg for mp3/m4a/mp4)
from huggingface_hub import hf_hub_download
import importlib.util
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"]: # 6 s windows, 3 s hop
print(seg["start"], seg["end"], seg["ai_score"])ai_score is a calibrated probability from 0 to 1. The default ai threshold sits at a 0.5% false-positive rate on human speech; serving_head.json also lists thresholds for 1% and 0.1%. A 30-second clip takes about 0.06 s on a GPU and about 10 s on 4 CPU cores. Model card and files: wasitaigeneratedcom/ai-voice-detector-small.
Limitations
- Clips shorter than about 2 seconds, heavy background music and phone-quality audio are harder for every voice detector.
- The OpenAI watermark check confirms OpenAI's own audio only; a missing watermark says nothing about other generators.
FAQ
What is the difference between tropa-voice and tropa-voice-mini?
tropa-voice is our most accurate voice model and runs behind the website and the API. It beats every open-source detector on all five public benchmarks, is updated continuously for new voice generators and checks OpenAI’s audio watermark alongside. tropa-voice-mini is its free, CPU-friendly sibling under Apache-2.0: the strongest open-weights voice detector you can use commercially, for teams that want to run detection on their own servers.
Can I use tropa-voice-mini commercially?
Yes. It is released under Apache-2.0, so you can use, modify and ship it in commercial products.
Does tropa-voice-mini need a GPU?
No. A 30-second clip takes about 10 seconds on 4 CPU cores and about 0.06 seconds on a GPU.
Which audio formats work?
The API accepts MP3, WAV, M4A/AAC, OGG/Opus, FLAC, WebM, and video files (MP4, MOV) whose audio track is analyzed, up to 100 MB; the first 5 minutes are scored. tropa-voice-mini reads anything ffmpeg can decode.
Check the recording you were not sure about
tropa-voice runs every voice check on this site and in the API. Upload an audio or video file and see where the synthetic voice occurs.
Test tropa-voice FreeContact us for Enterprise