Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 850 Bytes

readme.md

File metadata and controls

27 lines (21 loc) · 850 Bytes

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