Reputation: 3392
I have been trying this for days. ChatGPT has me going in circles. I want to curl or post via python to Piper TTS running on my HAOS OR on my Docker in Mac but both ways, it just hangs, never responds. I have tried different images, methods, etc.
Here is what I am trying to do:
linuxserver/piper:latest port 10200 open:
docker run -d
--name=piper
-e PUID=1000
-e PGID=1000
-e TZ=Etc/UTC
-e PIPER_VOICE=/config/models/en_US-lessac-medium
-v /Users/beaudamore/piper/models:/config/models
-p 10200:10200
--restart unless-stopped
lscr.io/linuxserver/piper:latest
In the files of the container, the models and json and voices.json are all there:
When. I curl:
curl -X POST
-H "Content-Type: application/json"
-d '{
"text": "Hello, this is a test of Piper TTS."
}'
http://10.5.10.100:10200/api/tts --output output.wav
and MANY variations of this package with other params sometimes...
No matter what, it just hangs. try the HAOS Piper URL same thing.
hangs from code too. I try using piper and wyoming-piper in my manifest in my haos integration but no go for either.
What am I missing?
Upvotes: -1
Views: 58