Discussions

Ask a Question
Back to All

Talk Stream with defined Agent

Hello,

I followed the tutorial for implementing a stream to my personal website: https://github.com/jjmlovesgit/D-id_Streaming_Chatgpt/tree/main.

However, I have a defined agent with a greeting, voice, idle, etc. defined. While the stream works and returns a video, the video is based on the source image rather than using my defined agent. I implemented the idle video from my agent via "data.agents[0].presenter.idle_video," which comes in with its defined background and HD resolution. When I get the return from the stream, the displayed agent is not HD and has a blue background, so the transition back to idle is rough and not immersive for the user.

Is there an option to open a stream to an existing agent ID to inherit all the predefined attributes of the stream?

Thank you in advance.