Skip to main content
Glama

Generate Speech

generate_speech

Speak written words out loud in an ElevenLabs voice and save the audio to your library. Give it the words and the voice (a voice name, or a voice id from list_voices). Choose the model with quality: "fast" (the default, quick and cheap) or "best" (the richest, most emotional read), or name one yourself with model: v4, turbo, v3, conversational, multilingual or flash. How much text one take holds is set by the model you pick: v4 and multilingual 10,000 letters, v3 5,000, flash 40,000, and turbo has no stated limit. You can set stability and similarity (0 to 1) on every model, and style, speed (0.7 to 1.2) and speaker_boost on every model except v4 and v4 turbo, which take stability and similarity only. Billed per 250 characters of text, so a 500-character script costs two units. The answer carries the time in seconds that every single word starts and ends, which is what you use to cut on the beat, place captions or time a picture to a word. For a sound effect use generate_sound_effect; for two or more people talking in one file use generate_dialogue.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesThe words to speak, exactly as they should be said. How long one take can be is set by the model you pick. Write numbers and dates the way you want them read out.
modelNoOptional. v4 (richest), turbo (quick, the default), v3, conversational, multilingual or flash. Leave it out and quality decides.
speedNoOptional, 0.7 to 1.2. Under 1 is slower, over 1 is faster. Every model except v4 and v4 turbo.
styleNoOptional, 0 to 1. Extra performance. Every model except v4 and v4 turbo.
voiceYesWhich voice speaks: a voice name such as "Rachel", or a voice id. Call list_voices to see the voices on this account.
qualityNoOptional. "best" picks the richest model, "fast" the quick one. Default fast.
languageNoOptional two-letter language code, for example "es" or "fr", when the words are not in English.
stabilityNoOptional, 0 to 1. Lower is more expressive and varied, higher is steadier and more even.
similarityNoOptional, 0 to 1. How closely the read sticks to the original voice.
timestampsNoOptional, default true. Word-by-word times come back with the audio. Set false if you do not need them.
speaker_boostNoOptional. Holds the voice closer to the speaker it was made from. Every model except v4 and v4 turbo.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / model / description
      Previous value: -"Optional. v4 (richest), turbo (quick, the default), v3, multilingual or flash. Leave it out and quality decides."New value: +"Optional. v4 (richest), turbo (quick, the default), v3, conversational, multilingual or flash. Leave it out and quality decides."
    • changedInput schema / properties / speaker_boost / description
      Previous value: -"Optional. Holds the voice closer to the speaker it was made from. Multilingual and flash only."New value: +"Optional. Holds the voice closer to the speaker it was made from. Every model except v4 and v4 turbo."
    • changedInput schema / properties / speed / description
      Previous value: -"Optional, 0.7 to 1.2. Under 1 is slower, over 1 is faster. Multilingual and flash only."New value: +"Optional, 0.7 to 1.2. Under 1 is slower, over 1 is faster. Every model except v4 and v4 turbo."
    • changedInput schema / properties / style / description
      Previous value: -"Optional, 0 to 1. Extra performance. Multilingual and flash only."New value: +"Optional, 0 to 1. Extra performance. Every model except v4 and v4 turbo."
    • changedInput schema / properties / text / description
      Previous value: -"The words to speak, exactly as they should be said, under 5000 characters. Write numbers and dates the way you want them read out."New value: +"The words to speak, exactly as they should be said. How long one take can be is set by the model you pick. Write numbers and dates the way you want them read out."
  2. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources