Back to Research
AnnouncementNovember 2026•5 min read

tropa-voice: AI voice detection, hosted and open weights

tropa-voice detects AI-generated and cloned voices on this site and in the API. tropa-voice-mini is a smaller version you can download and run yourself, free under Apache-2.0. tropa-voice beats every open-source voice detector on all five public benchmarks we ran.

5 of 5
Benchmarks where tropa-voice beats every open detector
99.4%
In-the-Wild deepfakes caught
tropa-voice, at 1% false positives
Up to 10×
Fewer errors on commercial voices
0.23% EER vs 2.0–7.1% for open detectors
Apache-2.0
tropa-voice-mini
free, runs on CPU

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.

Equal error rate of tropa-voice, tropa-voice-mini and the best other open model
Benchmark (EER)tropa-voice (API)tropa-voice-mini (open)Best other open model
In-the-Wild0.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-mini0.23%0.19%2.01% (Spectra-AASIST)
SONAR0.05%0.18%0.43% (NII XLS-R-2B, non-commercial)
MLAAD-tiny0.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 compared with the open tropa-voice-mini model
tropa-voice (hosted API)tropa-voice-mini (open weights)
AccuracyOur most accurate system: beats every open-source detector on all five benchmarksStrongest open-weights detector licensed for commercial use
New voice generatorsUpdated continuouslyFixed snapshot
OpenAI audio watermark checkYes, reported as verifiedNo
Per-segment timelineYesYes
InputAny audio or video file up to 100 MB, first 5 minutes scoredAnything ffmpeg reads, on your hardware
Default "ai" thresholdAbout 1% false positives on real speech0.5% false positives (1% and 0.1% thresholds included)
InfrastructureNone, one HTTPS callYou host it; CPU works, GPU is faster
DataProcessed by us, not used for training; zero retention on requestNever leaves your servers
Price and license1,000 credits per file; 1,000 free credits to startFree, 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