Home / Servers / ElevenLabs API / create_text_to_speech_generation

Create Speech Generation

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

Create Speech Generation Start a speech generation with the selected model. Charged per character via text-to-speech billing. Use this over /v1/text-to-speech for the asynchronous generation lifecycle or for models not… [POST /v1/flows/text-to-speech]

Name on the gateway: elevenlabs_api__create_text_to_speech_generation · may change things.

Parameters

NameTypeDescription
webhookobjectInclude to send the generation's result to the workspace's configured flows…
text requiredstringThe text to synthesize into speech.
voice requiredstringThe ID of the voice to speak with.
output_formatmp3_22050_32 | mp3_24000_48 | mp3_44100_32 | mp3_44100_64 | mp3_44100_96 | mp3_44100_128 | mp3_44100_192The audio encoding of the output, as codec_sampleRateHz_bitrateKbps.…
pronunciation_dictionary_locatorsarrayPronunciation dictionaries to apply to the text, in order of precedence. Up to…
model_id requiredstringThe model to use for the generation.
language_codestringISO 639-1 language code to enforce on the output. Omit to detect the language…
voice_settingsobjectOverrides for the voice's saved settings, applied to this generation only.

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__create_text_to_speech_generation",
  "arguments": {
    "text": "…",
    "voice": "…",
    "model_id": "…"
  }
}

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 create speech generation tool with webhook set to ….

More from ElevenLabs API