Google Blogoscoped

Forum

Unofficial Google Text-To-Speech API  (View post)

JEShack [PersonRank 10]

Tuesday, December 15, 2009
14 years ago10,695 views

"There’s no official API for the text-to-speech service. But Weston Ruter noticed that anyone can access the service in the same way Google does:"
http://www.techcrunch.com/2009/12/14/the-unofficial-google-text-to-speech-api/

just change the URL to whatever you want it to say and you’ll get back a MP3 file:
translate.google.com/translate_tts?q=<text limited to 100 characters here>

example:
http://translate.google.com/translate_tts?q=Blogoscoped+contains+80+percent+Google
Should give you an mp3 file of "Blogoscoped contains 80 percent Google"

Above 1 comments were made in the forum before this was blogged,

Seth [PersonRank 0]

14 years ago #

It looks like its already gone

Seth [PersonRank 0]

14 years ago #

Nevermind... strange

Avrohom Eliezer Friedman (AEF) [PersonRank 10]

14 years ago #

I can't access it – I guess Tony had to report it and they shut it down – lol

Zardoz [PersonRank 0]

14 years ago #

Gone in 60 seconds.

George R [PersonRank 10]

14 years ago #

The domain may need to be "translate.google.com".
Philipp had "www.google.com" in the second example.

try: http://translate.google.com/translate_tts?q=What,+Me+Worry

Philipp Lenssen [PersonRank 10]

14 years ago #

(For what it's worth, both variants work here...)

ahmed [PersonRank 0]

14 years ago #

not working :(

JEShack [PersonRank 10]

14 years ago #

It works for me, tested it on both Chrome and IE6.

If you have problems in viewing it on your browser then right-click on those link and select "Save Link/Target As", then you'll get the mp3 file. ;)

Ludwik Trammer [PersonRank 10]

14 years ago #

For some reason the ones people are posting are not working for me, but if I replace text in URL with something else it works great.

Philipp Lenssen [PersonRank 10]

14 years ago #

> For some reason the ones people are posting are not
> working for me, but if I replace text in URL with something else
> it works great.

Wonder if it's related to a referrer check... i.e. if you click through from my link, the referrer will be blogoscoped.com/something/... but if you enter something yourself, the referrer will be empty.

TOMHTML [PersonRank 10]

14 years ago #

We already wrote about that hack on this forum when "Google translate as you type" was launched last month.

[location added ~ TOMHTML]

drtimofey [PersonRank 10]

14 years ago #

For those of you who can't get it to work, it's most likely due to your browser not being able to play back the file. Try using Chrome or IE

Milko [PersonRank 0]

14 years ago #

It works here but the last word is cut of.....even if it is a very short sentence.

Always the LAST word is pronounced like 50% or so,,,,

weird; any ideas why?

Forum home

Advertisement

 
Blog  |  Forum     more >> Archive | Feed | Google's blogs | About
Advertisement

 

This site unofficially covers Google™ and more with some rights reserved. Join our forum!