Commit f665b630 by jixudong

Replace 项目列表-离线语音.md

parent e6feb045
**测试环境URL**:http://tx-gz14.heyqiwu.cn
**测试环境URL**:http://tx-gz14.heyqiwu.cn
......@@ -20,13 +20,13 @@
#### 请求body字段说明
| key | type | required | description |
| --------- | ---- | -------- | ----------- |
| content | | yes | 文本内容 |
| npcId | | yes | 角色id |
| projectId | | yes | 项目id |
| npcName | | yes | 角色名称 |
| mood | | yes | 情绪 |
| key | type | required | description |
| --------- | ------ | -------- | ----------- |
| content | string | yes | 文本内容 |
| npcId | number | yes | 角色id |
| projectId | number | yes | 项目id |
| npcName | string | yes | 角色名称 |
| mood | string | yes | 情绪 |
#### 请求示例
......@@ -69,9 +69,9 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/plot/text/custom' \
#### 请求param字段说明
| key | type | required | description |
| ---- | ---- | -------- | ---------------- |
| id | | yes | 自定义剧情文本ID |
| key | type | required | description |
| ---- | ------ | -------- | ---------------- |
| id | number | yes | 自定义剧情文本ID |
#### 请求body字段说明
......@@ -119,15 +119,23 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/plot/text/custom?id=286' \
#### 请求param字段说明
| key | type | required | description |
| ---------- | ---- | -------- | ------------ |
| projectId | | yes | 项目ID |
| npcIds | | yes | 角色IDl列表 |
| moods | | yes | 情绪名称列表 |
| text | | no | 子串文本 |
| audioFlags | | no | 音频类型 |
| pageNum | | yes | 页码 |
| pageSize | | yes | 页面数据量 |
| key | type | required | description |
| ---------- | ------ | -------- | ------------ |
| projectId | number | yes | 项目ID |
| npcIds | number | yes | 角色IDl列表 |
| moods | string | yes | 情绪名称列表 |
| text | string | no | 子串文本 |
| audioFlags | number | no | 音频类型 |
| pageNum | number | yes | 页码 |
| pageSize | number | yes | 页面数据量 |
audioFlags值说明
| key | type | description |
| ---- | ------ | ----------- |
| 0 | number | 暂无语言 |
| 1 | number | 系统语言 |
| 2 | number | 人工语言 |
#### 请求body字段说明
......@@ -208,7 +216,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/text/offline/page/search?pro
}
```
### 批量调节人工配音的音量
### 批量调节人工配音的音量/修改音频参数
**METHOD**: PUT
......@@ -224,11 +232,14 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/text/offline/page/search?pro
#### 请求body字段说明
| key | type | required | description |
| ------- | ---- | -------- | ----------- |
| botName | | yes | 作品帐号 |
| npcName | | yes | 角色名称 |
| volume | | yes | 声音大小 |
| key | type | required | description |
| ---------- | ------ | -------- | ----------- |
| botName | string | yes | 作品帐号 |
| npcName | string | yes | 角色名称 |
| volume | string | yes | 声音大小 |
| text | string | no | 句子 |
| sampleRate | string | no | 采样率 |
| bitRate | string | no | 比特率 |
#### 请求示例
......@@ -261,7 +272,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/tts/api/record/volume' \
}
```
### 获取合成离线语音的进度
### 获取合成系统语音的进度
**METHOD**: GET
......@@ -271,9 +282,9 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/tts/api/record/volume' \
#### 请求param字段说明
| key | type | required | description |
| ---------- | ---- | -------- | -------------- |
| botAccount | | yes | 在引擎中的帐号 |
| key | type | required | description |
| ---------- | ------ | -------- | -------------- |
| botAccount | string | yes | 在引擎中的帐号 |
#### 请求body字段说明
......@@ -400,16 +411,16 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/tts/speakers' \
#### 请求body字段说明
| key | type | required | description |
| -------- | ---- | -------- | ----------- |
| person | | yes | |
| pitch | | yes | 音调 |
| postDate | | yes | 提交日期 |
| speed | | yes | 语速 |
| text | | yes | |
| tone | | yes | |
| volume | | yes | 声音大小 |
| _type | | yes | 类型 |
| key | type | required | description |
| -------- | ------ | -------- | ----------- |
| person | string | yes | tts名称 |
| pitch | number | yes | 音调 |
| postDate | string | yes | 提交日期 |
| speed | number | yes | 语速 |
| text | string | yes | 声音文本 |
| tone | number | yes | 语气 |
| volume | number | yes | 声音大小 |
| _type | string | yes | 类型 |
#### 请求示例
......@@ -442,7 +453,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/tts/api/tts' \
}
```
### 删除单个音频文件
### 删除配音
**METHOD**: DELETE
......@@ -458,13 +469,13 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/tts/api/tts' \
#### 请求body字段说明
| key | type | required | description |
| ---------- | ---- | -------- | ----------- |
| botName | | yes | 作品帐号 |
| npcName | | yes | 角色名称 |
| text | | yes | 对话文本 |
| tid | | yes | |
| customText | | yes | |
| key | type | required | description |
| ---------- | ------- | -------- | -------------- |
| botName | string | yes | 作品帐号 |
| npcName | string | yes | 角色名称 |
| text | string | yes | 对话文本 |
| tid | number | yes | 内部代号 |
| customText | boolean | yes | 自定义文本剧情 |
#### 请求示例
......@@ -497,7 +508,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/tts/api/delete/record/one_sen' \
}
```
### 获取单个音频文件数据
### 获取音频参数
**METHOD**: GET
......@@ -507,11 +518,11 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/tts/api/delete/record/one_sen' \
#### 请求param字段说明
| key | type | required | description |
| ------- | ---- | -------- | ----------- |
| botName | | yes | 作品帐号 |
| npcName | | yes | 角色名称 |
| text | | yes | 对话文本 |
| key | type | required | description |
| ------- | ------ | -------- | ----------- |
| botName | string | yes | 作品帐号 |
| npcName | string | yes | 角色名称 |
| text | string | yes | 对话文本 |
#### 请求body字段说明
......@@ -554,7 +565,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/tts/api/upload/record/one_sen?botNa
}
```
### 合成离线语音
### 合成系统语音
**METHOD**: POST
......@@ -564,15 +575,15 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/tts/api/upload/record/one_sen?botNa
#### 请求path字段说明
| key | type | required | description |
| --------- | ---- | -------- | ----------- |
| projectId | | yes | 项目ID |
| key | type | required | description |
| --------- | ------ | -------- | ----------- |
| projectId | number | yes | 项目ID |
#### 请求param字段说明
| key | type | required | description |
| ------- | ---- | -------- | ------------ |
| rebuild | | yes | 是否重新生成 |
| key | type | required | description |
| ------- | ------- | -------- | ------------ |
| rebuild | boolean | yes | 是否重新生成 |
#### 请求body字段说明
......@@ -627,14 +638,14 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/tts/generate/voice/6381?rebu
#### 请求body字段说明 form data
| key | type | required | description |
| ---------- | ---- | -------- | --------------- |
| file | | yes | 人工语音mp3文件 |
| botName | | yes | 作品帐号 |
| npcName | | yes | 角色名称 |
| text | | yes | 对话文本 |
| tid | | | |
| customText | | | |
| key | type | required | description |
| ---------- | ------- | -------- | --------------- |
| file | mp3 | yes | 人工语音mp3文件 |
| botName | string | yes | 作品帐号 |
| npcName | string | yes | 角色名称 |
| text | string | yes | 对话文本 |
| tid | number | yes | 内部代号 |
| customText | boolean | yes | 自定义剧情文本 |
#### 请求示例
......@@ -682,11 +693,11 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/tts/api/upload/record/one_sen' \
#### 请求body字段说明 form data
| key | type | required | description |
| --------- | ---- | -------- | ----------- |
| projectId | | yes | 项目id |
| mood | | no | 情绪 |
| npcId | | yes | 角色名称 |
| key | type | required | description |
| --------- | ------ | -------- | ----------- |
| projectId | number | yes | 项目id |
| mood | string | no | 情绪 |
| npcId | number | yes | 角色名称 |
#### 请求示例
......@@ -734,7 +745,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/text/offline/csv' \
11157540,很抱歉打扰您,您先忙,我改天再和您联系。,是
```
### 上传npc的声音
### 上传角色声音压缩包
**METHOD**: POST
......@@ -750,13 +761,13 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/text/offline/csv' \
#### 请求body字段说明 form data
| key | type | required | description |
| ---------- | ---- | -------- | -------------- |
| file | | yes | npc声音zip文件 |
| botAccount | | yes | 在引擎中的帐号 |
| npcName | | yes | 角色名称 |
| sampleRate | | yes | 采样率 |
| bitRate | | yes | 比特率 |
| key | type | required | description |
| ---------- | ------ | -------- | -------------- |
| file | zip | yes | npc声音zip文件 |
| botAccount | string | yes | 在引擎中的帐号 |
| npcName | string | yes | 角色名称 |
| sampleRate | string | yes | 采样率 |
| bitRate | string | yes | 比特率 |
#### 请求示例
......@@ -789,7 +800,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/tts/api/upload/record/one_npc/v2' \
}
```
### 查看上传npc的声音进度
### 查看上传角色声音压缩包的进度
**METHOD**: GET
......@@ -799,9 +810,9 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/tts/api/upload/record/one_npc/v2' \
#### 请求param字段说明
| key | type | required | description |
| ---------- | ---- | -------- | -------------- |
| botAccount | | yes | 在引擎中的帐号 |
| key | type | required | description |
| ---------- | ------ | -------- | -------------- |
| botAccount | string | yes | 在引擎中的帐号 |
#### 请求body字段说明
......
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