Discussions

Ask a Question

Pause Streaming API

Hi, we are wondering if there is a way to pause streaming the avatar so it does not keep using the API credits. We are having it conduct an assessment and gathering information that could take some time and we want to make it where the users can pause the conversation if they need to. Is this functionality possible?

ANSWERED

Inquiry about compatibility, costs, and options for Whisper models in the HeyGen SDK

Hello, I am working on a custom project using the Interactive Avatar SDK with Vite, based on the "Create a Vite Project with Streaming SDK" demo. I am currently using the audio-handler and adding the model like this:
formData.append("model", "whisper-1").

TIMEOUT change

I am using Steaming avatar SDK, can I extend the timeout beyond 10 minutes? If yes, how can I do that?

ANSWERED

Wordpress

How do I embed the avatar video directly onto a wordpress page

ANSWERED

How to implement language translation?

I am using interactive avatar. I have an option to choose different language while starting a session.

ANSWERED

Failed to initialize an avatar session after the

main.ts:202
POST
https://api.heygen.com/v1/streaming.new 400 (Bad Request)
initializeAvatarSession @ main.ts:202
await in initializeAvatarSession
handleConnectClick @ CourseContent.js:337
await in handleConnectClick
(anonymous) @ CourseContent.js:257
setTimeout
$ReactRefreshModuleRuntime$ @ CourseContent.js:1432
./src/components/CourseContent.js @ CourseContent.js:1432
options.factory @ react refresh:6
webpack_require @ bootstrap:22
_requireSelf @ hot module replacement:101
apply @ jsonp chunk loading:441
(anonymous) @ hot module replacement:341
internalApply @ hot module replacement:339
(anonymous) @ hot module replacement:277
waitForBlockingPromises @ hot module replacement:232
(anonymous) @ hot module replacement:275
Promise.then
(anonymous) @ hot module replacement:274
Promise.then
(anonymous) @ hot module replacement:255
Promise.then
hotCheck @ hot module replacement:246

ANSWERED

Api Rate Limits, Latency, Scalability

Hi team,

ANSWERED

How to Reduce Initial Latency (8-9s) in Assistants API with File Retrieval while Maintaining Full Retrieval Functionality

We're building a virtual university advisor where maintaining accurate, knowledge-based responses is crucial. Our main goal is to keep the full retrieval functionality but significantly reduce the initial response latency.