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 333 forks source link

Add Eleven Labs text-to-speech API #70

Closed MikesMoneyMachine closed 1 year ago

MikesMoneyMachine commented 1 year ago

hey there @C-Nedelcu loving your Talk-to-chatpgt. but i'd like to suggest adding the Eleven labs Text-to-speech API. Eleven labs has by far the best and most natural text-to-speech tech out right now, and you can even program your own voice! Honestly the google and Microsoft voices are very robotic and not all that nice to listen to. Im not a coder by any means just a tech nerd and would really love using this if i could use the Eleven Labs API as it would sound more natural and has more custom-ability. would be great if you could add something to the setting front end where we could put in our own Eleven Labs API Key, they have a free version and paid versions. also why i would add this as an edition to what you've already made that way people could still use the 100% free google and Microsoft voices as well or the Eleven Labs for people who want a great speaking voice or there own voice talking back to them. anyways love what you've done here keep up the great work brotha. at the very least check it out for free you'll see what im talking about its like a real person talking to you. just google Eleven labs. Much love, Mikes_Money_Machine.

C-Nedelcu commented 1 year ago

hi there, thanks for your kind words. You aren't the first user to recommend this, there is definitely strong demand for ElevenLabs support. Actually, I have already started looking into this. It should be doable. However you should be aware of this: https://github.com/C-Nedelcu/talk-to-chatgpt/issues/41 (check my reply to the thread)

MikesMoneyMachine commented 1 year ago

all i have to say is thank you🙏

i did read #41 and i understand your position so thank you for considering this i think it will be your end all be all as far as voice goes.

and on another note, one to inspire you on this integration journey, this came to my mine while writing this.. but after you get this going you know how many people this will help who are disabled and cant type and only speak, this could tool could really help alot of people.❤

C-Nedelcu commented 1 year ago

I am very glad to read messages like yours. This was supposed to be a simple proof of concept, just for fun, originally. But when I started getting messages from people saying my extension was a real help for disabled people, visually-impaired people, or people with other conditions, I realized I had to start taking this seriously.

I think I should be able to implement the elevenlabs voices, but there may be some caveats.

For the next versions I have two features at the top of the list:

MikesMoneyMachine commented 1 year ago

you rock man! thank you for your passion and dedication to bring us this code but more importantly helping others in need. are love goes out to you brotha, keep doing the good work💪you never know whos life your going to impact🙂

C-Nedelcu commented 1 year ago

Hello there,

I have added ElevenLabs API support in v2.6.0.

This version has not been submitted to the Chrome/edge stores yet, I think it would need some beta testing first. Would anyone please give it a try?

You have to install the new version manually, instructions are given on the project's home page.

I hope you enjoy it. I had fun testing it, the ElevenLabs voices are pretty great - even the default ones with a Free account.

bartman081523 commented 1 year ago

@C-Nedelcu

I have tested ElevenLabs "Rachel Multi-Language" TTS voice, from your newest commit, and it is working fine (for me). I have tested reading, skip reading, starting a new conversation and dropping in an existent conversation. All works as expected.

C-Nedelcu commented 1 year ago

thanks bartman081523 ! this has been live for a few days and seems to be working pretty great, so I'm going to close the issue :)