Welcome to our comprehensive API integration guide. Here you'll find everything you need to integrate our services into your applications.
Voice file analysis
Analyze the full clip with speech detection; costs 1 API request.
Choose one speaker from multi-speaker audio; costs 2 API requests.
POST audio URL JSON to detect gender
Name-based gender detection
Name-based age estimation
Name-based ethnicity detection
Name-based language detection
Bulk name processing
Upload an audio file to detect whether the voice is real or fake
Upload an audio file to estimate age from voice
Upload an image to detect faces and predict gender
Upload an image to detect faces and estimate age
Upload an audio file to detect the speaker's emotion
Upload an audio file to check its recording quality
Upload a reference and a candidate audio file to verify if they are the same speaker
const apiKey = "YOUR_API_KEY";
const formData = new FormData();
formData.append("file", "recording.wav");
const sendFile = async () => {
try {
const response = await fetch('https://api.genderrecognition.com/v1/voice-gender-recognition/api', {
method: 'POST',
body: formData, //Upload a file. Supported formats: .wav, .mp3, .m4a, .flac, .ogg, .webm, .aac, .opus, .wma, .amr, .3gp, .aiff, .aif, .au, .wv, .ra, .ram, .ac3, .mka, .spx, .mid, .midi, .ape, .tta, .shn, .tak, .dsd, .dsf, .dff
headers: {
'apiKey': apiKey
}
});
const data = await response.json();
console.log('File response:', data);
} catch (error) {
console.error('Error uploading file:', error);
}
};You now have all the information needed to integrate our APIs into your applications. If you have any questions or need assistance, please don't hesitate to contact our support team.
Understanding how your requests are counted
Gender by Voice detection
Gender by Name, Age by Name, Ethnicity by Name
Individual file processing
Multiple names in CSV format
Ensure you have sufficient requests in your quota before processing large CSV files. Monitor your usage regularly to avoid service interruption.