# KugelAudio - [Welcome to KugelAudio](https://docs.kugelaudio.com/index.md): High-quality, low-latency text-to-speech for real-time applications - [Quick Start](https://docs.kugelaudio.com/quickstart.md): Get started with KugelAudio in under 5 minutes - [Authentication](https://docs.kugelaudio.com/api-reference/authentication.md): How to authenticate with the KugelAudio API - [Models](https://docs.kugelaudio.com/models.md): Available models and legacy model IDs - [Agent skill](https://docs.kugelaudio.com/guides/agent-skill.md): Install the KugelAudio skill so your coding agent gets the integration rules without you re-explaining them. - [MCP server](https://docs.kugelaudio.com/guides/mcp-server.md): Connect Claude, Cursor or any MCP client to your KugelAudio account to generate speech from a chat. - [Account security](https://docs.kugelaudio.com/guides/account-security.md): Protect your KugelAudio account with two-factor authentication and passkeys - [Voice Agent Prompting](https://docs.kugelaudio.com/guides/voice-prompting.md): Copy-paste prompt patterns for LLM-driven voice agents (structure, disfluency, guardrails, tools) - [Streaming overview](https://docs.kugelaudio.com/streaming/overview.md): Stream audio as it's generated. The patterns, the four rules that keep latency low, and audio playback. - [Turn lifecycle](https://docs.kugelaudio.com/streaming/turn-lifecycle.md): What a turn is, how it starts and ends, session reuse across turns, and per-session usage reporting. - [Chunking & per-segment latency](https://docs.kugelaudio.com/streaming/chunking-and-latency.md): How server-side chunking works and why client-side flushing increases TTFA. - [Barge-in](https://docs.kugelaudio.com/streaming/barge-in.md): Cancel the current turn immediately when the user interrupts — without closing the WebSocket. - [Multi-context streaming](https://docs.kugelaudio.com/streaming/multi-context.md): Manage up to 20 independent audio streams over a single WebSocket connection. - [Word timestamps](https://docs.kugelaudio.com/streaming/word-timestamps.md): Word-level time alignments delivered alongside streaming audio — for barge-in handling, subtitles, and lip-sync. - [Latency](https://docs.kugelaudio.com/latency.md): What determines time-to-first-audio (TTFA), how to measure it, and the levers that lower it. - [LiveKit Integration](https://docs.kugelaudio.com/integrations/livekit.md): Add KugelAudio TTS to a LiveKit Agents voice agent in Python or TypeScript - [Pipecat Integration](https://docs.kugelaudio.com/integrations/pipecat.md): Use KugelAudio TTS with the Pipecat voice AI framework - [Vapi Integration](https://docs.kugelaudio.com/integrations/vapi.md): Use KugelAudio as a custom TTS provider in Vapi voice assistants - [Cognigy Integration](https://docs.kugelaudio.com/integrations/cognigy.md): Use KugelAudio as a custom speech vendor or an on-prem Azure Speech container in Cognigy Voice Gateway - [Generate Speech](https://docs.kugelaudio.com/features/generate.md): Generate high-quality speech from text using KugelAudio - [Prompting overview](https://docs.kugelaudio.com/prompting/overview.md): How to shape speech output through text: what's supported, writing tips, and what to avoid. - [Breaks](https://docs.kugelaudio.com/prompting/breaks.md): Insert explicit pauses with SSML-style break tags: syntax, accepted values, and how durations are snapped. - [Speed](https://docs.kugelaudio.com/prompting/speed.md): Pitch-preserving rate control, globally via the speed parameter or per span via prosody rate tags. - [Spell tags](https://docs.kugelaudio.com/prompting/spell.md): Character-by-character pronunciation for emails, codes, acronyms, and serial numbers, including grouped spelling. - [Pronunciation & IPA](https://docs.kugelaudio.com/prompting/pronunciation.md): Fix how specific words are spoken with inline IPA in the request text, or replacement/IPA entries in pronunciation dictionaries. - [Text normalization](https://docs.kugelaudio.com/features/text-processing.md): Control how numbers, dates, and currencies are read before speech synthesis - [Dictionaries](https://docs.kugelaudio.com/features/dictionaries.md): Control pronunciations for brand names, acronyms, and domain vocabulary - [Using Voices](https://docs.kugelaudio.com/features/voices.md): Browse and use voices for speech generation - [Voice Cloning](https://docs.kugelaudio.com/features/voice-cloning.md): Create custom voices from audio samples - [Speech enhancement](https://docs.kugelaudio.com/features/speech-enhancement.md): Remove background noise from speech, or keep only one speaker's voice, with Clarity - [Regions](https://docs.kugelaudio.com/guides/regions.md): Choose between the canonical endpoint and the direct EU endpoint - [On-Premise Deployment](https://docs.kugelaudio.com/guides/self-hosted.md): Install, configure, start, stop, upgrade, and roll back your KugelAudio deployment - [SDK Diagnostics](https://docs.kugelaudio.com/sdks/telemetry.md): What the KugelAudio SDKs report about their own failures, and how to turn it off - [Quickstart](https://docs.kugelaudio.com/sdks/python/quickstart.md): Install the KugelAudio Python SDK and generate your first audio - [Configuration](https://docs.kugelaudio.com/sdks/python/configuration.md): Client options, lifecycle, and region selection - [Generate Speech](https://docs.kugelaudio.com/sdks/python/generate.md): One-shot speech generation, generation parameters, models, and word timestamps - [Streaming](https://docs.kugelaudio.com/sdks/python/streaming.md): Streaming audio, LLM streaming sessions, barge-in, and multi-context sessions - [Text Normalization](https://docs.kugelaudio.com/sdks/python/normalization.md): Convert numbers, dates, and symbols to spoken words, with spell tags - [Voices](https://docs.kugelaudio.com/sdks/python/voices.md): List, create, update, and manage voices and reference audio - [Dictionaries](https://docs.kugelaudio.com/sdks/python/dictionaries.md): Per-project pronunciation and replacement lists - [Speech Enhancement](https://docs.kugelaudio.com/sdks/python/speech-enhancement.md): Remove background noise or keep one voice with the Python SDK - [Types & Errors](https://docs.kugelaudio.com/sdks/python/types.md): Exceptions, data models, and enums exported by the SDK - [Quickstart](https://docs.kugelaudio.com/sdks/javascript/quickstart.md): Install the KugelAudio TypeScript/JavaScript SDK, set up the client, and generate your first audio - [Configuration](https://docs.kugelaudio.com/sdks/javascript/configuration.md): Configure the KugelAudio client, including options, authentication modes, regions, and lifecycle - [Generate Speech](https://docs.kugelaudio.com/sdks/javascript/generate.md): One-shot generation, streamed audio output, word timestamps, models, and audio utilities - [Streaming](https://docs.kugelaudio.com/sdks/javascript/streaming.md): Persistent WebSocket sessions for LLM pipelines, with chunking, session reuse, barge-in, and multi-context - [Text Normalization](https://docs.kugelaudio.com/sdks/javascript/normalization.md): Convert numbers, dates, and symbols into spoken words, with language hints and spell tags - [Voices](https://docs.kugelaudio.com/sdks/javascript/voices.md): List, create, update, publish, and manage voices and their reference audio - [Dictionaries](https://docs.kugelaudio.com/sdks/javascript/dictionaries.md): Per-project pronunciation and replacement lists for brand names and domain vocabulary - [Speech Enhancement](https://docs.kugelaudio.com/sdks/javascript/speech-enhancement.md): Remove background noise or keep one voice with the JavaScript SDK - [Types & Errors](https://docs.kugelaudio.com/sdks/javascript/types.md): Error classes and the full TypeScript interface reference for the KugelAudio SDK - [Quickstart](https://docs.kugelaudio.com/sdks/java/quickstart.md): Install the KugelAudio Java SDK and generate your first audio - [Configuration](https://docs.kugelaudio.com/sdks/java/configuration.md): Client options, authentication modes, and region selection - [Generate & Stream](https://docs.kugelaudio.com/sdks/java/generate.md): One-shot generation, streaming audio, text normalization, word timestamps, and error handling - [LLM Sessions](https://docs.kugelaudio.com/sdks/java/llm-sessions.md): Streaming sessions for LLM token streams, barge-in, session reuse, and multi-context sessions - [Voices](https://docs.kugelaudio.com/sdks/java/voices.md): List, create, update, and manage voices and their reference audio - [Dictionaries](https://docs.kugelaudio.com/sdks/java/dictionaries.md): Per-project pronunciation and replacement lists for consistent brand and domain vocabulary - [Types](https://docs.kugelaudio.com/sdks/java/types.md): Data models, audio utilities, and a complete end-to-end example - [API Reference](https://docs.kugelaudio.com/api-reference/introduction.md): Complete API documentation for KugelAudio - [Use the API without an SDK](https://docs.kugelaudio.com/api-reference/raw-api.md): Calling the KugelAudio API without an SDK: EU keys, text encoding, and WebSocket tooling. - [Error Codes](https://docs.kugelaudio.com/api-reference/errors.md): Lookup table for KugelAudio TTS API error responses - [Generate Speech API](https://docs.kugelaudio.com/api-reference/tts/generate.md): REST endpoint: POST /v1/tts/generate. One request, streamed PCM response. - [Stream Speech](https://docs.kugelaudio.com/api-reference/tts/stream.md): WebSocket endpoint: /ws/tts. One request per turn, audio chunks streamed back, ends with a final message. - [Stream Input](https://docs.kugelaudio.com/api-reference/tts/stream-input.md): WebSocket endpoint: /ws/tts/stream. Token-by-token text input, turn-based sessions for LLM agents. - [Multi-Context WebSocket API](https://docs.kugelaudio.com/api-reference/tts/multi-context.md): WebSocket endpoint: /ws/tts/multi. Up to 20 independent audio streams over one connection. - [Audio Formats](https://docs.kugelaudio.com/api-reference/tts/audio-formats.md): Output encodings, the output_format token, G.711 telephony codecs, audio chunk fields, and the AI-generated audio marking (watermark + disclosure header). - [Voices API](https://docs.kugelaudio.com/api-reference/endpoints/voices.md): Manage and list voices - [Models](https://docs.kugelaudio.com/api-reference/endpoints/models.md): List available TTS models - [Dictionaries API](https://docs.kugelaudio.com/api-reference/endpoints/dictionaries.md): Manage per-project custom word dictionaries - [Projects API](https://docs.kugelaudio.com/api-reference/endpoints/projects.md): Create projects and issue API keys for your end customers - [Speech Enhancement](https://docs.kugelaudio.com/api-reference/endpoints/speech-enhancement.md): Remove background noise, or keep one speaker's voice, over REST or real-time WebSocket - [ElevenLabs API Compatibility](https://docs.kugelaudio.com/integrations/elevenlabs-proxy.md): Use KugelAudio with any ElevenLabs-compatible SDK or integration ## Optional - [Pricing](https://kugelaudio.com/pricing) - [GitHub](https://github.com/kugelaudio) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.