Overview
This plugin allows you to use Respeecher as a TTS provider for your voice agents. Respeecher provides English and Ukrainian voices. It requires informed consent from voice owners before using their vocal data, and is a founding partner in the Partnership on AI's Responsible Practices for Synthetic Media .
Installation
Install the plugin from PyPI:
uv add "livekit-agents[respeecher]~=1.5"
Authentication
The Respeecher plugin requires an API key from Respeecher .
Set RESPEECHER_API_KEY in your .env file.
Usage
Use Respeecher TTS within an AgentSession or as a standalone speech generator. For example, you can use this TTS in the Voice AI quickstart.
from livekit.plugins import respeechersession = AgentSession(tts=respeecher.TTS(model="/public/tts/en-rt",voice_id="samantha",),# ... llm, stt, etc.)
Models
Respeecher provides the following models. Each model has a default voice, used when you don't set voice_id.
| Model ID | Language | Default voice |
|---|---|---|
/public/tts/en-rt | English | samantha |
/public/tts/ua-rt | Ukrainian | olesia-conversation |
Voice discovery
Each model has a different set of voices. Use the module-level list_voices helper to discover the voice IDs available for a model:
from livekit.plugins import respeechervoices = await respeecher.list_voices(model="/public/tts/en-rt")for voice in voices:print(voice.id)
Parameters
This section describes some of the available parameters. See the plugin reference for a complete list of all available parameters.
modelstringDefault: /public/tts/en-rtRespeecher TTS model to use. See the Models table for available options.
voice_idstringID of the voice to use. Defaults to a model-specific voice (see the Models table). Use list_voices to discover the IDs available for the chosen model.
voice_settingsVoiceSettingsOptional voice settings. Set sampling_params to control synthesis quality. See the Respeecher sampling params guide for details.
Additional resources
The following resources provide more information about using Respeecher with LiveKit Agents.