Skip to content

This is a simple node.js example of how to use the Azure AI to convert text to speech.

License

Notifications You must be signed in to change notification settings

manekinekko/azure-text-to-speech-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure AI Text-to-Speech (TTS)

This is a simple node.js example of how to use the Azure AI to convert text to speech.

azure-ai-tts-voice_4.mp4

Prerequisites

Ressource Key

Rename the env.example file to .env and fill in the required information. Use the ressource key from the Azure Speech Portal, and the region where your ressource is located:

SPEECH_KEY=
SPEECH_REGION=

# Optional
SPEECH_VOICE_NAME=
SPEECH_LANGUAGE=

Running the app

npm install
node index.js

About

This is a simple node.js example of how to use the Azure AI to convert text to speech.

Resources

License

Stars

Watchers

Forks