provider samples GET
/v1/voices/{voice_id}/samples/{sample_id}/audio @utdk/elevenlabs
/v1/voices/{voice_id}/samples/{sample_id}/audio Get Audio From Sample
Returns the audio corresponding to a sample attached to a voice.
- 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, you can use GET https://api.elevenlabs.io/v1/voices/{voice_id} to list all the available samples for a voice.
- 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
Code snippet
Updates live as you fill in the form above.
TypeScript
import elevenlabs from '@utdk/elevenlabs';
await elevenlabs.getAudioFromSample()