Discussions
await avatar.startVoiceChat is not working
try {
const token = await fetchAccessToken();
avatar = new StreamingAvatar({ token });
// Initialize OpenAI Assistant
// const openaiApiKey = process.env.OPENAI_API_KEY;
// if (!openaiApiKey) {
// throw new Error("OPENAI_API_KEY is not defined in environment variables.");
// }
openaiAssistant = new OpenAIAssistant(openaiApiKey);
await openaiAssistant.initialize();
sessionData = await avatar.createStartAvatar({
quality: AvatarQuality.Medium,
avatarName: "ef08039a41354ed5a20565db899373f3",
language: "English",
});
await avatar.startVoiceChat({
useSilencePrompt: false
});
Interactive Avatar not shareable
When I create an interactive avatar and share it with someone else, the avatar doesn't perform any actions for them, even though it works perfectly fine for me. Is this a common experience for others as well?
Is there an API for the Lab function "Instant Highlights"?
Hi,
How to call and use an interactive avatar on an external site using the API? How to invoke an interactive avatar with a specific knowledge base?
I want to call an interactive avatar that I've created, not within the Heygen site, but using an API in an external application that I've developed. I believe I need to specify the customized interactive avatar that I've created. (in the code of the application I'm developing).
Modify Rate and Emotion of avatar
Modify Rate and Emotion of avatarHow can we change the Rate(speed) and Emotion of avatar in free heygen model
Can I change voice settings after starting a streaming session?
Hi, I want to change the emotion in the voice setting based on what is being spoken; is it possible to set the emotion for each task? I only saw the parameter for voice setting when making a new session.
how to pass the optimaze local parameter to select Russian language (original accent)?
"script_ru_voice": {
"name": "script_ru_voice",
"type": "voice",
"properties": {
"voice_id": "1156e00bc07f47cd94facef758b51f25",
"speed": 1,
"pitch": 50,
"volume": 100,
}
}
Displaying avatar on wix site
hello :] premium user here. I would like to implement and display a created avatar on my wix site. I was able to add the NPM package for api, but cannot for the life of me get the avatar to display using any demo code I’ve found
API concurrent request limit? rate limit?
What is the concurrent API request limit? And what is the rate limit in requests per minute, hour or day?
Stop script language autodetect!!!
STOP AUTODETECTING LANGUAGE IN SCRIPT!!! EVERY TIME I OPEN THE VIDEO TEMPLATE IN STUDIO IT MESSES UP LANGUAGE SETTINGS!!