Discussions

Ask a Question

Can Heygen's Streaming API Handle a Large Knowledge Base of Product Information?

Hello everyone,

Need support for Heygen Interactive Avatar integration

I want to build the customer support application using the Heygen interactive avatar and have used the Heygen Next.js sample. My application supports both text and voice modes. When a user enters a question or speaks in voice mode, I retrieve the response via an API and pass it to the avatar to speak.

Adjust styling for Text using api

is there a way to adjust the text styling for text like this in api?
userText: {
name: "userText",
type: "text",
properties: {
content: input.overlayText ?? "",
color: "#000000",
stroke_color: "#FFFFFF",
stroke_width: 4,
font_size: 48,
text_align: "center",
font_weight: "bold"
}
}
Even just basic text like border or background?

Integrating Custom Interactive Avatar Using API

I'm trying out the Vite+TS interactive avatar demo provided in HeyGen API docs (https://docs.heygen.com/docs/creating-a-vite-project-with-streaming-sdk). I can switch to any avatar listed with endpoint https://api.heygen.com/v1/streaming/avatar.list, but not to my custom one created a few days ago. If I try, I get error with status code 400 - I suppose avatar id is not found. It's also not listed.

Streaming Avatar - Speak trigger is sometimes slow, and the session fails to stop

I’m using a streaming avatar with a manual speak trigger. Generally, it works quickly with no noticeable delay. However, during a 3-hour non-stop session, there are 2-3 instances where triggering the speak action becomes slow. We wait for up to 2 minutes, but it remains stuck in a loading state.