Using a Custom AI Avatar on the sample code
Hello
I am trying to create a Proof of Concept by using https://github.com/Azure-Samples/cognitive-services-speech-sdk/tree/master/samples/js/browser/avatar I want to show a custom video of a person in an avatar with text generated with OpenAi. In other words, user asks a question and answer comes from an OpenAI call (with a prompt, etc.).
Initially, we can use any of the neural voices provided by Azure.
We have a custom avatar deployed as we managed to get access (yay!)
Our custom avatar end point is at https://westus2.tts.speech.microsoft.com/cognitiveservices/websocket/v1 & we have an API key ,etc.
And here are the questions:
How do I change the sample code to use the custom avatar? I am guessing that I need to do some changes to this code as I have to provide the endpoint as well as the API key right? On the sample code above, there's no way to provide it. So it is normal that when I provide my custom avatar name in this sample code, i get an error saying customer has no access to that avatar :-(
Thanks in advance!