Home / Servers / ElevenLabs API / get_audio_from_sample
Get Audio From Sample
An MCP tool from the ElevenLabs API server, hosted on mcp.hjlabs.in.
Get Audio From Sample Returns the audio corresponding to a sample attached to a voice. [GET /v1/voices/{voice_id}/samples/{sample_id}/audio]
Name on the gateway: elevenlabs_api__get_audio_from_sample · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
voice_id required | string | Voice ID to be used, you can use https://api.elevenlabs.io/… |
sample_id required | string | Sample ID to be used, you can use GET… |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "elevenlabs_api__get_audio_from_sample",
"arguments": {
"voice_id": "…",
"sample_id": "…"
}
}Or connect the ElevenLabs API server directly, which lists 487 tools including this one:
claude mcp add --transport http hj-elevenlabs-api https://mcp.hjlabs.in/mcp/elevenlabs-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the get audio from sample tool with voice_id set to ….