HeyGen-Official / StreamingAvatar

76 stars 54 forks source link

Creating session failure #4

Open youngrichu opened 5 months ago

youngrichu commented 5 months ago

After I enter the AvatarName and VoiceID, when I try to create a session it gets stuck on "Creating new session... please wait" and in the console log I get the below error: " Failed to load resource: the server responded with a status of 401 ()"

Germancitoz commented 4 months ago

Same here!

kazmaw commented 4 months ago

Same here. If I remove the avater_name and voice parameters from the body of newSession it works. https://github.com/HeyGen-Official/StreamingAvatar/blob/3ec29dc911234f837665c5845616e7ff4bbea6e9/index.js#L195-L198

oskrocha commented 3 months ago

I've encountered the same issue as previously reported. The functionality works as expected when not using an AvatarID and VoiceID. However, when these are provided, the following error is thrown in the console when creating a new session:

Uncaught (in promise) TypeError: Cannot destructure property 'sdp' of 'sessionInfo' as it is undefined. at HTMLButtonElement.createNewSession (index.js:40:16)

pechaut78 commented 3 months ago

If you look at the pricing, it says: custom streaming avatar if you have the creator level, so I guess that explains it.

MohitPanpaliya commented 1 month ago

After removing the avatar avater_name and voice parameters from the body of newSession then I try to give different avatar Id's, it didn't showed different Avatars, it only showed the same girl speaking in her language . Can anyone suggest how to try with different avatars or why am i unable to do it ?

ari7cr commented 3 weeks ago

last week it worked for me, now suddenly the same issue..

MohitPanpaliya commented 1 week ago

If you look at the pricing, it says: custom streaming avatar if you have the creator level, so I guess that explains it.

With Creator Plan you can use the custom avatar, but still I am unable to change the voice even if I put in different voice_id. Can anyone explain this ?