GET
/v1/schemas/elevenlabs/audio/v1%2Fsimilar-voices
Accept:
Request body
3 properties · 0 required · 0 $defs| property | type | description | constraints |
|---|---|---|---|
| audio_file | string | format: binary | |
| similarity_threshold | number | 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. | nullable |
| top_k | integer | 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. | nullable |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"elevenlabs","endpointId":"v1/similar-voices","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}