Discussions

Ask a Question
Back to All

Python Avatar Streaming

Hello,

I am trying to build a Python code that uses the Stream feature you have to generate a live talking avatar that will say pieces of text I provide to it in real-time in the code.

The documentation is not that sufficient and it keeps giving me "Internal server error"

The "createastream" code (https://docs.d-id.com/reference/createstream) worked and generated a response
But the "startastream" code is not working although I provided it with the session id, stream id, and the sdp

Can you go through the steps on how I can make sure starting a stream works in Python?

Thanks a lot