Welcome to the Azure Avatar Demo! This project showcases the integration of Azure AI's Text-to-Speech Avatar feature into a ReactJS application. With this application, you can bring lifelike synthetic talking avatars to your projects.
Click the link above to watch a demo of the Azure Avatar in action!
Microsoft is now retiring azure TURN services. Azure TTS avatar was using azure turn services for communication. I have added script to install coturn on ubuntu instance. Execute installCoturn.sh to setup your own TURN server.
Refer this medium link ->
Follow these steps to set up and run the application locally:
- Clone the Repository:
git clone https://github.com/hacktronaut/azure-avatar-demo.git cd azure-avatar-demo
- Install Dependencies:
npm install
- Start the Application:
npm start
The application will be accessible at http://localhost:3000 in your web browser.
Make sure to configure the necessary API keys and settings in the config.js file before running the application.
// config.js
export const avatarAppConfig = {
cogSvcRegion: 'your-region',
cogSvcSubKey: 'your-subscription-key',
// ... (other configuration options)
};
If you encounter any issues or have feedback, please open an issue. We welcome your contributions and suggestions!
Happy coding!