List similar voices
Returns a list of shared voices similar to the provided audio sample. If neither similarity_threshold nor top_k is provided, we will apply default values.
Headers
xi-api-key
Request
This endpoint expects a multipart form containing an optional file.
audio_file
similarity_threshold
Threshold for voice similarity between provided sample and library voices. Values range from 0 to 2. The smaller the value the more similar voices will be returned.
top_k
Number of most similar voices to return. If similarity_threshold is provided, less than this number of voices may be returned. Values range from 1 to 100.
Response
Successful Response
voices
The list of shared voices
has_more
Whether there are more shared voices in subsequent pages.
last_sort_id
Errors
422
Voices Get Similar Library Voices Request Unprocessable Entity Error