Base URL: http://translate.google.com/translate_tts
It converts written words into audio. It accepts GET
requests.
q
The query string to convert to audio
tl
Translation language, for example, ar
for Arabic, or en-us
for English
ie
Encoding format, use default UTF-8
http://translate.google.com/translate_tts?ie=UTF-8&q=%D8%A7%D9%84%D8%B3%D9%84%D8%A7%D9%85%20%D8%B9%D9%84%D9%8A%D9%83%D9%85&tl=ar
http://translate.google.com/translate_tts?ie=UTF-8&q=Hello%20World&tl=en-us
@HealingTek, append
&client=t
to your URL and make sure your CLI client has a browser User-Agent string (e.g.Mozilla/5.0 (X11; Linux x86_64; rv:39.0) Gecko/20100101 Firefox/39.0
) (see https://gist.github.com/alotaiba/1728771#gistcomment-1546762).