feat: 初始化 Mimo-TTS CLI 工具

- 实现文本转语音功能(支持多种音色)
- 支持流式输出(--stream)和直接播放(--play)
- 实现自动语气转换器(根据标点自动添加语气标签)
- 使用 crossterm 美化 CLI 输出
- 配置分层设计(项目配置 + 用户配置)
- 独立模块划分:api.rs, cli.rs, config.rs, tone.rs, ui.rs

v0.1.0
This commit is contained in:
2026-04-24 03:32:44 +08:00
commit be83f288a5
13 changed files with 5249 additions and 0 deletions

7
project.config.toml Normal file
View File

@@ -0,0 +1,7 @@
# 项目配置文件
# 版本号必须与 git tag 保持一致
# 这是项目的默认配置,用户配置会覆盖这些默认值
version = "0.1.0"
base_url = "https://api.xiaomimimo.com/v1/chat/completions"
default_format = "wav"