Samples
Get Audio From Sample
Returns the audio corresponding to a sample attached to a voice.
GET
/
v1
/
voices
/
{voice_id}
/
samples
/
{sample_id}
/
audio
Headers
Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.
Path Parameters
Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices.
Sample ID to be used, you can use GET https://api.elevenlabs.io/v1/voices/{voice_id} to list all the available samples for a voice.
Response
200 - audio/*
The response is of type file
.
Was this page helpful?