- 新增 API.md 完整接口文档 - 智能文本分段:长文本按段落/句子/标点边界自动切分(≤2000字/段),逐段TTS后ffmpeg拼接 - /api/tts 支持 voice 参数指定音色 - httpTts JSON 配置增加 style 和 voice 字段 - 批量生成改用并发(Semaphore 3路) - 新增 /health 健康检查端点 - TTS 试听前端增加音色输入 - 清理 import,修复端口不一致
13 lines
530 B
JSON
13 lines
530 B
JSON
{
|
|
"concurrentRate": "0",
|
|
"contentType": "audio/mpeg",
|
|
"enabledCookieJar": false,
|
|
"id": -31,
|
|
"lastUpdateTime": 1774590209945,
|
|
"loginCheckJs": "var response = result;\nif (response.headers().get(\"Content-Type\") != \"audio/mpeg\") {\n throw \"TTS生成失败: \" + response.body().string()\n}\nresponse",
|
|
"loginUi": "[]",
|
|
"loginUrl": "",
|
|
"name": "3.小米MiMo TTS",
|
|
"url": "http://39.101.77.56:3333/api/tts,{\"method\": \"POST\", \"body\": {\"text\": \"{{speakText}}\", \"style\": \"\", \"voice\": \"\"}}"
|
|
}
|