cogentapps / chat-with-gpt

An open-source ChatGPT app with a voice
https://www.chatwithgpt.ai
MIT License
2.3k stars 493 forks source link

totoally free Text to Speech #106

Open joe12801 opened 1 year ago

joe12801 commented 1 year ago

you can access this project to your project ,it is free ,no need to pay

https://github.com/rany2/edge-tts

cogentapps commented 1 year ago

Thanks for the link!

It looks like Edge TTS needs to run server-side (in my tests, calling the API from the browser doesn't seem to work, the connection is dropped by the server). Sending all user requests from the same server would likely hit rate limiting / IP restriction issues.

However, it might be useful for people self-hosting the app just for themselves or a small number of people, so I'll look at adding it as an option.

joe12801 commented 1 year ago

Thanks for the link!

It looks like Edge TTS needs to run server-side (in my tests, calling the API from the browser doesn't seem to work, the connection is dropped by the server). Sending all user requests from the same server would likely hit rate limiting / IP restriction issues.

However, it might be useful for people self-hosting the app just for themselves or a small number of people, so I'll look at adding it as an option.

I alreay test, it can work well in linux Command,I dont know website

joe12801 commented 1 year ago

dont need to run server-side, Use Microsoft Edge's online text-to-speech service from Python