- Go to https://replicate.com/cjwbw/openvoice?prediction=nv4z2r53f9rgj0cf6f9sssjfq4 and upload your own voice clip
- Create the
.envfile according to.env.example - Run the following command
python app.py
python server.py- Try to call the api
curl -X POST http://localhost:8800/generate_audio \
-H "Content-Type: application/json" \
-d '{"text": "哈哈哈~你在幹嘛"}'