v1.0.4 - init version
This commit is contained in:
16
podman-generate.sh
Normal file
16
podman-generate.sh
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
echo "Usage: $0 <text> <output_file>"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -z "$2" ]; then
|
||||
echo "Usage: $0 <text> <output_file>"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
curl -X POST https://localhost:8443/tts -H "Content-Type: application/json" \
|
||||
-d "{\"text\": \"$1\"}" \
|
||||
--insecure \
|
||||
-o "$2"
|
||||
Reference in New Issue
Block a user