VoicePrint API Documentation
Welcome to the VoicePrint API documentation! This API allows you to compare two voices by uploading audio files in WAV or MP3 format and receive a percentage similarity score. Follow the instructions below to get started.
Requirements
Audio file format: WAV or MP3
Total file size (combined): Less than 6 MB
Recommended audio length: 3-10 seconds
Please note that both uploaded files combined must not exceed 6 MB. The optimal duration for each audio file is between 3 and 10 seconds to ensure accurate results.
Getting Started
To use the VoicePrint API, follow these steps:
Authentication: Purchase a plan through RapidAPI to begin using VoicePrint. If you’re just exploring, we offer a basic plan with free usage under a certain threshold.
Prepare Audio Files: Ensure that your audio files meet the requirements mentioned above (WAV or MP3 format, combined size under 6 MB, and a recommended length of 3-10 seconds).
Send API Request: Make a POST request to the VoicePrint API endpoint, including the authentication headers and the audio files in the request body.
4.Parse API Response: The API will return a JSON response containing the percentage similarity score of the two voices. Parse the response to extract the similarity score.