Get separated speaker audio

Retrieve the separated audio for a specific speaker.

Path parameters

voice_idstringRequired

Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices.

sample_idstringRequired
Sample ID to be used
speaker_idstringRequired

Speaker ID to be used, you can use GET https://api.elevenlabs.io/v1/voices/{voice_id}/samples/{sample_id}/speakers to list all the available speakers for a sample.

Headers

xi-api-keystringRequired

Response

Successful Response
audio_base_64string
The base64 encoded audio.
media_typestring
The media type of the audio.
duration_secsdouble
The duration of the audio in seconds.

Errors