Voice Gender Recognition (File Upload) API
Detect gender from voice with a file upload.
Upload an audio file via multipart/form-data and get gender, confidence, and usage info. Ideal for private assets and secure ingestion.
Quickstart
POST multipart/form-data// Headers
apiKey:
YOUR_API_KEY
// Form Data
formData.append("file", yourFile);// Sample Response
{
"gender": "female",
"confidence": 95,
"remainingRequests": 120,
"success": true
}Tip: Use multipart/form-data with the "file" field. Keep clips concise for fastest responses.
Private ingestion
Upload directly without exposing URLs; ideal for secure or temporary assets.
Personalization
Use voice gender signals to tailor experiences, routing, and flows.
Fraud & moderation
Validate or flag voice submissions with automated analysis.
Built for scale
Handles spikes; for bulk, automate uploads or mix with URL endpoint.
Clean JSON responses
Simple fields: gender, confidence, remainingRequests, success.
Format flexibility
Supports a broad range of audio codecs and containers.
How it works
Voice gender from a file in three steps.
Upload a file
POST multipart/form-data with a "file" field to the /api endpoint.
Get JSON response
Receive gender, confidence, and usage info quickly.
Scale when ready
Automate uploads or combine with URL endpoint for different sources.
cURL
File uploadcurl -X POST 'https://api.genderrecognition.com/v1/voice-gender-recognition/api' \ -H 'apiKey: YOUR_API_KEY' \ -F 'file=@/path/to/your/audio.wav'
JavaScript
fetch exampleconst apiKey = "YOUR_API_KEY";
const formData = new FormData();
formData.append("file", yourFile);
const response = await fetch(
"https://api.genderrecognition.com/v1/voice-gender-recognition/api",
{
method: "POST",
headers: {
apiKey,
},
body: formData,
}
);
const result = await response.json();Contact centers
Enrich call recordings with gender signals for analytics and routing.
Voice-led apps
Detect gender from user-uploaded prompts securely.
Moderation
Automate review pipelines while keeping files private.
Ready to Get Started?
We provide the best gender recognition services using advanced AI technology to ensure accuracy and privacy for all users.
Create an account in minutes to claim your API key and have unrestricted access.
Register AccountPricing
Simple, transparent pricing. First 1000 requests free, then pay as you go. Check out our pricing page for more details.
View Pricing