bulky-optician-98879
05/15/2025, 2:56 PM<character id="xyz">This is character speech</character>
inside the tts_node
and assign another voice, but I’m not sure if it’s the right way forward. I could also do a tool call and add different agents handoff, but it looks too complicated (although maybe that’s the right way)tall-airline-16756
05/15/2025, 2:56 PMtall-airline-16756
05/15/2025, 2:56 PMbulky-optician-98879
05/15/2025, 2:57 PMtall-airline-16756
05/15/2025, 2:58 PMfrom livekit.plugins import rime
session = AgentSession(
tts=rime.TTS(
model="mist",
speaker="rainforest", # Voice selection
speed_alpha=0.9,
reduce_latency=True,
),
# ... llm, stt, etc.
)
• Using Speechify TTS: from livekit.plugins import speechify
session = AgentSession(
tts=speechify.TTS(
model="simba-english",
voice_id="jack", # Voice selection
)
# ... llm, stt, etc.
)
• Using Amazon Polly TTS: from livekit.plugins import aws
session = AgentSession(
tts=aws.TTS(
voice="Ruth", # Voice selection
speech_engine="generative",
language="en-US",
),
# ... llm, stt, etc.
)
Each example demonstrates how to specify a particular voice for TTS narration. Let me know if you need further assistance or additional examples!
Sources: Rime integration guide | LiveKit Docs | Speechify TTS integration guide | LiveKit Docs | Amazon Polly TTS integration guide | LiveKit Docsbulky-optician-98879
05/15/2025, 2:58 PMtall-airline-16756
05/15/2025, 2:59 PM