Crazyrouter Tts
by @xujfcn
Text-to-speech via Crazyrouter API. OpenAI TTS voices (alloy, echo, fable, onyx, nova, shimmer). Convert text to natural speech audio files. Use when user as...
# Basic TTS
node ${SKILL_DIR}/scripts/main.mjs --text "Hello world" --output hello.mp3Choose voice
node ${SKILL_DIR}/scripts/main.mjs --text "Welcome to Crazyrouter" --output welcome.mp3 --voice novaHD quality
node ${SKILL_DIR}/scripts/main.mjs --text "Premium audio" --output hd.mp3 --model tts-1-hdRead from file
node ${SKILL_DIR}/scripts/main.mjs --input article.txt --output article.mp3Adjust speed
node ${SKILL_DIR}/scripts/main.mjs --text "Slow and clear" --output slow.mp3 --speed 0.8
Options
| Option | Description | Default |
|--------|-------------|---------|
| --text | Text to speak | β |
| --input | Read text from file | β |
| --output | Output audio file (required) | β |
| --voice | Voice selection | alloy |
| --model | tts-1 or tts-1-hd | tts-1 |
| --speed | Speed (0.25-4.0) | 1.0 |
| --format | mp3, opus, aac, flac | mp3 |
| Option | Description | Default |
|--------|-------------|---------|
| --text | Text to speak | β |
| --input | Read text from file | β |
| --output | Output audio file (required) | β |
| --voice | Voice selection | alloy |
| --model | tts-1 or tts-1-hd | tts-1 |
| --speed | Speed (0.25-4.0) | 1.0 |
| --format | mp3, opus, aac, flac | mp3 |
clawhub install crazyrouter-tts