Replies: 1 comment
-
It doesn't appear to be an HTTP API, but a TCP API, so curl won't work. I guess we can do what Home Assistant does in Python or a Golang HTTP wrapper. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I've got the wyoming-piper running in a docker container in a separate machine in my local network. Piper and whisper are working perfectly with home assistant.
I would like to use the existing piper server in my other programs as well, but I can't get the http requests to work.
I've tried
curl -X POST -H 'Content-Type:application/json' -d '{"text": "This is a test."}' -o test.wav 'server.ip.addr:10200'
curl -G --data-urlencode "text=This is a test." -o test.wav server.ip.addr:10200
The request gets sent but I don't recieve the audio file, and the request keeps waiting for the response.
I've tried curl GET&POST in linux and windows and neither seem to work.
Docker is running in an Ubuntu LXC in Proxmox if it makes a difference.
Has anyone got some insight on how to make this work?
Beta Was this translation helpful? Give feedback.
All reactions