Build and deploy your first LiveKit agent using LMNT for voice synthesis
.env
in your project directory and add:
agent.py
:
model
: TTS model (default: “blizzard”)voice
: Voice ID from LMNT’s voice librarylanguage
: Two-letter ISO 639-1 language codetemperature
: Controls expressiveness - lower values (0.3) for neutral speech, higher (1.0) for dynamic rangetop_p
: Controls stability - lower values for consistency, higher for flexibilityChange the voice
Add multilingual support
Fine-tune speech characteristics
temperature
: 0.3 (neutral) to 1.0 (expressive)top_p
: Lower values for consistency, higher for flexibilityCustomize the personality