Discussions
Questions about API usage
Hello HeyGen team,
I have a few questions regarding the use of your API:
-
Avatar Persistence Between Sessions
Is it possible to create an interactive avatar instance once per app instance so that I don’t need to recreate it every time a session timeout occurs? Can the newSession and startSession methods somehow reuse a previously created avatar? -
Concurrent Avatar Usage
How many avatars can be created and be active at the same time? -
ElevenLabs Voice Configuration
What’s the correct way to configure ElevenLabs voices? If we already have a voiceId from ElevenLabs, how should we set it in the config JSON to ensure the avatar uses that voice? I’m currently receiving an error indicating that the voice ID is not recognized. Is it necessary to first create a voice entry in the HeyGen dashboard (using the imported ElevenLabs voice) and then reference that instead?
Thanks for your support!
Best regards