steep-balloon-41261
08/12/2025, 1:23 AMtall-airline-16756
08/12/2025, 1:23 AMtall-airline-16756
08/12/2025, 1:23 AMplayai-tts-arabic
and voices such as "Nasser-PlayAI" and "Amira-PlayAI." You can follow the Groq TTS integration guide to set everything up with LiveKit.
2. LiveKit's Agents Framework: Use LiveKit’s Python-based Agents framework to build your conversational AI application smoothly.
3. Implementation Steps:
◦ First, install the Groq plugin by running: pip install "livekit-agents[groq]~=1.0"
◦ Next, grab a Groq API key from the Groq Console and add it to your .env
file as GROQ_API_KEY
.
◦ Then, set up your AgentSession
with the right Groq TTS model and voice. Here’s an example: from livekit.plugins import groq
session = AgentSession(
tts=groq.TTS(
model="playai-tts-arabic",
voice="Nasser-PlayAI",
),
# ... other configurations (STT, LLM, etc.)
)
1. Free-Tier Considerations: Groq supports Arabic TTS, but it’s not clearly mentioned if there’s a free tier for this feature. You might want to reach out to Groq directly to double-check.
2. Alternative Options: If Groq doesn’t offer a free tier for Arabic TTS, no worries! You can explore other providers like ElevenLabs or Spitch, which may have free-tier options for Arabic speech synthesis.
If you have any questions or need a hand with any of these steps, just let me know—I’m here to help!
Sources: examples/other/kokoro_tts.py | Groq TTS integration guide | LiveKit Docs | pipeline-tts/elevenlabs_tts.pybillowy-analyst-47555
08/12/2025, 1:37 AMtall-airline-16756
08/12/2025, 1:38 AM