Discussions

Ask a Question
Back to All

Stream voice to Heygen for speaking back the same voice

I am trying to integrate Heygen with Ultravox. I am sending the voice to Ultravox which gives me the response in voice. How can I stream this voice to hygen for it to speak with facial expressions and lip sync. I couldnt find any good documentation on streaming voice to Heygen.
I tried to use the speak function which accepts text with REPEAT parameter to speak out the text sent. The issue is to pass the entire text returned for LLM take time and the users experience a considerable lag and if I combine few words and send to speak function , the communication doesnt sound natural.
There should be a better way to either stream voice or text to Heygen .