worthless. i only use it for testing deploys
10K+
Does text to speech and returns the generated mp3. Designed for use as a kube deployment that you issue commands to.
docker run -d -p 1140:1140 ryangrahamnc/speakmachine
curl -X POST --header "Content-Type: application/json" --data '{"lines": [ "hello world", "foo bar" ] }' http://localhost:1140/say | jq -r ".mp3Contents" | base64 --decode > file.mp3
Saves the mp3 as file.mp3
curl -X POST --header "Content-Type: application/json" --data '{"lines": [ "hello world", "foo bar" ] }' http://localhost:1140/say | jq ".lines"
[
{
"text": "hello world",
"start": 0,
"duration": 1.02,
"end": 1.02
},
{
"text": "foo bar",
"start": 1.02,
"duration": 0.89,
"end": 1.9100000000000001
}
]
http://localhost:1140/voices
Returns list of voice names as strings. You can pass one as a "voice" post body param:
curl -X POST --header "Content-Type: application/json" --data '{"lines": [ "hello world", "foo bar" ], "voice": "czech" }' http://localhost:1140/say
Content type
Image
Digest
Size
240.9 MB
Last updated
over 7 years ago
docker pull ryangrahamnc/speakmachine