tencentcloud-sdk-nodejs 4.0.353 → 4.0.354
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 +79 -0
- package/SERVICE_CHANGELOG.md +227 -417
- package/package.json +1 -1
- package/products.md +5 -5
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cpdp/v20190820/cpdp_models.ts +6 -8
- package/src/services/cvm/v20170312/cvm_models.ts +12 -0
- package/src/services/tiia/v20190529/tiia_client.ts +8 -3
- package/src/services/tiia/v20190529/tiia_models.ts +243 -72
- package/src/services/tke/v20180525/tke_models.ts +11 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +4 -6
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +10 -0
- package/tencentcloud/services/tiia/v20190529/tiia_client.d.ts +1 -1
- package/tencentcloud/services/tiia/v20190529/tiia_models.d.ts +214 -65
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +9 -0
package/package.json
CHANGED
package/products.md
CHANGED
|
@@ -55,9 +55,9 @@
|
|
|
55
55
|
| cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2022-04-22 06:07:06 |
|
|
56
56
|
| cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2022-04-04 06:23:04 |
|
|
57
57
|
| cms | [内容安全](https://cloud.tencent.com/document/product) | 2020-10-29 08:03:08 |
|
|
58
|
-
| cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2022-
|
|
58
|
+
| cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2022-06-03 06:04:52 |
|
|
59
59
|
| cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 |
|
|
60
|
-
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-06-
|
|
60
|
+
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-06-03 06:05:18 |
|
|
61
61
|
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-05-31 06:08:47 |
|
|
62
62
|
| cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
|
|
63
63
|
| cynosdb | [云原生数据库 TDSQL-C](https://cloud.tencent.com/document/product/1003) | 2022-05-27 06:07:33 |
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
| nlp | [自然语言处理](https://cloud.tencent.com/document/product/271) | 2022-04-13 07:00:13 |
|
|
130
130
|
| npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
|
|
131
131
|
| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2022-05-23 06:11:33 |
|
|
132
|
-
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2022-
|
|
132
|
+
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2022-06-03 06:11:11 |
|
|
133
133
|
| organization | [企业组织](https://cloud.tencent.com/document/product/850) | 2022-05-30 06:11:27 |
|
|
134
134
|
| partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2022-04-04 07:01:49 |
|
|
135
135
|
| pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2022-04-04 07:02:02 |
|
|
@@ -178,10 +178,10 @@
|
|
|
178
178
|
| ticm | [智能鉴黄](https://cloud.tencent.com/document/product/864) | 2021-01-07 08:08:15 |
|
|
179
179
|
| tics | [威胁情报云查服务](https://cloud.tencent.com/document/product/1013) | 2022-04-04 07:16:59 |
|
|
180
180
|
| tiems | [腾讯云 TI 平台 TI-EMS ](https://cloud.tencent.com/document/product/1120) | 2022-04-04 07:17:01 |
|
|
181
|
-
| tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2022-06-
|
|
181
|
+
| tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2022-06-03 06:14:26 |
|
|
182
182
|
| tione | [腾讯云 TI 平台 TI-ONE](https://cloud.tencent.com/document/product/851) | 2022-04-04 07:17:26 |
|
|
183
183
|
| tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2022-05-17 06:17:19 |
|
|
184
|
-
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2022-06-
|
|
184
|
+
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2022-06-03 06:14:39 |
|
|
185
185
|
| tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
|
|
186
186
|
| tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2022-04-04 07:18:11 |
|
|
187
187
|
| tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2022-05-19 06:19:37 |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.0.
|
|
1
|
+
export const sdkVersion = "4.0.354"
|
|
@@ -6872,15 +6872,13 @@ __FREEZE__:担保支付
|
|
|
6872
6872
|
ExpireTime?: string
|
|
6873
6873
|
|
|
6874
6874
|
/**
|
|
6875
|
-
|
|
6876
|
-
|
|
6877
|
-
*/
|
|
6875
|
+
* 前端成功回调URL。条件可选。
|
|
6876
|
+
*/
|
|
6878
6877
|
FrontUrl?: string
|
|
6879
6878
|
|
|
6880
6879
|
/**
|
|
6881
|
-
|
|
6882
|
-
|
|
6883
|
-
*/
|
|
6880
|
+
* 前端刷新 URL。条件可选。
|
|
6881
|
+
*/
|
|
6884
6882
|
RefreshUrl?: string
|
|
6885
6883
|
|
|
6886
6884
|
/**
|
|
@@ -13450,7 +13448,7 @@ export interface RegisterBillRequest {
|
|
|
13450
13448
|
*/
|
|
13451
13449
|
export interface OpenBankGoodsInfo {
|
|
13452
13450
|
/**
|
|
13453
|
-
*
|
|
13451
|
+
* 商品标题,默认值“商品支付”
|
|
13454
13452
|
*/
|
|
13455
13453
|
GoodsName?: string
|
|
13456
13454
|
|
|
@@ -13460,7 +13458,7 @@ export interface OpenBankGoodsInfo {
|
|
|
13460
13458
|
GoodsDetail?: string
|
|
13461
13459
|
|
|
13462
13460
|
/**
|
|
13463
|
-
*
|
|
13461
|
+
* 银行附言,不可以有以下字符:<>+{}()%*&';"[]等特殊符号
|
|
13464
13462
|
*/
|
|
13465
13463
|
GoodsDescription?: string
|
|
13466
13464
|
}
|
|
@@ -1401,10 +1401,22 @@ export interface ModifyInstancesAttributeRequest {
|
|
|
1401
1401
|
*/
|
|
1402
1402
|
SecurityGroups?: Array<string>
|
|
1403
1403
|
|
|
1404
|
+
/**
|
|
1405
|
+
* 给实例绑定用户角色,传空值为解绑操作
|
|
1406
|
+
*/
|
|
1407
|
+
CamRoleName?: string
|
|
1408
|
+
|
|
1404
1409
|
/**
|
|
1405
1410
|
* 实例销毁保护标志,表示是否允许通过api接口删除实例。取值范围:<br><li>TRUE:表示开启实例保护,不允许通过api接口删除实例<br><li>FALSE:表示关闭实例保护,允许通过api接口删除实例<br><br>默认取值:FALSE。
|
|
1406
1411
|
*/
|
|
1407
1412
|
DisableApiTermination?: boolean
|
|
1413
|
+
|
|
1414
|
+
/**
|
|
1415
|
+
* 角色类别,与CamRoleName搭配使用,该值可从CAM DescribeRoleList, GetRole接口返回RoleType字段获取,当前只接受user、system和service_linked三种类别。
|
|
1416
|
+
举例:一般CamRoleName中包含“LinkedRoleIn”(如TKE_QCSLinkedRoleInPrometheusService)时,DescribeRoleList和GetRole返回的RoleType为service_linked,则本参数也需要传递service_linked。
|
|
1417
|
+
该参数默认值为user,若CameRoleName为非service_linked类型,本参数可不传递。
|
|
1418
|
+
*/
|
|
1419
|
+
CamRoleType?: string
|
|
1408
1420
|
}
|
|
1409
1421
|
|
|
1410
1422
|
/**
|
|
@@ -21,13 +21,17 @@ import {
|
|
|
21
21
|
DetectProductBetaResponse,
|
|
22
22
|
DetectDisgustRequest,
|
|
23
23
|
SearchImageResponse,
|
|
24
|
+
RecognizeCarProRequest,
|
|
24
25
|
RecognizeCarProResponse,
|
|
25
26
|
CreateImageRequest,
|
|
27
|
+
DetectLabelBetaRequest,
|
|
26
28
|
DeleteImagesResponse,
|
|
27
29
|
CropImageRequest,
|
|
28
30
|
DetectProductRequest,
|
|
31
|
+
ObjectInfo,
|
|
29
32
|
RegionDetected,
|
|
30
33
|
DescribeGroupsRequest,
|
|
34
|
+
DetectMisbehaviorResponse,
|
|
31
35
|
AssessQualityResponse,
|
|
32
36
|
DetectDisgustResponse,
|
|
33
37
|
SearchImageRequest,
|
|
@@ -40,8 +44,9 @@ import {
|
|
|
40
44
|
DeleteImagesRequest,
|
|
41
45
|
CreateGroupRequest,
|
|
42
46
|
DescribeImagesRequest,
|
|
47
|
+
Rect,
|
|
43
48
|
DetectProductBetaRequest,
|
|
44
|
-
|
|
49
|
+
Box,
|
|
45
50
|
RecognizeCarRequest,
|
|
46
51
|
EnhanceImageRequest,
|
|
47
52
|
GroupInfo,
|
|
@@ -50,7 +55,7 @@ import {
|
|
|
50
55
|
Coord,
|
|
51
56
|
Face,
|
|
52
57
|
DetectProductResponse,
|
|
53
|
-
|
|
58
|
+
ColorInfo,
|
|
54
59
|
ImageRect,
|
|
55
60
|
CreateImageResponse,
|
|
56
61
|
DetectLabelItem,
|
|
@@ -58,7 +63,7 @@ import {
|
|
|
58
63
|
CarPlateContent,
|
|
59
64
|
DetectLabelBetaResponse,
|
|
60
65
|
ImageInfo,
|
|
61
|
-
|
|
66
|
+
Attribute,
|
|
62
67
|
Labels,
|
|
63
68
|
DetectCelebrityResponse,
|
|
64
69
|
Product,
|
|
@@ -82,12 +82,44 @@ export interface SearchImageResponse {
|
|
|
82
82
|
*/
|
|
83
83
|
ImageInfos: Array<ImageInfo>
|
|
84
84
|
|
|
85
|
+
/**
|
|
86
|
+
* 输入图的主体信息。
|
|
87
|
+
若启用主体识别且在请求中指定了类目ID或主体区域,以指定的主体为准。若启用主体识别且没有指定,以最大面积主体为准。
|
|
88
|
+
注意:此字段可能返回 null,表示取不到有效值。服务类型为商品图像搜索时生效。
|
|
89
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
90
|
+
*/
|
|
91
|
+
Object: ObjectInfo
|
|
92
|
+
|
|
85
93
|
/**
|
|
86
94
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
87
95
|
*/
|
|
88
96
|
RequestId?: string
|
|
89
97
|
}
|
|
90
98
|
|
|
99
|
+
/**
|
|
100
|
+
* RecognizeCarPro请求参数结构体
|
|
101
|
+
*/
|
|
102
|
+
export interface RecognizeCarProRequest {
|
|
103
|
+
/**
|
|
104
|
+
* 图片URL地址。
|
|
105
|
+
图片限制:
|
|
106
|
+
• 图片格式:PNG、JPG、JPEG。
|
|
107
|
+
• 图片大小:所下载图片经Base64编码后不超过4M。图片下载时间不超过3秒。
|
|
108
|
+
建议:
|
|
109
|
+
• 图片像素:大于50*50像素,否则影响识别效果;
|
|
110
|
+
• 长宽比:长边:短边<5;
|
|
111
|
+
接口响应时间会受到图片下载时间的影响,建议使用更可靠的存储服务,推荐将图片存储在腾讯云COS。
|
|
112
|
+
*/
|
|
113
|
+
ImageUrl?: string
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* 图片经过base64编码的内容。最大不超过4M。与ImageUrl同时存在时优先使用ImageUrl字段。
|
|
117
|
+
**注意:图片需要base64编码,并且要去掉编码头部。**
|
|
118
|
+
支持的图片格式:PNG、JPG、JPEG、BMP,暂不支持GIF格式。支持的图片大小:所下载图片经Base64编码后不超过4M。图片下载时间不超过3秒。
|
|
119
|
+
*/
|
|
120
|
+
ImageBase64?: string
|
|
121
|
+
}
|
|
122
|
+
|
|
91
123
|
/**
|
|
92
124
|
* RecognizeCarPro返回参数结构体
|
|
93
125
|
*/
|
|
@@ -133,29 +165,96 @@ export interface CreateImageRequest {
|
|
|
133
165
|
/**
|
|
134
166
|
* 图片的 Url 。对应图片 base64 编码后大小不可超过5M。
|
|
135
167
|
Url、Image必须提供一个,如果都提供,只使用 Url。
|
|
136
|
-
图片分辨率不超过4096
|
|
168
|
+
图片分辨率不超过4096\*4096。
|
|
137
169
|
图片存储于腾讯云的Url可保障更高下载速度和稳定性,建议图片存储于腾讯云。
|
|
138
170
|
非腾讯云存储的Url速度和稳定性可能受一定影响。
|
|
139
171
|
支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。
|
|
172
|
+
注意:开启主体识别分辨率不超过2000\*2000,图片长宽比小于10(长/短 < 10)。
|
|
140
173
|
*/
|
|
141
174
|
ImageUrl?: string
|
|
142
175
|
|
|
176
|
+
/**
|
|
177
|
+
* 用户自定义的内容,最多支持4096个字符,查询时原样带回。
|
|
178
|
+
*/
|
|
179
|
+
CustomContent?: string
|
|
180
|
+
|
|
143
181
|
/**
|
|
144
182
|
* 图片 base64 数据,base64 编码后大小不可超过5M。
|
|
145
|
-
图片分辨率不超过4096
|
|
183
|
+
图片分辨率不超过4096\*4096。
|
|
146
184
|
支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。
|
|
185
|
+
注意:开启主体识别分辨率不超过2000\*2000,图片长宽比小于10(长/短 < 10)。
|
|
147
186
|
*/
|
|
148
187
|
ImageBase64?: string
|
|
149
188
|
|
|
150
189
|
/**
|
|
151
|
-
*
|
|
190
|
+
* 图片自定义标签,最多不超过10个,格式为JSON。
|
|
152
191
|
*/
|
|
153
|
-
|
|
192
|
+
Tags?: string
|
|
154
193
|
|
|
155
194
|
/**
|
|
156
|
-
|
|
195
|
+
* 是否需要启用主体识别,默认为**TRUE**。
|
|
196
|
+
1. 为**TRUE**时,启用主体识别,返回主体信息。若没有指定**ImageRect**,自动提取最大面积主体创建图片并进行主体识别。主体识别结果可在**Response**中获取。
|
|
197
|
+
2. 为**FALSE**时,不启用主体识别,不返回主体信息。若没有指定**ImageRect**,以整张图创建图片。
|
|
198
|
+
注意:服务类型为商品图像搜索时生效。
|
|
199
|
+
*/
|
|
200
|
+
EnableDetect?: boolean
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* 图像类目ID。
|
|
204
|
+
若设置类目ID,提取对应类目的主体创建图片。
|
|
205
|
+
注意:服务类型为商品图像搜索时生效。
|
|
206
|
+
类目信息:
|
|
207
|
+
0:上衣。
|
|
208
|
+
1:裙装。
|
|
209
|
+
2:下装。
|
|
210
|
+
3:包。
|
|
211
|
+
4:鞋。
|
|
212
|
+
5:配饰。
|
|
213
|
+
*/
|
|
214
|
+
CategoryId?: number
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* 图像主体区域。
|
|
218
|
+
若设置主体区域,提取指定的区域创建图片。
|
|
219
|
+
*/
|
|
220
|
+
ImageRect?: Rect
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* DetectLabelBeta请求参数结构体
|
|
225
|
+
*/
|
|
226
|
+
export interface DetectLabelBetaRequest {
|
|
227
|
+
/**
|
|
228
|
+
* 图片URL地址。
|
|
229
|
+
图片限制:
|
|
230
|
+
• 图片格式:PNG、JPG、JPEG。
|
|
231
|
+
• 图片大小:所下载图片经Base64编码后不超过4M。图片下载时间不超过3秒。
|
|
232
|
+
建议:
|
|
233
|
+
• 图片像素:大于50*50像素,否则影响识别效果;
|
|
234
|
+
• 长宽比:长边:短边<5;
|
|
235
|
+
接口响应时间会受到图片下载时间的影响,建议使用更可靠的存储服务,推荐将图片存储在腾讯云COS。
|
|
236
|
+
*/
|
|
237
|
+
ImageUrl?: string
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* 图片经过base64编码的内容。最大不超过4M。与ImageUrl同时存在时优先使用ImageUrl字段。
|
|
241
|
+
**注意:图片需要base64编码,并且要去掉编码头部。**
|
|
157
242
|
*/
|
|
158
|
-
|
|
243
|
+
ImageBase64?: string
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* 本次调用支持的识别场景,可选值如下:
|
|
247
|
+
WEB,针对网络图片优化;
|
|
248
|
+
CAMERA,针对手机摄像头拍摄图片优化;
|
|
249
|
+
ALBUM,针对手机相册、网盘产品优化;
|
|
250
|
+
NEWS,针对新闻、资讯、广电等行业优化;
|
|
251
|
+
NONECAM,非实拍图;
|
|
252
|
+
LOCATION,主体位置识别;
|
|
253
|
+
如果不传此参数,则默认为WEB。
|
|
254
|
+
|
|
255
|
+
支持多场景(Scenes)一起检测。例如,使用 Scenes=["WEB", "CAMERA"],即对一张图片使用两个模型同时检测,输出两套识别结果。
|
|
256
|
+
*/
|
|
257
|
+
Scenes?: Array<string>
|
|
159
258
|
}
|
|
160
259
|
|
|
161
260
|
/**
|
|
@@ -228,6 +327,31 @@ export interface DetectProductRequest {
|
|
|
228
327
|
ImageBase64?: string
|
|
229
328
|
}
|
|
230
329
|
|
|
330
|
+
/**
|
|
331
|
+
* 图像的主体信息。
|
|
332
|
+
*/
|
|
333
|
+
export interface ObjectInfo {
|
|
334
|
+
/**
|
|
335
|
+
* 图像主体区域。
|
|
336
|
+
*/
|
|
337
|
+
Box: Box
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* 主体类别ID。
|
|
341
|
+
*/
|
|
342
|
+
CategoryId: number
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* 整张图颜色信息。
|
|
346
|
+
*/
|
|
347
|
+
Colors: Array<ColorInfo>
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* 属性信息。
|
|
351
|
+
*/
|
|
352
|
+
Attributes: Array<Attribute>
|
|
353
|
+
}
|
|
354
|
+
|
|
231
355
|
/**
|
|
232
356
|
* 检测到的图片中的商品位置和品类预测。
|
|
233
357
|
当图片中存在多个商品时,输出多组坐标,按照__显著性__排序(综合考虑面积、是否在中心、检测算法置信度)。
|
|
@@ -271,6 +395,26 @@ export interface DescribeGroupsRequest {
|
|
|
271
395
|
GroupId?: string
|
|
272
396
|
}
|
|
273
397
|
|
|
398
|
+
/**
|
|
399
|
+
* DetectMisbehavior返回参数结构体
|
|
400
|
+
*/
|
|
401
|
+
export interface DetectMisbehaviorResponse {
|
|
402
|
+
/**
|
|
403
|
+
* 对于图片中包含不良行为的置信度,取值[0,1],一般超过0.5则表明可能包含不良行为内容;
|
|
404
|
+
*/
|
|
405
|
+
Confidence: number
|
|
406
|
+
|
|
407
|
+
/**
|
|
408
|
+
* 图像中最可能包含的不良行为类别,包括赌博、打架斗殴、吸毒等。
|
|
409
|
+
*/
|
|
410
|
+
Type: string
|
|
411
|
+
|
|
412
|
+
/**
|
|
413
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
414
|
+
*/
|
|
415
|
+
RequestId?: string
|
|
416
|
+
}
|
|
417
|
+
|
|
274
418
|
/**
|
|
275
419
|
* AssessQuality返回参数结构体
|
|
276
420
|
*/
|
|
@@ -346,26 +490,28 @@ export interface SearchImageRequest {
|
|
|
346
490
|
GroupId: string
|
|
347
491
|
|
|
348
492
|
/**
|
|
349
|
-
* 图片的 Url 。对应图片 base64 编码后大小不可超过
|
|
350
|
-
|
|
493
|
+
* 图片的 Url 。对应图片 base64 编码后大小不可超过5M。
|
|
494
|
+
图片分辨率不超4096\*4096。
|
|
351
495
|
Url、Image必须提供一个,如果都提供,只使用 Url。
|
|
352
496
|
图片存储于腾讯云的Url可保障更高下载速度和稳定性,建议图片存储于腾讯云。
|
|
353
497
|
非腾讯云存储的Url速度和稳定性可能受一定影响。
|
|
354
498
|
支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。
|
|
499
|
+
注意:开启主体识别分辨率不超过2000\*2000,图片长宽比小于10(长/短 < 10)。
|
|
355
500
|
*/
|
|
356
501
|
ImageUrl?: string
|
|
357
502
|
|
|
358
503
|
/**
|
|
359
|
-
* 图片 base64 数据,base64 编码后大小不可超过
|
|
360
|
-
图片分辨率不超过
|
|
504
|
+
* 图片 base64 数据,base64 编码后大小不可超过5M。
|
|
505
|
+
图片分辨率不超过4096\*4096。
|
|
361
506
|
支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。
|
|
507
|
+
注意:开启主体识别分辨率不超过2000\*2000,图片长宽比小于10(长/短 < 10)。
|
|
362
508
|
*/
|
|
363
509
|
ImageBase64?: string
|
|
364
510
|
|
|
365
511
|
/**
|
|
366
|
-
*
|
|
512
|
+
* 返回数量,默认值为10,最大值为100。
|
|
367
513
|
*/
|
|
368
|
-
|
|
514
|
+
Limit?: number
|
|
369
515
|
|
|
370
516
|
/**
|
|
371
517
|
* 起始序号,默认值为0。
|
|
@@ -373,9 +519,9 @@ Url、Image必须提供一个,如果都提供,只使用 Url。
|
|
|
373
519
|
Offset?: number
|
|
374
520
|
|
|
375
521
|
/**
|
|
376
|
-
*
|
|
522
|
+
* 出参Score中,只有超过**MatchThreshold**值的结果才会返回。默认为0
|
|
377
523
|
*/
|
|
378
|
-
|
|
524
|
+
MatchThreshold?: number
|
|
379
525
|
|
|
380
526
|
/**
|
|
381
527
|
* 针对入库时提交的Tags信息进行条件过滤。支持>、>=、 <、 <=、=,!=,多个条件之间支持AND和OR进行连接。
|
|
@@ -383,9 +529,32 @@ Url、Image必须提供一个,如果都提供,只使用 Url。
|
|
|
383
529
|
Filter?: string
|
|
384
530
|
|
|
385
531
|
/**
|
|
386
|
-
|
|
387
|
-
|
|
532
|
+
* 图像主体区域。
|
|
533
|
+
若设置主体区域,提取指定的区域进行检索。
|
|
534
|
+
*/
|
|
388
535
|
ImageRect?: ImageRect
|
|
536
|
+
|
|
537
|
+
/**
|
|
538
|
+
* 是否需要启用主体识别,默认为**TRUE** 。
|
|
539
|
+
1. 为**TRUE**时,启用主体识别,返回主体信息。若没有指定**ImageRect**,自动提取最大面积主体进行检索并进行主体识别。主体识别结果可在**Response中**获取。
|
|
540
|
+
2. 为**FALSE**时,不启用主体识别,不返回主体信息。若没有指定**ImageRect**,以整张图检索图片。
|
|
541
|
+
注意:服务类型为商品图像搜索时生效。
|
|
542
|
+
*/
|
|
543
|
+
EnableDetect?: boolean
|
|
544
|
+
|
|
545
|
+
/**
|
|
546
|
+
* 图像类目ID。
|
|
547
|
+
若设置类目ID,提取对应类目的主体进行检索。
|
|
548
|
+
注意:服务类型为商品图像搜索时生效。
|
|
549
|
+
类目信息:
|
|
550
|
+
0:上衣。
|
|
551
|
+
1:裙装。
|
|
552
|
+
2:下装。
|
|
553
|
+
3:包。
|
|
554
|
+
4:鞋。
|
|
555
|
+
5:配饰。
|
|
556
|
+
*/
|
|
557
|
+
CategoryId?: number
|
|
389
558
|
}
|
|
390
559
|
|
|
391
560
|
/**
|
|
@@ -622,7 +791,7 @@ export interface CreateGroupRequest {
|
|
|
622
791
|
MaxQps?: number
|
|
623
792
|
|
|
624
793
|
/**
|
|
625
|
-
* 图库类型,对应不同服务类型,默认为
|
|
794
|
+
* 图库类型,对应不同服务类型,默认为4。1~3为历史版本,不推荐。
|
|
626
795
|
参数值:
|
|
627
796
|
4:在自建图库中搜索相同原图,可支持裁剪、翻转、调色、加水印后的图片搜索,适用于图片版权保护、原图查询等场景。
|
|
628
797
|
5:在自建图库中搜索相同或相似的商品图片,适用于商品分类、检索、推荐等电商场景。
|
|
@@ -651,6 +820,31 @@ export interface DescribeImagesRequest {
|
|
|
651
820
|
PicName?: string
|
|
652
821
|
}
|
|
653
822
|
|
|
823
|
+
/**
|
|
824
|
+
* 具体坐标,可用来判断边界
|
|
825
|
+
*/
|
|
826
|
+
export interface Rect {
|
|
827
|
+
/**
|
|
828
|
+
* x轴坐标
|
|
829
|
+
*/
|
|
830
|
+
X: number
|
|
831
|
+
|
|
832
|
+
/**
|
|
833
|
+
* y轴坐标
|
|
834
|
+
*/
|
|
835
|
+
Y: number
|
|
836
|
+
|
|
837
|
+
/**
|
|
838
|
+
* (x,y)坐标距离长度
|
|
839
|
+
*/
|
|
840
|
+
Width: number
|
|
841
|
+
|
|
842
|
+
/**
|
|
843
|
+
* (x,y)坐标距离高度
|
|
844
|
+
*/
|
|
845
|
+
Height: number
|
|
846
|
+
}
|
|
847
|
+
|
|
654
848
|
/**
|
|
655
849
|
* DetectProductBeta请求参数结构体
|
|
656
850
|
*/
|
|
@@ -674,23 +868,18 @@ export interface DetectProductBetaRequest {
|
|
|
674
868
|
}
|
|
675
869
|
|
|
676
870
|
/**
|
|
677
|
-
*
|
|
871
|
+
* 图像主体区域。
|
|
678
872
|
*/
|
|
679
|
-
export interface
|
|
680
|
-
/**
|
|
681
|
-
* 对于图片中包含不良行为的置信度,取值[0,1],一般超过0.5则表明可能包含不良行为内容;
|
|
682
|
-
*/
|
|
683
|
-
Confidence: number
|
|
684
|
-
|
|
873
|
+
export interface Box {
|
|
685
874
|
/**
|
|
686
|
-
*
|
|
875
|
+
* 图像主体区域。
|
|
687
876
|
*/
|
|
688
|
-
|
|
877
|
+
Rect: ImageRect
|
|
689
878
|
|
|
690
879
|
/**
|
|
691
|
-
*
|
|
880
|
+
* 置信度。
|
|
692
881
|
*/
|
|
693
|
-
|
|
882
|
+
Score: number
|
|
694
883
|
}
|
|
695
884
|
|
|
696
885
|
/**
|
|
@@ -952,40 +1141,23 @@ export interface DetectProductResponse {
|
|
|
952
1141
|
}
|
|
953
1142
|
|
|
954
1143
|
/**
|
|
955
|
-
*
|
|
1144
|
+
* 整张图颜色信息。
|
|
956
1145
|
*/
|
|
957
|
-
export interface
|
|
1146
|
+
export interface ColorInfo {
|
|
958
1147
|
/**
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
• 图片大小:所下载图片经Base64编码后不超过4M。图片下载时间不超过3秒。
|
|
963
|
-
建议:
|
|
964
|
-
• 图片像素:大于50*50像素,否则影响识别效果;
|
|
965
|
-
• 长宽比:长边:短边<5;
|
|
966
|
-
接口响应时间会受到图片下载时间的影响,建议使用更可靠的存储服务,推荐将图片存储在腾讯云COS。
|
|
967
|
-
*/
|
|
968
|
-
ImageUrl?: string
|
|
1148
|
+
* RGB颜色值(16进制),例如:291A18。
|
|
1149
|
+
*/
|
|
1150
|
+
Color: string
|
|
969
1151
|
|
|
970
1152
|
/**
|
|
971
|
-
*
|
|
972
|
-
**注意:图片需要base64编码,并且要去掉编码头部。**
|
|
1153
|
+
* 当前颜色标签所占比例。
|
|
973
1154
|
*/
|
|
974
|
-
|
|
1155
|
+
Percentage: number
|
|
975
1156
|
|
|
976
1157
|
/**
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
ALBUM,针对手机相册、网盘产品优化;
|
|
981
|
-
NEWS,针对新闻、资讯、广电等行业优化;
|
|
982
|
-
NONECAM,非实拍图;
|
|
983
|
-
LOCATION,主体位置识别;
|
|
984
|
-
如果不传此参数,则默认为WEB。
|
|
985
|
-
|
|
986
|
-
支持多场景(Scenes)一起检测。例如,使用 Scenes=["WEB", "CAMERA"],即对一张图片使用两个模型同时检测,输出两套识别结果。
|
|
987
|
-
*/
|
|
988
|
-
Scenes?: Array<string>
|
|
1158
|
+
* 颜色标签。蜜柚色,米驼色等。
|
|
1159
|
+
*/
|
|
1160
|
+
Label: string
|
|
989
1161
|
}
|
|
990
1162
|
|
|
991
1163
|
/**
|
|
@@ -1017,6 +1189,14 @@ export interface ImageRect {
|
|
|
1017
1189
|
* CreateImage返回参数结构体
|
|
1018
1190
|
*/
|
|
1019
1191
|
export interface CreateImageResponse {
|
|
1192
|
+
/**
|
|
1193
|
+
* 输入图的主体信息。
|
|
1194
|
+
若启用主体识别且在请求中指定了类目ID或主体区域,以指定的主体为准。若启用主体识别且没有指定,以最大面积主体为准。
|
|
1195
|
+
注意:此字段可能返回 null,表示取不到有效值。服务类型为商品图像搜索时生效。
|
|
1196
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1197
|
+
*/
|
|
1198
|
+
Object: ObjectInfo
|
|
1199
|
+
|
|
1020
1200
|
/**
|
|
1021
1201
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1022
1202
|
*/
|
|
@@ -1180,27 +1360,18 @@ export interface ImageInfo {
|
|
|
1180
1360
|
}
|
|
1181
1361
|
|
|
1182
1362
|
/**
|
|
1183
|
-
*
|
|
1363
|
+
* 属性
|
|
1184
1364
|
*/
|
|
1185
|
-
export interface
|
|
1365
|
+
export interface Attribute {
|
|
1186
1366
|
/**
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
• 图片大小:所下载图片经Base64编码后不超过4M。图片下载时间不超过3秒。
|
|
1191
|
-
建议:
|
|
1192
|
-
• 图片像素:大于50*50像素,否则影响识别效果;
|
|
1193
|
-
• 长宽比:长边:短边<5;
|
|
1194
|
-
接口响应时间会受到图片下载时间的影响,建议使用更可靠的存储服务,推荐将图片存储在腾讯云COS。
|
|
1195
|
-
*/
|
|
1196
|
-
ImageUrl?: string
|
|
1367
|
+
* 属性
|
|
1368
|
+
*/
|
|
1369
|
+
Type: string
|
|
1197
1370
|
|
|
1198
1371
|
/**
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
*/
|
|
1203
|
-
ImageBase64?: string
|
|
1372
|
+
* 属性详情
|
|
1373
|
+
*/
|
|
1374
|
+
Details: string
|
|
1204
1375
|
}
|
|
1205
1376
|
|
|
1206
1377
|
/**
|
|
@@ -3693,6 +3693,11 @@ export interface ClusterCIDRSettings {
|
|
|
3693
3693
|
* VPC-CNI网络模式下,弹性网卡IP的回收时间,取值范围[300,15768000)
|
|
3694
3694
|
*/
|
|
3695
3695
|
ClaimExpiredSeconds?: number
|
|
3696
|
+
|
|
3697
|
+
/**
|
|
3698
|
+
* 是否忽略 ServiceCIDR 冲突错误, 仅在 VPC-CNI 模式生效,默认不忽略
|
|
3699
|
+
*/
|
|
3700
|
+
IgnoreServiceCIDRConflict?: boolean
|
|
3696
3701
|
}
|
|
3697
3702
|
|
|
3698
3703
|
/**
|
|
@@ -8134,6 +8139,12 @@ export interface ClusterNetworkSettings {
|
|
|
8134
8139
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8135
8140
|
*/
|
|
8136
8141
|
Subnets: Array<string>
|
|
8142
|
+
|
|
8143
|
+
/**
|
|
8144
|
+
* 是否忽略 ServiceCIDR 冲突错误, 仅在 VPC-CNI 模式生效,默认不忽略
|
|
8145
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8146
|
+
*/
|
|
8147
|
+
IgnoreServiceCIDRConflict: boolean
|
|
8137
8148
|
}
|
|
8138
8149
|
|
|
8139
8150
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.0.
|
|
1
|
+
export declare const sdkVersion = "4.0.354";
|
|
@@ -5759,13 +5759,11 @@ __FREEZE__:担保支付
|
|
|
5759
5759
|
*/
|
|
5760
5760
|
ExpireTime?: string;
|
|
5761
5761
|
/**
|
|
5762
|
-
* 前端成功回调URL
|
|
5763
|
-
当付款方式PaymentMethod为EBANK_PAYMENT时必填
|
|
5762
|
+
* 前端成功回调URL。条件可选。
|
|
5764
5763
|
*/
|
|
5765
5764
|
FrontUrl?: string;
|
|
5766
5765
|
/**
|
|
5767
|
-
* 前端刷新 URL
|
|
5768
|
-
当付款方式PaymentMethod为EBANK_PAYMENT时必填
|
|
5766
|
+
* 前端刷新 URL。条件可选。
|
|
5769
5767
|
*/
|
|
5770
5768
|
RefreshUrl?: string;
|
|
5771
5769
|
/**
|
|
@@ -11272,7 +11270,7 @@ export interface RegisterBillRequest {
|
|
|
11272
11270
|
*/
|
|
11273
11271
|
export interface OpenBankGoodsInfo {
|
|
11274
11272
|
/**
|
|
11275
|
-
*
|
|
11273
|
+
* 商品标题,默认值“商品支付”
|
|
11276
11274
|
*/
|
|
11277
11275
|
GoodsName?: string;
|
|
11278
11276
|
/**
|
|
@@ -11280,7 +11278,7 @@ export interface OpenBankGoodsInfo {
|
|
|
11280
11278
|
*/
|
|
11281
11279
|
GoodsDetail?: string;
|
|
11282
11280
|
/**
|
|
11283
|
-
*
|
|
11281
|
+
* 银行附言,不可以有以下字符:<>+{}()%*&';"[]等特殊符号
|
|
11284
11282
|
*/
|
|
11285
11283
|
GoodsDescription?: string;
|
|
11286
11284
|
}
|