Commit Graph

14 Commits

Author SHA1 Message Date
zhaojie
584543395c fix: 更新 TTS 模型名 mimo-v2-audio-tts -> mimo-v2-tts
小米 MiMo-V2-TTS 于 2026-03-19 正式发布后,旧模型名 mimo-v2-audio-tts
已不再被 API 支持,导致所有 TTS 请求返回 400 错误。
2026-04-01 14:38:32 +08:00
sunruiling
fb753ce1b1 chore: 优化日志,静默 httpx 内部日志,精简输出格式 2026-03-27 15:24:25 +08:00
sunruiling
2a87020b48 refactor: 精简架构,去掉书籍管理,核心 TTS 代理
- 去掉 books/chapters CRUD、SQLAlchemy、SQLite 依赖
- 核心只剩 /api/tts + 智能分段 + 自动重试
- 新增 API_TOKEN 环境变量,管理接口 Bearer Token 鉴权
- 管理接口精简为 preview + config
- 前端重写:TTS 试听 + 配置查看 + 接口文档
- Dockerfile/docker-compose 清理,去掉数据库卷
2026-03-27 15:10:58 +08:00
sunruiling
30544f7f42 feat: API文档、文本自动分段、音色配置、批量并发
- 新增 API.md 完整接口文档
- 智能文本分段:长文本按段落/句子/标点边界自动切分(≤2000字/段),逐段TTS后ffmpeg拼接
- /api/tts 支持 voice 参数指定音色
- httpTts JSON 配置增加 style 和 voice 字段
- 批量生成改用并发(Semaphore 3路)
- 新增 /health 健康检查端点
- TTS 试听前端增加音色输入
- 清理 import,修复端口不一致
2026-03-27 14:37:43 +08:00
TTS Service
82624afe68 feat: add logging for TTS calls with timing and error details 2026-03-27 14:26:17 +08:00
TTS Service
01ce05e530 feat: serve httpTts-mimo.json via /httpTts.json for direct app import 2026-03-27 14:16:28 +08:00
TTS Service
cef7d3b400 fix: add loginUi/loginUrl fields to mimo config, separate single-entry file 2026-03-27 14:15:55 +08:00
TTS Service
6fc2d7ea34 chore: add httpTts.json app config 2026-03-27 14:06:24 +08:00
TTS Service
9aef399fd7 fix: add China mirror for Alpine and pip 2026-03-27 13:57:48 +08:00
TTS Service
b2fca4b4c8 chore: add deploy.sh with Docker mirror config 2026-03-27 13:54:58 +08:00
TTS Service
4b5797575d feat: support both JSON and form-urlencoded body; change default port to 3333 2026-03-27 13:52:11 +08:00
TTS Service
6c5caa308d feat: add real-time TTS endpoint POST /api/tts 2026-03-27 13:48:16 +08:00
TTS Service
a3f5f5d243 chore: add .gitignore, remove __pycache__ 2026-03-27 13:41:15 +08:00
TTS Service
270aba89a0 first commit: TTS Book Service with MiMo TTS integration 2026-03-27 13:41:07 +08:00