Commit 1b16f316 by 李进峰

update

parent 39eab723
##### 获取语音合成参数数据
##### 获取语音合成参数数据
......@@ -44,4 +44,62 @@ SUCCESS:
}
}
}
```
##### 合成离线语音
URL: {backUrl}/tts/generate/voice/{projectId 项目id}?rebuild={是否全部重新合成: true | false}
METHOD: POST
RequestHeaders:
| key | value |
| :----------- | :------------ |
| Content-Type | application/json;charset=utf-8 |
| Authorization | TOKEN |
| botAccount | bot帐号 |
| groupId | 组ID |
| mul | true |
| projectId | 1604 |
ResponseBody:
```
SUCCESS:
{
"code": 1,
"msg": "成功",
"data": null
}
```
##### 获取合成离线语音的进度
URL: {backUrl}/tts/generate/voice/queue?botAccount={bot帐号}
METHOD: POST
RequestHeaders:
| key | value |
| :----------- | :------------ |
| Content-Type | application/json;charset=utf-8 |
| Authorization | TOKEN |
| botAccount | bot帐号 |
| groupId | 组ID |
| mul | true |
| projectId | 1604 |
ResponseBody:
```
SUCCESS:
{
"code": 1,
"msg": "成功",
"data": {
"status": "completed",
"percent": "100"
}
}
```
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment