Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Unofficial API for Google's Text-To-Speech service with node.js

branch: master

a unofficial api for Google's Text-To-Speech service( written using node.js. It operates as an intermediary server between their system and your web app, providing the produced translations in MP3 format.


Very basic breakdown of steps.

1.Your webapp makes a request to a server running this js file, like
q being the phrase
tl being the target language.

2.Node grabs the mp3 file of the result, and returns back the file name(generated by timestamp) to your web app.

3.You can they play back this file with html5 audio like <audio src="$FILENAME">
Files are served back to the enduser with Paperboy.

I have tested this in a EC2 micro instance.
Something went wrong with that request. Please try again.