Discussions

Ask a Question

Reconnecting every time

401 Unauthorized access (https://api.heygen.com/v1/streaming.task)

Hi, I'm building a web application where I'm trying to call the Initialize the avatar (with my trail token and access token) and make it speak the custom text through below handleSpeak() function call

Preventing Avatar's Default Responses in Voice Chat Mode?

In voice chat mode, I'm using streamingAvatar.speak({ text: responseFromClaude, task_type: TaskType.REPEAT }) to have the avatar repeat back a response from Claude AI. However, the avatar still responds from its own default knowledge base before repeating Claude's message, leading to two responses.

Intermittent Reconnection Issue with Interactive Avatar Session

I’m encountering an intermittent issue when opening a session with an interactive avatar using the SDK. This doesn't happen every time, but occasionally, after starting the session, the system begins trying to reconnect, as shown in the attached log.

Can I have two avatars on screen at the same time having a dialog?

And can I do this via API.

Getting 500 errors from Trial Token key

Error starting avatar session:
Error {name: "APIError", status: 500, responseText: "{"code":500,"message":"something wrong in server"}"}

Avatar speaking random things on it's own in the new SDK.

Hi, I started using the new sdk today. First of all, the heygen team has done a great job with reducing the latency of streaming.task api. However, it tends to speak random sentence after every 15 seconds, even if streaming.task api is in action?

How to Generate Lip-Synced Video Using My Avatar and Local Audio

I would like to generate a video with just the lip-syncing effect for my avatar. I have already created my avatar using My Avatar, and I want to use local audio files from my device to drive the lip movements. Could you please guide me on how to achieve this?

Web Socket keeps disconnecting.

I am using the SDK,