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
@@ -113,7 +113,7 @@
|
|
113
113
|
"status": "online"
|
114
114
|
},
|
115
115
|
"SegmentPortraitPic": {
|
116
|
-
"document": "
|
116
|
+
"document": "即二分类人像分割,识别传入图片中人体的完整轮廓,进行抠像。",
|
117
117
|
"input": "SegmentPortraitPicRequest",
|
118
118
|
"name": "人像分割",
|
119
119
|
"output": "SegmentPortraitPicResponse",
|
@@ -672,7 +672,7 @@
|
|
672
672
|
{
|
673
673
|
"disabled": false,
|
674
674
|
"document": "需要分割的视频URL,可外网访问。",
|
675
|
-
"example": "
|
675
|
+
"example": "https://liudehua-9527.cos.ap-guangzhou.myqcloud.com/input.mp4",
|
676
676
|
"member": "string",
|
677
677
|
"name": "VideoUrl",
|
678
678
|
"required": true,
|
@@ -681,7 +681,7 @@
|
|
681
681
|
{
|
682
682
|
"disabled": false,
|
683
683
|
"document": "背景图片URL。 \n可以将视频背景替换为输入的图片。 \n如果不输入背景图片,则输出人像区域mask。",
|
684
|
-
"example": "
|
684
|
+
"example": "https://liudehua-9527.cos.ap-guangzhou.myqcloud.com/input.jpeg",
|
685
685
|
"member": "string",
|
686
686
|
"name": "BackgroundImageUrl",
|
687
687
|
"required": false,
|
@@ -690,7 +690,7 @@
|
|
690
690
|
{
|
691
691
|
"disabled": false,
|
692
692
|
"document": "预留字段,后期用于展示更多识别信息。",
|
693
|
-
"example": "
|
693
|
+
"example": "{\"X-TEST\": \"test\"}",
|
694
694
|
"member": "string",
|
695
695
|
"name": "Config",
|
696
696
|
"required": false,
|
@@ -705,10 +705,10 @@
|
|
705
705
|
{
|
706
706
|
"disabled": false,
|
707
707
|
"document": "任务标识ID,可以用与追溯任务状态,查看任务结果",
|
708
|
-
"example": "
|
708
|
+
"example": "1243358054699911111",
|
709
709
|
"member": "string",
|
710
710
|
"name": "TaskID",
|
711
|
-
"
|
711
|
+
"output_required": true,
|
712
712
|
"type": "string",
|
713
713
|
"value_allowed_null": false
|
714
714
|
},
|
@@ -718,7 +718,7 @@
|
|
718
718
|
"example": "30",
|
719
719
|
"member": "float",
|
720
720
|
"name": "EstimatedProcessingTime",
|
721
|
-
"
|
721
|
+
"output_required": true,
|
722
722
|
"type": "float",
|
723
723
|
"value_allowed_null": false
|
724
724
|
},
|
@@ -867,7 +867,7 @@
|
|
867
867
|
{
|
868
868
|
"disabled": false,
|
869
869
|
"document": "在提交分割任务成功时返回的任务标识ID。",
|
870
|
-
"example": "",
|
870
|
+
"example": "12433580546999111111",
|
871
871
|
"member": "string",
|
872
872
|
"name": "TaskID",
|
873
873
|
"required": true,
|
@@ -882,45 +882,50 @@
|
|
882
882
|
{
|
883
883
|
"disabled": false,
|
884
884
|
"document": "当前任务状态:\nQUEUING 排队中\nPROCESSING 处理中\nFINISHED 处理完成",
|
885
|
-
"example": "",
|
885
|
+
"example": "PROCESSING",
|
886
886
|
"member": "string",
|
887
887
|
"name": "TaskStatus",
|
888
|
+
"output_required": true,
|
888
889
|
"type": "string",
|
889
890
|
"value_allowed_null": false
|
890
891
|
},
|
891
892
|
{
|
892
893
|
"disabled": false,
|
893
894
|
"document": "分割后视频URL, 存储于腾讯云COS\n注意:此字段可能返回 null,表示取不到有效值。",
|
894
|
-
"example": "",
|
895
|
+
"example": "https://liudehua-9527.cos.ap-guangzhou.myqcloud.com/result.mp4?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",
|
895
896
|
"member": "string",
|
896
897
|
"name": "ResultVideoUrl",
|
898
|
+
"output_required": true,
|
897
899
|
"type": "string",
|
898
900
|
"value_allowed_null": true
|
899
901
|
},
|
900
902
|
{
|
901
903
|
"disabled": false,
|
902
904
|
"document": "分割后视频MD5,用于校验\n注意:此字段可能返回 null,表示取不到有效值。",
|
903
|
-
"example": "",
|
905
|
+
"example": "4972F083D7F05E9474FDFA52AA616DEE",
|
904
906
|
"member": "string",
|
905
907
|
"name": "ResultVideoMD5",
|
908
|
+
"output_required": true,
|
906
909
|
"type": "string",
|
907
910
|
"value_allowed_null": true
|
908
911
|
},
|
909
912
|
{
|
910
913
|
"disabled": false,
|
911
914
|
"document": "视频基本信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
912
|
-
"example": "",
|
915
|
+
"example": "{\"FrameWidth\":720,\"FrameHeight\":1280,\"FramesPerSecond\":29,\"Duration\":0,\"TotalFrames\":439}",
|
913
916
|
"member": "VideoBasicInformation",
|
914
917
|
"name": "VideoBasicInformation",
|
918
|
+
"output_required": true,
|
915
919
|
"type": "object",
|
916
920
|
"value_allowed_null": true
|
917
921
|
},
|
918
922
|
{
|
919
923
|
"disabled": false,
|
920
924
|
"document": "分割任务错误信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
921
|
-
"example": "",
|
925
|
+
"example": "video error",
|
922
926
|
"member": "string",
|
923
927
|
"name": "ErrorMsg",
|
928
|
+
"output_required": true,
|
924
929
|
"type": "string",
|
925
930
|
"value_allowed_null": true
|
926
931
|
},
|
@@ -1778,7 +1783,7 @@
|
|
1778
1783
|
{
|
1779
1784
|
"disabled": false,
|
1780
1785
|
"document": "此参数为分割选项,请根据需要选择自己所想从图片中分割的部分。注意所有选项均为非必选,如未选择则值默认为false, 但是必须要保证多于一个选项的描述为true。",
|
1781
|
-
"example": "{",
|
1786
|
+
"example": "{\"Background\": false}",
|
1782
1787
|
"member": "SegmentationOptions",
|
1783
1788
|
"name": "SegmentationOptions",
|
1784
1789
|
"required": true,
|
@@ -1787,7 +1792,7 @@
|
|
1787
1792
|
{
|
1788
1793
|
"disabled": false,
|
1789
1794
|
"document": "图片 base64 数据,base64 编码后大小不可超过5M。\n图片分辨率须小于2000*2000。 \n支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。",
|
1790
|
-
"example": "
|
1795
|
+
"example": "/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z",
|
1791
1796
|
"member": "string",
|
1792
1797
|
"name": "Image",
|
1793
1798
|
"required": false,
|
@@ -1796,7 +1801,7 @@
|
|
1796
1801
|
{
|
1797
1802
|
"disabled": false,
|
1798
1803
|
"document": "图片的 Url 。\nUrl、Image必须提供一个,如果都提供,只使用 Url。\n图片分辨率须小于2000*2000 ,图片 base64 编码后大小不可超过5M。 \n图片存储于腾讯云的Url可保障更高下载速度和稳定性,建议图片存储于腾讯云。 \n非腾讯云存储的Url速度和稳定性可能受一定影响。 \n支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。",
|
1799
|
-
"example": "
|
1804
|
+
"example": "https://liudehua-9527.cos.ap-guangzhou.myqcloud.com/input.jpeg",
|
1800
1805
|
"member": "string",
|
1801
1806
|
"name": "Url",
|
1802
1807
|
"required": false,
|
@@ -1811,27 +1816,30 @@
|
|
1811
1816
|
{
|
1812
1817
|
"disabled": false,
|
1813
1818
|
"document": "根据指定标签分割输出的透明背景人像图片的 base64 数据。",
|
1814
|
-
"example": "
|
1819
|
+
"example": "/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z",
|
1815
1820
|
"member": "string",
|
1816
1821
|
"name": "PortraitImage",
|
1822
|
+
"output_required": true,
|
1817
1823
|
"type": "string",
|
1818
1824
|
"value_allowed_null": false
|
1819
1825
|
},
|
1820
1826
|
{
|
1821
1827
|
"disabled": false,
|
1822
1828
|
"document": "指定标签处理后的Mask。一个通过 Base64 编码的文件,解码后文件由 Float 型浮点数组成。这些浮点数代表原图从左上角开始的每一行的每一个像素点,每一个浮点数的值是原图相应像素点位于人体轮廓内的置信度(0-1)转化的灰度值(0-255)",
|
1823
|
-
"example": "
|
1829
|
+
"example": "/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z",
|
1824
1830
|
"member": "string",
|
1825
1831
|
"name": "MaskImage",
|
1832
|
+
"output_required": true,
|
1826
1833
|
"type": "string",
|
1827
1834
|
"value_allowed_null": false
|
1828
1835
|
},
|
1829
1836
|
{
|
1830
1837
|
"disabled": false,
|
1831
1838
|
"document": "坐标信息。\n注意:此字段可能返回 null,表示取不到有效值。",
|
1832
|
-
"example": "[{",
|
1839
|
+
"example": "[{\"Y\":1,\"X\":2,\"Height\":3,\"Width\":4,\"Label\":\"Head\"}]",
|
1833
1840
|
"member": "ImageRect",
|
1834
1841
|
"name": "ImageRects",
|
1842
|
+
"output_required": true,
|
1835
1843
|
"type": "list",
|
1836
1844
|
"value_allowed_null": true
|
1837
1845
|
},
|
@@ -1850,7 +1858,7 @@
|
|
1850
1858
|
{
|
1851
1859
|
"disabled": false,
|
1852
1860
|
"document": "图片 base64 数据,base64 编码后大小不可超过5M。\n图片分辨率须小于2000*2000。 \n支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。",
|
1853
|
-
"example": "
|
1861
|
+
"example": "/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z",
|
1854
1862
|
"member": "string",
|
1855
1863
|
"name": "Image",
|
1856
1864
|
"required": false,
|
@@ -1859,7 +1867,7 @@
|
|
1859
1867
|
{
|
1860
1868
|
"disabled": false,
|
1861
1869
|
"document": "图片的 Url 。\nUrl、Image必须提供一个,如果都提供,只使用 Url。\n图片分辨率须小于2000*2000 ,图片 base64 编码后大小不可超过5M。 \n图片存储于腾讯云的Url可保障更高下载速度和稳定性,建议图片存储于腾讯云。 \n非腾讯云存储的Url速度和稳定性可能受一定影响。 \n支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。",
|
1862
|
-
"example": "
|
1870
|
+
"example": "https://liudehua-9527.cos.ap-guangzhou.myqcloud.com/input.jpeg",
|
1863
1871
|
"member": "string",
|
1864
1872
|
"name": "Url",
|
1865
1873
|
"required": false,
|
@@ -1892,20 +1900,20 @@
|
|
1892
1900
|
{
|
1893
1901
|
"disabled": false,
|
1894
1902
|
"document": "处理后的图片 base64 数据,透明背景图。\n注意:此字段可能返回 null,表示取不到有效值。",
|
1895
|
-
"example": "
|
1903
|
+
"example": "/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z",
|
1896
1904
|
"member": "string",
|
1897
1905
|
"name": "ResultImage",
|
1898
|
-
"
|
1906
|
+
"output_required": true,
|
1899
1907
|
"type": "string",
|
1900
1908
|
"value_allowed_null": true
|
1901
1909
|
},
|
1902
1910
|
{
|
1903
1911
|
"disabled": false,
|
1904
1912
|
"document": "一个通过 base64 编码的文件,解码后文件由 Float 型浮点数组成。这些浮点数代表原图从左上角开始的每一行的每一个像素点,每一个浮点数的值是原图相应像素点位于人体轮廓内的置信度(0-1)转化的灰度值(0-255)。\n注意:此字段可能返回 null,表示取不到有效值。",
|
1905
|
-
"example": "
|
1913
|
+
"example": "/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z",
|
1906
1914
|
"member": "string",
|
1907
1915
|
"name": "ResultMask",
|
1908
|
-
"
|
1916
|
+
"output_required": true,
|
1909
1917
|
"type": "string",
|
1910
1918
|
"value_allowed_null": true
|
1911
1919
|
},
|
@@ -1915,27 +1923,27 @@
|
|
1915
1923
|
"example": "false",
|
1916
1924
|
"member": "bool",
|
1917
1925
|
"name": "HasForeground",
|
1918
|
-
"
|
1926
|
+
"output_required": true,
|
1919
1927
|
"type": "bool",
|
1920
1928
|
"value_allowed_null": true
|
1921
1929
|
},
|
1922
1930
|
{
|
1923
1931
|
"disabled": false,
|
1924
1932
|
"document": "支持将处理过的图片 base64 数据,透明背景图以Url的形式返回值,Url有效期为30分钟。\n注意:此字段可能返回 null,表示取不到有效值。",
|
1925
|
-
"example": "
|
1933
|
+
"example": "https://liudehua-9527.cos.ap-guangzhou.myqcloud.com/result.mp4?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",
|
1926
1934
|
"member": "string",
|
1927
1935
|
"name": "ResultImageUrl",
|
1928
|
-
"
|
1936
|
+
"output_required": true,
|
1929
1937
|
"type": "string",
|
1930
1938
|
"value_allowed_null": true
|
1931
1939
|
},
|
1932
1940
|
{
|
1933
1941
|
"disabled": false,
|
1934
1942
|
"document": "一个通过 base64 编码的文件,解码后文件由 Float 型浮点数组成。支持以Url形式的返回值;Url有效期为30分钟。\n注意:此字段可能返回 null,表示取不到有效值。",
|
1935
|
-
"example": "
|
1943
|
+
"example": "https://liudehua-9527.cos.ap-guangzhou.myqcloud.com/mask.mp4?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",
|
1936
1944
|
"member": "string",
|
1937
1945
|
"name": "ResultMaskUrl",
|
1938
|
-
"
|
1946
|
+
"output_required": true,
|
1939
1947
|
"type": "string",
|
1940
1948
|
"value_allowed_null": true
|
1941
1949
|
},
|
@@ -2170,7 +2178,7 @@
|
|
2170
2178
|
{
|
2171
2179
|
"disabled": false,
|
2172
2180
|
"document": "在提交分割任务成功时返回的任务标识ID。",
|
2173
|
-
"example": "",
|
2181
|
+
"example": "12433580546999111111",
|
2174
2182
|
"member": "string",
|
2175
2183
|
"name": "TaskID",
|
2176
2184
|
"required": true,
|
@@ -31,8 +31,8 @@
|
|
31
31
|
"CreateSegmentationTask": [
|
32
32
|
{
|
33
33
|
"document": "创建视频人像分割处理任务成功",
|
34
|
-
"input": "POST / HTTP/1.1\nHost: bda.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSegmentationTask\n<公共请求参数>\n\n{\n \"VideoUrl\": \"
|
35
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"33c35bff-27b6-408f-9ca7-19191303fa07\",\n \"TaskID\": \"
|
34
|
+
"input": "POST / HTTP/1.1\nHost: bda.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSegmentationTask\n<公共请求参数>\n\n{\n \"VideoUrl\": \"https://liudehua-9527.cos.ap-guangzhou.myqcloud.com/input.mp4\",\n \"BackgroundImageUrl\": \"https://liudehua-9527.cos.ap-guangzhou.myqcloud.com/input.jpeg\"\n}",
|
35
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"33c35bff-27b6-408f-9ca7-19191303fa07\",\n \"TaskID\": \"12433580546999611111\",\n \"EstimatedProcessingTime\": 30\n }\n}",
|
36
36
|
"title": "创建任务成功"
|
37
37
|
}
|
38
38
|
],
|
@@ -81,8 +81,8 @@
|
|
81
81
|
"DescribeSegmentationTask": [
|
82
82
|
{
|
83
83
|
"document": "查询视频人像分割处理任务成功",
|
84
|
-
"input": "POST / HTTP/1.1\nHost: bda.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSegmentationTask\n<公共请求参数>\n\n{\n \"TaskID\": \"
|
85
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"0352ed67-66b0-4515-a04f-ddc0ab129658\",\n \"TaskStatus\": \"FINISHED\",\n \"ErrorMsg\": \"\",\n \"ResultVideoUrl\": \"
|
84
|
+
"input": "POST / HTTP/1.1\nHost: bda.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSegmentationTask\n<公共请求参数>\n\n{\n \"TaskID\": \"12433580546999111111\"\n}",
|
85
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"0352ed67-66b0-4515-a04f-ddc0ab129658\",\n \"TaskStatus\": \"FINISHED\",\n \"ErrorMsg\": \"\",\n \"ResultVideoUrl\": \"https://liudehua-9527.cos.ap-guangzhou.myqcloud.com/result.mp4?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 \"ResultVideoMD5\": \"somemd5\",\n \"VideoBasicInformation\": {\n \"FrameWidth\": 1280,\n \"FrameHeight\": 590,\n \"FramesPerSecond\": 28,\n \"Duration\": 21,\n \"TotalFrames\": 630\n }\n }\n}",
|
86
86
|
"title": "查询任务成功"
|
87
87
|
}
|
88
88
|
],
|
@@ -195,13 +195,13 @@
|
|
195
195
|
"SegmentCustomizedPortraitPic": [
|
196
196
|
{
|
197
197
|
"document": "",
|
198
|
-
"input": "POST / HTTP/1.1\nHost: bda.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SegmentCustomizedPortraitPic\n<公共请求参数>\n\n{\n \"Url\": \"
|
198
|
+
"input": "POST / HTTP/1.1\nHost: bda.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SegmentCustomizedPortraitPic\n<公共请求参数>\n\n{\n \"Url\": \"https://liudehua-9527.cos.ap-guangzhou.myqcloud.com/input.jpeg\",\n \"SegmentationOptions\": {\n \"Background\": false\n }\n}",
|
199
199
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameterValue.UrlIllegal\",\n \"Message\": \"URL格式不合法。\"\n },\n \"RequestId\": \"46ed6f32-549f-4377-8116-2d55e4574528\"\n }\n}",
|
200
200
|
"title": "调用失败示例"
|
201
201
|
},
|
202
202
|
{
|
203
203
|
"document": "",
|
204
|
-
"input": "POST / HTTP/1.1\nHost: bda.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SegmentCustomizedPortraitPic\n<公共请求参数>\n\n{\n \"Url\": \"
|
204
|
+
"input": "POST / HTTP/1.1\nHost: bda.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SegmentCustomizedPortraitPic\n<公共请求参数>\n\n{\n \"Url\": \"https://liudehua-9527.cos.ap-guangzhou.myqcloud.com/input.jpeg\",\n \"SegmentationOptions\": {\n \"Head\": true\n }\n}",
|
205
205
|
"output": "{\n \"Response\": {\n \"PortraitImage\": \"iVBORw0KGgoAAAANSUhEUgAAAoAAAAHJCAYAAAAVcogaAAAgAElEQVR4AdThgZZlRRYYybpH3ELr/f/fNnm2D5FMVCcMXJVUdOvJzIXxGxUVlUNFZa3FoXKpXPqNd2aGo6LiqKiA4YXAoKLycqGicizkUpHfqRyuxVfJHzzEkVBxVFx7+K5ihIpriGOAiqPiGuKqOCquiqviqPgrFUfFVfHfonxS/pLKoXKttXin4h15T+VSOVQuFZW1Fmst1lqowHDsvThUVHBQUTmW37gqjoprZnhv8bNUDpWj4qhQOSoqZoaKimOKY2aomBkqKipUroqrAgcViL+j8vekEVj871J5R+VnVPwMlaOi4lBRgeHb64XGWou9N3tv1lqstVDZe6Oy92bvzVqLtRYqxyTHzDAzPM/D8zw8z0PF8zwcM0PFzFAxMxwzUHFUHCqHispVcVT8lYqr4qioqKj4aiE8IL9TOVQulb+TwzjkcFRcFcfMcFUcFd/14p2KQ+UrlWO/fkFFRWWthcpai6NCRUVF5auRT478TiqM38TMgB8wgR8c8cGK3wzw4lhrsffG...\",\n \"MaskImage\": \"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/wAALCAHJAoABAREA/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx...\",\n \"ImageRects\": [\n {\n \"Y\": 1,\n \"X\": 2,\n \"Height\": 3,\n \"Width\": 4,\n \"Label\": \"Head\"\n }\n ],\n \"RequestId\": \"07d71af0-d3af-4d36-8217-1e6836f38007\"\n }\n}",
|
206
206
|
"title": "调用成功示例"
|
207
207
|
}
|
@@ -209,13 +209,13 @@
|
|
209
209
|
"SegmentPortraitPic": [
|
210
210
|
{
|
211
211
|
"document": "",
|
212
|
-
"input": "POST / HTTP/1.1\nHost: bda.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SegmentPortraitPic\n<公共请求参数>\n\n{\n \"Url\": \"
|
212
|
+
"input": "POST / HTTP/1.1\nHost: bda.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SegmentPortraitPic\n<公共请求参数>\n\n{\n \"Url\": \"htttttps://liudehua-9527.cos.ap-guangzhou.myqcloud.com/input.jpeg\"\n}",
|
213
213
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameterValue.UrlIllegal\",\n \"Message\": \"URL格式不合法。\"\n },\n \"RequestId\": \"46ed6f32-549f-4377-8116-2d55e4574528\"\n }\n}",
|
214
214
|
"title": "调用失败示例"
|
215
215
|
},
|
216
216
|
{
|
217
217
|
"document": "",
|
218
|
-
"input": "POST / HTTP/1.1\nHost: bda.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SegmentPortraitPic\n<公共请求参数>\n\n{\n \"Url\": \"
|
218
|
+
"input": "POST / HTTP/1.1\nHost: bda.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SegmentPortraitPic\n<公共请求参数>\n\n{\n \"Url\": \"https://liudehua-9527.cos.ap-guangzhou.myqcloud.com/input.jpeg\",\n \"RspImgType\": \"base64\"\n}",
|
219
219
|
"output": "{\n \"Response\": {\n \"ResultImage\": \"iVBORw0KGgoAAAANSUhEUgAAAiYAAAFuCAYAAAC1LdPaAAAgAElEQVR4AbTB0ZJlyXUYy4g8DT1hICNl5P9/50WdFdJqWIJ7ioWahnDl7r/99me+MzM8VTwNh39FxWcqS+Wcw3cqLpUnlUtFZamorMPvqaiorJlBReWcg4rKUuk9/DMqKirWaVCpWBUVFRVXRcWTysi3KpbKUlkq68TfqaioLJWZQWWpqCyVz1SeVN7vN/+IgA4UIaui4vp4x1UxHlbFer//ylWxKr5SsSpWRULFk8pSUXlS+YrKUlkqS0VFZVUsFZWOLBUVFRWVpaKiUlGxVFR+eKioqFBRUVGZGb6jsSqeKtbM8KTyJN8757BUVkVFxTrn8KTyVKHypH...\",\n \"ResultMask\": \"...XWPBHiy5s9MsfGWqRxIlxe+DdQbyLK9a6lDSLpaFbtC21I3GK/okoooooooooooooooooooooooor+Qb/g73/bN1j4HfsbeCP2evCt7qum6x8e9cuDrN5YnT3spfDWi8T6bfrOHvImnnbfHJbKmQMM/av8AMAJJJJOSeST1J9TRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRXV+BvHPi/wCGni3QPHfgPxDqfhXxf4X1K11jQPEGjXUlnqWl6lZyrNbXdrcREPHLFIoYHocYIIJFf7FX/BAn9qf41fthf8E2fgz8Y/j74oXxl8RdRivtL1LxE1lBZXOow6XcPaW096tviOa8aKNTPcbVaaTLsMk1+0dFFFFFFFFFFFFFFFFFFFFFFFf5jX/B5jqOoSft8fCfTZL68fToPg3p88Fg9zO1lDPJqFwJJorUuYI5ZAAHkSMOwADE4r+Oyiiiiv/Z\",\n \"HasForeground\": true,\n \"ResultMaskUrl\": \"\",\n \"ResultImageUrl\": \"\",\n \"RequestId\": \"9cf173a5-4ae5-46fb-9898-6c876263780d\"\n }\n}",
|
220
220
|
"title": "调用成功示例"
|
221
221
|
}
|
@@ -223,7 +223,7 @@
|
|
223
223
|
"TerminateSegmentationTask": [
|
224
224
|
{
|
225
225
|
"document": "取消任务成功",
|
226
|
-
"input": "POST / HTTP/1.1\nHost: bda.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: TerminateSegmentationTask\n<公共请求参数>\n\n{\n \"TaskID\": \"
|
226
|
+
"input": "POST / HTTP/1.1\nHost: bda.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: TerminateSegmentationTask\n<公共请求参数>\n\n{\n \"TaskID\": \"12433580546999111111\"\n}",
|
227
227
|
"output": "{\n \"Response\": {\n \"RequestId\": \"0352ed67-66b0-4515-a04f-ddc0ab129658\"\n }\n}",
|
228
228
|
"title": "取消任务成功"
|
229
229
|
}
|