Python text to speech using Microsoft Edge's speech service (Patreon)
Content
When working with AI chatbots I found a few I really like and wanted text to speech. That way I could write my prompt and allow it to read me the response. I found various tts services, but most if not all give you a limit. Example you can speak 10,000 characters or pay $22 a month for 100,000 characters per month.
I did what anyone who doesn't have loads of money to spend and used a free service that will do text to speech, but sounds like a robot from the 90s. Serves it's purpose though.
Then I came across edge-tts edge-tts is a Python module that allows you to use Microsoft Edge's online text-to-speech service. Super easy to setup and provides text to speech miles ahead of what I was using. They have many different voices and accents to choose from. If you are looking for something to do tts I would definitely check it out.