Generate speech in a wav file from text, for free with https://text-generator.io
clone this repo
git clone [email protected]:TextGeneratorio/subtitle-generator.git
cd subtitle-generator
Install dependencies
virtualenv .env
source .env/bin/activate
pip install -r requirements.txt
Usage
TEXT_GENERATOR_API_KEY=YOUR_API_KEY_HERE python speech_generator.py \
--text "Hello world" \
--output_file output.wav
https://Text-generator.io is the most cost effective speech generation tool on the market with 100 requests free a month and then only 1c per request. There are also other voices that can be generated, checkout the blog post: https://text-generator.io/blog/ai-text-to-speech-api
text to speech API
AI Text Generation
speech to text API