Deep Voice Fake API
Detect whether an uploaded audio file may contain synthetic or manipulated voice content.
Base URL
https://api.genderrecognition.com
Endpoint
POST /v1/deep-voice-fake/api
Headers
apiKey: YOUR_API_KEY
Content-Type: multipart/form-data
Body
| Field | Type | Required | Description |
|---|---|---|---|
file | file | Yes | Audio file to inspect. |
Example
curl -X POST "https://api.genderrecognition.com/v1/deep-voice-fake/api" \
-H "apiKey: YOUR_API_KEY" \
-F "file=@audio.wav"
Response
{
"success": true,
"prediction": "real",
"confidence": 94,
"probabilities": {
"real": 94,
"fake": 6
},
"remainingRequests": 2999
}
Error cases
Missing API key
{
"error": "API key is required"
}
Invalid API key
{
"error": "Invalid API key"
}
Missing file
{
"error": "No file uploaded"
}
Invalid file type
{
"error": "Invalid file type. Allowed formats: WAV, MP3, FLAC, MP4, OGG, AIFF"
}
Quota exceeded
{
"error": {
"code": "RATE_LIMIT_EXCEEDED",
"message": "You have exceeded your free tier limit of 50 requests.",
"detailedMessage": "Insufficient remaining requests. Required: 1, Available: 0",
"details": {
"limit": 50,
"used": 50,
"reset_date": "2026-07-01T00:00:00.000Z"
},
"suggested_action": "Please upgrade to a premium plan to continue using the API."
}
}
Processing failed
{
"error": "Deep voice fake detection failed"
}
Notes
- Use this endpoint before trusting user-submitted audio.
- Audio uploads use the
filefield and must be 10 MB or smaller. - Failed validation does not represent a successful model prediction.