What is Text-to-Speech?
Text-to-speech (TTS) synthesizes spoken audio from written text. A synthesis system chooses pronunciation, timing, and voice characteristics to produce an audio rendition of the supplied words.
How Text-to-Speech works
A synthesis service interprets text and generates a waveform using a selected voice or model. Some services accept Speech Synthesis Markup Language to control supported pronunciation or prosody features. Supported markup, languages, voices, and limits depend on the provider. Encoding the resulting waveform into MP3 or another delivery format is a separate representation choice from deciding what should be spoken.
Key facts
- TTS converts written input to speech. Speech-to-text recognizes spoken input, and translation changes language; neither is implied by synthesis alone.
- A fluent voice can still mispronounce a product name or speak a number ambiguously. Review representative outputs and record the source revision.
- Generated narration does not automatically supply every accessibility requirement of a page or video. Provide the appropriate text, controls, and alternatives for the experience.
When Text-to-Speech matters
Use TTS for narration or spoken versions of text, then review names, abbreviations, numbers, and pronunciation. Keep the source text and the generated audio version associated with each other.
How Transloadit helps with Text-to-Speech
Transloadit’s /text/speak Robot synthesizes speech from text in prompt, or from an input text file when prompt is null.
SSML support depends on the provider. With provider: "elevenlabs", keep ssml: false; ElevenLabs accepts plain text only and speaks at most the first 10,000 characters.