tencentcloud-sdk-nodejs 4.0.987 → 4.0.989
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 +482 -0
- package/SERVICE_CHANGELOG.md +480 -203
- package/package.json +1 -1
- package/products.md +35 -35
- package/src/common/sdk_version.ts +1 -1
- package/src/services/aiart/v20221229/aiart_client.ts +39 -13
- package/src/services/aiart/v20221229/aiart_models.ts +178 -59
- package/src/services/batch/v20170312/batch_models.ts +6 -6
- package/src/services/cam/v20190116/cam_client.ts +12 -0
- package/src/services/cam/v20190116/cam_models.ts +59 -26
- package/src/services/cfg/v20210820/cfg_models.ts +4 -0
- package/src/services/cfw/v20190904/cfw_models.ts +1 -1
- package/src/services/cloudaudit/v20190319/cloudaudit_models.ts +18 -18
- package/src/services/cvm/v20170312/cvm_models.ts +24 -24
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +28 -14
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +123 -46
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +1 -1
- package/src/services/emr/v20190103/emr_client.ts +59 -24
- package/src/services/emr/v20190103/emr_models.ts +656 -305
- package/src/services/es/v20180416/es_models.ts +50 -7
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +5 -0
- package/src/services/ivld/v20210903/ivld_client.ts +2 -4
- package/src/services/ivld/v20210903/ivld_models.ts +19 -19
- package/src/services/lcic/v20220817/lcic_models.ts +1 -1
- package/src/services/lke/v20231130/lke_client.ts +8 -4
- package/src/services/mps/v20190612/mps_models.ts +31 -0
- package/src/services/mqtt/v20240516/mqtt_client.ts +151 -103
- package/src/services/mqtt/v20240516/mqtt_models.ts +202 -48
- package/src/services/ocr/v20181119/ocr_client.ts +1 -0
- package/src/services/ocr/v20181119/ocr_models.ts +110 -5
- package/src/services/postgres/v20170312/postgres_models.ts +86 -86
- package/src/services/sts/v20180813/sts_models.ts +3 -3
- package/src/services/tdmq/v20200217/tdmq_client.ts +4 -2
- package/src/services/tse/v20201207/tse_client.ts +73 -21
- package/src/services/tse/v20201207/tse_models.ts +322 -68
- package/src/services/vclm/v20240523/vclm_models.ts +3 -3
- package/src/services/vdb/v20230616/vdb_models.ts +3 -0
- package/src/services/vod/v20180717/vod_models.ts +23 -15
- package/src/services/vpc/v20170312/vpc_client.ts +136 -35
- package/src/services/vpc/v20170312/vpc_models.ts +392 -100
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/aiart/v20221229/aiart_client.d.ts +17 -7
- package/tencentcloud/services/aiart/v20221229/aiart_client.js +21 -7
- package/tencentcloud/services/aiart/v20221229/aiart_models.d.ts +174 -59
- package/tencentcloud/services/batch/v20170312/batch_models.d.ts +6 -6
- package/tencentcloud/services/cam/v20190116/cam_client.d.ts +5 -1
- package/tencentcloud/services/cam/v20190116/cam_client.js +6 -0
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +57 -26
- package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +4 -0
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +1 -1
- package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_models.d.ts +18 -18
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +24 -24
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +9 -5
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +12 -6
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +119 -46
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +1 -1
- package/tencentcloud/services/emr/v20190103/emr_client.d.ts +13 -5
- package/tencentcloud/services/emr/v20190103/emr_client.js +18 -6
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +644 -308
- package/tencentcloud/services/es/v20180416/es_models.d.ts +50 -7
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +5 -0
- package/tencentcloud/services/ivld/v20210903/ivld_client.d.ts +0 -2
- package/tencentcloud/services/ivld/v20210903/ivld_client.js +0 -2
- package/tencentcloud/services/ivld/v20210903/ivld_models.d.ts +19 -19
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +1 -1
- package/tencentcloud/services/lke/v20231130/lke_client.d.ts +6 -2
- package/tencentcloud/services/lke/v20231130/lke_client.js +6 -2
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +31 -0
- package/tencentcloud/services/mqtt/v20240516/mqtt_client.d.ts +57 -41
- package/tencentcloud/services/mqtt/v20240516/mqtt_client.js +84 -60
- package/tencentcloud/services/mqtt/v20240516/mqtt_models.d.ts +194 -48
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +109 -5
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +86 -86
- package/tencentcloud/services/sts/v20180813/sts_models.d.ts +3 -3
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +3 -1
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +3 -1
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +23 -7
- package/tencentcloud/services/tse/v20201207/tse_client.js +33 -9
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +310 -68
- package/tencentcloud/services/vclm/v20240523/vclm_models.d.ts +3 -3
- package/tencentcloud/services/vdb/v20230616/vdb_models.d.ts +3 -0
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +23 -15
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +59 -14
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +76 -17
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +378 -100
- package/test/aiart.v20221229.test.js +22 -2
- package/test/cam.v20190116.test.js +10 -0
- package/test/cynosdb.v20190107.test.js +14 -4
- package/test/emr.v20190103.test.js +24 -4
- package/test/mqtt.v20240516.test.js +80 -40
- package/test/tse.v20201207.test.js +46 -6
- package/test/vpc.v20170312.test.js +84 -14
package/package.json
CHANGED
package/products.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
| advisor | [云顾问](https://cloud.tencent.com/document/product/1264) | 2024-10-15 01:02:26 |
|
|
7
7
|
| af | [借贷反欺诈](https://cloud.tencent.com/document/product/668) | 2024-11-22 11:20:38 |
|
|
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-12-
|
|
9
|
+
| aiart | [大模型图像创作引擎](https://cloud.tencent.com/document/product/1668) | 2024-12-11 01:08:51 |
|
|
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-09-03 01:07:31 |
|
|
12
12
|
| anicloud | [动效素材服务](https://cloud.tencent.com/document/product/1641) | 2023-05-18 01:01:53 |
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2024-11-21 01:05:01 |
|
|
21
21
|
| asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2023-05-18 01:04:02 |
|
|
22
22
|
| ba | [ICP备案](https://cloud.tencent.com/document/product/243) | 2024-04-22 01:08:02 |
|
|
23
|
-
| batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2024-12-
|
|
23
|
+
| batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2024-12-11 01:11:12 |
|
|
24
24
|
| bda | [人体分析](https://cloud.tencent.com/document/product/1208) | 2024-11-14 01:10:31 |
|
|
25
25
|
| bh | [运维安全中心(堡垒机)](https://cloud.tencent.com/document/product/1025) | 2024-11-21 01:05:46 |
|
|
26
26
|
| bi | [商业智能分析 BI](https://cloud.tencent.com/document/product/590) | 2024-11-29 01:09:08 |
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
| bsca | [软件成分分析](https://cloud.tencent.com/document/product/1483) | 2024-11-27 01:09:19 |
|
|
37
37
|
| btoe | [区块链可信取证](https://cloud.tencent.com/document/product/1259) | 2024-11-06 15:27:32 |
|
|
38
38
|
| ca | [腾讯云CA](https://cloud.tencent.com/document/product/1691) | 2024-11-05 01:13:21 |
|
|
39
|
-
| cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2024-12-
|
|
39
|
+
| cam | [访问管理](https://cloud.tencent.com/document/product/598) | 2024-12-11 01:14:06 |
|
|
40
40
|
| captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2024-10-23 01:09:56 |
|
|
41
41
|
| car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2024-06-19 01:14:59 |
|
|
42
42
|
| cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2024-11-15 01:13:36 |
|
|
@@ -44,15 +44,15 @@
|
|
|
44
44
|
| ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2024-11-21 01:09:52 |
|
|
45
45
|
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-12-06 01:11:07 |
|
|
46
46
|
| cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2024-11-15 01:15:46 |
|
|
47
|
-
| cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2024-
|
|
47
|
+
| cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2024-12-09 11:17:22 |
|
|
48
48
|
| cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2024-11-08 01:17:02 |
|
|
49
49
|
| cdwch | [腾讯云数据仓库TCHouse-C](https://cloud.tencent.com/document/product/1299) | 2024-11-29 01:11:50 |
|
|
50
50
|
| cdwdoris | [腾讯云数据仓库 TCHouse-D](https://cloud.tencent.com/document/product/1387) | 2024-12-03 01:12:05 |
|
|
51
51
|
| cdwpg | [云数据仓库 PostgreSQL](https://cloud.tencent.com/document/product/878) | 2024-03-28 01:10:53 |
|
|
52
52
|
| cdz | [专属可用区](https://cloud.tencent.com/document/product/1629) | 2024-11-14 01:17:55 |
|
|
53
|
-
| cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2024-11
|
|
53
|
+
| cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2024-12-11 01:18:19 |
|
|
54
54
|
| cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2024-12-05 01:07:44 |
|
|
55
|
-
| cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2024-
|
|
55
|
+
| cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2024-12-09 11:19:12 |
|
|
56
56
|
| chdfs | [云 HDFS](https://cloud.tencent.com/document/product/1105) | 2024-03-20 01:10:55 |
|
|
57
57
|
| ciam | [账号风控平台](https://cloud.tencent.com/document/product/1441) | 2024-10-28 01:19:38 |
|
|
58
58
|
| cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2023-05-18 01:12:07 |
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
| ckafka | [消息队列 CKafka 版](https://cloud.tencent.com/document/product/597) | 2024-12-06 01:12:51 |
|
|
62
62
|
| clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2024-12-06 01:13:11 |
|
|
63
63
|
| cloudapp | [云应用](https://cloud.tencent.com/document/product/1689) | 2024-12-04 01:13:45 |
|
|
64
|
-
| cloudaudit | [操作审计](https://cloud.tencent.com/document/product/629) | 2024-12-
|
|
64
|
+
| cloudaudit | [操作审计](https://cloud.tencent.com/document/product/629) | 2024-12-11 01:20:59 |
|
|
65
65
|
| cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2024-11-28 10:52:49 |
|
|
66
66
|
| cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2024-11-28 01:12:23 |
|
|
67
67
|
| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2024-11-29 01:13:30 |
|
|
@@ -73,14 +73,14 @@
|
|
|
73
73
|
| cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2023-09-21 02:09:54 |
|
|
74
74
|
| csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2024-11-04 21:21:11 |
|
|
75
75
|
| csxg | [5G入云服务](https://cloud.tencent.com/document/product/1687) | 2024-03-20 01:12:25 |
|
|
76
|
-
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2024-12-
|
|
77
|
-
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-12-
|
|
76
|
+
| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2024-12-11 01:23:11 |
|
|
77
|
+
| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-12-09 11:24:19 |
|
|
78
78
|
| cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
|
|
79
|
-
| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-12-
|
|
79
|
+
| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-12-10 01:26:10 |
|
|
80
80
|
| dasb | [运维安全中心(堡垒机)](https://cloud.tencent.com/document/product/1025) | 2024-11-19 01:26:13 |
|
|
81
81
|
| dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 |
|
|
82
82
|
| dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2023-05-18 01:20:11 |
|
|
83
|
-
| dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2024-
|
|
83
|
+
| dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2024-12-09 11:28:15 |
|
|
84
84
|
| dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2024-11-27 01:14:54 |
|
|
85
85
|
| dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2024-10-15 16:53:15 |
|
|
86
86
|
| dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2024-11-28 01:15:15 |
|
|
@@ -91,18 +91,18 @@
|
|
|
91
91
|
| ds | [文档服务](https://cloud.tencent.com/document/product/869) | 2024-03-20 01:15:13 |
|
|
92
92
|
| dsgc | [数据安全治理中心](https://cloud.tencent.com/document/product/1087) | 2024-10-14 01:17:08 |
|
|
93
93
|
| dtf | [分布式事务](https://cloud.tencent.com/document/product/1224) | 2022-04-04 06:38:57 |
|
|
94
|
-
| dts | [数据传输服务](https://cloud.tencent.com/document/product/571) | 2024-12-
|
|
94
|
+
| dts | [数据传输服务](https://cloud.tencent.com/document/product/571) | 2024-12-11 01:31:15 |
|
|
95
95
|
| eb | [事件总线](https://cloud.tencent.com/document/product/1359) | 2024-10-29 01:30:37 |
|
|
96
96
|
| ecc | [英文作文批改](https://cloud.tencent.com/document/product/1076) | 2024-09-05 01:32:54 |
|
|
97
97
|
| ecdn | [全站加速网络](https://cloud.tencent.com/document/product/570) | 2024-10-22 01:18:29 |
|
|
98
98
|
| ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2024-11-05 01:39:00 |
|
|
99
99
|
| eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2024-06-25 01:14:34 |
|
|
100
100
|
| eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 |
|
|
101
|
-
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-12-
|
|
102
|
-
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-11
|
|
101
|
+
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-12-10 01:32:35 |
|
|
102
|
+
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-12-11 01:33:45 |
|
|
103
103
|
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-12-05 01:14:35 |
|
|
104
|
-
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-12-
|
|
105
|
-
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-11
|
|
104
|
+
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-12-11 01:35:03 |
|
|
105
|
+
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-12-11 01:36:12 |
|
|
106
106
|
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-12-05 01:15:16 |
|
|
107
107
|
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2024-11-15 01:37:24 |
|
|
108
108
|
| ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2024-11-21 01:34:23 |
|
|
@@ -130,32 +130,32 @@
|
|
|
130
130
|
| ioa | [iOA 零信任安全管理系统](https://cloud.tencent.com/document/product/1092) | 2024-11-11 01:39:45 |
|
|
131
131
|
| iot | [加速物联网套件](https://cloud.tencent.com/document/product/568) | 2023-07-17 01:22:28 |
|
|
132
132
|
| iotcloud | [物联网通信](https://cloud.tencent.com/document/product/634) | 2024-06-05 01:47:50 |
|
|
133
|
-
| iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2024-12-
|
|
133
|
+
| iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2024-12-10 01:38:09 |
|
|
134
134
|
| iottid | [物联网设备身份认证](https://cloud.tencent.com/document/product/1086) | 2023-05-18 01:33:02 |
|
|
135
135
|
| iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2024-11-06 01:44:05 |
|
|
136
136
|
| iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2024-03-20 01:18:54 |
|
|
137
137
|
| irp | [智能推荐平台](https://cloud.tencent.com/document/product/1541) | 2024-10-17 01:22:29 |
|
|
138
138
|
| iss | [智能视图计算平台](https://cloud.tencent.com/document/product/1344) | 2024-11-21 01:40:33 |
|
|
139
|
-
| ivld | [媒体智能标签](https://cloud.tencent.com/document/product/1509) | 2024-12-
|
|
139
|
+
| ivld | [媒体智能标签](https://cloud.tencent.com/document/product/1509) | 2024-12-10 01:41:27 |
|
|
140
140
|
| keewidb | [云数据库 KeeWiDB](https://cloud.tencent.com/document/product/1520) | 2024-03-20 01:19:20 |
|
|
141
141
|
| kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2024-11-07 01:44:48 |
|
|
142
|
-
| lcic | [实时互动-教育版](https://cloud.tencent.com/document/product/1639) | 2024-12-
|
|
142
|
+
| lcic | [实时互动-教育版](https://cloud.tencent.com/document/product/1639) | 2024-12-09 11:42:57 |
|
|
143
143
|
| lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2024-11-28 01:21:14 |
|
|
144
144
|
| live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2024-12-03 01:22:35 |
|
|
145
|
-
| lke | [大模型知识引擎](https://cloud.tencent.com/document/product/1759) | 2024-12-
|
|
145
|
+
| lke | [大模型知识引擎](https://cloud.tencent.com/document/product/1759) | 2024-12-09 11:45:05 |
|
|
146
146
|
| lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
|
|
147
147
|
| lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
|
|
148
148
|
| mall | [商场客留大数据](https://cloud.tencent.com/document/product/1707) | 2024-03-20 01:20:11 |
|
|
149
149
|
| mariadb | [云数据库 MariaDB](https://cloud.tencent.com/document/product/237) | 2024-11-28 01:22:21 |
|
|
150
150
|
| market | [云市场](https://cloud.tencent.com/document/product/306) | 2024-11-25 01:21:47 |
|
|
151
|
-
| memcached | [云数据库Memcached](https://cloud.tencent.com/document/product/241) | 2024-
|
|
151
|
+
| memcached | [云数据库Memcached](https://cloud.tencent.com/document/product/241) | 2024-12-11 01:46:36 |
|
|
152
152
|
| mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2022-07-08 06:11:32 |
|
|
153
153
|
| mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2024-11-11 01:49:22 |
|
|
154
154
|
| mna | [多网聚合加速](https://cloud.tencent.com/document/product/1385) | 2024-08-23 01:55:12 |
|
|
155
155
|
| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2024-11-05 01:57:16 |
|
|
156
156
|
| monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-11-21 01:46:37 |
|
|
157
|
-
| mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-12-
|
|
158
|
-
| mqtt | [消息队列 MQTT 版](https://cloud.tencent.com/document/product/1778) | 2024-12-
|
|
157
|
+
| mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-12-11 01:48:29 |
|
|
158
|
+
| mqtt | [消息队列 MQTT 版](https://cloud.tencent.com/document/product/1778) | 2024-12-11 01:49:32 |
|
|
159
159
|
| mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2024-11-29 11:42:29 |
|
|
160
160
|
| ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2024-11-14 01:54:52 |
|
|
161
161
|
| msp | [迁移服务平台](https://cloud.tencent.com/document/product/659) | 2024-04-17 14:48:31 |
|
|
@@ -163,12 +163,12 @@
|
|
|
163
163
|
| nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2024-09-27 01:23:18 |
|
|
164
164
|
| npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
|
|
165
165
|
| oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-11-28 01:23:56 |
|
|
166
|
-
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-12-
|
|
166
|
+
| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-12-11 01:50:48 |
|
|
167
167
|
| omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2024-11-21 01:50:50 |
|
|
168
168
|
| organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2024-12-04 01:26:24 |
|
|
169
169
|
| partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2024-11-22 12:03:22 |
|
|
170
170
|
| pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2023-05-18 01:44:14 |
|
|
171
|
-
| postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2024-
|
|
171
|
+
| postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2024-12-11 01:52:49 |
|
|
172
172
|
| privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2024-12-05 01:22:30 |
|
|
173
173
|
| pts | [云压测](https://cloud.tencent.com/document/product/1484) | 2024-12-06 01:26:37 |
|
|
174
174
|
| rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2024-12-04 01:27:22 |
|
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
| region | [地域管理系统](https://cloud.tencent.com/document/product/1596) | 2024-10-25 02:05:36 |
|
|
177
177
|
| rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2023-12-25 00:16:39 |
|
|
178
178
|
| rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-04-04 07:04:06 |
|
|
179
|
-
| rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2024-
|
|
179
|
+
| rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2024-12-10 01:53:31 |
|
|
180
180
|
| scf | [云函数](https://cloud.tencent.com/document/product/583) | 2024-12-06 01:27:18 |
|
|
181
181
|
| ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2024-10-22 01:28:58 |
|
|
182
182
|
| smh | [智能媒资托管](https://cloud.tencent.com/document/product/1339) | 2024-08-12 02:09:46 |
|
|
@@ -187,10 +187,10 @@
|
|
|
187
187
|
| solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 |
|
|
188
188
|
| sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2024-11-15 01:59:49 |
|
|
189
189
|
| ssa | [安全运营中心](https://cloud.tencent.com/document/product/664) | 2023-11-15 02:18:28 |
|
|
190
|
-
| ssl | [SSL 证书](https://cloud.tencent.com/document/product/400) | 2024-12-
|
|
190
|
+
| ssl | [SSL 证书](https://cloud.tencent.com/document/product/400) | 2024-12-11 01:57:06 |
|
|
191
191
|
| sslpod | [证书监控 SSLPod](https://cloud.tencent.com/document/product/1084) | 2024-03-20 01:24:03 |
|
|
192
192
|
| ssm | [凭据管理系统](https://cloud.tencent.com/document/product/1140) | 2024-11-08 02:01:05 |
|
|
193
|
-
| sts | [安全凭证服务](https://cloud.tencent.com/document/product/1312) | 2024-12-
|
|
193
|
+
| sts | [安全凭证服务](https://cloud.tencent.com/document/product/1312) | 2024-12-11 01:57:49 |
|
|
194
194
|
| svp | [节省计划](https://cloud.tencent.com/document/product/1761) | 2024-11-27 01:26:33 |
|
|
195
195
|
| taf | [流量反欺诈](https://cloud.tencent.com/document/product/1031) | 2024-11-04 02:00:37 |
|
|
196
196
|
| tag | [标签](https://cloud.tencent.com/document/product/651) | 2024-11-11 02:03:20 |
|
|
@@ -211,7 +211,7 @@
|
|
|
211
211
|
| tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2024-11-04 02:03:35 |
|
|
212
212
|
| tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2024-07-10 01:25:35 |
|
|
213
213
|
| tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2024-06-04 02:17:43 |
|
|
214
|
-
| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2024-12-
|
|
214
|
+
| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2024-12-09 12:00:10 |
|
|
215
215
|
| tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2024-11-14 02:08:25 |
|
|
216
216
|
| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2024-11-05 02:16:13 |
|
|
217
217
|
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-12-03 16:23:50 |
|
|
@@ -233,26 +233,26 @@
|
|
|
233
233
|
| trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2024-12-05 01:27:01 |
|
|
234
234
|
| trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2024-11-08 02:10:59 |
|
|
235
235
|
| trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2024-11-14 02:13:50 |
|
|
236
|
-
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-12-
|
|
237
|
-
| tse | [微服务引擎](https://cloud.tencent.com/document/product/1364) | 2024-11
|
|
236
|
+
| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-12-10 02:04:51 |
|
|
237
|
+
| tse | [微服务引擎](https://cloud.tencent.com/document/product/1364) | 2024-12-11 02:06:38 |
|
|
238
238
|
| tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2024-12-03 01:31:33 |
|
|
239
239
|
| tsi | [腾讯同传系统](https://cloud.tencent.com/document/product/1399) | 2024-10-23 01:36:51 |
|
|
240
240
|
| tsw | [微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2024-03-20 01:30:06 |
|
|
241
241
|
| tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2024-12-03 01:32:15 |
|
|
242
242
|
| ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2024-03-20 01:30:08 |
|
|
243
243
|
| vcg | [视频生成](https://cloud.tencent.com/document/product/1770) | 2024-11-22 12:20:45 |
|
|
244
|
-
| vclm | [大模型视频创作引擎](https://cloud.tencent.com/document/product/1616) | 2024-12-
|
|
244
|
+
| vclm | [大模型视频创作引擎](https://cloud.tencent.com/document/product/1616) | 2024-12-10 02:07:26 |
|
|
245
245
|
| vcube | [音视频终端引擎](https://cloud.tencent.com/document/product/1449) | 2024-12-05 01:28:35 |
|
|
246
|
-
| vdb | [向量数据库](https://cloud.tencent.com/document/product/1709) | 2024-12-
|
|
246
|
+
| vdb | [向量数据库](https://cloud.tencent.com/document/product/1709) | 2024-12-11 02:09:12 |
|
|
247
247
|
| vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2024-07-26 02:26:34 |
|
|
248
248
|
| vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2024-03-20 01:30:13 |
|
|
249
249
|
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2024-11-18 02:09:13 |
|
|
250
|
-
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-12-
|
|
250
|
+
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-12-11 02:11:07 |
|
|
251
251
|
| vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2024-09-06 02:27:27 |
|
|
252
252
|
| vtc | [视频转译](https://cloud.tencent.com/document/product/1769) | 2024-10-16 01:32:39 |
|
|
253
253
|
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-11-19 02:12:25 |
|
|
254
254
|
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2024-11-20 02:21:21 |
|
|
255
|
-
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2024-11
|
|
255
|
+
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2024-12-11 02:13:24 |
|
|
256
256
|
| weilingwith | [微瓴同业开放平台](https://cloud.tencent.com/document/product/1693) | 2024-11-07 02:23:06 |
|
|
257
257
|
| wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
|
|
258
258
|
| yinsuda | [音速达直播音乐版权引擎](https://cloud.tencent.com/document/product/1592) | 2024-06-05 02:38:46 |
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.0.
|
|
1
|
+
export const sdkVersion = "4.0.989"
|
|
@@ -25,7 +25,9 @@ import {
|
|
|
25
25
|
UploadTrainPortraitImagesRequest,
|
|
26
26
|
ResultConfig,
|
|
27
27
|
QueryTrainPortraitModelJobRequest,
|
|
28
|
-
|
|
28
|
+
ChangeClothesRequest,
|
|
29
|
+
ReplaceBackgroundResponse,
|
|
30
|
+
ImageOutpaintingRequest,
|
|
29
31
|
SubmitTextToImageProJobRequest,
|
|
30
32
|
QueryDrawPortraitJobResponse,
|
|
31
33
|
QueryTrainPortraitModelJobResponse,
|
|
@@ -37,12 +39,14 @@ import {
|
|
|
37
39
|
GenerateAvatarRequest,
|
|
38
40
|
LogoRect,
|
|
39
41
|
Filter,
|
|
42
|
+
ImageInpaintingRemovalResponse,
|
|
40
43
|
SubmitTrainPortraitModelJobResponse,
|
|
41
44
|
QueryDrawPortraitJobRequest,
|
|
42
45
|
ImageToImageResponse,
|
|
43
46
|
SketchToImageResponse,
|
|
44
|
-
|
|
45
|
-
|
|
47
|
+
ImageInpaintingRemovalRequest,
|
|
48
|
+
ReplaceBackgroundRequest,
|
|
49
|
+
ImageOutpaintingResponse,
|
|
46
50
|
UploadTrainPortraitImagesResponse,
|
|
47
51
|
QueryTextToImageProJobRequest,
|
|
48
52
|
GenerateAvatarResponse,
|
|
@@ -114,17 +118,14 @@ export class Client extends AbstractClient {
|
|
|
114
118
|
}
|
|
115
119
|
|
|
116
120
|
/**
|
|
117
|
-
*
|
|
118
|
-
|
|
119
|
-
提交任务:输入文本等,提交一个文生图(高级版)异步任务,获得任务 ID。
|
|
120
|
-
查询任务:根据任务 ID 查询任务的处理状态、处理结果,任务处理完成后可获得生成图像结果。
|
|
121
|
-
并发任务数(并发)说明:并发任务数指能同时处理的任务数量。文生图(高级版)默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。
|
|
121
|
+
* 扩图接口支持对输入图像按指定宽高比实现智能扩图。
|
|
122
|
+
默认提供1个并发,代表最多能同时处理1个已提交的任务。
|
|
122
123
|
*/
|
|
123
|
-
async
|
|
124
|
-
req:
|
|
125
|
-
cb?: (error: string, rep:
|
|
126
|
-
): Promise<
|
|
127
|
-
return this.request("
|
|
124
|
+
async ImageOutpainting(
|
|
125
|
+
req: ImageOutpaintingRequest,
|
|
126
|
+
cb?: (error: string, rep: ImageOutpaintingResponse) => void
|
|
127
|
+
): Promise<ImageOutpaintingResponse> {
|
|
128
|
+
return this.request("ImageOutpainting", req, cb)
|
|
128
129
|
}
|
|
129
130
|
|
|
130
131
|
/**
|
|
@@ -219,6 +220,31 @@ export class Client extends AbstractClient {
|
|
|
219
220
|
return this.request("TextToImage", req, cb)
|
|
220
221
|
}
|
|
221
222
|
|
|
223
|
+
/**
|
|
224
|
+
* 本接口已迁移至腾讯混元大模型-混元生图,即将停止此处维护,可切换至 [混元生图 API](https://cloud.tencent.com/document/product/1729/105970) 继续使用。
|
|
225
|
+
文生图(高级版)接口基于高级版文生图大模型,将根据输入的文本描述,智能生成与之相关的结果图。分为提交任务和查询任务2个接口。
|
|
226
|
+
提交任务:输入文本等,提交一个文生图(高级版)异步任务,获得任务 ID。
|
|
227
|
+
查询任务:根据任务 ID 查询任务的处理状态、处理结果,任务处理完成后可获得生成图像结果。
|
|
228
|
+
并发任务数(并发)说明:并发任务数指能同时处理的任务数量。文生图(高级版)默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。
|
|
229
|
+
*/
|
|
230
|
+
async QueryTextToImageProJob(
|
|
231
|
+
req: QueryTextToImageProJobRequest,
|
|
232
|
+
cb?: (error: string, rep: QueryTextToImageProJobResponse) => void
|
|
233
|
+
): Promise<QueryTextToImageProJobResponse> {
|
|
234
|
+
return this.request("QueryTextToImageProJob", req, cb)
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* 消除补全接口通过图像 mask 指定需要消除的人、物、文字等区域,在选定区域对图像内容进行消除与重绘补全。
|
|
239
|
+
默认提供1个并发,代表最多能同时处理1个已提交的任务。
|
|
240
|
+
*/
|
|
241
|
+
async ImageInpaintingRemoval(
|
|
242
|
+
req: ImageInpaintingRemovalRequest,
|
|
243
|
+
cb?: (error: string, rep: ImageInpaintingRemovalResponse) => void
|
|
244
|
+
): Promise<ImageInpaintingRemovalResponse> {
|
|
245
|
+
return this.request("ImageInpaintingRemoval", req, cb)
|
|
246
|
+
}
|
|
247
|
+
|
|
222
248
|
/**
|
|
223
249
|
* 上传正面全身模特照和服装平铺图,生成模特换装后的图片。
|
|
224
250
|
生成的换装图片分辨率和模特照分辨率一致。
|
|
@@ -236,43 +236,40 @@ export interface QueryTrainPortraitModelJobRequest {
|
|
|
236
236
|
}
|
|
237
237
|
|
|
238
238
|
/**
|
|
239
|
-
*
|
|
239
|
+
* ChangeClothes请求参数结构体
|
|
240
240
|
*/
|
|
241
|
-
export interface
|
|
242
|
-
/**
|
|
243
|
-
* 商品原图 Url。
|
|
244
|
-
图片限制:单边分辨率小于4000,长宽比在2:5 ~ 5:2之间,转成 Base64 字符串后小于 6MB,格式支持 jpg、jpeg、png、bmp、tiff、webp。
|
|
245
|
-
*/
|
|
246
|
-
ProductUrl: string
|
|
247
|
-
/**
|
|
248
|
-
* 对新背景的文本描述。
|
|
249
|
-
最多支持256个 utf-8 字符,支持中、英文。
|
|
250
|
-
*/
|
|
251
|
-
Prompt: string
|
|
241
|
+
export interface ChangeClothesRequest {
|
|
252
242
|
/**
|
|
253
|
-
*
|
|
254
|
-
|
|
243
|
+
* 模特图片 Url。
|
|
244
|
+
图片限制:单边分辨率小于3000,且大于512,转成 Base64 字符串后小于 8MB。
|
|
245
|
+
输入要求:
|
|
246
|
+
1、建议上传正面模特图片,至少完整露出应穿着输入指定服装的身体部位(全身、上半身或下半身),无大角度身体偏转或异常姿势。
|
|
247
|
+
2、建议上传3:4比例的图片,生成效果更佳。
|
|
248
|
+
3、建议模特图片中的原始服装和更换后的服装类别一致,或原始服装在身体上的覆盖范围小于等于更换后的服装(例如需要给模特换上短裤,则原始模特图片中也建议穿短裤,不建议穿长裤),否则会影响人像生成效果。
|
|
249
|
+
|
|
255
250
|
*/
|
|
256
|
-
|
|
251
|
+
ModelUrl: string
|
|
257
252
|
/**
|
|
258
|
-
*
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
253
|
+
* 服装图片 Url。
|
|
254
|
+
图片限制:单边分辨率小于3000,大于512,转成 Base64 字符串后小于 8MB。
|
|
255
|
+
输入要求:
|
|
256
|
+
建议上传服装完整的正面平铺图片,仅包含1个服装主体,服装类型支持上衣、下装、连衣裙,三选一。算法将根据输入的图片,结合服装图片给模特换装。
|
|
262
257
|
*/
|
|
263
|
-
|
|
258
|
+
ClothesUrl: string
|
|
264
259
|
/**
|
|
265
|
-
*
|
|
266
|
-
|
|
267
|
-
|
|
260
|
+
* 服装类型,需要和服装图片保持一致。
|
|
261
|
+
取值:
|
|
262
|
+
Upper-body:上衣
|
|
263
|
+
Lower-body:下装
|
|
264
|
+
Dress:连衣裙
|
|
268
265
|
*/
|
|
269
|
-
|
|
266
|
+
ClothesType: string
|
|
270
267
|
/**
|
|
271
268
|
* 为生成结果图添加标识的开关,默认为1。
|
|
272
269
|
1:添加标识。
|
|
273
270
|
0:不添加标识。
|
|
274
271
|
其他数值:默认按1处理。
|
|
275
|
-
|
|
272
|
+
建议您使用显著标识来提示结果图使用了 AI 绘画技术,是 AI 生成的图片。
|
|
276
273
|
*/
|
|
277
274
|
LogoAdd?: number
|
|
278
275
|
/**
|
|
@@ -287,6 +284,66 @@ export interface ReplaceBackgroundRequest {
|
|
|
287
284
|
RspImgType?: string
|
|
288
285
|
}
|
|
289
286
|
|
|
287
|
+
/**
|
|
288
|
+
* ReplaceBackground返回参数结构体
|
|
289
|
+
*/
|
|
290
|
+
export interface ReplaceBackgroundResponse {
|
|
291
|
+
/**
|
|
292
|
+
* 根据入参 RspImgType 填入不同,返回不同的内容。
|
|
293
|
+
如果传入 base64 则返回生成图 Base64 编码。
|
|
294
|
+
如果传入 url 则返回的生成图 URL , 有效期1小时,请及时保存。
|
|
295
|
+
*/
|
|
296
|
+
ResultImage?: string
|
|
297
|
+
/**
|
|
298
|
+
* 如果 MaskUrl 未传,则返回使用内置商品分割算法得到的 Mask 结果。
|
|
299
|
+
*/
|
|
300
|
+
MaskImage?: string
|
|
301
|
+
/**
|
|
302
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
303
|
+
*/
|
|
304
|
+
RequestId?: string
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* ImageOutpainting请求参数结构体
|
|
309
|
+
*/
|
|
310
|
+
export interface ImageOutpaintingRequest {
|
|
311
|
+
/**
|
|
312
|
+
* 扩展后的比例(宽:高),需要不等于原图比例。
|
|
313
|
+
支持:1:1、4:3、3:4、16:9、9:16
|
|
314
|
+
*/
|
|
315
|
+
Ratio: string
|
|
316
|
+
/**
|
|
317
|
+
* 输入图 Base64 数据。
|
|
318
|
+
Base64 和 Url 必须提供一个,如果都提供以 Url 为准。
|
|
319
|
+
图片限制:单边分辨率小于5000,转成 Base64 字符串后小于 6MB,格式支持 jpg、jpeg、png、bmp、tiff、webp。
|
|
320
|
+
*/
|
|
321
|
+
InputImage?: string
|
|
322
|
+
/**
|
|
323
|
+
* 输入图 Url。
|
|
324
|
+
Base64 和 Url 必须提供一个,如果都提供以 Url 为准。
|
|
325
|
+
图片限制:单边分辨率小于5000,转成 Base64 字符串后小于 6MB,格式支持 jpg、jpeg、png、bmp、tiff、webp。
|
|
326
|
+
*/
|
|
327
|
+
InputUrl?: string
|
|
328
|
+
/**
|
|
329
|
+
* 返回图像方式(base64 或 url) ,二选一,默认为 base64。url 有效期为1小时。
|
|
330
|
+
*/
|
|
331
|
+
RspImgType?: string
|
|
332
|
+
/**
|
|
333
|
+
* 为生成结果图添加标识的开关,默认为1。
|
|
334
|
+
1:添加标识。
|
|
335
|
+
0:不添加标识。
|
|
336
|
+
其他数值:默认按1处理。
|
|
337
|
+
建议您使用显著标识来提示结果图使用了 AI 绘画技术,是 AI 生成的图片。
|
|
338
|
+
*/
|
|
339
|
+
LogoAdd?: number
|
|
340
|
+
/**
|
|
341
|
+
* 标识内容设置。
|
|
342
|
+
默认在生成结果图右下角添加“图片由 AI 生成”字样,您可根据自身需要替换为其他的标识图片。
|
|
343
|
+
*/
|
|
344
|
+
LogoParam?: LogoParam
|
|
345
|
+
}
|
|
346
|
+
|
|
290
347
|
/**
|
|
291
348
|
* SubmitTextToImageProJob请求参数结构体
|
|
292
349
|
*/
|
|
@@ -530,9 +587,15 @@ export interface TextToImageRequest {
|
|
|
530
587
|
* GenerateAvatar请求参数结构体
|
|
531
588
|
*/
|
|
532
589
|
export interface GenerateAvatarRequest {
|
|
590
|
+
/**
|
|
591
|
+
* 图像类型,默认为人像。
|
|
592
|
+
human:人像头像,仅支持人像图片输入,建议避免上传无人、多人、人像过小的图片。
|
|
593
|
+
pet:萌宠贴纸,仅支持动物图片输入,建议避免上传无动物、多动物、动物过小的图片。
|
|
594
|
+
*/
|
|
595
|
+
Type?: string
|
|
533
596
|
/**
|
|
534
597
|
* 头像风格,仅在人像模式下生效。
|
|
535
|
-
|
|
598
|
+
若使用人像模式,请在 [百变头像风格列表](https://cloud.tencent.com/document/product/1668/107741) 中选择期望的风格,传入风格编号,不传默认使用 flower 风格。
|
|
536
599
|
若使用萌宠贴纸模式,无需选择风格,该参数不生效。
|
|
537
600
|
*/
|
|
538
601
|
Style?: string
|
|
@@ -548,12 +611,6 @@ Base64 和 Url 必须提供一个,如果都提供以 Url 为准。
|
|
|
548
611
|
图片限制:单边分辨率小于5000,转成 Base64 字符串后小于 6MB,格式支持 jpg、jpeg、png、bmp、tiff、webp。
|
|
549
612
|
*/
|
|
550
613
|
InputUrl?: string
|
|
551
|
-
/**
|
|
552
|
-
* 图像类型,默认为人像。
|
|
553
|
-
human:人像头像,仅支持人像图片输入,建议避免上传无人、多人、人像过小的图片。
|
|
554
|
-
pet:萌宠贴纸,仅支持动物图片输入,建议避免上传无动物、多动物、动物过小的图片。
|
|
555
|
-
*/
|
|
556
|
-
Type?: string
|
|
557
614
|
/**
|
|
558
615
|
* 输入人像图的质量检测开关,默认开启,仅在人像模式下生效。
|
|
559
616
|
1:开启
|
|
@@ -635,6 +692,20 @@ export interface Filter {
|
|
|
635
692
|
Occlusion?: number
|
|
636
693
|
}
|
|
637
694
|
|
|
695
|
+
/**
|
|
696
|
+
* ImageInpaintingRemoval返回参数结构体
|
|
697
|
+
*/
|
|
698
|
+
export interface ImageInpaintingRemovalResponse {
|
|
699
|
+
/**
|
|
700
|
+
* 根据入参 RspImgType 填入不同,返回不同的内容。 如果传入 base64 则返回生成图 Base64 编码。 如果传入 url 则返回的生成图 URL , 有效期1小时,请及时保存。
|
|
701
|
+
*/
|
|
702
|
+
ResultImage?: string
|
|
703
|
+
/**
|
|
704
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
705
|
+
*/
|
|
706
|
+
RequestId?: string
|
|
707
|
+
}
|
|
708
|
+
|
|
638
709
|
/**
|
|
639
710
|
* SubmitTrainPortraitModelJob返回参数结构体
|
|
640
711
|
*/
|
|
@@ -688,34 +759,39 @@ export interface SketchToImageResponse {
|
|
|
688
759
|
}
|
|
689
760
|
|
|
690
761
|
/**
|
|
691
|
-
*
|
|
762
|
+
* ImageInpaintingRemoval请求参数结构体
|
|
692
763
|
*/
|
|
693
|
-
export interface
|
|
764
|
+
export interface ImageInpaintingRemovalRequest {
|
|
694
765
|
/**
|
|
695
|
-
*
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
1、建议上传正面模特图片,至少完整露出应穿着输入指定服装的身体部位(全身、上半身或下半身),无大角度身体偏转或异常姿势。
|
|
699
|
-
2、建议上传3:4比例的图片,生成效果更佳。
|
|
700
|
-
3、建议模特图片中的原始服装和更换后的服装类别一致,或原始服装在身体上的覆盖范围小于等于更换后的服装(例如需要给模特换上短裤,则原始模特图片中也建议穿短裤,不建议穿长裤),否则会影响人像生成效果。
|
|
701
|
-
|
|
766
|
+
* 输入图 Base64 数据。
|
|
767
|
+
Base64 和 Url 必须提供一个,如果都提供以 Url 为准。
|
|
768
|
+
图片限制:单边分辨率小于5000,转成 Base64 字符串后小于 6MB,格式支持 jpg、jpeg、png、bmp、tiff、webp。
|
|
702
769
|
*/
|
|
703
|
-
|
|
770
|
+
InputImage?: string
|
|
704
771
|
/**
|
|
705
|
-
*
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
建议上传服装完整的正面平铺图片,仅包含1个服装主体,服装类型支持上衣、下装、连衣裙,三选一。算法将根据输入的图片,结合服装图片给模特换装。
|
|
772
|
+
* 输入图 Url。
|
|
773
|
+
Base64 和 Url 必须提供一个,如果都提供以 Url 为准。
|
|
774
|
+
图片限制:单边分辨率小于5000,转成 Base64 字符串后小于 6MB,格式支持 jpg、jpeg、png、bmp、tiff、webp。
|
|
709
775
|
*/
|
|
710
|
-
|
|
776
|
+
InputUrl?: string
|
|
711
777
|
/**
|
|
712
|
-
*
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
Dress:连衣裙
|
|
778
|
+
* 消除区域 Mask 图 Base64 数据。
|
|
779
|
+
Mask 为单通道灰度图,待消除部分呈白色区域,原图保持部分呈黑色区域。
|
|
780
|
+
Mask 的 Base64 和 Url 必须提供一个,如果都提供以 Url 为准。
|
|
781
|
+
图片限制:Mask 分辨率需要和输入原图保持一致,转成 Base64 字符串后小于 6MB。
|
|
717
782
|
*/
|
|
718
|
-
|
|
783
|
+
Mask?: string
|
|
784
|
+
/**
|
|
785
|
+
* 消除区域 Mask 图 Url。
|
|
786
|
+
Mask 为单通道灰度图,待消除部分呈白色区域,原图保持部分呈黑色区域。
|
|
787
|
+
Mask 的 Base64 和 Url 必须提供一个,如果都提供以 Url 为准。
|
|
788
|
+
图片限制:Mask 分辨率需要和输入原图保持一致,转成 Base64 字符串后小于 6MB。
|
|
789
|
+
*/
|
|
790
|
+
MaskUrl?: string
|
|
791
|
+
/**
|
|
792
|
+
* 返回图像方式(base64 或 url) ,二选一,默认为 base64。url 有效期为1小时。
|
|
793
|
+
*/
|
|
794
|
+
RspImgType?: string
|
|
719
795
|
/**
|
|
720
796
|
* 为生成结果图添加标识的开关,默认为1。
|
|
721
797
|
1:添加标识。
|
|
@@ -726,6 +802,53 @@ Dress:连衣裙
|
|
|
726
802
|
LogoAdd?: number
|
|
727
803
|
/**
|
|
728
804
|
* 标识内容设置。
|
|
805
|
+
默认在生成结果图右下角添加“图片由 AI 生成”字样,您可根据自身需要替换为其他的标识图片。
|
|
806
|
+
*/
|
|
807
|
+
LogoParam?: LogoParam
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
/**
|
|
811
|
+
* ReplaceBackground请求参数结构体
|
|
812
|
+
*/
|
|
813
|
+
export interface ReplaceBackgroundRequest {
|
|
814
|
+
/**
|
|
815
|
+
* 商品原图 Url。
|
|
816
|
+
图片限制:单边分辨率小于4000,长宽比在2:5 ~ 5:2之间,转成 Base64 字符串后小于 6MB,格式支持 jpg、jpeg、png、bmp、tiff、webp。
|
|
817
|
+
*/
|
|
818
|
+
ProductUrl: string
|
|
819
|
+
/**
|
|
820
|
+
* 对新背景的文本描述。
|
|
821
|
+
最多支持256个 utf-8 字符,支持中、英文。
|
|
822
|
+
*/
|
|
823
|
+
Prompt: string
|
|
824
|
+
/**
|
|
825
|
+
* 商品图中的商品主体名称。
|
|
826
|
+
建议说明商品主体,否则影响生成效果。
|
|
827
|
+
*/
|
|
828
|
+
Product?: string
|
|
829
|
+
/**
|
|
830
|
+
* 商品 Mask 图 Url,要求背景透明,保留商品主体。
|
|
831
|
+
如果不传,将自动使用内置的商品分割算法得到 Mask。
|
|
832
|
+
支持自定义上传 Mask,如果该参数不为空,则以实际上传的数据为准。
|
|
833
|
+
图片限制:Mask 图必须和商品原图分辨率一致,转成 Base64 字符串后小于 6MB,格式仅支持 png。
|
|
834
|
+
*/
|
|
835
|
+
MaskUrl?: string
|
|
836
|
+
/**
|
|
837
|
+
* 替换背景后生成的商品图分辨率。
|
|
838
|
+
支持生成单边分辨率大于500且小于4000、长宽比在2:5 ~ 5:2之间的图片,不传默认生成1280:1280。
|
|
839
|
+
建议图片比例为1:1、9:16、16:9,生成效果更佳,使用其他比例的生成效果可能不如建议比例。
|
|
840
|
+
*/
|
|
841
|
+
Resolution?: string
|
|
842
|
+
/**
|
|
843
|
+
* 为生成结果图添加标识的开关,默认为1。
|
|
844
|
+
1:添加标识。
|
|
845
|
+
0:不添加标识。
|
|
846
|
+
其他数值:默认按1处理。
|
|
847
|
+
建议您使用显著标识来提示结果图是 AI 生成的图片。
|
|
848
|
+
*/
|
|
849
|
+
LogoAdd?: number
|
|
850
|
+
/**
|
|
851
|
+
* 标识内容设置。
|
|
729
852
|
默认在生成结果图右下角添加“图片由 AI 生成”字样,您可根据自身需要替换为其他的标识图片。
|
|
730
853
|
*/
|
|
731
854
|
LogoParam?: LogoParam
|
|
@@ -737,19 +860,15 @@ Dress:连衣裙
|
|
|
737
860
|
}
|
|
738
861
|
|
|
739
862
|
/**
|
|
740
|
-
*
|
|
863
|
+
* ImageOutpainting返回参数结构体
|
|
741
864
|
*/
|
|
742
|
-
export interface
|
|
865
|
+
export interface ImageOutpaintingResponse {
|
|
743
866
|
/**
|
|
744
867
|
* 根据入参 RspImgType 填入不同,返回不同的内容。
|
|
745
868
|
如果传入 base64 则返回生成图 Base64 编码。
|
|
746
869
|
如果传入 url 则返回的生成图 URL , 有效期1小时,请及时保存。
|
|
747
870
|
*/
|
|
748
871
|
ResultImage?: string
|
|
749
|
-
/**
|
|
750
|
-
* 如果 MaskUrl 未传,则返回使用内置商品分割算法得到的 Mask 结果。
|
|
751
|
-
*/
|
|
752
|
-
MaskImage?: string
|
|
753
872
|
/**
|
|
754
873
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
755
874
|
*/
|