知识中心
所有文章
帮助中心
AI客户联络中心 升级日志
API文档
AI客户联络
白标接口及地址
2.12编辑模板
最后更新于 2023/06/01   阅读数 66

1.编辑模板

接口地址

/api/user/sampleToMine

#请求方式

POST

字段

类型

备注

workId

String

作品id

{
  "code": 0,
  "msg": "success",
  "data": {
    "id": "1663824684933718018",
    "userId": "1650389675602460673",
    "name": "行业研究",
    "status": 3,
    "previewUrl": "static.meta.telrobot.top/material/2023/05/31/1211570373.png",
    "manualPreview": "",
    "url": "http://static.meta.telrobot.top/works/63ecdbf4-b954-4fbb-ad27-76c3f9f59e01.mp4",
    "width": 1920,
    "height": 1080,
    "isHorizontal": "",
    "bitrate": 2.9,
    "fps": 15,
    "duration": 29801,
    "sort": "29",
    "scenes": [
      {
        "id": "1663824684954689537",
        "name": "场景1",
        "sort": 0,
        "duration": 403750,
        "previewUrl": "static.meta.telrobot.top/material/2023/05/31/1211570373.png",
        "backgroundColor": "",
        "model": {
          "id": "1663824684996632578",
          "modelId": "1640608187059048450",
          "layer": 1,
          "groupLayer": 1,
          "marginTop": 159,
          "marginLeft": 1281,
          "width": 655,
          "height": 1165,
          "startAt": "0",
          "endAt": "29719",
          "url": "static.meta.telrobot.top/material/2023/03/28/1836760175.gif",
          "previewUrl": "static.meta.telrobot.top/material/2023/03/28/2111963786.jpg",
          "opacity": 100,
          "rotate": 0,
          "originalWidth": 432,
          "originalHeight": 768,
          "frameCount": 5319,
          "startFrameIndex": 0
        },
        "background": "",
        "speaker": {
          "id": "1663824685046964225",
          "text": "我们将首先从行业八维聚焦分析模型切入,从理论层面告诉大家,做行业研究应当具备的框架性思维和应该涵盖的研究分析维度。然后我们会通过八节课系统性的教授,大家每个模块的研究目的、研究方式与技巧。我们将深入研究本课题的各个方向,并提供丰富的实例和案例,以帮助你更好的理解和应用所学的知识。现在请你和我一起进入本次课程的精彩世界吧。",
          "textList": "[{\"beginTime\":\"00:00:00\",\"channelId\":0,\"endTime\":\"00:00:10\",\"filesId\":\"1663797608751050754\",\"id\":\"1663797654334746626\",\"text\":\"我们将首先从行业八维聚焦分析模型切入,从理论层面告诉大家,做行业研究应当具备的框架性思维和应该涵盖的研究分析维度。\"},{\"beginTime\":\"00:00:10\",\"channelId\":0,\"endTime\":\"00:00:17\",\"filesId\":\"1663797608751050754\",\"id\":\"1663797654334746627\",\"text\":\"然后我们会通过八节课系统性的教授,大家每个模块的研究目的、研究方式与技巧。\"},{\"beginTime\":\"00:00:17\",\"channelId\":0,\"endTime\":\"00:00:25\",\"filesId\":\"1663797608751050754\",\"id\":\"1663797654334746628\",\"text\":\"我们将深入研究本课题的各个方向,并提供丰富的实例和案例,以帮助你更好的理解和应用所学的知识。\"},{\"beginTime\":\"00:00:25\",\"channelId\":0,\"endTime\":\"00:00:28\",\"filesId\":\"1663797608751050754\",\"id\":\"1663797654334746629\",\"text\":\"现在请你和我一起进入本次课程的精彩世界吧。\"}]",
          "url": "static.meta.telrobot.top/material/2023/05/31/1077275195.wav",
          "startAt": 0,
          "duration": "29719",
          "fadeInDuration": "0",
          "fadeOutDuration": "0",
          "voice": "stanley",
          "compositeVolume": 100,
          "volume": 100,
          "speechRate": 26,
          "pitchRate": 0,
          "source": 0,
          "denoising": 1,
          "supplier": 1,
          "voiceId": "1663797608751050754"
        },
        "nodes": [
          {
            "id": "1663824685017604098",
            "materialId": "1640997410291322882",
            "layer": 0,
            "groupLayer": 0,
            "marginTop": 0,
            "marginLeft": 0,
            "rotate": 0,
            "width": 1920,
            "height": 1080,
            "opacity": 100,
            "type": 4,
            "startAt": "0",
            "endAt": "",
            "fadeInDuration": "",
            "fadeOutDuration": "",
            "url": "static.meta.telrobot.top/material/2023/03/29/1981994858.jpg",
            "previewUrl": "static.meta.telrobot.top/materials/2023/03/29/1021449893.jpg",
            "volume": "",
            "startOffset": "",
            "endOffset": "",
            "isLoop": "",
            "fontSize": "",
            "color": "",
            "fontFamily": "",
            "fontUrl": "",
            "fontWeight": "",
            "fontStyle": "",
            "textAlign": "",
            "lineHeight": "",
            "letterSpacing": "",
            "stroke": "",
            "strokeColor": "",
            "fontId": ""
          }
        ]
      }
    ],
    "createdAt": "2023-05-31 16:28:12",
    "updatedAt": "2023-04-13 13:57:26",
    "deletedAt": "",
    "types": [],
    "ratio": "16:9"
  },
  "meta": {
    "status": [
      {
        "name": "已刪除",
        "value": 0
      },
      {
        "name": "未合成",
        "value": 1
      },
      {
        "name": "合成中",
        "value": 2
      },
      {
        "name": "已完成",
        "value": 3
      },
      {
        "name": "合成失败",
        "value": 4
      }
    ],
    "type": [
      {
        "name": "默认",
        "value": 0
      },
      {
        "name": "知识分享",
        "value": 1
      },
      {
        "name": "营销推广",
        "value": 2
      },
      {
        "name": "培训讲解",
        "value": 3
      },
      {
        "name": "政企宣传",
        "value": 4
      },
      {
        "name": "其他",
        "value": 5
      }
    ],
    "topText": "",
    "isFormwork": false,
    "models": []
  }
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
plaintext
未能解决您的问题?请联系
本篇目录

接口地址

#请求方式