Discussions

Ask a Question

Interactive Avatar in Arabic

Hey Heygen team and community,

Subject: Assistance Needed with HeyGen API to Generate Video Using Uploaded Image and Audio

Dear HeyGen Support Team,My name is Carlos, and I’m developing an iOS app in SwiftUI (Xcode 16.0+, iOS 14+) that integrates with the HeyGen API to generate talking avatar videos, replicating the workflow of the HeyGen web portal (https://app.heygen.com/home, phone and video section). My goal is to allow users to upload an image and audio via the app’s UI, pass these to the HeyGen API, and generate a video with a custom avatar and voice, but I’m encountering issues with the API integration. I’d appreciate your guidance to ensure my app matches the portal’s functionality.

Knowledge Base Greeting Not Playing with Streaming Avatar SDK v2.0.13

The greeting/intro message configured in a Knowledge Base is not being triggered when using the Streaming Avatar SDK, despite working correctly in the
HeyGen embed.

Avatar Repeat Delay

Hello
I am using Heygen interactive avatar NextJS Demo.

How to resolve error on "Start Voice Chat" where as Text Chat works fine in next.js demo codebase

hello all,
I am getting following error while running the codebase on google firebase studio in local dev server.
It does not give more accurate issue on what kind of permission.
I will appreciate any help.

Preview Data (Thumbnail) for User-Created Templates for each scene

Currently, in the dashboard, clicking on a public template opens a modal window showing a preview of the template along with thumbnails for each scene. From what I understand, the data for this modal comes from the internal API (api2.heygen.com/v1/pacific/template.list2).

Custom Font size and font color via Template API

For templates via API, is it possible to customise font-size and font-color? At the moment only content can be changed. I saw a post from a year ago that complicated parameters were not in the plan. Could you please advise if that's still the case?

Interactive Avatar Background

How can I replace the chroma key during a streaming session, such as in your Playground?

session failed after a few seconds

2025-09-29 13:01:58,004 - api.ai_avatar - ERROR - HeyGen API error: {"code":10002,"message":"invalid session state: closed"}
2025-09-29 13:01:58,005 - api.ai_avatar - ERROR - Session 7dc2d068-9d0a-11f0-a397-4658734a8349 is closed, cleaning up
2025-09-29 13:01:58,006 - api.ai_avatar - INFO - Cleaned up session: 7dc2d068-9d0a-11f0-a397-4658734a8349
2025-09-29 13:01:58,007 - api.ai_avatar - ERROR - Unexpected error: 400: Failed to send task
INFO: 127.0.0.1:52112 - "POST /api/avatar/session/task HTTP/1.1" 500 Internal Server Error

How could i add the pauses?

Hi, im using Avatar IV Video to generate videos where my hero is reading the text (usually ask the questions).
I need to make a small pause before the starting (like one second) and sometimes i need to make the same short pauses (1-1.5 seconds) between sentences. Is it possible?