The Unofficial Google Text-To-Speech API
Last month Google announced the ability to hear translations into English spoken via text-to-speech, no official API for the text-to-speech service. Where this TTS data was coming from? people found that the speech audio is in MP3 format and is queried via a simple HTTP GET (REST) request:
translate.google.com/translate_tts?tl=en&q=text.
So, replace it with "text" and change the URL to whatever you want it to say and you’ll get back a MP3 file.
Example: http://translate.google.com/translate_tts?q=hello+world You have to copy/paste or click it, and then click refresh, because Google is returning a 404 if there is a referring URL in the request.For now, only available for short translations to English, limited to 100 characters. Maybe we'll see it get official support soon. via Ajaxian


