provider pvc-voices GET /v1/voices/pvc/{voice_id}/samples/{sample_id}/speakers/{speaker_id}/audio
@utdk/elevenlabs /v1/voices/pvc/{voice_id}/samples/{sample_id}/speakers/{speaker_id}/audio
Retrieve Separated Speaker Audio
Retrieve the separated audio for a specific speaker.
voice_id path required
Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices.
string
sample_id path required
Sample ID to be used
string
speaker_id path required
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.
string
xi-api-key header
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.

Try it

Authentication
Configure credentials for ElevenLabs API Documentation
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

getSpeakerAudio
GET/v1/voices/pvc/{voice_id}/samples/{sample_id}/speakers/{speaker_id}/audio
Retrieve the separated audio for a specific speaker.

Parameters

required

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

required

Sample ID to be used

required

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.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import elevenlabs from '@utdk/elevenlabs';

await elevenlabs.getSpeakerAudio()