Voice service API available at https://voice-cloning-api.herokuapp.com/
- Clone this repository
- Install Python3
- Run
pip install -r requirements.txt
- Create a folder called
data
inside the repo - Add each voice model to the
data
folder in the formatfirstname_lastname.pt
(i.e. David_Attenborough.pt)
Make a GET request to the root URL with the name of the voice & given text to synthesise.
For example: https://voice-cloning-api.herokuapp.com/?name=David Attenborough&text=Some sample text
This returns a JSON response with the URL for the generated audio and graph.
For example: {"audio":"results/1234.wav","graph":"results/1234.png"}
These can then be fetched from the given URLS.
i.e. https://voice-cloning-api.herokuapp.com/results/1234.wav
The list of available voices can be fetched from https://voice-cloning-api.herokuapp.com/voices