v5
OpenAPI 3.1.02026-08-043621,4011.8 MBRetrieve Voice Sample Audio
Retrieve the first 30 seconds of voice sample audio with or without noise removal.
Path parameters
Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices.
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
Sample ID to be used
Query parameters
If set will remove background noise for voice samples using our audio isolation model. If the samples do not include background noise, it can make the quality worse.
If set will remove background noise for voice samples using our audio isolation model. If the samples do not include background noise, it can make the quality worse.
Headers
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Response
Successful Response
Example response
{
"audio_base_64": "audio_base_64",
"duration_secs": 5,
"media_type": "audio/mpeg",
"sample_id": "DCwhRBWXzGAHq8TQ4Fs18",
"voice_id": "DCwhRBWXzGAHq8TQ4Fs18"
}