[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"glossary-text-to-speech::en":3,"gloss-cluster-text-to-speech::en":20,"gloss-next-text-to-speech::en":9},{"slug":4,"category":5,"name":6,"definition":7,"meta_desc":8,"faq":9,"schema_markup":9,"related":10},"text-to-speech","output","Text-to-Speech (TTS)","Text-to-speech (TTS) is the conversion of written text into audible, natural-sounding speech using a trained neural voice model. Modern TTS (ElevenLabs, OpenAI's TTS API, Google Cloud TTS, Amazon Polly, PlayHT) has moved far beyond the robotic concatenative synthesis of the 2000s; today's systems use neural vocoders and diffusion- or transformer-based architectures that model prosody, intonation, breathing, and emotional inflection, producing audio that is frequently indistinguishable from a human recording, complete with natural pauses, filler emphasis, and micro-variations in pitch that make long-form listening feel less fatiguing than older robotic voices. Why it matters for SaaS builders: TTS unlocks accessibility (screen readers, audio versions of articles), audio content products (AI-narrated audiobooks and podcasts, e.g., ElevenReader), IVR\u002Fcall-center automation, and voice UI for apps. It's a standard building block in customer-support bots, language-learning apps, and video-generation pipelines (voiceover track). Integration is almost always API-based: send text plus a voice ID and get back an audio stream (MP3\u002FWAV) or, for low-latency use cases like voice agents, a real-time audio chunk stream over WebSocket. A concrete worked example — adding \"listen to this article\" to a blog: (1) on publish, the backend sends the article's plain-text body (with markdown stripped and headings converted to natural pause markers) to the TTS API: `POST \u002Fv1\u002Ftext-to-speech\u002F{voice_id}` with body `{\"text\": \"...\", \"model_id\": \"eleven_multilingual_v2\", \"voice_settings\": {\"stability\": 0.5, \"similarity_boost\": 0.75}}`; (2) the API returns an MP3 stream, typically generated in roughly real-time-to-real-time-plus-a-few-seconds for short articles; (3) the app stores the file in object storage behind a CDN and embeds an `\u003Caudio>` player with playback-speed controls above the article; (4) for long articles that exceed the API's per-request character limit, the backend splits the text into paragraph-level chunks, generates audio for each in parallel, and stitches the resulting MP3 segments together server-side before caching the final file, so it's only generated once per article rather than on every page view. Key parameters: voice selection (stock voices vs. custom cloned voices), stability (consistency vs. expressiveness trade-off — higher stability sounds more monotone but more reliable), speaking rate\u002Fspeed, and output format\u002Fsample rate (44.1kHz MP3 for web playback vs. lower-bitrate formats for bandwidth-constrained mobile). Latency matters enormously for conversational use cases — batch TTS for a blog post can tolerate several seconds of generation time, but providers now offer streaming TTS with sub-300ms time-to-first-audio-byte specifically for real-time voice agents, where the user would otherwise perceive an awkward pause before the AI \"starts talking.\"","Text-to-speech (TTS) converts written text into natural-sounding spoken audio using neural voice synthesis models.",null,[11,14,17],{"slug":12,"name":13},"avatar-generation","Avatar Generation",{"slug":15,"name":16},"speech-to-text","Speech-to-Text (STT)",{"slug":18,"name":19},"voice-cloning","Voice Cloning",[21,25,29,33,36,40,43,44,47,50,53,56],{"slug":22,"category":5,"name":23,"updated_at":24},"abstention","Abstention","2026-08-24T03:30:02+00:00",{"slug":26,"category":5,"name":27,"updated_at":28},"ai-copywriting","AI Copywriting","2026-08-24T02:46:38+00:00",{"slug":30,"category":5,"name":31,"updated_at":32},"ai-watermarking","AI Watermarking","2026-08-24T02:46:37+00:00",{"slug":34,"category":5,"name":35,"updated_at":32},"aspect-ratio-control","Aspect-Ratio Control",{"slug":37,"category":5,"name":38,"updated_at":39},"audio-generation","Audio Generation","2026-08-24T02:46:36+00:00",{"slug":41,"category":5,"name":42,"updated_at":32},"audio-super-resolution","Audio Super-Resolution",{"slug":12,"category":5,"name":13,"updated_at":39},{"slug":45,"category":5,"name":46,"updated_at":39},"background-removal","Background Removal",{"slug":48,"category":5,"name":49,"updated_at":32},"batch-image-generation","Batch Image Generation",{"slug":51,"category":5,"name":52,"updated_at":28},"brand-voice","Brand Voice",{"slug":54,"category":5,"name":55,"updated_at":28},"cfg-scale","CFG Scale (Classifier-Free Guidance)",{"slug":57,"category":5,"name":58,"updated_at":32},"character-consistency","Character Consistency"]