VoiceGuard AI
Deepfake audio detection API
Feb 2026
Cloned voices are hard to tell apart from real ones by ear. For the India AI Impact Buildathon by HCL GUVI, I built a REST API that takes an audio clip and returns a score and a label: natural or synthetic speech. A FastAPI service wraps Meta's Wav2Vec2-Large-XLSR-53 model from HuggingFace. Requests are protected with JWT auth and CORS rules, secrets stay in .env, and every change deploys through GitHub Actions.
| Detection accuracy | ~91% |
|---|---|
| Model | Wav2Vec2-Large-XLSR-53 |
| Framework | FastAPI |
| Auth | JWT, CORS |
| Hosting | HuggingFace Spaces |
| Containers | Docker (local builds) |
| CI/CD | GitHub Actions |
| Context | India AI Impact Buildathon (HCL GUVI), 40,000+ participants |
Status: In progress: moving sync inference (run_in_executor) to a routers / schemas / services layout.