Discussions

Ask a Question

Avtar not starting with the KnowledgeId while starting the session

When we start to create avatar request, I try pass the "knowledgeId" . The avatar session is started but it does not start with the the prompt that we have set it in heygen labs. Please advice how to configure the avatar with the prompt when the session is started. Below is the request.

Not getting STREAM_READY event, can't reconnect to session

I don't always get the STREAM_READY event which is a problem.

SDK Voice Interaction with Streaming Avatar

Hi there

Mute Microphone Interactive Avatar SDK

What script can I implement to mute the microphone or that it doesnt respond to spoken text only the typed?

transcribe what the avatar says even if the user does not speak

For my interactive avatar, I use the SDK to obtain transcribed text of what the user and avatar say.
If USER_TALKING_MESSAGE does not fire, AVATAR_TALKING_MESSAGE will not fire. In other words, even if the avatar is speaking, the transcribed text will not be output unless the user speaks. I would like to transcribe what the avatar says even if the user does not speak.

How do I create personalized avatar via api?

When are user registers on our platform, i want to create a personalized avatar. He can't go to my heygen account and create one. I can collect the video from him, but then what about the consent video?

Avatar talking message event sends data but interactvie avatar is not speaking after the first speak request.

Hey,
I wanted to highlight minor but still important issue.
We're using Interactive avatar for voice chats. And we wanted avatar speaks first, so we send initial request to him:

Problem with Speech-To-Text

Hi there,
I am using the heygen streaming-avatar 2.0.10 library in VoiceChat mode when working with an interactive avatar in React.
I have a problem with voice recognition which is as follows.
For example if I say the following text: “I'm sure that speaking aloud helps you.”
As a result of recognition I get in : “Iam surethat speaking aloudhelps you.”
This problem is quite often repeated in a conversation.

Important 3 questions

  1. What is the maximum allowed interaction time with an avatar? If it is static, how can this be configured while creating the session? Please provide the exact limits for both free and paid accounts.
  2. How can the session be terminated if a user closes the window while the session is being created?
  3. How can we set a session timeout for a static avatar when there is no interaction for a specific duration?
    all this question are realated to realtime avatar sdk
    can you please help me with this questions

Does enpodint, which creates webm videos, support callbacks?

I noticed that https://docs.heygen.com/reference/create-a-webm-video doesn't mention how to pass a callback_id. Does the https://api.heygen.com/v1/video.webm endpoint support this?