@rafaolivas/tts
v0.1.1
Published
Simple http service that reproduces voice based on text sent through a POST request
Downloads
4
Readme
@rafaolivas/tts
Simple http service that reproduces voice based on text sent through a POST request
Installation
npm install -g @rafaolivas/tts
Usage
$ tts [options]
Listening at http://computer:2754/rut
then do a POST request to http://computer:2754/print
with body
{
"text": "Hello world!"
}
This will play a voice in your computer with the text you sent.
Options
-c, --cert=cert Path to the cert file to enable https protocol (must be provided along with key file)
-h, --help show CLI help
-k, --key=key Path to the key file to enable https protocol (must be provided along with cert file)
-p, --port=port Port in wich the service will listen for requests, 2754 by default
-v, --version show CLI version