Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jiaoyou_doc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李进峰
jiaoyou_doc
Commits
f665b630
Commit
f665b630
authored
Dec 15, 2023
by
jixudong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace 项目列表-离线语音.md
parent
e6feb045
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
83 additions
and
72 deletions
+83
-72
项目列表-离线语音.md
gameditor/前端接口/项目列表-离线语音.md
+83
-72
No files found.
gameditor/前端接口/项目列表-离线语音.md
View file @
f665b630
**测试环
境URL**
:http://tx-gz14.heyqiwu.cn
**测试环
境URL**
:http://tx-gz14.heyqiwu.cn
...
@@ -21,12 +21,12 @@
...
@@ -21,12 +21,12 @@
#### 请求body字段说明
#### 请求body字段说明
| key | type | required | description |
| key | type | required | description |
| --------- | ---- | -------- | ----------- |
| --------- | ----
--
| -------- | ----------- |
| content |
| yes | 文本内容 |
| content |
string
| yes | 文本内容 |
| npcId |
| yes | 角色id |
| npcId |
number
| yes | 角色id |
| projectId |
| yes | 项目id |
| projectId |
number
| yes | 项目id |
| npcName |
| yes | 角色名称 |
| npcName |
string
| yes | 角色名称 |
| mood |
| yes | 情绪 |
| mood |
string
| yes | 情绪 |
#### 请求示例
#### 请求示例
...
@@ -70,8 +70,8 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/plot/text/custom' \
...
@@ -70,8 +70,8 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/plot/text/custom' \
#### 请求param字段说明
#### 请求param字段说明
| key | type | required | description |
| key | type | required | description |
| ---- | ---- | -------- | ---------------- |
| ---- | ----
--
| -------- | ---------------- |
| id |
| yes | 自定义剧情文本ID |
| id |
number
| yes | 自定义剧情文本ID |
#### 请求body字段说明
#### 请求body字段说明
...
@@ -120,14 +120,22 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/plot/text/custom?id=286' \
...
@@ -120,14 +120,22 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/plot/text/custom?id=286' \
#### 请求param字段说明
#### 请求param字段说明
| key | type | required | description |
| key | type | required | description |
| ---------- | ---- | -------- | ------------ |
| ---------- | ------ | -------- | ------------ |
| projectId | | yes | 项目ID |
| projectId | number | yes | 项目ID |
| npcIds | | yes | 角色IDl列表 |
| npcIds | number | yes | 角色IDl列表 |
| moods | | yes | 情绪名称列表 |
| moods | string | yes | 情绪名称列表 |
| text | | no | 子串文本 |
| text | string | no | 子串文本 |
| audioFlags | | no | 音频类型 |
| audioFlags | number | no | 音频类型 |
| pageNum | | yes | 页码 |
| pageNum | number | yes | 页码 |
| pageSize | | yes | 页面数据量 |
| pageSize | number | yes | 页面数据量 |
audioFlags值说明
| key | type | description |
| ---- | ------ | ----------- |
| 0 | number | 暂无语言 |
| 1 | number | 系统语言 |
| 2 | number | 人工语言 |
#### 请求body字段说明
#### 请求body字段说明
...
@@ -208,7 +216,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/text/offline/page/search?pro
...
@@ -208,7 +216,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/text/offline/page/search?pro
}
}
```
```
### 批量调节人工配音的音量
### 批量调节人工配音的音量
/修改音频参数
**METHOD**
: PUT
**METHOD**
: PUT
...
@@ -225,10 +233,13 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/text/offline/page/search?pro
...
@@ -225,10 +233,13 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/text/offline/page/search?pro
#### 请求body字段说明
#### 请求body字段说明
| key | type | required | description |
| key | type | required | description |
| ------- | ---- | -------- | ----------- |
| ---------- | ------ | -------- | ----------- |
| botName | | yes | 作品帐号 |
| botName | string | yes | 作品帐号 |
| npcName | | yes | 角色名称 |
| npcName | string | yes | 角色名称 |
| volume | | 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' \
...
@@ -261,7 +272,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/tts/api/record/volume' \
}
}
```
```
### 获取合成
离线
语音的进度
### 获取合成
系统
语音的进度
**METHOD**
: GET
**METHOD**
: GET
...
@@ -272,8 +283,8 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/tts/api/record/volume' \
...
@@ -272,8 +283,8 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/tts/api/record/volume' \
#### 请求param字段说明
#### 请求param字段说明
| key | type | required | description |
| key | type | required | description |
| ---------- | ---- | -------- | -------------- |
| ---------- | ----
--
| -------- | -------------- |
| botAccount |
| yes | 在引擎中的帐号 |
| botAccount |
string
| yes | 在引擎中的帐号 |
#### 请求body字段说明
#### 请求body字段说明
...
@@ -401,15 +412,15 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/tts/speakers' \
...
@@ -401,15 +412,15 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/tts/speakers' \
#### 请求body字段说明
#### 请求body字段说明
| key | type | required | description |
| key | type | required | description |
| -------- | ---- | -------- | ----------- |
| -------- | ----
--
| -------- | ----------- |
| person |
| yes |
|
| person |
string | yes | tts名称
|
| pitch |
| yes | 音调 |
| pitch |
number
| yes | 音调 |
| postDate |
| yes | 提交日期 |
| postDate |
string
| yes | 提交日期 |
| speed |
| yes | 语速 |
| speed |
number
| yes | 语速 |
| text |
| yes |
|
| text |
string | yes | 声音文本
|
| tone |
| yes |
|
| tone |
number | yes | 语气
|
| volume |
| yes | 声音大小 |
| volume |
number
| yes | 声音大小 |
| _type |
| yes | 类型 |
| _type |
string
| yes | 类型 |
#### 请求示例
#### 请求示例
...
@@ -442,7 +453,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/tts/api/tts' \
...
@@ -442,7 +453,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/tts/api/tts' \
}
}
```
```
### 删除
单个音频文件
### 删除
配音
**METHOD**
: DELETE
**METHOD**
: DELETE
...
@@ -459,12 +470,12 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/tts/api/tts' \
...
@@ -459,12 +470,12 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/tts/api/tts' \
#### 请求body字段说明
#### 请求body字段说明
| key | type | required | description |
| key | type | required | description |
| ---------- | ----
| -------- |
----------- |
| ---------- | ----
--- | -------- | ---
----------- |
| botName |
| yes | 作品帐号
|
| botName |
string | yes | 作品帐号
|
| npcName |
| yes | 角色名称
|
| npcName |
string | yes | 角色名称
|
| text |
| yes | 对话文本
|
| text |
string | yes | 对话文本
|
| tid |
| yes |
|
| tid |
number | yes | 内部代号
|
| customText |
| yes |
|
| customText |
boolean | yes | 自定义文本剧情
|
#### 请求示例
#### 请求示例
...
@@ -497,7 +508,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/tts/api/delete/record/one_sen' \
...
@@ -497,7 +508,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/tts/api/delete/record/one_sen' \
}
}
```
```
### 获取
单个音频文件数据
### 获取
音频参数
**METHOD**
: GET
**METHOD**
: GET
...
@@ -508,10 +519,10 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/tts/api/delete/record/one_sen' \
...
@@ -508,10 +519,10 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/tts/api/delete/record/one_sen' \
#### 请求param字段说明
#### 请求param字段说明
| key | type | required | description |
| key | type | required | description |
| ------- | ---- | -------- | ----------- |
| ------- | ----
--
| -------- | ----------- |
| botName |
| yes | 作品帐号 |
| botName |
string
| yes | 作品帐号 |
| npcName |
| yes | 角色名称 |
| npcName |
string
| yes | 角色名称 |
| text |
| yes | 对话文本 |
| text |
string
| yes | 对话文本 |
#### 请求body字段说明
#### 请求body字段说明
...
@@ -554,7 +565,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/tts/api/upload/record/one_sen?botNa
...
@@ -554,7 +565,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/tts/api/upload/record/one_sen?botNa
}
}
```
```
### 合成
离线
语音
### 合成
系统
语音
**METHOD**
: POST
**METHOD**
: POST
...
@@ -565,14 +576,14 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/tts/api/upload/record/one_sen?botNa
...
@@ -565,14 +576,14 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/tts/api/upload/record/one_sen?botNa
#### 请求path字段说明
#### 请求path字段说明
| key | type | required | description |
| key | type | required | description |
| --------- | ---- | -------- | ----------- |
| --------- | ----
--
| -------- | ----------- |
| projectId |
| yes | 项目ID |
| projectId |
number
| yes | 项目ID |
#### 请求param字段说明
#### 请求param字段说明
| key | type | required | description |
| key | type | required | description |
| ------- | ---- | -------- | ------------ |
| ------- | ----
---
| -------- | ------------ |
| rebuild |
| yes | 是否重新生成 |
| rebuild |
boolean
| yes | 是否重新生成 |
#### 请求body字段说明
#### 请求body字段说明
...
@@ -628,13 +639,13 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/tts/generate/voice/6381?rebu
...
@@ -628,13 +639,13 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/tts/generate/voice/6381?rebu
#### 请求body字段说明 form data
#### 请求body字段说明 form data
| key | type | required | description |
| key | type | required | description |
| ---------- | ---- | -------- | --------------- |
| ---------- | ----
---
| -------- | --------------- |
| file | | yes | 人工语音mp3文件 |
| file |
mp3
| yes | 人工语音mp3文件 |
| botName |
| yes | 作品帐号 |
| botName |
string
| yes | 作品帐号 |
| npcName |
| yes | 角色名称 |
| npcName |
string
| yes | 角色名称 |
| text |
| yes | 对话文本 |
| text |
string
| yes | 对话文本 |
| tid |
| |
|
| tid |
number | yes | 内部代号
|
| customText |
| |
|
| customText |
boolean | yes | 自定义剧情文本
|
#### 请求示例
#### 请求示例
...
@@ -683,10 +694,10 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/tts/api/upload/record/one_sen' \
...
@@ -683,10 +694,10 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/tts/api/upload/record/one_sen' \
#### 请求body字段说明 form data
#### 请求body字段说明 form data
| key | type | required | description |
| key | type | required | description |
| --------- | ---- | -------- | ----------- |
| --------- | ----
--
| -------- | ----------- |
| projectId |
| yes | 项目id |
| projectId |
number
| yes | 项目id |
| mood |
| no | 情绪 |
| mood |
string
| no | 情绪 |
| npcId |
| yes | 角色名称 |
| npcId |
number
| yes | 角色名称 |
#### 请求示例
#### 请求示例
...
@@ -734,7 +745,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/text/offline/csv' \
...
@@ -734,7 +745,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/text/offline/csv' \
11157540
,
很抱歉打扰您,您先忙,我改天再和您联系。
,
是
11157540
,
很抱歉打扰您,您先忙,我改天再和您联系。
,
是
```
```
### 上传
npc的声音
### 上传
角色声音压缩包
**METHOD**
: POST
**METHOD**
: POST
...
@@ -751,12 +762,12 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/text/offline/csv' \
...
@@ -751,12 +762,12 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/design/text/offline/csv' \
#### 请求body字段说明 form data
#### 请求body字段说明 form data
| key | type | required | description |
| key | type | required | description |
| ---------- | ---- | -------- | -------------- |
| ---------- | ----
--
| -------- | -------------- |
| file |
| yes | npc声音zip文件 |
| file |
zip
| yes | npc声音zip文件 |
| botAccount |
| yes | 在引擎中的帐号 |
| botAccount |
string
| yes | 在引擎中的帐号 |
| npcName |
| yes | 角色名称 |
| npcName |
string
| yes | 角色名称 |
| sampleRate |
| yes | 采样率 |
| sampleRate |
string
| yes | 采样率 |
| bitRate |
| yes | 比特率 |
| bitRate |
string
| yes | 比特率 |
#### 请求示例
#### 请求示例
...
@@ -789,7 +800,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/tts/api/upload/record/one_npc/v2' \
...
@@ -789,7 +800,7 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/tts/api/upload/record/one_npc/v2' \
}
}
```
```
### 查看上传
npc的声音
进度
### 查看上传
角色声音压缩包的
进度
**METHOD**
: GET
**METHOD**
: GET
...
@@ -800,8 +811,8 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/tts/api/upload/record/one_npc/v2' \
...
@@ -800,8 +811,8 @@ curl 'http://tx-gz14.heyqiwu.cn/api/platform/tts/api/upload/record/one_npc/v2' \
#### 请求param字段说明
#### 请求param字段说明
| key | type | required | description |
| key | type | required | description |
| ---------- | ---- | -------- | -------------- |
| ---------- | ----
--
| -------- | -------------- |
| botAccount |
| yes | 在引擎中的帐号 |
| botAccount |
string
| yes | 在引擎中的帐号 |
#### 请求body字段说明
#### 请求body字段说明
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment