C-Nedelcu / talk-to-chatgpt

Talk to ChatGPT AI using your voice and listen to its answers through a voice
GNU Affero General Public License v3.0
1.97k stars 331 forks source link

Is it possible to add Google Cloud TTS voices? #46

Open wupgop opened 1 year ago

wupgop commented 1 year ago

I'm interested in adding another voice for Japanese. There is one current available Japanese voice, and it is an unnatural, stereotypical announcer-type pronunciation. It doesnt sound anything like a real person would sound, if you were talking to them in a one on one conversation. Would be nice to have a more natural sounding voice. Is there any way to add additional text-to-speech voice options?

I see that google cloud offers 11 options: https://cloud.google.com/text-to-speech/docs/voices

Of the voices listed there, I think this is clearly the best choice, most natural sounding for sure: ja-JP-Neural2-B

Second place ja-JP-Wavenet-B

The rest, sound fake/announcer-like similar to the current option.

Not sure what the source of the available TTS languages is and whether or not it is easy to plug in or access additional voice options.

BTW - THANKS!! For this killer app. Really love it.

WG

Philip-Cao-9527 commented 1 year ago

yep I also want to add some voice

MarioPL98 commented 1 year ago

I would also love it if there was integration with google cloud tts api. Their voices are quite something. They sound so natural. The cost seems to be quite low for daily use.

C-Nedelcu commented 1 year ago

Hello, we have chosen to integrate ElevenLabs. Have you given it a try? I think they are very natural and the cost is low (there is a free tier) You can even create your own voices!

wupgop commented 1 year ago

Hello, we have chosen to integrate ElevenLabs. Have you given it a try? I think they are very natural and the cost is low (there is a free tier) You can even create your own voices!

Great news! Unfortunately it looks like they do not support Japanese. But I definitely would sign up for them if they had Japanese, hopefully they plan to add it. Thanks for the update!

githubbozo77 commented 10 months ago

Eleven labs is great but google cloud tts is far more affordable - would really love to see it work with the google cloud tts. Thanks so much - really love this project!