Gender Detection
Classify speaker gender
Classify the gender of the speaker in an audio file. Accepts either an audio URL (S3 or HTTP) or base64-encoded audio data. Supports WAV, MP3, FLAC, OGG, and other common audio formats.
post/gender-detection/classify
Headers
x-api-keystring required
API Key
Request body
Example request
{
"audio_url": "https://example.com/audio/sample.wav"
}Response
Successful classification
Example response
{
"predicted_gender": "female",
"confidence": 0.95,
"prediction": {
"female": 0.95,
"male": 0.05
},
"duration_seconds": 3.5,
"processing_time_ms": 120.5
}