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
jixudong
jiaoyou_doc
Commits
dad14d06
Commit
dad14d06
authored
Nov 21, 2023
by
songyinting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update 剧本编辑器调用接口.md
parent
cdf70325
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
64 deletions
+4
-64
剧本编辑器调用接口.md
gameditor/剧本编辑器调用接口.md
+4
-64
No files found.
gameditor/剧本编辑器调用接口.md
View file @
dad14d06
[
TOC
]
[
TOC
]
...
@@ -91,69 +91,9 @@ posTags里一个对象的说明
...
@@ -91,69 +91,9 @@ posTags里一个对象的说明
## 请求示例
## 请求示例
```
json
```
json
{
curl
--location
'http
:
//
10.0
.
7.3
:
18092
/api/juben/generate?secret=f
1
fvo
0
Yhw
199
PIHWTmCbbQ'
\
"pointBOList"
:
[
--header
'Content-Type
:
application/json;charset=utf
-8
'
\
{
--data
'
{
"pointBOList"
:[{
"branchCount"
:
0
,
"branchs"
:
"[]"
,
"commentCount"
:
0
,
"commentId"
:
0
,
"complete"
:
0
,
"gmtCreate"
:
1699347069000
,
"id"
:
537043
,
"merges"
:
0
,
"number"
:
"监听"
,
"ownerId"
:
60
,
"projectId"
:
1039
,
"texts"
:
"[]"
,
"wordCount"
:
0
},{
"branchCount"
:
7
,
"branchs"
:
"[{
\"
name
\"
:
\"
困惑
\"
,
\"
nextPlotNum
\"
:
\"
1-1-3
\"
,
\"
userSpeech
\"
:
\"
这是哪儿?
\"
},{
\"
name
\"
:
\"
调侃
\"
,
\"
userSpeech
\"
:
\"
闹哪样呢,王爷?
\"
},{
\"
name
\"
:
\"
质疑
\"
,
\"
userSpeech
\"
:
\"
我怎么会在这?
\"
},{
\"
name
\"
:
\"
挑衅
\"
,
\"
userSpeech
\"
:
\"
难道我要感激不尽?
\"
},{
\"
name
\"
:
\"
戏谑
\"
,
\"
userSpeech
\"
:
\"
咱俩真成亲了?
\"
},{
\"
name
\"
:
\"
探寻
\"
,
\"
userSpeech
\"
:
\"
现在该怎么办?
\"
},{
\"
name
\"
:
\"
无奈
\"
,
\"
userSpeech
\"
:
\"
这剧本,我能退吗?
\"
}]"
,
"commentCount"
:
0
,
"commentId"
:
537044
,
"complete"
:
0
,
"gmtCreate"
:
1699347077000
,
"id"
:
537044
,
"merges"
:
0
,
"number"
:
"1-1"
,
"ownerId"
:
60
,
"plotSort"
:
1
,
"projectId"
:
1039
,
"texts"
:
"[{
\"
content
\"
:
\"
你在公司办公室里,疲惫不堪地处理着手头的工作。她是世界500强的CEO,能力出众,但今天的压力却让她感到有些承受不住。灯光昏黄,钟表滴答作响,窗外的城市被夜色笼罩,一切都显得那么冷清。她疲倦地搓揉着太阳穴,抬起头来看了看墙上的大钟,已经是深夜的三点,也就是她25岁生日的零点。她决定再找秘书确认一下明天的行程,但是起身的一瞬间,世界仿佛开始旋转,而后便是一片黑暗。
\"
,
\"
npcName
\"
:
\"
旁白
\"
},{
\"
content
\"
:
\"
当她再次睁开眼睛,眼前的景象让她惊愕。她身处一间稍显陈旧的房间,穿着一可华丽的鲜红嫁衣,静静地坐在床边。房间内的烛火在轻微的微风中摇曳,照亮了四周破旧的墙壁,古老而厚重的气息扑面而来。
\"
,
\"
npcName
\"
:
\"
旁白
\"
},{
\"
content
\"
:
\"
你觉得这个房间怎么样?
\"
,
\"
npcName
\"
:
\"
平川王
\"
},{
\"
content
\"
:
\"
那是一个声音,沙哑却低沉有力,透着疲惫和一丝难以察觉的期待。这个声音属于平川王,地位最低的王爷,也是她的未婚夫。他坐在房间的角落里,神态落寞,眼中却带着难以名状的情绪。
\"
,
\"
npcName
\"
:
\"
旁白
\"
},{
\"
content
\"
:
\"
不用害怕。事已至此,是否愿意接受这个事实,重新开始你的人生?
\"
,
\"
npcName
\"
:
\"
平川王
\"
}]"
,
"wordCount"
:
463
}],
"posTags"
:[],
"roles"
:[{
"id"
:
16987
,
"mood"
:
"正常"
,
"roleName"
:
"旁白"
,
"voiceClass"
:
"ProTencent11"
,
"voiceName"
:
"腾智美(客服女声)"
,
"voicePackage"
:{
"ProTencent11"
:{
"正常"
:{
"volume"
:
0.0
,
"intonation"
:
0.0
,
"speech"
:
1.0
}}},
"workId"
:
1039
},{
"id"
:
17046
,
"mood"
:
"正常"
,
"roleName"
:
"平川王"
,
"voiceClass"
:
"ProTencent11"
,
"voiceName"
:
"腾智美(客服女声)"
,
"voicePackage"
:{
"ProTencent11"
:{
"正常"
:{
"volume"
:
0.0
,
"intonation"
:
0.0
,
"speech"
:
1.0
}}},
"workId"
:
1039
}],
"synthesis"
:
false
,
"work"
:{
"botAccount"
:
"juben1b01039"
,
"count"
:
463
,
"covers"
:[{
"detailUrl"
:
"http://tx-gz18.heyqiwu.cn/media/img/default.png"
,
"listUrl"
:
"http://tx-gz18.heyqiwu.cn/media/img/default.png"
,
"scale"
:
"4x3"
},{
"detailUrl"
:
"http://tx-gz18.heyqiwu.cn/media/img/default.png"
,
"listUrl"
:
"http://tx-gz18.heyqiwu.cn/media/img/default.png"
,
"scale"
:
"1x1"
}],
"gmtCreate"
:
1699347069000
,
"gmtModified"
:
1699347069000
,
"id"
:
1039
,
"labels"
:[],
"name"
:
"第8个作品"
,
"ownerId"
:
60
,
"serviceCode"
:
"juben1"
,
"startPlotNum"
:
"1-1"
,
"suitCrowdsl"
:[],
"username"
:
"syt"
}}
'
"branchCount"
:
0
,
"branchs"
:
"[]"
,
"commentCount"
:
0
,
"commentId"
:
0
,
"complete"
:
0
,
"gmtCreate"
:
1698729756000
,
"id"
:
529145
,
"merges"
:
0
,
"number"
:
"监听"
,
"ownerId"
:
60
,
"projectId"
:
1024
,
"texts"
:
"[]"
,
"wordCount"
:
0
},
{
"branchCount"
:
5
,
"branchs"
:
"[{
\"
name
\"
:
\"
询问意见
\"
,
\"
nextPlotNum
\"
:
\"
1-1-1
\"
,
\"
userSpeech
\"
:
\"
你觉得我适合做咖啡馆的吗?+你觉得我应该怎么办?
\"
},{
\"
name
\"
:
\"
问原因
\"
,
\"
nextPlotNum
\"
:
\"
1-1-2
\"
,
\"
userSpeech
\"
:
\"
你为什么会突然想打电话给我?
\"
},{
\"
name
\"
:
\"
问方法
\"
,
\"
nextPlotNum
\"
:
\"
1-1-3
\"
,
\"
userSpeech
\"
:
\"
你有什么经营咖啡馆的建议吗?
\"
},{
\"
name
\"
:
\"
不知道
\"
,
\"
nextPlotNum
\"
:
\"
1-1-4
\"
,
\"
userSpeech
\"
:
\"
我也不确定该怎么做。
\"
},{
\"
intents
\"
:[],
\"
name
\"
:
\"
分支5
\"
,
\"
nextPlotNum
\"
:
\"
1-2
\"
,
\"
userSpeech
\"
:
\"
兜底跳转
\"
}]"
,
"commentCount"
:
0
,
"commentId"
:
529146
,
"complete"
:
1
,
"gmtCreate"
:
1698729766000
,
"id"
:
529146
,
"merges"
:
0
,
"number"
:
"1-1"
,
"ownerId"
:
60
,
"plotSort"
:
1
,
"projectId"
:
1024
,
"texts"
:
"[{
\"
content
\"
:
\"
咖啡馆内,午后的阳光透过窗户洒落进来,给整个空间增添了一丝暖意。吧台上摆着几杯刚做好的咖啡,香气四溢。
\"
,
\"
emotion
\"
:
\"
正常
\"
,
\"
intonation
\"
:0.0,
\"
npcName
\"
:
\"
旁白
\"
,
\"
speech
\"
:1.0,
\"
volume
\"
:0.0},{
\"
content
\"
:
\"
雅音,好久不见,没想到你还记得我。
\"
,
\"
emotion
\"
:
\"
正常
\"
,
\"
intonation
\"
:0.0,
\"
npcName
\"
:
\"
翁可馨
\"
,
\"
speech
\"
:1.0,
\"
volume
\"
:0.0},{
\"
content
\"
:
\"
萧雅音拿起咖啡杯,轻啜了一口,感受着舌尖上的醇香。
\"
,
\"
emotion
\"
:
\"
正常
\"
,
\"
intonation
\"
:0.0,
\"
npcName
\"
:
\"
旁白
\"
,
\"
speech
\"
:1.0,
\"
volume
\"
:0.0},{
\"
content
\"
:
\"
这几年,你过得怎么样?
\"
,
\"
emotion
\"
:
\"
正常
\"
,
\"
intonation
\"
:0.0,
\"
npcName
\"
:
\"
翁可馨
\"
,
\"
speech
\"
:1.0,
\"
volume
\"
:0.0},{
\"
content
\"
:
\"
萧雅音放下咖啡杯,目光投向了窗外,思绪飘向了远方的回忆。
\"
,
\"
emotion
\"
:
\"
正常
\"
,
\"
intonation
\"
:0.0,
\"
npcName
\"
:
\"
旁白
\"
,
\"
speech
\"
:1.0,
\"
volume
\"
:0.0},{
\"
content
\"
:
\"
最近,我一直在听高中同学说,你工作很出色。可是,我听说最近公司出了一些问题?
\"
,
\"
emotion
\"
:
\"
正常
\"
,
\"
intonation
\"
:0.0,
\"
npcName
\"
:
\"
翁可馨
\"
,
\"
speech
\"
:1.0,
\"
volume
\"
:0.0},{
\"
content
\"
:
\"
萧雅音轻叹一声,将事情的原委告诉了翁可馨。
\"
,
\"
emotion
\"
:
\"
正常
\"
,
\"
intonation
\"
:0.0,
\"
npcName
\"
:
\"
旁白
\"
,
\"
speech
\"
:1.0,
\"
volume
\"
:0.0},{
\"
content
\"
:
\"
唉,职场上总会遇到这样的事情。不过,我相信你的能力,一定可以找到更好的工作。
\"
,
\"
emotion
\"
:
\"
正常
\"
,
\"
intonation
\"
:0.0,
\"
npcName
\"
:
\"
翁可馨
\"
,
\"
speech
\"
:1.0,
\"
volume
\"
:0.0},{
\"
content
\"
:
\"
萧雅音微微一笑,心中涌起一阵暖意。
\"
,
\"
emotion
\"
:
\"
正常
\"
,
\"
intonation
\"
:0.0,
\"
npcName
\"
:
\"
旁白
\"
,
\"
speech
\"
:1.0,
\"
volume
\"
:0.0},{
\"
content
\"
:
\"
对了,这家咖啡馆是你的吗?
\"
,
\"
emotion
\"
:
\"
正常
\"
,
\"
intonation
\"
:0.0,
\"
npcName
\"
:
\"
翁可馨
\"
,
\"
speech
\"
:1.0,
\"
volume
\"
:0.0},{
\"
content
\"
:
\"
萧雅音点点头,是啊,我被辞
\"
,
\"
emotion
\"
:
\"
正常
\"
,
\"
intonation
\"
:0.0,
\"
npcName
\"
:
\"
旁白
\"
,
\"
speech
\"
:1.0,
\"
volume
\"
:0.0}]"
,
"wordCount"
:
364
}
],
"posTags"
:
[],
"synthesis"
:
false
,
"work"
:
{
"botAccount"
:
"juben1b01024"
,
"count"
:
1701
,
"covers"
:
[
{
"detailUrl"
:
"http://tx-gz18.heyqiwu.cn/media/img/default.png"
,
"listUrl"
:
"http://tx-gz18.heyqiwu.cn/media/img/default.png"
,
"scale"
:
"4x3"
},
{
"detailUrl"
:
"http://tx-gz18.heyqiwu.cn/media/img/default.png"
,
"listUrl"
:
"http://tx-gz18.heyqiwu.cn/media/img/default.png"
,
"scale"
:
"1x1"
}
],
"gmtCreate"
:
1698729756000
,
"gmtModified"
:
1698729756000
,
"id"
:
1024
,
"labels"
:
[],
"name"
:
"第5个作品"
,
"ownerId"
:
60
,
"serviceCode"
:
"juben1"
,
"startPlotNum"
:
"1-1"
,
"suitCrowdsl"
:
[],
"username"
:
"syt"
}
}
```
```
...
...
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