HeyGen-Official / StreamingAvatarTSDemo

A typescript demo using react and the Streaming Avatar SDK
14 stars 22 forks source link

Not Responding #1

Open SaddamBInSyed opened 4 months ago

SaddamBInSyed commented 4 months ago

HI.

I have tried to run the provided script but after filling API key (trial) and other Ids, the app went to not responding mode.

could you please share the updated code or URL to try .

I have the final LLM response as a text/audio file.

image

SaiRev0 commented 4 months ago

@SaddamBInSyed If you inspect the network tab, the issue is that not every avatar is compatible with every voice ID. You have to find it by trial and error. The trick here is that since you have the message to speak in English, find a voice ID whose language is English and ensure the voice gender and avatar gender are the same. Else, It won't work.

Here is what I'm using (from the V2 API):- AvatarID : Kristin_public_2_20240108 VoiceID : 131a436c47064f708210df6628ef8f32

SaddamBInSyed commented 4 months ago

image

I used the above ID's but still same error.

The main goal is to have a live avatar based on the input text. ( both Arabic and English) with Trail account key.

please advise

SaiRev0 commented 4 months ago

Please show me whats the error here

SaddamBInSyed commented 4 months ago

@SaiRev0 No Specific error throwing but i can see something 401 in the network tab.

@aleclindz @rui-movio @babsguo

Can anyone help me get the right token? I want to test this earlier to know whether it is fitting to our use case.

Help appreciated

SaiRev0 commented 3 months ago

for me it worked with the trial token as well

SaiRev0 commented 3 months ago

@SaddamBInSyed Did you get your access key from the trial key ??

This is what works image