tts
Installation
SKILL.md
TTS
Convert a piece of text to speech with any speaker and auto-play it. if error occurs, tell the error message and fix the problem at the same time.
Usage
for the first time, you need to init the environment first:
`node "<Base directory for this skill>/scripts/cli.mjs" init` to init the enviroment.
then you can run the following command to convert speaker:content to speech:
node "<Base directory for this skill>/scripts/cli.mjs" tts --speaker <speaker> --text "<text>" --out <xxx.mp3>
OR you tts from a file, the file should be a json file with content like this: