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
Query parameters
category
Voice category used for filtering
Allowed values:
gender
Gender used for filtering
age
Age used for filtering
use_cases
Use-case used for filtering
min_notice_period_days
Filter voices with a minimum notice period of the given number of days.
include_custom_rates
Include/exclude voices with custom rates
include_live_moderated
Include/exclude voices that are live moderated
owner_id
Filter voices by public owner ID
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.
total_count
The total number of shared voices matching the query.
last_sort_id
Errors
422
Unprocessable Entity Error