tccli 3.0.1215.1__py2.py3-none-any.whl → 3.0.1217.1__py2.py3-none-any.whl
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.
- tccli/__init__.py +1 -1
- tccli/argparser.py +1 -1
- tccli/command.py +2 -2
- tccli/configure.py +46 -1
- 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 -3
- 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 +118 -4
- tccli/services/asr/v20190614/api.json +21 -20
- 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 +80 -4
- tccli/services/bi/v20220105/examples.json +1 -1
- tccli/services/billing/billing_client.py +53 -0
- tccli/services/billing/v20180709/api.json +330 -24
- tccli/services/billing/v20180709/examples.json +8 -0
- tccli/services/bsca/v20210811/api.json +223 -18
- tccli/services/bsca/v20210811/examples.json +4 -4
- 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/ccc_client.py +53 -0
- tccli/services/ccc/v20200210/api.json +541 -325
- tccli/services/ccc/v20200210/examples.json +26 -18
- tccli/services/cdb/cdb_client.py +13 -13
- tccli/services/cdb/v20170320/api.json +308 -274
- 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/cdn/v20180606/api.json +5 -3
- 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 +54 -4
- 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 +1895 -2011
- tccli/services/cfw/v20190904/examples.json +175 -171
- tccli/services/ciam/v20220331/api.json +316 -315
- tccli/services/ciam/v20220331/examples.json +49 -49
- 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/cloudaudit_client.py +30 -30
- tccli/services/cloudaudit/v20190319/api.json +254 -211
- tccli/services/cloudaudit/v20190319/examples.json +19 -19
- 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 +935 -147
- tccli/services/cls/v20201016/examples.json +43 -5
- tccli/services/csip/v20221121/api.json +2566 -2386
- tccli/services/csip/v20221121/examples.json +108 -108
- tccli/services/cvm/v20170312/api.json +191 -112
- tccli/services/cvm/v20170312/examples.json +2 -2
- tccli/services/cwp/cwp_client.py +4 -110
- tccli/services/cwp/v20180228/api.json +6498 -6252
- tccli/services/cwp/v20180228/examples.json +372 -412
- tccli/services/cynosdb/v20190107/api.json +170 -110
- tccli/services/cynosdb/v20190107/examples.json +91 -91
- tccli/services/dasb/v20191018/api.json +859 -637
- 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/domain/v20180808/api.json +3 -3
- tccli/services/domain/v20180808/examples.json +3 -3
- tccli/services/dts/v20211206/api.json +4 -4
- tccli/services/eb/v20210416/api.json +15 -15
- tccli/services/eb/v20210416/examples.json +1 -1
- 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/es_client.py +249 -37
- tccli/services/es/v20180416/api.json +550 -0
- tccli/services/es/v20180416/examples.json +33 -1
- tccli/services/ess/ess_client.py +53 -0
- tccli/services/ess/v20201111/api.json +192 -38
- tccli/services/ess/v20201111/examples.json +35 -9
- tccli/services/essbasic/essbasic_client.py +106 -0
- tccli/services/essbasic/v20210526/api.json +287 -60
- tccli/services/essbasic/v20210526/examples.json +58 -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/gaap/v20180529/api.json +44 -26
- tccli/services/gaap/v20180529/examples.json +24 -30
- 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 +73 -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 +279 -9
- 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 +10 -12
- 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 +2263 -758
- 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/organization_client.py +352 -34
- tccli/services/organization/v20210331/api.json +464 -4
- tccli/services/organization/v20210331/examples.json +49 -1
- 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/region/v20220627/api.json +1 -1
- tccli/services/rum/v20210622/api.json +9 -0
- tccli/services/scf/scf_client.py +269 -4
- tccli/services/scf/v20180416/api.json +569 -15
- tccli/services/scf/v20180416/examples.json +47 -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 +98 -5
- tccli/services/ssm/v20190923/api.json +292 -231
- tccli/services/ssm/v20190923/examples.json +42 -42
- tccli/services/tat/v20201028/api.json +124 -122
- tccli/services/tat/v20201028/examples.json +24 -30
- 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 +1984 -1437
- tccli/services/tcss/v20201101/examples.json +350 -368
- tccli/services/tdmq/v20200217/api.json +603 -464
- tccli/services/tdmq/v20200217/examples.json +105 -105
- tccli/services/tds/v20220801/api.json +4 -4
- tccli/services/tem/v20210701/api.json +429 -372
- tccli/services/tem/v20210701/examples.json +85 -85
- tccli/services/teo/teo_client.py +277 -12
- tccli/services/teo/v20220901/api.json +1029 -124
- tccli/services/teo/v20220901/examples.json +84 -8
- tccli/services/thpc/v20230321/api.json +5 -5
- tccli/services/tke/tke_client.py +270 -58
- tccli/services/tke/v20180525/api.json +79 -27
- tccli/services/tke/v20180525/examples.json +9 -1
- tccli/services/tke/v20220501/api.json +176 -0
- tccli/services/tke/v20220501/examples.json +24 -0
- tccli/services/tms/tms_client.py +4 -57
- tccli/services/tms/v20201229/api.json +0 -354
- tccli/services/tms/v20201229/examples.json +0 -8
- 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 +293 -52
- 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 +1195 -892
- tccli/services/vpc/v20170312/examples.json +84 -68
- tccli/services/vpc/vpc_client.py +168 -62
- tccli/services/waf/v20180125/api.json +2611 -2187
- tccli/services/waf/v20180125/examples.json +224 -284
- tccli/services/waf/waf_client.py +225 -119
- tccli/services/wav/v20210129/api.json +48 -48
- tccli/services/wav/v20210129/examples.json +4 -4
- tccli/services/wedata/v20210820/api.json +1595 -25
- tccli/services/wedata/v20210820/examples.json +44 -4
- tccli/services/wedata/wedata_client.py +265 -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.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/METADATA +6 -2
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/RECORD +278 -265
- tccli/services/cr/__init__.py +0 -4
- tccli/services/cr/cr_client.py +0 -1626
- tccli/services/cr/v20180321/api.json +0 -2829
- tccli/services/cr/v20180321/examples.json +0 -235
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/license_files/LICENSE +0 -0
@@ -35,7 +35,7 @@
|
|
35
35
|
{
|
36
36
|
"disabled": false,
|
37
37
|
"document": "活动Id",
|
38
|
-
"example": "
|
38
|
+
"example": "at_1729474366010862613",
|
39
39
|
"member": "string",
|
40
40
|
"name": "ActivityId",
|
41
41
|
"required": true,
|
@@ -44,7 +44,7 @@
|
|
44
44
|
{
|
45
45
|
"disabled": false,
|
46
46
|
"document": "素材Id",
|
47
|
-
"example": "
|
47
|
+
"example": "mt_1597542526641664020_1",
|
48
48
|
"member": "string",
|
49
49
|
"name": "MaterialId",
|
50
50
|
"required": false,
|
@@ -53,7 +53,7 @@
|
|
53
53
|
{
|
54
54
|
"disabled": false,
|
55
55
|
"document": "每次拉取条数",
|
56
|
-
"example": "
|
56
|
+
"example": "20",
|
57
57
|
"member": "int64",
|
58
58
|
"name": "Limit",
|
59
59
|
"required": false,
|
@@ -62,7 +62,7 @@
|
|
62
62
|
{
|
63
63
|
"disabled": false,
|
64
64
|
"document": "偏移量",
|
65
|
-
"example": "
|
65
|
+
"example": "0",
|
66
66
|
"member": "int64",
|
67
67
|
"name": "Offset",
|
68
68
|
"required": false,
|
@@ -77,18 +77,20 @@
|
|
77
77
|
{
|
78
78
|
"disabled": false,
|
79
79
|
"document": "素材列表数据",
|
80
|
-
"example": "
|
80
|
+
"example": "[{\"CreateTime\":\"2022-11-29 18:46:34\",\"MaterialFaceList\":[{\"FaceId\":\"mt_1597542526641664000_1\",\"FaceInfo\":{\"Height\":167,\"Width\":128,\"X\":221,\"Y\":125}}],\"MaterialId\":\"mt_1597542526641664000\",\"MaterialName\":\"test1.png\",\"MaterialStatus\":0,\"UpdateTime\":\"2022-11-29 18:46:34\"},{\"CreateTime\":\"2022-12-15 14:19:51\",\"MaterialFaceList\":[{\"FaceId\":\"mt_1603273612711829504_1\",\"FaceInfo\":{\"Height\":167,\"Width\":128,\"X\":221,\"Y\":125}}],\"MaterialId\":\"mt_1603273612711829504\",\"MaterialName\":\"test2.png\",\"MaterialStatus\":0,\"UpdateTime\":\"2022-12-15 14:19:51\"},{\"CreateTime\":\"2022-11-10 10:28:10\",\"MaterialFaceList\":[{\"FaceId\":\"mt_1590531733435097088_1\",\"FaceInfo\":{\"Height\":167,\"Width\":128,\"X\":221,\"Y\":125}}],\"MaterialId\":\"mt_1590531733435097088\",\"MaterialName\":\"test3.png\",\"MaterialStatus\":1,\"UpdateTime\":\"2022-12-07 17:10:54\"},{\"CreateTime\":\"2022-12-07 16:13:41\",\"MaterialFaceList\":[{\"FaceId\":\"mt_1600403157392855040_1\",\"FaceInfo\":{\"Height\":236,\"Width\":177,\"X\":186,\"Y\":95}}],\"MaterialId\":\"mt_1600403157392855040\",\"MaterialName\":\"test4.png\",\"MaterialStatus\":3,\"UpdateTime\":\"2022-12-07 16:13:52\"},{\"CreateTime\":\"2022-12-15 14:20:21\",\"MaterialFaceList\":[{\"FaceId\":\"mt_1603273738050215936_1\",\"FaceInfo\":{\"Height\":129,\"Width\":119,\"X\":215,\"Y\":69}}],\"MaterialId\":\"mt_1603273738050215936\",\"MaterialName\":\"test5.jpg\",\"MaterialStatus\":3,\"UpdateTime\":\"2022-12-15 14:25:28\"}]",
|
81
81
|
"member": "PublicMaterialInfos",
|
82
82
|
"name": "MaterialInfos",
|
83
|
+
"output_required": true,
|
83
84
|
"type": "list",
|
84
85
|
"value_allowed_null": false
|
85
86
|
},
|
86
87
|
{
|
87
88
|
"disabled": false,
|
88
89
|
"document": "素材条数",
|
89
|
-
"example": "
|
90
|
+
"example": "10",
|
90
91
|
"member": "int64",
|
91
92
|
"name": "Count",
|
93
|
+
"output_required": true,
|
92
94
|
"type": "int",
|
93
95
|
"value_allowed_null": false
|
94
96
|
},
|
@@ -107,45 +109,49 @@
|
|
107
109
|
{
|
108
110
|
"disabled": false,
|
109
111
|
"document": "人脸框的横坐标",
|
110
|
-
"example": "
|
112
|
+
"example": "271",
|
111
113
|
"member": "int64",
|
112
114
|
"name": "X",
|
113
|
-
"
|
115
|
+
"output_required": true,
|
116
|
+
"required": false,
|
114
117
|
"type": "int",
|
115
118
|
"value_allowed_null": false
|
116
119
|
},
|
117
120
|
{
|
118
121
|
"disabled": false,
|
119
122
|
"document": "人脸框的纵坐标",
|
120
|
-
"example": "
|
123
|
+
"example": "153",
|
121
124
|
"member": "int64",
|
122
125
|
"name": "Y",
|
123
|
-
"
|
126
|
+
"output_required": true,
|
127
|
+
"required": false,
|
124
128
|
"type": "int",
|
125
129
|
"value_allowed_null": false
|
126
130
|
},
|
127
131
|
{
|
128
132
|
"disabled": false,
|
129
133
|
"document": "人脸框的宽度",
|
130
|
-
"example": "
|
134
|
+
"example": "772",
|
131
135
|
"member": "int64",
|
132
136
|
"name": "Width",
|
133
|
-
"
|
137
|
+
"output_required": true,
|
138
|
+
"required": false,
|
134
139
|
"type": "int",
|
135
140
|
"value_allowed_null": false
|
136
141
|
},
|
137
142
|
{
|
138
143
|
"disabled": false,
|
139
144
|
"document": "人脸框的高度",
|
140
|
-
"example": "
|
145
|
+
"example": "634",
|
141
146
|
"member": "int64",
|
142
147
|
"name": "Height",
|
143
|
-
"
|
148
|
+
"output_required": true,
|
149
|
+
"required": false,
|
144
150
|
"type": "int",
|
145
151
|
"value_allowed_null": false
|
146
152
|
}
|
147
153
|
],
|
148
|
-
"usage": "
|
154
|
+
"usage": "both"
|
149
155
|
},
|
150
156
|
"FaceRect": {
|
151
157
|
"document": "人脸框信息",
|
@@ -195,7 +201,7 @@
|
|
195
201
|
{
|
196
202
|
"disabled": false,
|
197
203
|
"document": "活动 ID,请在<a href=\"https://console.cloud.tencent.com/facefusion\" target=\"_blank\">人脸融合控制台</a>查看。",
|
198
|
-
"example": "
|
204
|
+
"example": "at_1603326187690926080",
|
199
205
|
"member": "string",
|
200
206
|
"name": "ProjectId",
|
201
207
|
"required": true,
|
@@ -204,7 +210,7 @@
|
|
204
210
|
{
|
205
211
|
"disabled": false,
|
206
212
|
"document": "素材 ID,请在<a href=\"https://console.cloud.tencent.com/facefusion\" target=\"_blank\">人脸融合控制台</a>查看。",
|
207
|
-
"example": "
|
213
|
+
"example": "mt_1603586676924403712_1",
|
208
214
|
"member": "string",
|
209
215
|
"name": "ModelId",
|
210
216
|
"required": true,
|
@@ -222,7 +228,7 @@
|
|
222
228
|
{
|
223
229
|
"disabled": false,
|
224
230
|
"document": "用户人脸图片、素材模板图的人脸位置信息。不能超过6个。",
|
225
|
-
"example": "[]",
|
231
|
+
"example": "[{\"Url\":\"https://liudehua-9527.cos.ap-guangzhou.myqcloud.com/image.jpeg\"}]",
|
226
232
|
"member": "MergeInfo",
|
227
233
|
"name": "MergeInfos",
|
228
234
|
"required": true,
|
@@ -258,7 +264,7 @@
|
|
258
264
|
{
|
259
265
|
"disabled": false,
|
260
266
|
"document": "标识内容设置。\n默认在融合结果图右下角添加“本图片为AI合成图片”字样,您可根据自身需要替换为其他的Logo图片。",
|
261
|
-
"example": "{}",
|
267
|
+
"example": "{\"LogoUrl\": \"https://cos.ap-guangzhou.myqcloud.com/logo.png\", \"LogoRect\": {\"X\": 10, \"Y\": 10, \"Width\": 20, \"Height\": 20}}",
|
262
268
|
"member": "LogoParam",
|
263
269
|
"name": "LogoParam",
|
264
270
|
"required": false,
|
@@ -267,7 +273,7 @@
|
|
267
273
|
{
|
268
274
|
"disabled": false,
|
269
275
|
"document": "融合参数。",
|
270
|
-
"example": "
|
276
|
+
"example": "{\"ImageCodecParam\":{\"MetaData\": {\"MetaKey\":\"aigc\",\"MetaValue\":\"1\"}}}",
|
271
277
|
"member": "FuseParam",
|
272
278
|
"name": "FuseParam",
|
273
279
|
"required": false,
|
@@ -282,7 +288,7 @@
|
|
282
288
|
{
|
283
289
|
"disabled": false,
|
284
290
|
"document": "RspImgType 为 url 时,返回结果的 url(有效期7天), RspImgType 为 base64 时返回 base64 数据。",
|
285
|
-
"example": "
|
291
|
+
"example": "https://liudehua-9527.cos.ap-guangzhou.myqcloud.com/result.jpeg",
|
286
292
|
"member": "string",
|
287
293
|
"name": "FusedImage",
|
288
294
|
"output_required": true,
|
@@ -313,7 +319,7 @@
|
|
313
319
|
{
|
314
320
|
"disabled": false,
|
315
321
|
"document": "用户人脸图片、素材模板图的人脸位置信息。主要用于素材模版中人脸以及用作融合的用户人脸相关信息,两种人脸都需要提供人脸图片,可选择提供人脸框位置,具体见MergeInfo说明 \n目前最多支持融合模板图片中的6张人脸。",
|
316
|
-
"example": "[]",
|
322
|
+
"example": "\"MergeInfos\": [{\"Url\": \"https://cos.ap-guangzhou.myqcloud.com/merge.png\"}]",
|
317
323
|
"member": "MergeInfo",
|
318
324
|
"name": "MergeInfos",
|
319
325
|
"required": true,
|
@@ -322,7 +328,7 @@
|
|
322
328
|
{
|
323
329
|
"disabled": false,
|
324
330
|
"document": "素材模版图片的url地址。\n●base64 和 url 必须提供一个,如果都提供以 url 为准。\n●素材图片限制:图片中面部尺寸大于34 * 34;图片尺寸大于64 * 64,小于8000 * 8000(单边限制)。图片url或者图片 base64 数据,base64 编码后大小不可超过10M(图片编码之后可能会大30%左右,建议合理控制图片大小)\n●图片格式:支持jpg或png",
|
325
|
-
"example": "
|
331
|
+
"example": "https://cos.ap-singapore.myqcloud.com/input.png",
|
326
332
|
"member": "string",
|
327
333
|
"name": "ModelUrl",
|
328
334
|
"required": false,
|
@@ -331,7 +337,7 @@
|
|
331
337
|
{
|
332
338
|
"disabled": false,
|
333
339
|
"document": "素材模版图片base64数据。\n●base64 和 url 必须提供一个,如果都提供以 url 为准。\n●素材图片限制:图片中面部尺寸大于34 * 34;图片尺寸大于64 * 64,小于8000*8000(单边限制)。图片url或者图片 base64 数据,base64 编码后大小不可超过10M(图片编码之后可能会大30%左右,建议合理控制图片大小)\n●支持图片格式:支持jpg或png",
|
334
|
-
"example": "
|
340
|
+
"example": "/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z",
|
335
341
|
"member": "string",
|
336
342
|
"name": "ModelImage",
|
337
343
|
"required": false,
|
@@ -340,7 +346,7 @@
|
|
340
346
|
{
|
341
347
|
"disabled": false,
|
342
348
|
"document": "图片人脸融合(专业版)效果参数。\n可用于设置拉脸、人脸增强、磨皮、牙齿增强等融合效果参数,生成理想的融合效果。不传默认使用接口推荐值。具体见FusionUltraParam说明\n",
|
343
|
-
"example": "
|
349
|
+
"example": "{\"WarpRadio\": 0.1, \"EnhanceRadio\": 0.8, \"MpRadio\": 0.8, \"TeethEnhanceRadio\": 1}",
|
344
350
|
"member": "FusionUltraParam",
|
345
351
|
"name": "FusionUltraParam",
|
346
352
|
"required": false,
|
@@ -358,7 +364,7 @@
|
|
358
364
|
{
|
359
365
|
"disabled": false,
|
360
366
|
"document": "标识内容设置。\n默认在融合结果图右下角添加“本图片为AI合成图片”字样,您可根据自身需要替换为其他的Logo图片。",
|
361
|
-
"example": "
|
367
|
+
"example": "{\"LogoUrl\": \"https://cos.ap-guangzhou.myqcloud.com/logo.png\", \"LogoRect\": {\"X\": 10, \"Y\": 10, \"Width\": 20, \"Height\": 20}}",
|
362
368
|
"member": "LogoParam",
|
363
369
|
"name": "LogoParam",
|
364
370
|
"required": false,
|
@@ -382,7 +388,7 @@
|
|
382
388
|
{
|
383
389
|
"disabled": false,
|
384
390
|
"document": "RspImgType 为 url 时,返回结果的 url, RspImgType 为 base64 时返回 base64 数据。url有效期为1天。",
|
385
|
-
"example": "
|
391
|
+
"example": "https://cos.ap-singapore.myqcloud.com/output.png",
|
386
392
|
"member": "string",
|
387
393
|
"name": "FusedImage",
|
388
394
|
"output_required": true,
|
@@ -418,58 +424,58 @@
|
|
418
424
|
"members": [
|
419
425
|
{
|
420
426
|
"disabled": false,
|
421
|
-
"document": "拉脸强度。主要用于调整生成结果人脸脸型更像素材模板还是用户人脸。取值越大越像用户人脸。\n取值范围:0-1之间。默认取值0.7。\n\n该参数仅对SwapModelType(模型类型)取值1-5
|
427
|
+
"document": "拉脸强度。主要用于调整生成结果人脸脸型更像素材模板还是用户人脸。取值越大越像用户人脸。\n取值范围:0-1之间。默认取值0.7。\n\n该参数仅对SwapModelType(模型类型)取值1-5生效",
|
422
428
|
"example": "0.1",
|
423
429
|
"member": "float",
|
424
430
|
"name": "WarpRadio",
|
425
431
|
"output_required": false,
|
426
432
|
"required": false,
|
427
433
|
"type": "float",
|
428
|
-
"value_allowed_null":
|
434
|
+
"value_allowed_null": false
|
429
435
|
},
|
430
436
|
{
|
431
437
|
"disabled": false,
|
432
|
-
"document": "人脸增强强度。对整个人脸进行增强,增加清晰度,改善质量。当生成的人脸不够清晰,质感不够好的时候可以设置。取值越大增强强度越大。\n取值范围:0-1之间。默认取值1。\n\n该参数仅对SwapModelType(模型类型)取值1-5
|
438
|
+
"document": "人脸增强强度。对整个人脸进行增强,增加清晰度,改善质量。当生成的人脸不够清晰,质感不够好的时候可以设置。取值越大增强强度越大。\n取值范围:0-1之间。默认取值1。\n\n该参数仅对SwapModelType(模型类型)取值1-5生效",
|
433
439
|
"example": "0.8",
|
434
440
|
"member": "float",
|
435
441
|
"name": "EnhanceRadio",
|
436
442
|
"output_required": false,
|
437
443
|
"required": false,
|
438
444
|
"type": "float",
|
439
|
-
"value_allowed_null":
|
445
|
+
"value_allowed_null": false
|
440
446
|
},
|
441
447
|
{
|
442
448
|
"disabled": false,
|
443
|
-
"document": "磨皮强度。当生成脸的图像面部显脏时,可进行设置。\n取值范围:0-1之间。默认取值1。\n\n该参数仅对SwapModelType(模型类型)取值1-5
|
449
|
+
"document": "磨皮强度。当生成脸的图像面部显脏时,可进行设置。\n取值范围:0-1之间。默认取值1。\n\n该参数仅对SwapModelType(模型类型)取值1-5生效",
|
444
450
|
"example": "0.8",
|
445
451
|
"member": "float",
|
446
452
|
"name": "MpRadio",
|
447
453
|
"output_required": false,
|
448
454
|
"required": false,
|
449
455
|
"type": "float",
|
450
|
-
"value_allowed_null":
|
456
|
+
"value_allowed_null": false
|
451
457
|
},
|
452
458
|
{
|
453
459
|
"disabled": false,
|
454
|
-
"document": "人脸模糊开关(暂不支持)\n当生成人脸比较清晰时,将人脸模糊到接近模板的清晰度的程度\n\n该参数仅对SwapModelType(模型类型)取值1-5
|
455
|
-
"example": "
|
460
|
+
"document": "人脸模糊开关(暂不支持)\n当生成人脸比较清晰时,将人脸模糊到接近模板的清晰度的程度\n\n该参数仅对SwapModelType(模型类型)取值1-5生效",
|
461
|
+
"example": "1",
|
456
462
|
"member": "float",
|
457
463
|
"name": "BlurRadio",
|
458
464
|
"output_required": false,
|
459
465
|
"required": false,
|
460
466
|
"type": "float",
|
461
|
-
"value_allowed_null":
|
467
|
+
"value_allowed_null": false
|
462
468
|
},
|
463
469
|
{
|
464
470
|
"disabled": false,
|
465
|
-
"document": "牙齿增强开关,默认取值为1\n牙齿增强,修复牙齿。当生成牙齿不好(如牙齿裂开)可以打开此开关\n0:牙齿增强关闭\n1:牙齿增强打开\n该参数仅对SwapModelType(模型类型)取值1-5
|
471
|
+
"document": "牙齿增强开关,默认取值为1\n牙齿增强,修复牙齿。当生成牙齿不好(如牙齿裂开)可以打开此开关\n0:牙齿增强关闭\n1:牙齿增强打开\n该参数仅对SwapModelType(模型类型)取值1-5生效",
|
466
472
|
"example": "1",
|
467
473
|
"member": "float",
|
468
474
|
"name": "TeethEnhanceRadio",
|
469
475
|
"output_required": false,
|
470
476
|
"required": false,
|
471
477
|
"type": "float",
|
472
|
-
"value_allowed_null":
|
478
|
+
"value_allowed_null": false
|
473
479
|
}
|
474
480
|
],
|
475
481
|
"usage": "both"
|
@@ -629,7 +635,7 @@
|
|
629
635
|
{
|
630
636
|
"disabled": false,
|
631
637
|
"document": "素材Id",
|
632
|
-
"example": "
|
638
|
+
"example": "mt_1858693821665306272",
|
633
639
|
"member": "string",
|
634
640
|
"name": "MaterialId",
|
635
641
|
"output_required": true,
|
@@ -639,7 +645,7 @@
|
|
639
645
|
{
|
640
646
|
"disabled": false,
|
641
647
|
"document": "素材状态\n\n字段取值: \n0 审核中\n1 人工审核通过\n2 人工审核失败\n3 申诉中\n11 申诉成功\n12 申诉失败\n21 机器审核通过\n22 机器审核失败\n31 视频素材预处理成功,素材可用\n32 视频素材预处理失败\n33 角色不在视频中",
|
642
|
-
"example": "
|
648
|
+
"example": "21",
|
643
649
|
"member": "int64",
|
644
650
|
"name": "MaterialStatus",
|
645
651
|
"output_required": true,
|
@@ -649,7 +655,7 @@
|
|
649
655
|
{
|
650
656
|
"disabled": false,
|
651
657
|
"document": "创建时间",
|
652
|
-
"example": "
|
658
|
+
"example": "2023-11-19 10:08:34",
|
653
659
|
"member": "string",
|
654
660
|
"name": "CreateTime",
|
655
661
|
"output_required": true,
|
@@ -659,7 +665,7 @@
|
|
659
665
|
{
|
660
666
|
"disabled": false,
|
661
667
|
"document": "修改时间",
|
662
|
-
"example": "
|
668
|
+
"example": "2023-11-19 10:08:36",
|
663
669
|
"member": "string",
|
664
670
|
"name": "UpdateTime",
|
665
671
|
"output_required": true,
|
@@ -669,7 +675,7 @@
|
|
669
675
|
{
|
670
676
|
"disabled": false,
|
671
677
|
"document": "人脸信息",
|
672
|
-
"example": "
|
678
|
+
"example": "[{FaceId: \"100\", FaceInfo: {X: 57, Y: 57, Width: 123, Height: 169}}]",
|
673
679
|
"member": "MaterialFaces",
|
674
680
|
"name": "MaterialFaceList",
|
675
681
|
"output_required": true,
|
@@ -679,7 +685,7 @@
|
|
679
685
|
{
|
680
686
|
"disabled": false,
|
681
687
|
"document": "素材名",
|
682
|
-
"example": "
|
688
|
+
"example": "测试素材",
|
683
689
|
"member": "string",
|
684
690
|
"name": "MaterialName",
|
685
691
|
"output_required": true,
|
@@ -688,13 +694,13 @@
|
|
688
694
|
},
|
689
695
|
{
|
690
696
|
"disabled": false,
|
691
|
-
"document": "
|
692
|
-
"example": "
|
697
|
+
"document": "审核原因",
|
698
|
+
"example": "\"审核不通过\"",
|
693
699
|
"member": "string",
|
694
700
|
"name": "AuditResult",
|
695
|
-
"output_required":
|
701
|
+
"output_required": false,
|
696
702
|
"type": "string",
|
697
|
-
"value_allowed_null":
|
703
|
+
"value_allowed_null": false
|
698
704
|
}
|
699
705
|
],
|
700
706
|
"usage": "out"
|
@@ -4,14 +4,14 @@
|
|
4
4
|
{
|
5
5
|
"document": "查询素材列表",
|
6
6
|
"input": "POST / HTTP/1.1\nHost: facefusion.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMaterialList\n<公共请求参数>\n\n{\n \"ActivityId\": \"at_1582658911993147392\",\n \"Offset\": 0,\n \"Limit\": 5\n}",
|
7
|
-
"output": "{\n \"Response\": {\n \"Count\": 5,\n \"MaterialInfos\": [\n {\n \"CreateTime\": \"2022-11-29 18:46:34\",\n \"MaterialFaceList\": [\n {\n \"FaceId\": \"mt_1597542526641664000_1\",\n \"FaceInfo\": {\n \"Height\": 167,\n \"Width\": 128,\n \"X\": 221,\n \"Y\": 125\n }\n }\n ],\n \"MaterialId\": \"mt_1597542526641664000\",\n \"MaterialName\": \"test1.png\",\n \"MaterialStatus\": 0,\n \"UpdateTime\": \"2022-11-29 18:46:34\"\n },\n {\n \"CreateTime\": \"2022-12-15 14:19:51\",\n \"MaterialFaceList\": [\n {\n \"FaceId\": \"mt_1603273612711829504_1\",\n \"FaceInfo\": {\n \"Height\": 167,\n \"Width\": 128,\n \"X\": 221,\n \"Y\": 125\n }\n }\n ],\n \"MaterialId\": \"mt_1603273612711829504\",\n \"MaterialName\": \"test2.png\",\n \"MaterialStatus\": 0,\n \"UpdateTime\": \"2022-12-15 14:19:51\"\n },\n {\n \"CreateTime\": \"2022-11-10 10:28:10\",\n \"MaterialFaceList\": [\n {\n \"FaceId\": \"mt_1590531733435097088_1\",\n \"FaceInfo\": {\n \"Height\": 167,\n \"Width\": 128,\n \"X\": 221,\n \"Y\": 125\n }\n }\n ],\n \"MaterialId\": \"mt_1590531733435097088\",\n \"MaterialName\": \"test3.png\",\n \"MaterialStatus\": 1,\n \"UpdateTime\": \"2022-12-07 17:10:54\"\n },\n {\n \"CreateTime\": \"2022-12-07 16:13:41\",\n \"MaterialFaceList\": [\n {\n \"FaceId\": \"mt_1600403157392855040_1\",\n \"FaceInfo\": {\n \"Height\": 236,\n \"Width\": 177,\n \"X\": 186,\n \"Y\": 95\n }\n }\n ],\n \"MaterialId\": \"mt_1600403157392855040\",\n \"MaterialName\": \"test4.png\",\n \"MaterialStatus\": 3,\n \"UpdateTime\": \"2022-12-07 16:13:52\"\n },\n {\n \"CreateTime\": \"2022-12-15 14:20:21\",\n \"MaterialFaceList\": [\n {\n \"FaceId\": \"mt_1603273738050215936_1\",\n \"FaceInfo\": {\n \"Height\": 129,\n \"Width\": 119,\n \"X\": 215,\n \"Y\": 69\n }\n }\n ],\n \"MaterialId\": \"mt_1603273738050215936\",\n \"MaterialName\": \"test5.jpg\",\n \"MaterialStatus\": 3,\n \"UpdateTime\": \"2022-12-15 14:25:28\"\n }\n ],\n \"RequestId\": \"3e93f5d5-415b-41bf-bde4-c4f97e9e0089\"\n }\n}",
|
7
|
+
"output": "{\n \"Response\": {\n \"Count\": 5,\n \"MaterialInfos\": [\n {\n \"AuditResult\": \"审核成功\",\n \"CreateTime\": \"2022-11-29 18:46:34\",\n \"MaterialFaceList\": [\n {\n \"FaceId\": \"mt_1597542526641664000_1\",\n \"FaceInfo\": {\n \"Height\": 167,\n \"Width\": 128,\n \"X\": 221,\n \"Y\": 125\n }\n }\n ],\n \"MaterialId\": \"mt_1597542526641664000\",\n \"MaterialName\": \"test1.png\",\n \"MaterialStatus\": 0,\n \"UpdateTime\": \"2022-11-29 18:46:34\"\n },\n {\n \"AuditResult\": \"审核成功\",\n \"CreateTime\": \"2022-12-15 14:19:51\",\n \"MaterialFaceList\": [\n {\n \"FaceId\": \"mt_1603273612711829504_1\",\n \"FaceInfo\": {\n \"Height\": 167,\n \"Width\": 128,\n \"X\": 221,\n \"Y\": 125\n }\n }\n ],\n \"MaterialId\": \"mt_1603273612711829504\",\n \"MaterialName\": \"test2.png\",\n \"MaterialStatus\": 0,\n \"UpdateTime\": \"2022-12-15 14:19:51\"\n },\n {\n \"AuditResult\": \"审核成功\",\n \"CreateTime\": \"2022-11-10 10:28:10\",\n \"MaterialFaceList\": [\n {\n \"FaceId\": \"mt_1590531733435097088_1\",\n \"FaceInfo\": {\n \"Height\": 167,\n \"Width\": 128,\n \"X\": 221,\n \"Y\": 125\n }\n }\n ],\n \"MaterialId\": \"mt_1590531733435097088\",\n \"MaterialName\": \"test3.png\",\n \"MaterialStatus\": 1,\n \"UpdateTime\": \"2022-12-07 17:10:54\"\n },\n {\n \"AuditResult\": \"审核成功\",\n \"CreateTime\": \"2022-12-07 16:13:41\",\n \"MaterialFaceList\": [\n {\n \"FaceId\": \"mt_1600403157392855040_1\",\n \"FaceInfo\": {\n \"Height\": 236,\n \"Width\": 177,\n \"X\": 186,\n \"Y\": 95\n }\n }\n ],\n \"MaterialId\": \"mt_1600403157392855040\",\n \"MaterialName\": \"test4.png\",\n \"MaterialStatus\": 3,\n \"UpdateTime\": \"2022-12-07 16:13:52\"\n },\n {\n \"AuditResult\": \"审核成功\",\n \"CreateTime\": \"2022-12-15 14:20:21\",\n \"MaterialFaceList\": [\n {\n \"FaceId\": \"mt_1603273738050215936_1\",\n \"FaceInfo\": {\n \"Height\": 129,\n \"Width\": 119,\n \"X\": 215,\n \"Y\": 69\n }\n }\n ],\n \"MaterialId\": \"mt_1603273738050215936\",\n \"MaterialName\": \"test5.jpg\",\n \"MaterialStatus\": 3,\n \"UpdateTime\": \"2022-12-15 14:25:28\"\n }\n ],\n \"RequestId\": \"3e93f5d5-415b-41bf-bde4-c4f97e9e0089\"\n }\n}",
|
8
8
|
"title": "查询素材列表"
|
9
9
|
}
|
10
10
|
],
|
11
11
|
"FuseFace": [
|
12
12
|
{
|
13
13
|
"document": "",
|
14
|
-
"input": "POST / HTTP/1.1\nHost: facefusion.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: FuseFace\n<公共请求参数>\n\n{\n \"LogoParam\": {\n \"LogoRect\": {\n \"Y\": 0,\n \"X\": 0,\n \"Height\": 0,\n \"Width\": 0\n },\n \"LogoUrl\": \"test1.jpg\"\n },\n \"ProjectId\": \"at_1603326187690926080\",\n \"LogoAdd\": 1,\n \"RspImgType\": \"url\",\n \"MergeInfos\": [\n {\n \"Url\": \"
|
14
|
+
"input": "POST / HTTP/1.1\nHost: facefusion.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: FuseFace\n<公共请求参数>\n\n{\n \"LogoParam\": {\n \"LogoRect\": {\n \"Y\": 0,\n \"X\": 0,\n \"Height\": 0,\n \"Width\": 0\n },\n \"LogoUrl\": \"test1.jpg\"\n },\n \"ProjectId\": \"at_1603326187690926080\",\n \"LogoAdd\": 1,\n \"RspImgType\": \"url\",\n \"MergeInfos\": [\n {\n \"Url\": \"https://liudehua-9527.cos.ap-guangzhou.myqcloud.com/image.jpeg\"\n }\n ],\n \"ModelId\": \"mt_1603586676924403712\"\n}",
|
15
15
|
"output": "{\n \"Response\": {\n \"FusedImage\": \"result.jpg\",\n \"RequestId\": \"1a2e88a4-3614-48a0-96b9-d09bf6de2fe4\"\n }\n}",
|
16
16
|
"title": "选脸融合"
|
17
17
|
}
|
@@ -19,14 +19,14 @@
|
|
19
19
|
"FuseFaceUltra": [
|
20
20
|
{
|
21
21
|
"document": "调用失败示例",
|
22
|
-
"input": "POST / HTTP/1.1\nHost: facefusion.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: FuseFaceUltra\n<公共请求参数>\n\n{\n \"ModelUrl\": \"https://
|
22
|
+
"input": "POST / HTTP/1.1\nHost: facefusion.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: FuseFaceUltra\n<公共请求参数>\n\n{\n \"ModelUrl\": \"https://cos.ap-guangzhou.myqcloud.com/facefusion/FuseFaceUltra/model.png\",\n \"RspImgType\": \"base64\",\n \"MergeInfos\": [\n {\n \"Url\": \"https://cos.ap-guangzhou.myqcloud.com/facefusion/FuseFaceUltra/input.png\"\n }\n ],\n \"FusionUltraParam\": {\n \"WarpRadio\": 1.2\n }\n}",
|
23
23
|
"output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"FailedOperation.ParameterValueError\",\n \"Message\": \"FusionParam值不合法。\"\n },\n \"RequestId\": \"89cdd6c5-cb8f-4cbe-959b-e249f3753f55\"\n }\n}",
|
24
24
|
"title": "调用失败示例"
|
25
25
|
},
|
26
26
|
{
|
27
27
|
"document": "调用成功示例",
|
28
|
-
"input": "POST / HTTP/1.1\nHost: facefusion.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: FuseFaceUltra\n<公共请求参数>\n\n{\n \"ModelUrl\": \"https://
|
29
|
-
"output": "{\n \"Response\": {\n \"FusedImage\": \"https://
|
28
|
+
"input": "POST / HTTP/1.1\nHost: facefusion.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: FuseFaceUltra\n<公共请求参数>\n\n{\n \"ModelUrl\": \"https://cos.ap-guangzhou.myqcloud.com/facefusion/FuseFaceUltra/model.png\",\n \"RspImgType\": \"url\",\n \"MergeInfos\": [\n {\n \"Url\": \"https://cos.ap-guangzhou.myqcloud.com/facefusion/FuseFaceUltra/input.png\"\n }\n ],\n \"FusionUltraParam\": {\n \"WarpRadio\": 0.7\n }\n}",
|
29
|
+
"output": "{\n \"Response\": {\n \"FusedImage\": \"https://cos.ap-guangzhou.myqcloud.com/facefusion/FuseFaceUltra/output.png\",\n \"RequestId\": \"06f9b251-fa48-435e-b391-145d67919b2c\"\n }\n}",
|
30
30
|
"title": "调用成功示例"
|
31
31
|
}
|
32
32
|
]
|