tencentcloud-sdk-nodejs 4.0.888 → 4.0.889

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,70 @@
1
+ # Release 4.0.889
2
+
3
+ ## 大模型图像创作引擎(aiart) 版本:2022-12-29
4
+
5
+ ### 第 7 次发布
6
+
7
+ 发布时间:2024-07-03 11:28:36
8
+
9
+ 本次发布包含了以下内容:
10
+
11
+ 改善已有的文档。
12
+
13
+ 新增接口:
14
+
15
+ * [ReplaceBackground](https://cloud.tencent.com/document/api/1668/107957)
16
+
17
+
18
+
19
+ ## 机器翻译(tmt) 版本:2018-03-21
20
+
21
+ ### 第 10 次发布
22
+
23
+ 发布时间:2024-07-04 01:25:30
24
+
25
+ 本次发布包含了以下内容:
26
+
27
+ 改善已有的文档。
28
+
29
+ 修改接口:
30
+
31
+ * [TextTranslate](https://cloud.tencent.com/document/api/551/15619)
32
+
33
+ * 新增入参:TermRepoIDList, SentRepoIDList
34
+
35
+ * [TextTranslateBatch](https://cloud.tencent.com/document/api/551/40566)
36
+
37
+ * 新增入参:TermRepoIDList, SentRepoIDList
38
+
39
+
40
+
41
+
42
+ ## Web 应用防火墙(waf) 版本:2018-01-25
43
+
44
+ ### 第 93 次发布
45
+
46
+ 发布时间:2024-07-04 01:27:42
47
+
48
+ 本次发布包含了以下内容:
49
+
50
+ 改善已有的文档。
51
+
52
+ 修改接口:
53
+
54
+ * [DeleteDomainWhiteRules](https://cloud.tencent.com/document/api/627/72649)
55
+
56
+ * <font color="#dd0000">**修改出参**:</font>Data
57
+
58
+
59
+ 修改数据结构:
60
+
61
+ * [ClbObject](https://cloud.tencent.com/document/api/627/53609#ClbObject)
62
+
63
+ * 新增成员:Proxy, IpHeaders, BotStatus, ApiStatus, ObjectFlowMode
64
+
65
+
66
+
67
+
1
68
  # Release 4.0.888
2
69
 
3
70
  ## 云安全一体化平台(csip) 版本:2022-11-21
@@ -1,71 +1,10 @@
1
1
  # 本版本更新包含以下内容:
2
2
 
3
- ## 云安全一体化平台(csip) 版本:2022-11-21
4
-
5
- ### 第 41 次发布
6
-
7
- 发布时间:2024-07-03 01:12:26
8
-
9
- 本次发布包含了以下内容:
10
-
11
- 改善已有的文档。
12
-
13
- 修改数据结构:
14
-
15
- * [TaskLogURL](https://cloud.tencent.com/document/api/664/90825#TaskLogURL)
16
-
17
- * <font color="#dd0000">**修改成员**:</font>URL, LogId, TaskLogName, AppId
18
-
19
-
20
-
21
-
22
- ## TDSQL MySQL 版(dcdb) 版本:2018-04-11
23
-
24
- ### 第 69 次发布
25
-
26
- 发布时间:2024-07-03 01:14:20
27
-
28
- 本次发布包含了以下内容:
29
-
30
- 改善已有的文档。
31
-
32
- 修改数据结构:
33
-
34
- * [InstanceBackupFileItem](https://cloud.tencent.com/document/api/557/16142#InstanceBackupFileItem)
35
-
36
- * 新增成员:StorageClass
37
-
38
-
39
-
40
-
41
- ## 数据传输服务(dts) 版本:2021-12-06
42
-
43
- ### 第 30 次发布
44
-
45
- 发布时间:2024-07-03 01:15:22
46
-
47
- 本次发布包含了以下内容:
48
-
49
- 改善已有的文档。
50
-
51
- 修改数据结构:
52
-
53
- * [Endpoint](https://cloud.tencent.com/document/api/571/82108#Endpoint)
54
-
55
- * 新增成员:SetId
56
-
57
-
58
-
59
-
60
- ## 数据传输服务(dts) 版本:2018-03-30
61
-
62
-
63
-
64
- ## 全球应用加速(gaap) 版本:2018-05-29
3
+ ## 大模型图像创作引擎(aiart) 版本:2022-12-29
65
4
 
66
- ### 第 46 次发布
5
+ ### 第 7 次发布
67
6
 
68
- 发布时间:2024-07-03 01:16:42
7
+ 发布时间:2024-07-03 11:28:36
69
8
 
70
9
  本次发布包含了以下内容:
71
10
 
@@ -73,106 +12,15 @@
73
12
 
74
13
  新增接口:
75
14
 
76
- * [SetTlsVersion](https://cloud.tencent.com/document/api/608/107933)
77
-
15
+ * [ReplaceBackground](https://cloud.tencent.com/document/api/1668/107957)
78
16
 
79
17
 
80
- ## 云数据库 MariaDB(mariadb) 版本:2017-03-12
81
18
 
82
- ### 62 次发布
83
-
84
- 发布时间:2024-07-03 01:20:08
85
-
86
- 本次发布包含了以下内容:
87
-
88
- 改善已有的文档。
89
-
90
- 修改数据结构:
91
-
92
- * [InstanceBackupFileItem](https://cloud.tencent.com/document/api/237/16191#InstanceBackupFileItem)
93
-
94
- * 新增成员:StorageClass
95
-
96
-
97
-
98
-
99
- ## 腾讯云可观测平台(monitor) 版本:2018-07-24
100
-
101
- ### 第 118 次发布
102
-
103
- 发布时间:2024-07-03 01:20:32
104
-
105
- 本次发布包含了以下内容:
106
-
107
- 改善已有的文档。
108
-
109
- 修改接口:
110
-
111
- * [DescribeAlarmHistories](https://cloud.tencent.com/document/api/248/48684)
112
-
113
- * 新增入参:ConvergenceHistoryIDs
114
-
115
-
116
-
117
-
118
- ## 文字识别(ocr) 版本:2018-11-19
119
-
120
- ### 第 141 次发布
121
-
122
- 发布时间:2024-07-03 01:21:25
123
-
124
- 本次发布包含了以下内容:
125
-
126
- 改善已有的文档。
127
-
128
- 修改接口:
129
-
130
- * [AdvertiseOCR](https://cloud.tencent.com/document/api/866/49524)
131
-
132
- * 新增出参:ImageSize
133
-
134
-
135
- 新增数据结构:
136
-
137
- * [ImageSize](https://cloud.tencent.com/document/api/866/33527#ImageSize)
138
-
139
-
140
-
141
- ## 消息队列 TDMQ(tdmq) 版本:2020-02-17
142
-
143
- ### 第 118 次发布
144
-
145
- 发布时间:2024-07-03 01:24:52
146
-
147
- 本次发布包含了以下内容:
148
-
149
- 改善已有的文档。
150
-
151
- 修改接口:
152
-
153
- * [CreateRabbitMQVipInstance](https://cloud.tencent.com/document/api/1179/88134)
154
-
155
- * 新增入参:EnablePublicAccess
156
-
157
- * [CreateRole](https://cloud.tencent.com/document/api/1179/62401)
158
-
159
- * <font color="#dd0000">**修改入参**:</font>Remark, ClusterId
160
-
161
-
162
- 修改数据结构:
163
-
164
- * [RabbitMQVirtualHostInfo](https://cloud.tencent.com/document/api/1179/46089#RabbitMQVirtualHostInfo)
165
-
166
- * 新增成员:TraceFlag
167
-
168
-
169
-
170
-
171
- ## 边缘安全加速平台(teo) 版本:2022-09-01
19
+ ## 机器翻译(tmt) 版本:2018-03-21
172
20
 
173
- ### 第 83 次发布
21
+ ### 第 10 次发布
174
22
 
175
- 发布时间:2024-07-03 01:25:21
23
+ 发布时间:2024-07-04 01:25:30
176
24
 
177
25
  本次发布包含了以下内容:
178
26
 
@@ -180,37 +28,22 @@
180
28
 
181
29
  修改接口:
182
30
 
183
- * [ModifyHostsCertificate](https://cloud.tencent.com/document/api/1552/80764)
184
-
185
- * 新增入参:ClientCertInfo
186
-
187
-
188
- 新增数据结构:
189
-
190
- * [MutualTLS](https://cloud.tencent.com/document/api/1552/80721#MutualTLS)
191
-
192
- 修改数据结构:
193
-
194
- * [AccelerationDomainCertificate](https://cloud.tencent.com/document/api/1552/80721#AccelerationDomainCertificate)
195
-
196
- * 新增成员:ClientCertInfo
197
-
198
- * [CertificateInfo](https://cloud.tencent.com/document/api/1552/80721#CertificateInfo)
199
-
200
- * <font color="#dd0000">**修改成员**:</font>Alias, Type, ExpireTime, DeployTime, SignAlgo, Status
31
+ * [TextTranslate](https://cloud.tencent.com/document/api/551/15619)
201
32
 
33
+ * 新增入参:TermRepoIDList, SentRepoIDList
202
34
 
35
+ * [TextTranslateBatch](https://cloud.tencent.com/document/api/551/40566)
203
36
 
37
+ * 新增入参:TermRepoIDList, SentRepoIDList
204
38
 
205
- ## 边缘安全加速平台(teo) 版本:2022-01-06
206
39
 
207
40
 
208
41
 
209
- ## 私有网络(vpc) 版本:2017-03-12
42
+ ## Web 应用防火墙(waf) 版本:2018-01-25
210
43
 
211
- ### 第 192 次发布
44
+ ### 第 93 次发布
212
45
 
213
- 发布时间:2024-07-03 01:28:07
46
+ 发布时间:2024-07-04 01:27:42
214
47
 
215
48
  本次发布包含了以下内容:
216
49
 
@@ -218,43 +51,16 @@
218
51
 
219
52
  修改接口:
220
53
 
221
- * [CreateVpnConnection](https://cloud.tencent.com/document/api/215/17522)
222
-
223
- * 新增入参:HealthCheckConfig
224
-
225
- * [ModifyVpnConnectionAttribute](https://cloud.tencent.com/document/api/215/17508)
226
-
227
- * 新增入参:HealthCheckConfig
228
-
54
+ * [DeleteDomainWhiteRules](https://cloud.tencent.com/document/api/627/72649)
229
55
 
230
- 新增数据结构:
56
+ * <font color="#dd0000">**修改出参**:</font>Data
231
57
 
232
- * [HealthCheckConfig](https://cloud.tencent.com/document/api/215/15824#HealthCheckConfig)
233
58
 
234
59
  修改数据结构:
235
60
 
236
- * [VpnConnection](https://cloud.tencent.com/document/api/215/15824#VpnConnection)
237
-
238
- * 新增成员:HealthCheckConfig
239
-
240
-
241
-
242
-
243
- ## Web 应用防火墙(waf) 版本:2018-01-25
244
-
245
- ### 第 92 次发布
246
-
247
- 发布时间:2024-07-03 01:28:45
248
-
249
- 本次发布包含了以下内容:
250
-
251
- 改善已有的文档。
252
-
253
- 修改接口:
254
-
255
- * [DescribeDomainRules](https://cloud.tencent.com/document/api/627/99701)
61
+ * [ClbObject](https://cloud.tencent.com/document/api/627/53609#ClbObject)
256
62
 
257
- * <font color="#dd0000">**修改出参**:</font>Rules
63
+ * 新增成员:Proxy, IpHeaders, BotStatus, ApiStatus, ObjectFlowMode
258
64
 
259
65
 
260
66
 
@@ -903,6 +709,18 @@
903
709
 
904
710
  ## 大模型图像创作引擎(aiart) 版本:2022-12-29
905
711
 
712
+ ### 第 7 次发布
713
+
714
+ 发布时间:2024-07-03 11:28:36
715
+
716
+ 本次发布包含了以下内容:
717
+
718
+ 改善已有的文档。
719
+
720
+ 新增接口:
721
+
722
+ * [[ReplaceBackground](https://cloud.tencent.com/document/api/1668/107957)](https://cloud.tencent.com/document/api/#/#)
723
+
906
724
  ### 第 6 次发布
907
725
 
908
726
  发布时间:2024-06-28 01:03:50
@@ -70964,7 +70782,7 @@
70964
70782
 
70965
70783
  新增接口:
70966
70784
 
70967
- * [[SetTlsVersion](https://cloud.tencent.com/document/api/608/107933)](https://cloud.tencent.com/document/api/#/#)
70785
+ * [SetTlsVersion](https://cloud.tencent.com/document/api/608/107933)
70968
70786
 
70969
70787
  ### 第 45 次发布
70970
70788
 
@@ -99418,7 +99236,7 @@
99418
99236
 
99419
99237
  新增数据结构:
99420
99238
 
99421
- * [[ImageSize](https://cloud.tencent.com/document/api/866/33527#ImageSize)](https://cloud.tencent.com/document/api/866/33527#[ImageSize](https://cloud.tencent.com/document/api/866/33527#ImageSize))
99239
+ * [ImageSize](https://cloud.tencent.com/document/api/866/33527#ImageSize)
99422
99240
 
99423
99241
  ### 第 140 次发布
99424
99242
 
@@ -127959,7 +127777,7 @@
127959
127777
 
127960
127778
  新增数据结构:
127961
127779
 
127962
- * [[MutualTLS](https://cloud.tencent.com/document/api/1552/80721#MutualTLS)](https://cloud.tencent.com/document/api/1552/80721#[MutualTLS](https://cloud.tencent.com/document/api/1552/80721#MutualTLS))
127780
+ * [MutualTLS](https://cloud.tencent.com/document/api/1552/80721#MutualTLS)
127963
127781
 
127964
127782
  修改数据结构:
127965
127783
 
@@ -138597,6 +138415,25 @@
138597
138415
 
138598
138416
  ## 机器翻译(tmt) 版本:2018-03-21
138599
138417
 
138418
+ ### 第 10 次发布
138419
+
138420
+ 发布时间:2024-07-04 01:25:30
138421
+
138422
+ 本次发布包含了以下内容:
138423
+
138424
+ 改善已有的文档。
138425
+
138426
+ 修改接口:
138427
+
138428
+ * [TextTranslate](https://cloud.tencent.com/document/api/551/15619)
138429
+
138430
+ * 新增入参:TermRepoIDList, SentRepoIDList
138431
+
138432
+ * [TextTranslateBatch](https://cloud.tencent.com/document/api/551/40566)
138433
+
138434
+ * 新增入参:TermRepoIDList, SentRepoIDList
138435
+
138436
+
138600
138437
  ### 第 9 次发布
138601
138438
 
138602
138439
  发布时间:2024-05-21 02:20:14
@@ -151739,7 +151576,7 @@
151739
151576
 
151740
151577
  新增数据结构:
151741
151578
 
151742
- * [[HealthCheckConfig](https://cloud.tencent.com/document/api/215/15824#HealthCheckConfig)](https://cloud.tencent.com/document/api/215/15824#[HealthCheckConfig](https://cloud.tencent.com/document/api/215/15824#HealthCheckConfig))
151579
+ * [HealthCheckConfig](https://cloud.tencent.com/document/api/215/15824#HealthCheckConfig)
151743
151580
 
151744
151581
  修改数据结构:
151745
151582
 
@@ -156140,6 +155977,28 @@
156140
155977
 
156141
155978
  ## Web 应用防火墙(waf) 版本:2018-01-25
156142
155979
 
155980
+ ### 第 93 次发布
155981
+
155982
+ 发布时间:2024-07-04 01:27:42
155983
+
155984
+ 本次发布包含了以下内容:
155985
+
155986
+ 改善已有的文档。
155987
+
155988
+ 修改接口:
155989
+
155990
+ * [DeleteDomainWhiteRules](https://cloud.tencent.com/document/api/627/72649)
155991
+
155992
+ * <font color="#dd0000">**修改出参**:</font>Data
155993
+
155994
+
155995
+ 修改数据结构:
155996
+
155997
+ * [ClbObject](https://cloud.tencent.com/document/api/627/53609#ClbObject)
155998
+
155999
+ * 新增成员:Proxy, IpHeaders, BotStatus, ApiStatus, ObjectFlowMode
156000
+
156001
+
156143
156002
  ### 第 92 次发布
156144
156003
 
156145
156004
  发布时间:2024-07-03 01:28:45
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs",
3
- "version": "4.0.888",
3
+ "version": "4.0.889",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
package/products.md CHANGED
@@ -6,7 +6,7 @@
6
6
  | advisor | [云顾问](https://cloud.tencent.com/document/product/1264) | 2024-03-20 01:07:31 |
7
7
  | af | [借贷反欺诈](https://cloud.tencent.com/document/product/668) | 2024-05-31 01:07:20 |
8
8
  | afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2024-05-31 01:07:25 |
9
- | aiart | [大模型图像创作引擎](https://cloud.tencent.com/document/product/1668) | 2024-07-03 01:08:36 |
9
+ | aiart | [大模型图像创作引擎](https://cloud.tencent.com/document/product/1668) | 2024-07-03 11:33:50 |
10
10
  | ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2023-08-17 01:06:14 |
11
11
  | ams | [音频内容安全](https://cloud.tencent.com/document/product/1219) | 2024-04-22 01:07:21 |
12
12
  | anicloud | [动效素材服务](https://cloud.tencent.com/document/product/1641) | 2023-05-18 01:01:53 |
@@ -56,7 +56,7 @@
56
56
  | cim | [](https://cloud.tencent.com/document/product) | 2019-05-16 17:21:18 |
57
57
  | cis | [](https://cloud.tencent.com/document/product) | 2018-06-07 15:01:42 |
58
58
  | ckafka | [消息队列 CKafka 版](https://cloud.tencent.com/document/product/597) | 2024-06-27 01:07:40 |
59
- | clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2024-06-21 01:22:04 |
59
+ | clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2024-07-04 01:11:50 |
60
60
  | cloudaudit | [操作审计](https://cloud.tencent.com/document/product/629) | 2024-01-15 01:09:37 |
61
61
  | cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2024-03-20 01:11:31 |
62
62
  | cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2024-05-29 01:21:54 |
@@ -97,7 +97,7 @@
97
97
  | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-07-03 01:15:58 |
98
98
  | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-06-14 01:50:54 |
99
99
  | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-07-03 01:16:06 |
100
- | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-07-03 01:16:20 |
100
+ | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-07-04 01:16:18 |
101
101
  | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-06-05 10:32:35 |
102
102
  | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-06-26 01:16:46 |
103
103
  | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2024-05-09 01:15:52 |
@@ -164,11 +164,11 @@
164
164
  | privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2024-06-18 02:05:02 |
165
165
  | pts | [云压测](https://cloud.tencent.com/document/product/1484) | 2024-06-20 02:06:03 |
166
166
  | rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2024-06-14 02:22:55 |
167
- | redis | [云数据库Redis](https://cloud.tencent.com/document/product/239) | 2024-06-27 01:17:54 |
167
+ | redis | [云数据库Redis](https://cloud.tencent.com/document/product/239) | 2024-07-04 01:21:28 |
168
168
  | region | [地域管理系统](https://cloud.tencent.com/document/product/1596) | 2024-04-22 01:23:34 |
169
169
  | rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2023-12-25 00:16:39 |
170
170
  | rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-04-04 07:04:06 |
171
- | rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2024-06-28 01:17:47 |
171
+ | rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2024-07-04 01:21:42 |
172
172
  | scf | [云函数](https://cloud.tencent.com/document/product/583) | 2024-07-03 01:22:38 |
173
173
  | ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2024-07-01 01:22:01 |
174
174
  | smh | [智能媒资托管](https://cloud.tencent.com/document/product/1339) | 2024-06-07 02:21:50 |
@@ -206,7 +206,7 @@
206
206
  | tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2024-07-03 01:24:52 |
207
207
  | tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2024-04-22 01:26:50 |
208
208
  | tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2024-06-25 01:23:38 |
209
- | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-07-03 01:25:21 |
209
+ | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-07-03 19:33:55 |
210
210
  | thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2024-06-27 01:21:12 |
211
211
  | tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
212
212
  | tic | [资源编排 TIC](https://cloud.tencent.com/document/product/1213) | 2023-08-17 05:26:08 |
@@ -219,10 +219,10 @@
219
219
  | tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2024-06-24 01:24:28 |
220
220
  | tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
221
221
  | tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2024-04-29 01:26:41 |
222
- | tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2024-06-12 02:40:31 |
222
+ | tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2024-07-04 01:25:30 |
223
223
  | tourism | [文旅客情大数据](https://cloud.tencent.com/document/product/1684) | 2024-03-20 01:28:59 |
224
224
  | trdp | [流量风险决策平台](https://cloud.tencent.com/document/product/1604) | 2023-05-18 02:01:19 |
225
- | trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2024-06-25 01:24:46 |
225
+ | trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2024-07-04 01:25:33 |
226
226
  | trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2024-06-06 02:42:14 |
227
227
  | trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2024-06-21 02:25:01 |
228
228
  | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-06-28 01:21:55 |
@@ -241,7 +241,7 @@
241
241
  | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-07-03 01:28:07 |
242
242
  | vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2024-04-02 01:27:45 |
243
243
  | vtc | [视频转译](https://cloud.tencent.com/document/product/1769) | 2024-06-07 02:52:58 |
244
- | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-07-03 01:28:45 |
244
+ | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-07-04 01:27:42 |
245
245
  | wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2024-03-20 01:32:09 |
246
246
  | wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2024-07-02 01:28:21 |
247
247
  | weilingwith | [微瓴同业开放平台](https://cloud.tencent.com/document/product/1693) | 2024-05-15 01:38:36 |
@@ -1 +1 @@
1
- export const sdkVersion = "4.0.888"
1
+ export const sdkVersion = "4.0.889"
@@ -37,6 +37,8 @@ import {
37
37
  SubmitTrainPortraitModelJobResponse,
38
38
  QueryDrawPortraitJobRequest,
39
39
  ImageToImageResponse,
40
+ ReplaceBackgroundRequest,
41
+ ReplaceBackgroundResponse,
40
42
  UploadTrainPortraitImagesResponse,
41
43
  QueryTextToImageProJobRequest,
42
44
  GenerateAvatarResponse,
@@ -67,6 +69,18 @@ export class Client extends AbstractClient {
67
69
  return this.request("SubmitTextToImageProJob", req, cb)
68
70
  }
69
71
 
72
+ /**
73
+ * 商品背景生成接口根据指定的背景描述 Prompt,将商品图中的原背景替换为自定义的新背景并保留商品主体形象,实现商品背景的自由生成与更换。
74
+
75
+ 商品背景生成默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。
76
+ */
77
+ async ReplaceBackground(
78
+ req: ReplaceBackgroundRequest,
79
+ cb?: (error: string, rep: ReplaceBackgroundResponse) => void
80
+ ): Promise<ReplaceBackgroundResponse> {
81
+ return this.request("ReplaceBackground", req, cb)
82
+ }
83
+
70
84
  /**
71
85
  * AI 写真提供 AI 写真形象照的训练与生成能力,分为上传训练图片、训练模型、生成图片3个环节,需要依次调用对应接口。
72
86
  每个写真模型自训练完成起1年内有效,有效期内可使用写真模型 ID 生成图片,期满后需要重新训练。
@@ -547,6 +547,73 @@ export interface ImageToImageResponse {
547
547
  RequestId?: string
548
548
  }
549
549
 
550
+ /**
551
+ * ReplaceBackground请求参数结构体
552
+ */
553
+ export interface ReplaceBackgroundRequest {
554
+ /**
555
+ * 商品原图 Url。
556
+ 图片限制:单边分辨率小于4000,长宽比在2:5 ~ 5:2之间,转成 Base64 字符串后小于 6MB,格式支持 jpg、jpeg、png、bmp、tiff、webp。
557
+ */
558
+ ProductUrl: string
559
+ /**
560
+ * 商品 Mask 图 Url,要求背景透明,保留商品主体。
561
+ 如果不传,将自动使用内置的商品分割算法得到 Mask。
562
+ 支持自定义上传 Mask,如果该参数不为空,则以实际上传的数据为准。
563
+ 图片限制:Mask 图必须和商品原图分辨率一致,转成 Base64 字符串后小于 6MB,格式仅支持 png。
564
+ */
565
+ MaskUrl?: string
566
+ /**
567
+ * 对新背景的文本描述。
568
+ 最多支持256个 utf-8 字符,支持中、英文。
569
+ */
570
+ Prompt?: string
571
+ /**
572
+ * 替换背景后生成的商品图分辨率。
573
+ 支持生成单边分辨率大于500且小于4000、长宽比在2:5 ~ 5:2之间的图片,不传默认生成1280:1280。
574
+ 建议图片比例为1:1、9:16、16:9,生成效果更佳,使用其他比例的生成效果可能不如建议比例。
575
+ */
576
+ Resolution?: string
577
+ /**
578
+ * 为生成结果图添加标识的开关,默认为1。
579
+ 1:添加标识。
580
+ 0:不添加标识。
581
+ 其他数值:默认按1处理。
582
+ 建议您使用显著标识来提示结果图是 AI 生成的图片。
583
+ */
584
+ LogoAdd?: number
585
+ /**
586
+ * 标识内容设置。
587
+ 默认在生成结果图右下角添加“图片由 AI 生成”字样,您可根据自身需要替换为其他的标识图片。
588
+ */
589
+ LogoParam?: LogoParam
590
+ /**
591
+ * 返回图像方式(base64 或 url) ,二选一,默认为 base64。url 有效期为1小时。
592
+ 生成图分辨率较大时建议选择 url,使用 base64 可能因图片过大导致返回失败。
593
+ */
594
+ RspImgType?: string
595
+ }
596
+
597
+ /**
598
+ * ReplaceBackground返回参数结构体
599
+ */
600
+ export interface ReplaceBackgroundResponse {
601
+ /**
602
+ * 根据入参 RspImgType 填入不同,返回不同的内容。
603
+ 如果传入 base64 则返回生成图 Base64 编码。
604
+ 如果传入 url 则返回的生成图 URL , 有效期1小时,请及时保存。
605
+ */
606
+ ResultImage?: string
607
+ /**
608
+ * 如果 MaskUrl 未传,则返回使用内置商品分割算法得到的 Mask 结果。
609
+ */
610
+ MaskImage?: string
611
+ /**
612
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
613
+ */
614
+ RequestId?: string
615
+ }
616
+
550
617
  /**
551
618
  * UploadTrainPortraitImages返回参数结构体
552
619
  */