Until Google restores their API, or if they abandon it altogether, you can try the free "voiceRSS" API I mentioned in an earlier post. It's very similar and pretty much works as a direct replacement, so minimal recoding is needed. I've had it running in my application for several weeks without issue.
Hopefully Google won't abandon us; I'm willing to pay a reasonable fee for an open TTS API.
wget -U Mozilla -O output.mp3 "http://translate.google.com/translate_tts?tl=en&q=Google+TTS+is+awesome&ie=UTF-8&total=1&idx=0&client=t&key=YOUR_KEY_STRING"
It works for me. ;-)