Guides & Tutorials

How to Build a Voice AI Agent with Gradium and LiveKit (Python Guide)

Learn how to build a full voice AI agent using Gradium STT and TTS with the LiveKit agent framework. Step-by-step Python guide covering AgentSession setup, VAD, interruptions, preemptive generation, tools, and deployment.

April 15, 20266 min readTutorial

How to Build an Audiobook Agent with Gradium and Pipecat: Step-by-Step Guide

Learn how to build a real-time story narrator with Gradium TTS and Pipecat. This step-by-step guide covers installation, pipeline setup, voice configuration, and deployment in about 100 lines of Python.

April 13, 20265 min readTutorial

How to Multiplex TTS Requests Over One WebSocket Connection in Gradium

Learn how to reuse a single WebSocket connection for multiple concurrent TTS requests in Gradium using multiplexing. Covers close_ws_on_eos, client_request_id, and how to route interleaved audio chunks correctly.

April 10, 20264 min readTutorial

What Is the Best Text-to-Speech API in 2026 to Build Voice Agents? Complete Developer Comparison

Best text-to-speech API 2026: Gradium achieves 258ms P50 TTFA (214ms with multiplexing) with expressive multilingual voices and robust pronunciation. Complete real-time TTS comparison for developers building voice agents.

April 9, 202625 min readComparison

How to Use json_config in Gradium: TTS and STT Parameters Explained

Learn how to use the json_config field in Gradium to control rewrite_rules, padding_bonus, temp, and cfg_coef for TTS, and language and delay_in_frames for STT. Full parameter reference with code examples.

April 9, 20265 min readTutorial

Instant vs Pro Voice Cloning in Gradium: When to Use Each

Not sure whether to use Instant or Pro Voice Cloning in Gradium? Learn the key differences, what each is designed for, how to prepare your audio for Pro cloning, and how to choose based on your use case.

April 9, 20264 min readTutorial

How to Use Pronunciation Dictionaries in Gradium TTS: Studio and API Guide

Learn how to use Pronunciation Dictionaries in Gradium to control how words are spoken and filter unwanted content. Step-by-step guide for Gradium Studio and the Python SDK.

April 9, 20264 min readTutorial

How to Handle TTS Edge Cases with Text Normalization in Gradium

Learn how to use Gradium's Text Normalization feature to handle edge cases in TTS. Configure rewrite_rules with language aliases or specific normalizers for dates, numbers, emails, URLs, phone numbers, and alphanumeric codes.

April 9, 20264 min readTutorial