Send Text to a XTTS Server


Once you have your server up and running, type this in the command line. Then run output.wav

curl -X POST "http://localhost:8020/tts_to_audio/" -H "Content-Type: application/json" -d "{\"text\":\"Wow.. how fantastic this tutorial is! Doesn't this guy make music as well?\",\"speaker_wav\":\"E:\\Audio\\XIN\\XIN-QTTS\\xtts-api-server\\speakers\\coqui_Sofia Hellen.wav\",\"language\":\"en\"}" --output output.wav

Leave a Reply

Your email address will not be published. Required fields are marked *