This is a simple script that converts a note blog article to an mp3 file. It uses the OpenAI Text to Speach API.
- Clone the repository
- Install the requirements
- Set the environment variable OPENAI_API_KEY to your OpenAI API key
- Run the script with the article id as the first argument
python3 note-to-mp3.py 123456