Sunday, January 31, 2010

Google Text-To-Speech API

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: “Looking at the Firebug Net panel for where this TTS data was coming from, I saw that the speech audio is in MP3 format and is queried via a simple HTTP GET (REST) request: "http://translate.google.com/translate_tts?tl=en&q=text”

Translation: just change the URL to whatever you want it to say and you’ll get back a MP3 file.
This is English only for now, and its limited to 100 characters. But unless Google shuts this down, third party applications can now use this in any creative way they want. Have at it.
Click here for a demo  (Google Chrome 4 is recommended)

0 comments:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Developed by Avinash | My Site