Reputation: 71
I am planning on getting an API key and use the Speech services provided by Google. But I can't find any documentation on how to use the text to speech api of Google.
Upvotes: 0
Views: 6157
Reputation: 2621
The accepted answer is not true anymore, Google does offer a Text-to-Speech API now, or to be more specific, Google Cloud does. Here is a Quickstart guide.
Upvotes: 1
Reputation: 716
simple rules for work this :
q = for pass your language encode. tl = for pass your language name
simple try this :
Upvotes: 2
Reputation: 1491
Google doesn't actually have an official Text-to-speech API. You can use their google translate service to get some results, but again it's not officially supported so no docs are available as far as I know.
Google has Cloud Speech API, which does the opposite thing, i.e converts speech to text. It seems people often confuse the two, thinking you can use cloud speech for text-to-speech.
This SO question might be a good starting point on how to use google translate for text-to-speech. Although personally I would try and find an API which is designed for that task.
Upvotes: 1