tccli 3.0.1216.1__py2.py3-none-any.whl → 3.0.1217.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/argparser.py +1 -1
- tccli/command.py +2 -2
- tccli/credentials.py +25 -0
- tccli/main.py +6 -2
- tccli/plugins/sso/__init__.py +61 -0
- tccli/plugins/sso/configs.py +4 -0
- tccli/plugins/sso/configure.py +45 -0
- tccli/plugins/sso/login.py +144 -0
- tccli/plugins/sso/logout.py +21 -0
- tccli/plugins/sso/terminal.py +161 -0
- tccli/plugins/sso/texts.py +40 -0
- tccli/services/__init__.py +6 -0
- tccli/services/acp/v20220105/api.json +7 -7
- tccli/services/acp/v20220105/examples.json +2 -2
- tccli/services/aiart/v20221229/api.json +29 -29
- tccli/services/aiart/v20221229/examples.json +8 -8
- tccli/services/apigateway/v20180808/api.json +18 -17
- tccli/services/apigateway/v20180808/examples.json +12 -12
- tccli/services/apm/v20210622/api.json +98 -4
- tccli/services/asr/v20190614/api.json +18 -17
- tccli/services/asr/v20190614/examples.json +13 -13
- tccli/services/autoscaling/v20180419/api.json +371 -309
- tccli/services/autoscaling/v20180419/examples.json +17 -17
- tccli/services/batch/v20170312/api.json +7 -7
- tccli/services/bda/v20200324/api.json +39 -31
- tccli/services/bda/v20200324/examples.json +9 -9
- tccli/services/bh/__init__.py +4 -0
- tccli/services/bh/bh_client.py +3428 -0
- tccli/services/bh/v20230418/api.json +8180 -0
- tccli/services/bh/v20230418/examples.json +519 -0
- tccli/services/bi/v20220105/api.json +48 -0
- tccli/services/billing/v20180709/api.json +26 -24
- tccli/services/bsca/v20210811/api.json +1 -1
- tccli/services/btoe/v20210514/api.json +4 -4
- tccli/services/btoe/v20210514/examples.json +2 -2
- tccli/services/ca/v20230228/api.json +60 -0
- tccli/services/cam/v20190116/api.json +11 -11
- tccli/services/cat/v20180409/api.json +9 -0
- tccli/services/cbs/v20170312/api.json +200 -188
- tccli/services/cbs/v20170312/examples.json +4 -4
- tccli/services/ccc/v20200210/api.json +390 -323
- tccli/services/ccc/v20200210/examples.json +15 -15
- tccli/services/cdb/cdb_client.py +13 -13
- tccli/services/cdb/v20170320/api.json +295 -270
- tccli/services/cdb/v20170320/examples.json +38 -38
- tccli/services/cdc/v20201214/api.json +283 -270
- tccli/services/cdc/v20201214/examples.json +26 -26
- tccli/services/cds/v20180420/api.json +82 -76
- tccli/services/cds/v20180420/examples.json +1 -1
- tccli/services/cdwch/v20200915/api.json +1 -1
- tccli/services/cdwdoris/v20211228/api.json +42 -2
- tccli/services/cdz/v20221123/api.json +41 -5
- tccli/services/cfg/v20210820/api.json +31 -0
- tccli/services/cfs/v20190719/api.json +89 -1
- tccli/services/cfs/v20190719/examples.json +1 -1
- tccli/services/cfw/cfw_client.py +0 -53
- tccli/services/cfw/v20190904/api.json +1849 -1999
- tccli/services/cfw/v20190904/examples.json +157 -159
- tccli/services/ckafka/v20190819/api.json +104 -75
- tccli/services/clb/v20180317/api.json +48 -26
- tccli/services/clb/v20180317/examples.json +1 -1
- tccli/services/cloudapp/v20220530/api.json +5 -1
- tccli/services/cloudaudit/v20190319/api.json +58 -44
- tccli/services/cloudaudit/v20190319/examples.json +6 -6
- tccli/services/cloudstudio/v20230508/api.json +38 -37
- tccli/services/cloudstudio/v20230508/examples.json +4 -4
- tccli/services/cls/cls_client.py +216 -4
- tccli/services/cls/v20201016/api.json +536 -47
- tccli/services/cls/v20201016/examples.json +34 -2
- tccli/services/csip/v20221121/api.json +2562 -2382
- tccli/services/csip/v20221121/examples.json +108 -108
- tccli/services/cvm/v20170312/api.json +149 -112
- tccli/services/cvm/v20170312/examples.json +2 -2
- tccli/services/cwp/cwp_client.py +4 -110
- tccli/services/cwp/v20180228/api.json +6338 -6146
- tccli/services/cwp/v20180228/examples.json +342 -370
- tccli/services/cynosdb/v20190107/api.json +93 -81
- tccli/services/cynosdb/v20190107/examples.json +70 -70
- tccli/services/dasb/v20191018/api.json +796 -651
- tccli/services/dasb/v20191018/examples.json +101 -101
- tccli/services/dcdb/dcdb_client.py +114 -61
- tccli/services/dcdb/v20180411/api.json +141 -7
- tccli/services/dcdb/v20180411/examples.json +32 -0
- tccli/services/dlc/v20210125/api.json +21 -11
- tccli/services/dnspod/dnspod_client.py +417 -46
- tccli/services/dnspod/v20210323/api.json +751 -30
- tccli/services/dnspod/v20210323/examples.json +62 -0
- tccli/services/dts/v20211206/api.json +4 -4
- tccli/services/ecm/v20190719/api.json +2 -2
- tccli/services/emr/v20190103/api.json +339 -114
- tccli/services/emr/v20190103/examples.json +64 -82
- tccli/services/es/v20180416/api.json +29 -0
- tccli/services/es/v20180416/examples.json +1 -1
- tccli/services/ess/v20201111/api.json +49 -31
- tccli/services/ess/v20201111/examples.json +20 -8
- tccli/services/essbasic/v20210526/api.json +54 -49
- tccli/services/essbasic/v20210526/examples.json +36 -18
- tccli/services/facefusion/v20181201/api.json +47 -45
- tccli/services/facefusion/v20181201/examples.json +2 -2
- tccli/services/facefusion/v20220927/api.json +54 -48
- tccli/services/facefusion/v20220927/examples.json +5 -5
- tccli/services/faceid/v20180301/api.json +497 -496
- tccli/services/faceid/v20180301/examples.json +219 -101
- tccli/services/fmu/v20191213/api.json +59 -67
- tccli/services/fmu/v20191213/examples.json +22 -22
- tccli/services/ft/v20200304/api.json +53 -57
- tccli/services/ft/v20200304/examples.json +14 -14
- tccli/services/gme/v20180711/api.json +21 -11
- tccli/services/gme/v20180711/examples.json +1 -1
- tccli/services/hai/v20230812/api.json +116 -9
- tccli/services/hai/v20230812/examples.json +4 -4
- tccli/services/hunyuan/hunyuan_client.py +436 -12
- tccli/services/hunyuan/v20230901/api.json +1482 -118
- tccli/services/hunyuan/v20230901/examples.json +82 -18
- tccli/services/iai/v20180301/api.json +23 -19
- tccli/services/iai/v20180301/examples.json +2 -2
- tccli/services/iai/v20200303/api.json +530 -511
- tccli/services/iai/v20200303/examples.json +116 -86
- tccli/services/ig/__init__.py +4 -0
- tccli/services/ig/ig_client.py +195 -0
- tccli/services/ig/v20210518/api.json +83 -0
- tccli/services/ig/v20210518/examples.json +13 -0
- tccli/services/ioa/ioa_client.py +53 -0
- tccli/services/ioa/v20220601/api.json +662 -413
- tccli/services/ioa/v20220601/examples.json +24 -10
- tccli/services/iotexplorer/v20190423/api.json +33 -13
- tccli/services/iotexplorer/v20190423/examples.json +3 -3
- tccli/services/iotvideo/iotvideo_client.py +106 -0
- tccli/services/iotvideo/v20191126/api.json +256 -24
- tccli/services/iotvideo/v20191126/examples.json +19 -3
- tccli/services/iotvideo/v20201215/api.json +1 -1
- tccli/services/iotvideo/v20201215/examples.json +1 -1
- tccli/services/iotvideo/v20211125/api.json +1 -1
- tccli/services/iotvideo/v20211125/examples.json +2 -2
- tccli/services/iss/iss_client.py +69 -122
- tccli/services/iss/v20230517/api.json +10 -54
- tccli/services/iss/v20230517/examples.json +0 -14
- tccli/services/kms/v20190118/api.json +301 -268
- tccli/services/kms/v20190118/examples.json +45 -51
- tccli/services/lcic/lcic_client.py +159 -0
- tccli/services/lcic/v20220817/api.json +273 -1
- tccli/services/lcic/v20220817/examples.json +24 -0
- tccli/services/lighthouse/v20200324/api.json +56 -0
- tccli/services/live/live_client.py +159 -0
- tccli/services/live/v20180801/api.json +244 -0
- tccli/services/live/v20180801/examples.json +24 -0
- tccli/services/lke/v20231130/api.json +17 -17
- tccli/services/lke/v20231130/examples.json +19 -25
- tccli/services/mariadb/v20170312/api.json +7 -7
- tccli/services/market/v20191010/api.json +3 -3
- tccli/services/market/v20191010/examples.json +2 -2
- tccli/services/mmps/v20200710/api.json +47 -47
- tccli/services/mmps/v20200710/examples.json +3 -3
- tccli/services/mongodb/v20190725/api.json +4 -4
- tccli/services/monitor/v20180724/api.json +46 -19
- tccli/services/mps/v20190612/api.json +282 -5
- tccli/services/mps/v20190612/examples.json +25 -1
- tccli/services/mqtt/v20240516/api.json +2 -2
- tccli/services/mrs/v20200910/api.json +72 -34
- tccli/services/mrs/v20200910/examples.json +2 -2
- tccli/services/ms/v20180408/api.json +535 -506
- tccli/services/ms/v20180408/examples.json +25 -25
- tccli/services/oceanus/v20190422/api.json +130 -0
- tccli/services/ocr/ocr_client.py +232 -20
- tccli/services/ocr/v20181119/api.json +2265 -760
- tccli/services/ocr/v20181119/examples.json +200 -180
- tccli/services/omics/v20221128/api.json +614 -553
- tccli/services/omics/v20221128/examples.json +9 -9
- tccli/services/organization/v20210331/api.json +13 -4
- tccli/services/organization/v20210331/examples.json +2 -2
- tccli/services/partners/v20180321/api.json +244 -234
- tccli/services/partners/v20180321/examples.json +19 -19
- tccli/services/privatedns/privatedns_client.py +428 -4
- tccli/services/privatedns/v20201028/api.json +815 -11
- tccli/services/privatedns/v20201028/examples.json +64 -0
- tccli/services/pts/v20210728/api.json +18 -0
- tccli/services/pts/v20210728/examples.json +1 -1
- tccli/services/rce/rce_client.py +53 -0
- tccli/services/rce/v20201103/api.json +146 -0
- tccli/services/rce/v20201103/examples.json +8 -0
- tccli/services/redis/v20180412/api.json +42 -42
- tccli/services/redis/v20180412/examples.json +19 -19
- tccli/services/rum/v20210622/api.json +9 -0
- tccli/services/scf/v20180416/api.json +15 -15
- tccli/services/scf/v20180416/examples.json +1 -1
- tccli/services/smop/v20201203/api.json +46 -42
- tccli/services/smop/v20201203/examples.json +2 -2
- tccli/services/soe/v20180724/api.json +10 -10
- tccli/services/sqlserver/v20180328/api.json +21 -8
- tccli/services/sqlserver/v20180328/examples.json +5 -5
- tccli/services/ssl/v20191205/api.json +97 -4
- tccli/services/ssm/v20190923/api.json +292 -231
- tccli/services/ssm/v20190923/examples.json +42 -42
- tccli/services/tat/v20201028/api.json +97 -97
- tccli/services/tat/v20201028/examples.json +20 -26
- tccli/services/tchd/v20230306/api.json +5 -5
- tccli/services/tchd/v20230306/examples.json +3 -3
- tccli/services/tcr/v20190924/api.json +1 -1
- tccli/services/tcr/v20190924/examples.json +1 -1
- tccli/services/tcss/v20201101/api.json +1973 -1426
- tccli/services/tcss/v20201101/examples.json +346 -364
- tccli/services/tdmq/v20200217/api.json +539 -401
- tccli/services/tdmq/v20200217/examples.json +104 -104
- tccli/services/tds/v20220801/api.json +4 -4
- tccli/services/tem/v20210701/api.json +287 -271
- tccli/services/tem/v20210701/examples.json +59 -59
- tccli/services/teo/v20220901/api.json +37 -9
- tccli/services/teo/v20220901/examples.json +13 -7
- tccli/services/thpc/v20230321/api.json +5 -5
- tccli/services/tke/tke_client.py +217 -58
- tccli/services/tke/v20180525/api.json +36 -27
- tccli/services/tke/v20180525/examples.json +1 -1
- tccli/services/tke/v20220501/api.json +176 -0
- tccli/services/tke/v20220501/examples.json +24 -0
- tccli/services/tmt/v20180321/api.json +38 -8
- tccli/services/trp/v20210515/api.json +86 -74
- tccli/services/trp/v20210515/examples.json +65 -65
- tccli/services/trro/v20220325/api.json +72 -71
- tccli/services/trro/v20220325/examples.json +8 -8
- tccli/services/trtc/trtc_client.py +8 -61
- tccli/services/trtc/v20190722/api.json +72 -30
- tccli/services/trtc/v20190722/examples.json +3 -11
- tccli/services/tse/tse_client.py +110 -4
- tccli/services/tse/v20201207/api.json +122 -7
- tccli/services/tse/v20201207/examples.json +25 -9
- tccli/services/vclm/v20240523/api.json +225 -82
- tccli/services/vclm/v20240523/examples.json +13 -19
- tccli/services/vod/v20180717/api.json +431 -4
- tccli/services/vod/v20180717/examples.json +25 -5
- tccli/services/vod/v20240718/api.json +11 -11
- tccli/services/vod/v20240718/examples.json +4 -4
- tccli/services/vod/vod_client.py +53 -0
- tccli/services/vpc/v20170312/api.json +1090 -862
- tccli/services/vpc/v20170312/examples.json +74 -66
- tccli/services/vpc/vpc_client.py +61 -8
- tccli/services/waf/v20180125/api.json +2540 -2177
- tccli/services/waf/v20180125/examples.json +216 -284
- tccli/services/waf/waf_client.py +172 -119
- tccli/services/wav/v20210129/api.json +48 -48
- tccli/services/wav/v20210129/examples.json +4 -4
- tccli/services/wedata/v20210820/api.json +909 -25
- tccli/services/wedata/v20210820/examples.json +28 -4
- tccli/services/wedata/wedata_client.py +159 -0
- tccli/services/weilingwith/v20230427/api.json +6 -6
- tccli/services/weilingwith/v20230427/examples.json +3 -3
- tccli/sso.py +229 -0
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/RECORD +252 -235
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/license_files/LICENSE +0 -0
@@ -36,7 +36,7 @@
|
|
36
36
|
"status": "online"
|
37
37
|
},
|
38
38
|
"SwapGenderPic": {
|
39
|
-
"document": "用户上传一张人脸图片,基于人脸编辑与生成算法,输出一张人脸性别转换的图片。男变女可实现美颜、淡妆、加刘海和长发的效果;女变男可实现加胡须、变短发的效果。
|
39
|
+
"document": "用户上传一张人脸图片,基于人脸编辑与生成算法,输出一张人脸性别转换的图片。男变女可实现美颜、淡妆、加刘海和长发的效果;女变男可实现加胡须、变短发的效果。",
|
40
40
|
"input": "SwapGenderPicRequest",
|
41
41
|
"name": "人脸性别转换",
|
42
42
|
"output": "SwapGenderPicResponse",
|
@@ -56,22 +56,20 @@
|
|
56
56
|
{
|
57
57
|
"disabled": false,
|
58
58
|
"document": "变化到的人脸年龄 [10,80]。",
|
59
|
-
"example": "",
|
59
|
+
"example": "10",
|
60
60
|
"member": "int64",
|
61
61
|
"name": "Age",
|
62
62
|
"required": true,
|
63
|
-
"type": "int"
|
64
|
-
"value_allowed_null": false
|
63
|
+
"type": "int"
|
65
64
|
},
|
66
65
|
{
|
67
66
|
"disabled": false,
|
68
67
|
"document": "人脸框位置。若不输入则选择 Image 或 Url 中面积最大的人脸。 \n您可以通过 [人脸检测与分析](https://cloud.tencent.com/document/api/867/32800) 接口获取人脸框位置信息。",
|
69
|
-
"example": "",
|
68
|
+
"example": "{\"X\": 10, \"Y\": 10, \"Width\": 20, \"Height\": 20}",
|
70
69
|
"member": "FaceRect",
|
71
70
|
"name": "FaceRect",
|
72
71
|
"required": false,
|
73
|
-
"type": "object"
|
74
|
-
"value_allowed_null": false
|
72
|
+
"type": "object"
|
75
73
|
}
|
76
74
|
],
|
77
75
|
"usage": "in"
|
@@ -82,7 +80,7 @@
|
|
82
80
|
{
|
83
81
|
"disabled": false,
|
84
82
|
"document": "人像渐变任务Job id",
|
85
|
-
"example": "",
|
83
|
+
"example": "004C6B6FFEA31433875D55115E09E945A03",
|
86
84
|
"member": "string",
|
87
85
|
"name": "JobId",
|
88
86
|
"required": true,
|
@@ -109,7 +107,7 @@
|
|
109
107
|
{
|
110
108
|
"disabled": false,
|
111
109
|
"document": "人脸变老变年轻信息。 \n您可以输入最多3个 AgeInfo 来实现给一张图中的最多3张人脸变老变年轻。",
|
112
|
-
"example": "{}",
|
110
|
+
"example": "[{\"Age\": 10, \"FaceRect\": {\"X\": 10, \"Y\": 10, \"Width\": 20, \"Height\": 20}}]",
|
113
111
|
"member": "AgeInfo",
|
114
112
|
"name": "AgeInfos",
|
115
113
|
"required": true,
|
@@ -118,7 +116,7 @@
|
|
118
116
|
{
|
119
117
|
"disabled": false,
|
120
118
|
"document": "图片 base64 数据,base64 编码后大小不可超过5M。 \n支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。",
|
121
|
-
"example": "
|
119
|
+
"example": "/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z",
|
122
120
|
"member": "string",
|
123
121
|
"name": "Image",
|
124
122
|
"required": false,
|
@@ -127,7 +125,7 @@
|
|
127
125
|
{
|
128
126
|
"disabled": false,
|
129
127
|
"document": "图片的 Url ,对应图片 base64 编码后大小不可超过5M。 \n图片的 Url、Image必须提供一个,如果都提供,只使用 Url。 \n图片存储于腾讯云的 Url 可保障更高下载速度和稳定性,建议图片存储于腾讯云。 \n非腾讯云存储的Url速度和稳定性可能受一定影响。 \n支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。",
|
130
|
-
"example": "
|
128
|
+
"example": "https://liudehua-9527.cos.ap-guangzhou.myqcloud.com/input.jpeg",
|
131
129
|
"member": "string",
|
132
130
|
"name": "Url",
|
133
131
|
"required": false,
|
@@ -136,7 +134,7 @@
|
|
136
134
|
{
|
137
135
|
"disabled": false,
|
138
136
|
"document": "返回图像方式(base64 或 url ) ,二选一。url有效期为1天。默认值为base64。",
|
139
|
-
"example": "
|
137
|
+
"example": "url",
|
140
138
|
"member": "string",
|
141
139
|
"name": "RspImgType",
|
142
140
|
"required": false,
|
@@ -151,7 +149,7 @@
|
|
151
149
|
{
|
152
150
|
"disabled": false,
|
153
151
|
"document": "RspImgType 为 base64 时,返回处理后的图片 base64 数据。默认返回base64",
|
154
|
-
"example": "
|
152
|
+
"example": "/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z",
|
155
153
|
"member": "string",
|
156
154
|
"name": "ResultImage",
|
157
155
|
"output_required": true,
|
@@ -161,7 +159,7 @@
|
|
161
159
|
{
|
162
160
|
"disabled": false,
|
163
161
|
"document": "RspImgType 为 url 时,返回处理后的图片 url 数据。",
|
164
|
-
"example": "
|
162
|
+
"example": "https://liudehua-9527.cos.ap-guangzhou.myqcloud.com/result.jpeg?q-sign-algorithm=sha1&q-ak=AKID********EXAMPLE&q-sign-time=8888;9999&q-key-time=8888;9999&q-header-list=&q-url-param-list=&q-signature=7de87f7bf9cfd23df9da32f46661e7cf97a5603c",
|
165
163
|
"member": "string",
|
166
164
|
"name": "ResultUrl",
|
167
165
|
"output_required": true,
|
@@ -183,7 +181,7 @@
|
|
183
181
|
{
|
184
182
|
"disabled": false,
|
185
183
|
"document": "图片 base64 数据,base64 编码后大小不可超过5M。\n支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。",
|
186
|
-
"example": "
|
184
|
+
"example": "/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z",
|
187
185
|
"member": "string",
|
188
186
|
"name": "Image",
|
189
187
|
"required": false,
|
@@ -192,7 +190,7 @@
|
|
192
190
|
{
|
193
191
|
"disabled": false,
|
194
192
|
"document": "图片的 Url ,对应图片 base64 编码后大小不可超过5M。\n图片的 Url、Image必须提供一个,如果都提供,只使用 Url。\n图片存储于腾讯云的 Url 可保障更高下载速度和稳定性,建议图片存储于腾讯云。\n非腾讯云存储的Url速度和稳定性可能受一定影响。\n支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。",
|
195
|
-
"example": "
|
193
|
+
"example": "https://liudehua-9527.cos.ap-guangzhou.myqcloud.com/input.jpeg",
|
196
194
|
"member": "string",
|
197
195
|
"name": "Url",
|
198
196
|
"required": false,
|
@@ -201,7 +199,7 @@
|
|
201
199
|
{
|
202
200
|
"disabled": false,
|
203
201
|
"document": "返回图像方式(base64 或 url ) ,二选一。url有效期为1天。",
|
204
|
-
"example": "
|
202
|
+
"example": "url",
|
205
203
|
"member": "string",
|
206
204
|
"name": "RspImgType",
|
207
205
|
"required": false,
|
@@ -210,7 +208,7 @@
|
|
210
208
|
{
|
211
209
|
"disabled": false,
|
212
210
|
"document": "关闭全图动漫化,传入true(不分大小写)即关闭全图动漫化。",
|
213
|
-
"example": "
|
211
|
+
"example": "true",
|
214
212
|
"member": "string",
|
215
213
|
"name": "DisableGlobalEffect",
|
216
214
|
"required": false,
|
@@ -225,20 +223,20 @@
|
|
225
223
|
{
|
226
224
|
"disabled": false,
|
227
225
|
"document": "结果图片Base64信息。",
|
228
|
-
"example": "
|
226
|
+
"example": "/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z",
|
229
227
|
"member": "string",
|
230
228
|
"name": "ResultImage",
|
231
|
-
"
|
229
|
+
"output_required": true,
|
232
230
|
"type": "string",
|
233
231
|
"value_allowed_null": false
|
234
232
|
},
|
235
233
|
{
|
236
234
|
"disabled": false,
|
237
235
|
"document": "RspImgType 为 url 时,返回处理后的图片 url 数据。(默认为base64)",
|
238
|
-
"example": "
|
236
|
+
"example": "https://liudehua-9527.cos.ap-guangzhou.myqcloud.com/result.jpeg?q-sign-algorithm=sha1&q-ak=AKID********EXAMPLE&q-sign-time=8888;9999&q-key-time=8888;9999&q-header-list=&q-url-param-list=&q-signature=7de87f7bf9cfd23df9da32f46661e7cf97a5603c",
|
239
237
|
"member": "string",
|
240
238
|
"name": "ResultUrl",
|
241
|
-
"
|
239
|
+
"output_required": true,
|
242
240
|
"type": "string",
|
243
241
|
"value_allowed_null": false
|
244
242
|
},
|
@@ -257,30 +255,30 @@
|
|
257
255
|
{
|
258
256
|
"disabled": false,
|
259
257
|
"document": "人像渐变输出的url\n注意:此字段可能返回 null,表示取不到有效值。",
|
260
|
-
"example": "",
|
258
|
+
"example": "https://liudehua-9527.cos.ap-guangzhou.myqcloud.com/result.jpeg?q-sign-algorithm=sha1&q-ak=AKID********EXAMPLE&q-sign-time=8888;9999&q-key-time=8888;9999&q-header-list=&q-url-param-list=&q-signature=7de87f7bf9cfd23df9da32f46661e7cf97a5603c",
|
261
259
|
"member": "string",
|
262
260
|
"name": "MorphUrl",
|
263
|
-
"
|
261
|
+
"output_required": true,
|
264
262
|
"type": "string",
|
265
263
|
"value_allowed_null": true
|
266
264
|
},
|
267
265
|
{
|
268
266
|
"disabled": false,
|
269
267
|
"document": "人像渐变输出的结果MD5,用于校验\n注意:此字段可能返回 null,表示取不到有效值。",
|
270
|
-
"example": "",
|
268
|
+
"example": "31CDA040BA0F1CE7C59DB3F0B3334AA8",
|
271
269
|
"member": "string",
|
272
270
|
"name": "MorphMd5",
|
273
|
-
"
|
271
|
+
"output_required": true,
|
274
272
|
"type": "string",
|
275
273
|
"value_allowed_null": true
|
276
274
|
},
|
277
275
|
{
|
278
276
|
"disabled": false,
|
279
277
|
"document": "人像渐变输出的结果封面图base64字符串\n注意:此字段可能返回 null,表示取不到有效值。",
|
280
|
-
"example": "",
|
278
|
+
"example": "https://liudehua-9527.cos.ap-guangzhou.myqcloud.com/input.jpeg",
|
281
279
|
"member": "string",
|
282
280
|
"name": "CoverImage",
|
283
|
-
"
|
281
|
+
"output_required": true,
|
284
282
|
"type": "string",
|
285
283
|
"value_allowed_null": true
|
286
284
|
}
|
@@ -339,22 +337,20 @@
|
|
339
337
|
{
|
340
338
|
"disabled": false,
|
341
339
|
"document": "选择转换方向,0:男变女,1:女变男。",
|
342
|
-
"example": "",
|
340
|
+
"example": "1",
|
343
341
|
"member": "int64",
|
344
342
|
"name": "Gender",
|
345
343
|
"required": true,
|
346
|
-
"type": "int"
|
347
|
-
"value_allowed_null": false
|
344
|
+
"type": "int"
|
348
345
|
},
|
349
346
|
{
|
350
347
|
"disabled": false,
|
351
348
|
"document": "人脸框位置。若不输入则选择 Image 或 Url 中面积最大的人脸。 \n您可以通过 [人脸检测与分析](https://cloud.tencent.com/document/api/867/32800) 接口获取人脸框位置信息。",
|
352
|
-
"example": "",
|
349
|
+
"example": "{\"X\": 10, \"Y\": 10, \"Width\": 20, \"Height\": 20}",
|
353
350
|
"member": "FaceRect",
|
354
351
|
"name": "FaceRect",
|
355
352
|
"required": false,
|
356
|
-
"type": "object"
|
357
|
-
"value_allowed_null": false
|
353
|
+
"type": "object"
|
358
354
|
}
|
359
355
|
],
|
360
356
|
"usage": "in"
|
@@ -365,22 +361,20 @@
|
|
365
361
|
{
|
366
362
|
"disabled": false,
|
367
363
|
"document": "图片的展示时长,即单张图片静止不变的时间。GIF默认每张图片0.7s,视频默认每张图片0.5s。最大取值1s。",
|
368
|
-
"example": "",
|
364
|
+
"example": "0.5",
|
369
365
|
"member": "float",
|
370
366
|
"name": "Tempo",
|
371
367
|
"required": false,
|
372
|
-
"type": "float"
|
373
|
-
"value_allowed_null": false
|
368
|
+
"type": "float"
|
374
369
|
},
|
375
370
|
{
|
376
371
|
"disabled": false,
|
377
372
|
"document": "人像渐变的最长时间,即单张图片使用渐变特效的时间。 GIF默认值为0.5s,视频默值认为1s。最大取值1s。",
|
378
|
-
"example": "",
|
373
|
+
"example": "0.5",
|
379
374
|
"member": "float",
|
380
375
|
"name": "MorphTime",
|
381
376
|
"required": false,
|
382
|
-
"type": "float"
|
383
|
-
"value_allowed_null": false
|
377
|
+
"type": "float"
|
384
378
|
}
|
385
379
|
],
|
386
380
|
"usage": "in"
|
@@ -391,7 +385,7 @@
|
|
391
385
|
{
|
392
386
|
"disabled": false,
|
393
387
|
"document": "图片 base64 数据,base64 编码后大小不可超过5M。 \njpg格式长边像素不可超过4000,其他格式图片长边像素不可超2000。 \n人员人脸总数量至少2张,不可超过5张。 \n若图片中包含多张人脸,只选取其中人脸面积最大的人脸。 \n支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。",
|
394
|
-
"example": "
|
388
|
+
"example": "[\"/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z\"]",
|
395
389
|
"member": "string",
|
396
390
|
"name": "Images",
|
397
391
|
"required": false,
|
@@ -400,7 +394,7 @@
|
|
400
394
|
{
|
401
395
|
"disabled": false,
|
402
396
|
"document": "图片的 Url 。对应图片 base64 编码后大小不可超过5M。jpg格式长边像素不可超过4000,其他格式图片长边像素不可超2000。 \nUrl、Image必须提供一个,如果都提供,只使用 Url。图片存储于腾讯云的Url可保障更高下载速度和稳定性,建议图片存储于腾讯云。 \n非腾讯云存储的Url速度和稳定性可能受一定影响。 \n支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。 \n人员人脸总数量不可超过5张。 \n若图片中包含多张人脸,只选取其中人脸面积最大的人脸。",
|
403
|
-
"example": "[\"
|
397
|
+
"example": "[\"https://liudehua-9527.cos.ap-guangzhou.myqcloud.com/input.jpeg\"]",
|
404
398
|
"member": "string",
|
405
399
|
"name": "Urls",
|
406
400
|
"required": false,
|
@@ -409,7 +403,7 @@
|
|
409
403
|
{
|
410
404
|
"disabled": false,
|
411
405
|
"document": "人脸渐变参数。可调整每张图片的展示时长、人像渐变的最长时间",
|
412
|
-
"example": "
|
406
|
+
"example": "[{\"Tempo\": 0.5, \"MorphTime\": 0.5}]",
|
413
407
|
"member": "GradientInfo",
|
414
408
|
"name": "GradientInfos",
|
415
409
|
"required": false,
|
@@ -436,7 +430,7 @@
|
|
436
430
|
{
|
437
431
|
"disabled": false,
|
438
432
|
"document": "视频宽度,取值[128,1280]。默认值720",
|
439
|
-
"example": "
|
433
|
+
"example": "128",
|
440
434
|
"member": "int64",
|
441
435
|
"name": "OutputWidth",
|
442
436
|
"required": false,
|
@@ -445,7 +439,7 @@
|
|
445
439
|
{
|
446
440
|
"disabled": false,
|
447
441
|
"document": "视频高度,取值[128,1280]。默认值1280",
|
448
|
-
"example": "
|
442
|
+
"example": "128",
|
449
443
|
"member": "int64",
|
450
444
|
"name": "OutputHeight",
|
451
445
|
"required": false,
|
@@ -463,7 +457,7 @@
|
|
463
457
|
"example": "HQ3tBY79dsKl65ob",
|
464
458
|
"member": "string",
|
465
459
|
"name": "JobId",
|
466
|
-
"
|
460
|
+
"output_required": true,
|
467
461
|
"type": "string",
|
468
462
|
"value_allowed_null": false
|
469
463
|
},
|
@@ -473,7 +467,7 @@
|
|
473
467
|
"example": "30",
|
474
468
|
"member": "int64",
|
475
469
|
"name": "EstimatedProcessTime",
|
476
|
-
"
|
470
|
+
"output_required": true,
|
477
471
|
"type": "int",
|
478
472
|
"value_allowed_null": false
|
479
473
|
},
|
@@ -510,17 +504,17 @@
|
|
510
504
|
"example": "处理完成",
|
511
505
|
"member": "string",
|
512
506
|
"name": "JobStatus",
|
513
|
-
"
|
507
|
+
"output_required": true,
|
514
508
|
"type": "string",
|
515
509
|
"value_allowed_null": false
|
516
510
|
},
|
517
511
|
{
|
518
512
|
"disabled": false,
|
519
513
|
"document": "人像渐变输出的结果信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
520
|
-
"example": "
|
514
|
+
"example": "{\"MorphUrl\":\"https://liudehua-9527.cos.ap-guangzhou.myqcloud.com/result.jpeg?q-sign-algorithm=sha1&q-ak=AKID********EXAMPLE&q-sign-time=8888;9999&q-key-time=8888;9999&q-header-list=&q-url-param-list=&q-signature=7de87f7bf9cfd23df9da32f46661e7cf97a5603c\",\"MorphMd5\":\"31CDA040BA0F1CE7C59DB3F0B3334AA8\",\"CoverImage\":\"\"}",
|
521
515
|
"member": "FaceMorphOutput",
|
522
516
|
"name": "FaceMorphOutput",
|
523
|
-
"
|
517
|
+
"output_required": true,
|
524
518
|
"type": "object",
|
525
519
|
"value_allowed_null": true
|
526
520
|
},
|
@@ -530,7 +524,7 @@
|
|
530
524
|
"example": "1",
|
531
525
|
"member": "int64",
|
532
526
|
"name": "JobStatusCode",
|
533
|
-
"
|
527
|
+
"output_required": true,
|
534
528
|
"type": "int",
|
535
529
|
"value_allowed_null": true
|
536
530
|
},
|
@@ -549,7 +543,7 @@
|
|
549
543
|
{
|
550
544
|
"disabled": false,
|
551
545
|
"document": "人脸转化性别信息。 \n您可以输入最多3个 GenderInfo 来实现给一张图中的最多3张人脸转换性别。",
|
552
|
-
"example": "",
|
546
|
+
"example": "[{\"Gender\": 1, \"FaceRect\": {\"X\": 10, \"Y\": 10, \"Width\": 20, \"Height\": 20}}]",
|
553
547
|
"member": "GenderInfo",
|
554
548
|
"name": "GenderInfos",
|
555
549
|
"required": true,
|
@@ -558,7 +552,7 @@
|
|
558
552
|
{
|
559
553
|
"disabled": false,
|
560
554
|
"document": "图片 base64 数据,base64 编码后大小不可超过5M。 \n支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。",
|
561
|
-
"example": "",
|
555
|
+
"example": "/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z",
|
562
556
|
"member": "string",
|
563
557
|
"name": "Image",
|
564
558
|
"required": false,
|
@@ -567,7 +561,7 @@
|
|
567
561
|
{
|
568
562
|
"disabled": false,
|
569
563
|
"document": "图片的 Url ,对应图片 base64 编码后大小不可超过5M。 \n图片的 Url、Image必须提供一个,如果都提供,只使用 Url。 \n图片存储于腾讯云的 Url 可保障更高下载速度和稳定性,建议图片存储于腾讯云。 \n非腾讯云存储的Url速度和稳定性可能受一定影响。 \n支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。",
|
570
|
-
"example": "",
|
564
|
+
"example": "https://liudehua-9527.cos.ap-guangzhou.myqcloud.com/input.jpeg",
|
571
565
|
"member": "string",
|
572
566
|
"name": "Url",
|
573
567
|
"required": false,
|
@@ -576,7 +570,7 @@
|
|
576
570
|
{
|
577
571
|
"disabled": false,
|
578
572
|
"document": "返回图像方式(base64 或 url ) ,二选一。url有效期为1天。",
|
579
|
-
"example": "",
|
573
|
+
"example": "url",
|
580
574
|
"member": "string",
|
581
575
|
"name": "RspImgType",
|
582
576
|
"required": false,
|
@@ -591,18 +585,20 @@
|
|
591
585
|
{
|
592
586
|
"disabled": false,
|
593
587
|
"document": "RspImgType 为 base64 时,返回处理后的图片 base64 数据。默认返回base64",
|
594
|
-
"example": "",
|
588
|
+
"example": "/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z",
|
595
589
|
"member": "string",
|
596
590
|
"name": "ResultImage",
|
591
|
+
"output_required": true,
|
597
592
|
"type": "string",
|
598
593
|
"value_allowed_null": false
|
599
594
|
},
|
600
595
|
{
|
601
596
|
"disabled": false,
|
602
597
|
"document": "RspImgType 为 url 时,返回处理后的图片 url 数据。",
|
603
|
-
"example": "",
|
598
|
+
"example": "https://liudehua-9527.cos.ap-guangzhou.myqcloud.com/result.jpeg?q-sign-algorithm=sha1&q-ak=AKID********EXAMPLE&q-sign-time=8888;9999&q-key-time=8888;9999&q-header-list=&q-url-param-list=&q-signature=7de87f7bf9cfd23df9da32f46661e7cf97a5603c",
|
604
599
|
"member": "string",
|
605
600
|
"name": "ResultUrl",
|
601
|
+
"output_required": true,
|
606
602
|
"type": "string",
|
607
603
|
"value_allowed_null": false
|
608
604
|
},
|
@@ -2,8 +2,8 @@
|
|
2
2
|
"actions": {
|
3
3
|
"CancelFaceMorphJob": [
|
4
4
|
{
|
5
|
-
"document": "",
|
6
|
-
"input": "
|
5
|
+
"document": "取消任务",
|
6
|
+
"input": "POST / HTTP/1.1\nHost: ft.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CancelFaceMorphJob\n<公共请求参数>\n\n{\n \"JobId\": \"Iyjz4Rj3OCt5Az91\"\n}",
|
7
7
|
"output": "{\n \"Response\": {\n \"RequestId\": \"ea89354b-209d-4abf-ba04-eef6d4e664f3\"\n }\n}",
|
8
8
|
"title": "调用返回成功"
|
9
9
|
}
|
@@ -11,35 +11,35 @@
|
|
11
11
|
"ChangeAgePic": [
|
12
12
|
{
|
13
13
|
"document": "",
|
14
|
-
"input": "
|
14
|
+
"input": "POST / HTTP/1.1\nHost: ft.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ChangeAgePic\n<公共请求参数>\n\n{\n \"Image\": \"/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z\",\n \"AgeInfos\": [\n {\n \"Age\": 10,\n \"FaceRect\": {\n \"X\": 10,\n \"Y\": 10,\n \"Width\": 20,\n \"Height\": 20\n }\n }\n ]\n}",
|
15
15
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameterValue.ParameterValueError\",\n \"Message\": \"参数字段或者值有误。\"\n },\n \"RequestId\": \"b68b7c3a-410d-4af1-b63c-97450683b09b\"\n }\n}",
|
16
16
|
"title": "调用返回失败"
|
17
17
|
},
|
18
18
|
{
|
19
19
|
"document": "",
|
20
|
-
"input": "
|
21
|
-
"output": "{\n \"Response\": {\n \"ResultImage\": \"
|
20
|
+
"input": "POST / HTTP/1.1\nHost: ft.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ChangeAgePic\n<公共请求参数>\n\n{\n \"Image\": \"/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z\",\n \"AgeInfos\": [\n {\n \"Age\": 10,\n \"FaceRect\": {\n \"X\": 10,\n \"Y\": 10,\n \"Width\": 20,\n \"Height\": 20\n }\n }\n ]\n}",
|
21
|
+
"output": "{\n \"Response\": {\n \"ResultImage\": \"/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z\",\n \"ResultUrl\": \"\",\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
|
22
22
|
"title": "调用返回成功"
|
23
23
|
}
|
24
24
|
],
|
25
25
|
"FaceCartoonPic": [
|
26
26
|
{
|
27
27
|
"document": "",
|
28
|
-
"input": "
|
28
|
+
"input": "POST / HTTP/1.1\nHost: ft.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: FaceCartoonPic\n<公共请求参数>\n\n{\n \"Image\": \"/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z\",\n \"Url\": \"https://liudehua-9527.cos.ap-guangzhou.myqcloud.com/input.jpeg\",\n \"RspImgType\": \"url\"\n}",
|
29
29
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameterValue.ParameterValueError\",\n \"Message\": \"参数字段或者值有误。\"\n },\n \"RequestId\": \"b68b7c3a-410d-4af1-b63c-97450683b09b\"\n }\n}",
|
30
30
|
"title": "调用返回失败"
|
31
31
|
},
|
32
32
|
{
|
33
33
|
"document": "",
|
34
|
-
"input": "
|
35
|
-
"output": "{\n \"Response\": {\n \"ResultImage\": \"
|
34
|
+
"input": "POST / HTTP/1.1\nHost: ft.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: FaceCartoonPic\n<公共请求参数>\n\n{\n \"Image\": \"/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z\",\n \"Url\": \"https://cos.ap-singapore.myqcloud.com/input.png\",\n \"RspImgType\": \"url\"\n}",
|
35
|
+
"output": "{\n \"Response\": {\n \"ResultImage\": \"\",\n \"ResultUrl\": \"https://liudehua-9527.cos.ap-guangzhou.myqcloud.com/result.jpeg?q-sign-algorithm=sha1&q-ak=AKID********EXAMPLE&q-sign-time=8888;9999&q-key-time=8888;9999&q-header-list=&q-url-param-list=&q-signature=7de87f7bf9cfd23df9da32f46661e7cf97a5603c\",\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
|
36
36
|
"title": "调用返回成功"
|
37
37
|
}
|
38
38
|
],
|
39
39
|
"MorphFace": [
|
40
40
|
{
|
41
41
|
"document": "",
|
42
|
-
"input": "
|
42
|
+
"input": "POST / HTTP/1.1\nHost: ft.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: MorphFace\n<公共请求参数>\n\n{\n \"Urls\": [\n \"https://liudehua-9527.cos.ap-guangzhou.myqcloud.com/input1.jpeg\",\n \"https://liudehua-9527.cos.ap-guangzhou.myqcloud.com/input2.jpeg\"\n ],\n \"GradientInfos\": [\n {\n \"Tempo\": 2,\n \"MorphTime\": 1\n }\n ],\n \"Fps\": 10,\n \"OutputType\": 0\n}",
|
43
43
|
"output": "{\n \"Response\": {\n \"JobId\": \"HQ3tBY79dsKl65ob\",\n \"EstimatedProcessTime\": 30,\n \"RequestId\": \"327cd4c8-e544-43db-ba0c-3afda873ac73\"\n }\n}",
|
44
44
|
"title": "调用返回成功"
|
45
45
|
}
|
@@ -47,22 +47,22 @@
|
|
47
47
|
"QueryFaceMorphJob": [
|
48
48
|
{
|
49
49
|
"document": "",
|
50
|
-
"input": "
|
51
|
-
"output": "{\n \"Response\": {\n \"JobStatusCode\": 7,\n \"JobStatus\": \"处理完成\",\n \"FaceMorphOutput\": {\n \"MorphUrl\": \"
|
50
|
+
"input": "POST / HTTP/1.1\nHost: ft.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: QueryFaceMorphJob\n<公共请求参数>\n\n{\n \"JobId\": \"Iyjz4Rj3OCt5Az9a\"\n}",
|
51
|
+
"output": "{\n \"Response\": {\n \"JobStatusCode\": 7,\n \"JobStatus\": \"处理完成\",\n \"FaceMorphOutput\": {\n \"MorphUrl\": \"https://liudehua-9527.cos.ap-guangzhou.myqcloud.com/result.jpeg?q-sign-algorithm=sha1&q-ak=AKID********EXAMPLE&q-sign-time=8888;9999&q-key-time=8888;9999&q-header-list=&q-url-param-list=&q-signature=7de87f7bf9cfd23df9da32f46661e7cf97a5603c\",\n \"MorphMd5\": \"31CDA040BA0F1CE7C59DB3F0B3334AA8\",\n \"CoverImage\": \"\"\n },\n \"RequestId\": \"a2924747-04ca-4810-827d-8d2bd42d45ea\"\n }\n}",
|
52
52
|
"title": "调用返回成功"
|
53
53
|
}
|
54
54
|
],
|
55
55
|
"SwapGenderPic": [
|
56
56
|
{
|
57
57
|
"document": "",
|
58
|
-
"input": "
|
58
|
+
"input": "POST / HTTP/1.1\nHost: ft.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SwapGenderPic\n<公共请求参数>\n\n{\n \"Image\": \"/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z\",\n \"GenderInfos\": [\n {\n \"Gender\": 1,\n \"FaceRect\": {\n \"X\": 10,\n \"Y\": 10,\n \"Width\": 20,\n \"Height\": 20\n }\n }\n ],\n \"RspImgType\": \"url\"\n}",
|
59
59
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameterValue.ParameterValueError\",\n \"Message\": \"参数字段或者值有误。\"\n },\n \"RequestId\": \"b68b7c3a-410d-4af1-b63c-97450683b09b\"\n }\n}",
|
60
60
|
"title": "调用返回失败"
|
61
61
|
},
|
62
62
|
{
|
63
63
|
"document": "",
|
64
|
-
"input": "
|
65
|
-
"output": "{\n \"Response\": {\n \"ResultImage\": \"
|
64
|
+
"input": "POST / HTTP/1.1\nHost: ft.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SwapGenderPic\n<公共请求参数>\n\n{\n \"Image\": \"/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z\",\n \"GenderInfos\": [\n {\n \"Gender\": 1,\n \"FaceRect\": {\n \"X\": 10,\n \"Y\": 10,\n \"Width\": 20,\n \"Height\": 20\n }\n }\n ],\n \"RspImgType\": \"url\"\n}",
|
65
|
+
"output": "{\n \"Response\": {\n \"ResultImage\": \"\",\n \"ResultUrl\": \"https://liudehua-9527.cos.ap-guangzhou.myqcloud.com/result.jpeg?q-sign-algorithm=sha1&q-ak=AKID********EXAMPLE&q-sign-time=8888;9999&q-key-time=8888;9999&q-header-list=&q-url-param-list=&q-signature=7de87f7bf9cfd23df9da32f46661e7cf97a5603c\",\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
|
66
66
|
"title": "调用返回成功"
|
67
67
|
}
|
68
68
|
]
|
@@ -282,10 +282,10 @@
|
|
282
282
|
{
|
283
283
|
"disabled": false,
|
284
284
|
"document": "实时语音统计数据\n注意:此字段可能返回 null,表示取不到有效值。",
|
285
|
-
"example": "{\"MainLandPcu\":
|
285
|
+
"example": "{\"MainLandPcu\":1,\"OverseaDuration\":1,\"OverseaPcu\":1,\"OverseaDau\":1,\"MainLandDuration\":1,\"MainLandDau\":1}",
|
286
286
|
"member": "RealTimeSpeechStatisticsItem",
|
287
287
|
"name": "RealtimeSpeechStatisticsItem",
|
288
|
-
"
|
288
|
+
"output_required": true,
|
289
289
|
"type": "object",
|
290
290
|
"value_allowed_null": true
|
291
291
|
},
|
@@ -295,7 +295,7 @@
|
|
295
295
|
"example": "{\"Dau\":1018}",
|
296
296
|
"member": "VoiceMessageStatisticsItem",
|
297
297
|
"name": "VoiceMessageStatisticsItem",
|
298
|
-
"
|
298
|
+
"output_required": true,
|
299
299
|
"type": "object",
|
300
300
|
"value_allowed_null": true
|
301
301
|
},
|
@@ -305,7 +305,7 @@
|
|
305
305
|
"example": "{\"Duration\" : 18000}",
|
306
306
|
"member": "VoiceFilterStatisticsItem",
|
307
307
|
"name": "VoiceFilterStatisticsItem",
|
308
|
-
"
|
308
|
+
"output_required": true,
|
309
309
|
"type": "object",
|
310
310
|
"value_allowed_null": true
|
311
311
|
},
|
@@ -315,7 +315,7 @@
|
|
315
315
|
"example": "2022-10-01",
|
316
316
|
"member": "date",
|
317
317
|
"name": "Date",
|
318
|
-
"
|
318
|
+
"output_required": true,
|
319
319
|
"type": "string",
|
320
320
|
"value_allowed_null": false
|
321
321
|
},
|
@@ -325,7 +325,7 @@
|
|
325
325
|
"example": "{\"Data\":0}",
|
326
326
|
"member": "AudioTextStatisticsItem",
|
327
327
|
"name": "AudioTextStatisticsItem",
|
328
|
-
"
|
328
|
+
"output_required": true,
|
329
329
|
"type": "object",
|
330
330
|
"value_allowed_null": true
|
331
331
|
},
|
@@ -335,7 +335,7 @@
|
|
335
335
|
"example": "{\"Data\":0}",
|
336
336
|
"member": "StreamTextStatisticsItem",
|
337
337
|
"name": "StreamTextStatisticsItem",
|
338
|
-
"
|
338
|
+
"output_required": true,
|
339
339
|
"type": "object",
|
340
340
|
"value_allowed_null": true
|
341
341
|
},
|
@@ -345,7 +345,7 @@
|
|
345
345
|
"example": "{\"Data\":0}",
|
346
346
|
"member": "OverseaTextStatisticsItem",
|
347
347
|
"name": "OverseaTextStatisticsItem",
|
348
|
-
"
|
348
|
+
"output_required": true,
|
349
349
|
"type": "object",
|
350
350
|
"value_allowed_null": true
|
351
351
|
},
|
@@ -355,7 +355,7 @@
|
|
355
355
|
"example": "{\"Data\":0}",
|
356
356
|
"member": "RealtimeTextStatisticsItem",
|
357
357
|
"name": "RealtimeTextStatisticsItem",
|
358
|
-
"
|
358
|
+
"output_required": true,
|
359
359
|
"type": "object",
|
360
360
|
"value_allowed_null": true
|
361
361
|
}
|
@@ -1143,7 +1143,7 @@
|
|
1143
1143
|
{
|
1144
1144
|
"disabled": false,
|
1145
1145
|
"document": "应用id",
|
1146
|
-
"example": "
|
1146
|
+
"example": "1400000000",
|
1147
1147
|
"member": "uint64",
|
1148
1148
|
"name": "BizId",
|
1149
1149
|
"required": true,
|
@@ -1151,12 +1151,21 @@
|
|
1151
1151
|
},
|
1152
1152
|
{
|
1153
1153
|
"disabled": false,
|
1154
|
-
"document": "
|
1154
|
+
"document": "要剔除的用户列表(整型)",
|
1155
1155
|
"example": "[\"1\\r\\n\",\"2\\r\\n\"]",
|
1156
1156
|
"member": "string",
|
1157
1157
|
"name": "Uids",
|
1158
1158
|
"required": false,
|
1159
1159
|
"type": "list"
|
1160
|
+
},
|
1161
|
+
{
|
1162
|
+
"disabled": false,
|
1163
|
+
"document": "要剔除的用户列表(字符串类型)",
|
1164
|
+
"example": "[\"Andy\",\"John\"]",
|
1165
|
+
"member": "string",
|
1166
|
+
"name": "StrUids",
|
1167
|
+
"required": false,
|
1168
|
+
"type": "list"
|
1160
1169
|
}
|
1161
1170
|
],
|
1162
1171
|
"type": "object"
|
@@ -1170,6 +1179,7 @@
|
|
1170
1179
|
"example": "无",
|
1171
1180
|
"member": "DeleteResult",
|
1172
1181
|
"name": "DeleteResult",
|
1182
|
+
"output_required": true,
|
1173
1183
|
"type": "object",
|
1174
1184
|
"value_allowed_null": false
|
1175
1185
|
},
|
@@ -43,7 +43,7 @@
|
|
43
43
|
"DeleteRoomMember": [
|
44
44
|
{
|
45
45
|
"document": "剔除房间内某两个用户",
|
46
|
-
"input": "POST / HTTP/1.1\nHost: gme.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteRoomMember\n<公共请求参数>\n\n{\n \"DeleteType\": \"2\",\n \"RoomId\": \"100\",\n \"BizId\": \"
|
46
|
+
"input": "POST / HTTP/1.1\nHost: gme.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteRoomMember\n<公共请求参数>\n\n{\n \"DeleteType\": \"2\",\n \"RoomId\": \"100\",\n \"BizId\": \"1400000000\",\n \"Uids\": [\n \"2\",\n \"1\"\n ],\n \"StrUids\": []\n}",
|
47
47
|
"output": "{\n \"Response\": {\n \"RequestId\": \"dfe39c29-ce97-44df-ba79-7d947d465694\",\n \"DeleteResult\": {\n \"Code\": 0,\n \"ErrorMsg\": \"\"\n }\n }\n}",
|
48
48
|
"title": "剔除房间内某两个用户"
|
49
49
|
}
|