Discussions

Ask a Question
Back to All

How to Implement Language Switching for the HeyGen Avatar

Hello, I previously inquired about changing the language of the HeyGen avatar's voice and speech-to-text (STT) during a conversation.
My initial question:
I wanted to know if it was possible to switch languages dynamically without restarting the session.
Your response:
The avatar's language cannot be changed without resetting the session.
To implement a language change, the session must be restarted.
HeyGen supports multilingual voices, which allow multiple languages in the same session.
Now, I would like to implement this feature, but I couldn't find clear documentation on how to do it.
Is there any official documentation on how to reset the session and change the avatar's language dynamically?
What are the required API calls or parameters needed to implement this correctly?
Are there specific multilingual voices available, and where can I find a list of them?
I would really appreciate detailed guidance or a link to the documentation explaining this process.
Thank you!