can we do voice cloning in livemkit where agent sp...
# ask-ai
b
can we do voice cloning in livemkit where agent speaks in a custom voice
t
Thanks for reaching out, Aman. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thank you for reaching out! While LiveKit doesn’t offer voice cloning directly within its built-in services, you can absolutely enable this feature by connecting with some great external plugins from third-party services like Google Cloud TTS or PlayAI (PlayHT). Here are a couple of options to consider: • Google Cloud TTS: This supports voice cloning through the Chirp 3: Instant Custom Voice feature. You’ll just need to generate a voice clone key and set up the plugin accordingly. • PlayAI (PlayHT): Offers voice cloning by using a unique voice ID from their extensive library. I’d be happy to walk you through detailed steps for setting up one of these plugins or help you decide which option might suit your needs best. Just let me know how I can assist! Sources: Inworld TTS | LiveKit Docs | Text-to-speech (TTS) models | LiveKit Docs | Google Cloud TTS integration guide | LiveKit Docs | livekit-plugins/livekit-plugins-playai/README.md | pipeline-tts/tts_comparison/tts_comparison.py
b
Copy code
tts=playai.TTS(
      voice="s3://voice-cloning-zero-shot/a59cb96d-bba8-4e24-81f2-e60b888a0275/charlottenarrativesaad/manifest.json",
      language="SPANISH",
      model="play3.0-mini",
   ),
lets say if i am using this tipe of declaration
t
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!