I am building a personal assistant, which requires to speak back in hindi. I find it weird that google cloud text to speech doesn't offer hindi language,
https://cloud.google.com/text-to-speech/docs/voices
while google translator speaks back if you ever translate from english to Hindi and click on speaker button.
So, I read on Internet that
https://translate.google.com.vn/translate_tts?ie=UTF-8&q=ANYTHING_TEXT&tl=en&client=tw-ob
can do the trick. But it is for english. SO if i change the tl
to hi
, it should work if i replace ANYTHING_TEXT
to anything in hindi, but doing so gives me these results:
https://translate.google.com.vn/translate_tts?ie=UTF-8&q=आप%20कैसे%20हैं&tl=hi&client=tw-ob
it is giving me audio I cant understand.
So, my questions are
1) Why we cant access hindi voice using google cloud and can using google translate?
2) How to work around to get hindi voice working in my python file.
3) Google cloud offers google translation api but it only translates the text and gives text at output and not audio. Tell me please if it's true.