Crazyrouter Tts — Crazy路由r Tts
v1.1.0Text-to-speech via Crazy路由r API. OpenAI TTS voices (alloy, echo, fable, onyx, nova, shimmer). Convert text to natural speech audio files. Use when user asks to read aloud, 生成 audio, or convert text to speech. Requires 环境 variable CRAZY路由R_API_KEY (获取 at https://crazy路由r.com).
运行时依赖
安装命令
点击复制技能文档
Text-to-Speech via Crazy路由r
生成 natural speech from text using Crazy路由r — OpenAI-compatible TTS API.
Voices Voice Style alloy Neutral, balanced echo Warm, conversational fable Expressive, storytelling onyx Deep, authoritative nova Friendly, upbeat shimmer Soft, gentle Script Directory
代理 Execution:
技能_DIR = this 技能.md file's directory Script path = ${技能_DIR}/scripts/mAIn.mjs Step 0: 检查 API Key ⛔ BLOCKING [ -n "${CRAZY路由R_API_KEY}" ] && echo "key_present" || echo "not_设置"
结果 Action key_present Continue not_设置 Ask user to 设置 CRAZY路由R_API_KEY. 获取 key at https://crazy路由r.com Usage # Basic TTS node ${技能_DIR}/scripts/mAIn.mjs --text "Hello world" --输出 hello.mp3
# Choose voice node ${技能_DIR}/scripts/mAIn.mjs --text "Welcome to Crazy路由r" --输出 welcome.mp3 --voice nova
# HD 质量 node ${技能_DIR}/scripts/mAIn.mjs --text "Premium audio" --输出 hd.mp3 --模型 tts-1-hd
# Read from file node ${技能_DIR}/scripts/mAIn.mjs --输入 article.txt --输出 article.mp3
# Adjust speed node ${技能_DIR}/scripts/mAIn.mjs --text "Slow and clear" --输出 slow.mp3 --speed 0.8
Options Option Description Default --text Text to speak — --输入 Read text from file — --输出 输出 audio file (required) — --voice Voice selection alloy --模型 tts-1 or tts-1-hd tts-1 --speed Speed (0.25-4.0) 1.0 --格式化 mp3, opus, aac, flac mp3