Google doesn't provide a REST API to do cloud based speech synthesis directly, however this is something that typically doesn't require Cloud resources and can be done client-side.
For browsers, the Web Speech API is on track to becoming a browser standard and is currently supported in recent versions of Chrome and Firefox:
On Android, the android.speech.tts package is available:
On iOS, You can use AVSpeechSynthesizer: