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
| Name | Type | Description |
|---|---|---|
webhook | object | Include to send the generation's result to the workspace's configured flows… |
text required | string | The text to synthesize into speech. |
voice required | string | The ID of the voice to speak with. |
output_format | mp3_22050_32 | mp3_24000_48 | mp3_44100_32 | mp3_44100_64 | mp3_44100_96 | mp3_44100_128 | mp3_44100_192 | The audio encoding of the output, as codec_sampleRateHz_bitrateKbps.… |
pronunciation_dictionary_locators | array | Pronunciation dictionaries to apply to the text, in order of precedence. Up to… |
model_id required | string | The model to use for the generation. |
language_code | string | ISO 639-1 language code to enforce on the output. Omit to detect the language… |
voice_settings | object | Overrides 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:
{
"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:
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 ….