Home / Servers / ElevenLabs API / text_to_speech_full

Text To Speech

An MCP tool from the ElevenLabs API server, hosted on mcp.hjlabs.in.

Text To Speech Converts text into speech using a voice of your choice and returns audio. [POST /v1/text-to-speech/{voice_id}]

Name on the gateway: elevenlabs_api__text_to_speech_full · may change things.

Parameters

NameTypeDescription
voice_id requiredstringVoice ID to be used, you can use https://api.elevenlabs.io/…
enable_loggingbooleanWhen enable_logging is set to false zero retention mode will be used for the…
optimize_streaming_latencyintegerYou can turn on latency optimizations at some cost of quality. The best…
output_formatstringOutput format of the generated audio. Formatted as codec_sample_rate_bitrate.…
text requiredstringThe text that will get converted into speech.
model_idstringIdentifier of the model that will be used, you can query them using GET…
language_codestringLanguage code (ISO 639-1) used to enforce a language for the model and text…
voice_settingsobjectVoice settings overriding stored settings for the given voice. They are…
pronunciation_dictionary_locatorsarrayA list of pronunciation dictionary locators (id, version_id) to be applied to…
seedintegerIf specified, our system will make a best effort to sample deterministically…
previous_textstringThe text that came before the text of the current request. Can be used to…
next_textstringThe text that comes after the text of the current request. Can be used to…
previous_request_idsarrayA list of request_id of the samples that were generated before this…
next_request_idsarrayA list of request_id of the samples that come after this generation.…
use_pvc_as_ivcbooleanWhether to use the IVC version of a professional voice. This may improve…
apply_text_normalizationauto | on | offThis parameter controls text normalization with three modes: 'auto', 'on', and…
apply_language_text_normalizationbooleanThis parameter controls language text normalization. This helps with proper…
audio_effectsobjectAudio effects applied to the generated audio. Unknown IDs return 404 with…

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:

call_tool arguments
{
  "name": "elevenlabs_api__text_to_speech_full",
  "arguments": {
    "voice_id": "…",
    "text": "…"
  }
}

Or connect the ElevenLabs API server directly, which lists 487 tools including this one:

Run in your terminal
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 text to speech tool with voice_id set to ….

More from ElevenLabs API