Skip to content
Branch: master
Find file History

Text-to-speech (TTS) - Node.js Samples

This repository includes Node.js samples for text-to-speech, a REST endpoint made available through Microsoft Speech Services. Each sample corresponds to a Quickstart activity on


Here's what you'll need to run these samples:

  • Your favorite IDE or text editor
  • Node.js
  • An Azure subscription with Speech Services enabled. Get one for free!

Code samples

To use these samples, follow these instructions:

  • Create a new project using your favorite IDE or text editor
  • Copy the code from the sample into a file named TTSSample.js
  • Run npm install to install dependencies
  • Set your subscription key
  • Run the sample: node


You can’t perform that action at this time.