tccli 3.0.1215.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.
Files changed (282) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/argparser.py +1 -1
  3. tccli/command.py +2 -2
  4. tccli/configure.py +46 -1
  5. tccli/credentials.py +25 -0
  6. tccli/main.py +6 -2
  7. tccli/plugins/sso/__init__.py +61 -0
  8. tccli/plugins/sso/configs.py +4 -0
  9. tccli/plugins/sso/configure.py +45 -0
  10. tccli/plugins/sso/login.py +144 -0
  11. tccli/plugins/sso/logout.py +21 -0
  12. tccli/plugins/sso/terminal.py +161 -0
  13. tccli/plugins/sso/texts.py +40 -0
  14. tccli/services/__init__.py +6 -3
  15. tccli/services/acp/v20220105/api.json +7 -7
  16. tccli/services/acp/v20220105/examples.json +2 -2
  17. tccli/services/aiart/v20221229/api.json +29 -29
  18. tccli/services/aiart/v20221229/examples.json +8 -8
  19. tccli/services/apigateway/v20180808/api.json +18 -17
  20. tccli/services/apigateway/v20180808/examples.json +12 -12
  21. tccli/services/apm/v20210622/api.json +118 -4
  22. tccli/services/asr/v20190614/api.json +21 -20
  23. tccli/services/asr/v20190614/examples.json +13 -13
  24. tccli/services/autoscaling/v20180419/api.json +371 -309
  25. tccli/services/autoscaling/v20180419/examples.json +17 -17
  26. tccli/services/batch/v20170312/api.json +7 -7
  27. tccli/services/bda/v20200324/api.json +39 -31
  28. tccli/services/bda/v20200324/examples.json +9 -9
  29. tccli/services/bh/__init__.py +4 -0
  30. tccli/services/bh/bh_client.py +3428 -0
  31. tccli/services/bh/v20230418/api.json +8180 -0
  32. tccli/services/bh/v20230418/examples.json +519 -0
  33. tccli/services/bi/v20220105/api.json +80 -4
  34. tccli/services/bi/v20220105/examples.json +1 -1
  35. tccli/services/billing/billing_client.py +53 -0
  36. tccli/services/billing/v20180709/api.json +330 -24
  37. tccli/services/billing/v20180709/examples.json +8 -0
  38. tccli/services/bsca/v20210811/api.json +223 -18
  39. tccli/services/bsca/v20210811/examples.json +4 -4
  40. tccli/services/btoe/v20210514/api.json +4 -4
  41. tccli/services/btoe/v20210514/examples.json +2 -2
  42. tccli/services/ca/v20230228/api.json +60 -0
  43. tccli/services/cam/v20190116/api.json +11 -11
  44. tccli/services/cat/v20180409/api.json +9 -0
  45. tccli/services/cbs/v20170312/api.json +200 -188
  46. tccli/services/cbs/v20170312/examples.json +4 -4
  47. tccli/services/ccc/ccc_client.py +53 -0
  48. tccli/services/ccc/v20200210/api.json +541 -325
  49. tccli/services/ccc/v20200210/examples.json +26 -18
  50. tccli/services/cdb/cdb_client.py +13 -13
  51. tccli/services/cdb/v20170320/api.json +308 -274
  52. tccli/services/cdb/v20170320/examples.json +38 -38
  53. tccli/services/cdc/v20201214/api.json +283 -270
  54. tccli/services/cdc/v20201214/examples.json +26 -26
  55. tccli/services/cdn/v20180606/api.json +5 -3
  56. tccli/services/cds/v20180420/api.json +82 -76
  57. tccli/services/cds/v20180420/examples.json +1 -1
  58. tccli/services/cdwch/v20200915/api.json +1 -1
  59. tccli/services/cdwdoris/v20211228/api.json +54 -4
  60. tccli/services/cdz/v20221123/api.json +41 -5
  61. tccli/services/cfg/v20210820/api.json +31 -0
  62. tccli/services/cfs/v20190719/api.json +89 -1
  63. tccli/services/cfs/v20190719/examples.json +1 -1
  64. tccli/services/cfw/cfw_client.py +0 -53
  65. tccli/services/cfw/v20190904/api.json +1895 -2011
  66. tccli/services/cfw/v20190904/examples.json +175 -171
  67. tccli/services/ciam/v20220331/api.json +316 -315
  68. tccli/services/ciam/v20220331/examples.json +49 -49
  69. tccli/services/ckafka/v20190819/api.json +104 -75
  70. tccli/services/clb/v20180317/api.json +48 -26
  71. tccli/services/clb/v20180317/examples.json +1 -1
  72. tccli/services/cloudapp/v20220530/api.json +5 -1
  73. tccli/services/cloudaudit/cloudaudit_client.py +30 -30
  74. tccli/services/cloudaudit/v20190319/api.json +254 -211
  75. tccli/services/cloudaudit/v20190319/examples.json +19 -19
  76. tccli/services/cloudstudio/v20230508/api.json +38 -37
  77. tccli/services/cloudstudio/v20230508/examples.json +4 -4
  78. tccli/services/cls/cls_client.py +216 -4
  79. tccli/services/cls/v20201016/api.json +935 -147
  80. tccli/services/cls/v20201016/examples.json +43 -5
  81. tccli/services/csip/v20221121/api.json +2566 -2386
  82. tccli/services/csip/v20221121/examples.json +108 -108
  83. tccli/services/cvm/v20170312/api.json +191 -112
  84. tccli/services/cvm/v20170312/examples.json +2 -2
  85. tccli/services/cwp/cwp_client.py +4 -110
  86. tccli/services/cwp/v20180228/api.json +6498 -6252
  87. tccli/services/cwp/v20180228/examples.json +372 -412
  88. tccli/services/cynosdb/v20190107/api.json +170 -110
  89. tccli/services/cynosdb/v20190107/examples.json +91 -91
  90. tccli/services/dasb/v20191018/api.json +859 -637
  91. tccli/services/dasb/v20191018/examples.json +101 -101
  92. tccli/services/dcdb/dcdb_client.py +114 -61
  93. tccli/services/dcdb/v20180411/api.json +141 -7
  94. tccli/services/dcdb/v20180411/examples.json +32 -0
  95. tccli/services/dlc/v20210125/api.json +21 -11
  96. tccli/services/dnspod/dnspod_client.py +417 -46
  97. tccli/services/dnspod/v20210323/api.json +751 -30
  98. tccli/services/dnspod/v20210323/examples.json +62 -0
  99. tccli/services/domain/v20180808/api.json +3 -3
  100. tccli/services/domain/v20180808/examples.json +3 -3
  101. tccli/services/dts/v20211206/api.json +4 -4
  102. tccli/services/eb/v20210416/api.json +15 -15
  103. tccli/services/eb/v20210416/examples.json +1 -1
  104. tccli/services/ecm/v20190719/api.json +2 -2
  105. tccli/services/emr/v20190103/api.json +339 -114
  106. tccli/services/emr/v20190103/examples.json +64 -82
  107. tccli/services/es/es_client.py +249 -37
  108. tccli/services/es/v20180416/api.json +550 -0
  109. tccli/services/es/v20180416/examples.json +33 -1
  110. tccli/services/ess/ess_client.py +53 -0
  111. tccli/services/ess/v20201111/api.json +192 -38
  112. tccli/services/ess/v20201111/examples.json +35 -9
  113. tccli/services/essbasic/essbasic_client.py +106 -0
  114. tccli/services/essbasic/v20210526/api.json +287 -60
  115. tccli/services/essbasic/v20210526/examples.json +58 -18
  116. tccli/services/facefusion/v20181201/api.json +47 -45
  117. tccli/services/facefusion/v20181201/examples.json +2 -2
  118. tccli/services/facefusion/v20220927/api.json +54 -48
  119. tccli/services/facefusion/v20220927/examples.json +5 -5
  120. tccli/services/faceid/v20180301/api.json +497 -496
  121. tccli/services/faceid/v20180301/examples.json +219 -101
  122. tccli/services/fmu/v20191213/api.json +59 -67
  123. tccli/services/fmu/v20191213/examples.json +22 -22
  124. tccli/services/ft/v20200304/api.json +53 -57
  125. tccli/services/ft/v20200304/examples.json +14 -14
  126. tccli/services/gaap/v20180529/api.json +44 -26
  127. tccli/services/gaap/v20180529/examples.json +24 -30
  128. tccli/services/gme/v20180711/api.json +21 -11
  129. tccli/services/gme/v20180711/examples.json +1 -1
  130. tccli/services/hai/v20230812/api.json +116 -9
  131. tccli/services/hai/v20230812/examples.json +4 -4
  132. tccli/services/hunyuan/hunyuan_client.py +436 -12
  133. tccli/services/hunyuan/v20230901/api.json +1482 -118
  134. tccli/services/hunyuan/v20230901/examples.json +82 -18
  135. tccli/services/iai/v20180301/api.json +23 -19
  136. tccli/services/iai/v20180301/examples.json +2 -2
  137. tccli/services/iai/v20200303/api.json +530 -511
  138. tccli/services/iai/v20200303/examples.json +116 -86
  139. tccli/services/ig/__init__.py +4 -0
  140. tccli/services/ig/ig_client.py +195 -0
  141. tccli/services/ig/v20210518/api.json +83 -0
  142. tccli/services/ig/v20210518/examples.json +13 -0
  143. tccli/services/ioa/ioa_client.py +53 -0
  144. tccli/services/ioa/v20220601/api.json +662 -413
  145. tccli/services/ioa/v20220601/examples.json +24 -10
  146. tccli/services/iotexplorer/v20190423/api.json +73 -13
  147. tccli/services/iotexplorer/v20190423/examples.json +3 -3
  148. tccli/services/iotvideo/iotvideo_client.py +106 -0
  149. tccli/services/iotvideo/v20191126/api.json +256 -24
  150. tccli/services/iotvideo/v20191126/examples.json +19 -3
  151. tccli/services/iotvideo/v20201215/api.json +1 -1
  152. tccli/services/iotvideo/v20201215/examples.json +1 -1
  153. tccli/services/iotvideo/v20211125/api.json +1 -1
  154. tccli/services/iotvideo/v20211125/examples.json +2 -2
  155. tccli/services/iss/iss_client.py +69 -122
  156. tccli/services/iss/v20230517/api.json +10 -54
  157. tccli/services/iss/v20230517/examples.json +0 -14
  158. tccli/services/kms/v20190118/api.json +301 -268
  159. tccli/services/kms/v20190118/examples.json +45 -51
  160. tccli/services/lcic/lcic_client.py +159 -0
  161. tccli/services/lcic/v20220817/api.json +273 -1
  162. tccli/services/lcic/v20220817/examples.json +24 -0
  163. tccli/services/lighthouse/v20200324/api.json +56 -0
  164. tccli/services/live/live_client.py +159 -0
  165. tccli/services/live/v20180801/api.json +279 -9
  166. tccli/services/live/v20180801/examples.json +24 -0
  167. tccli/services/lke/v20231130/api.json +17 -17
  168. tccli/services/lke/v20231130/examples.json +19 -25
  169. tccli/services/mariadb/v20170312/api.json +7 -7
  170. tccli/services/market/v20191010/api.json +3 -3
  171. tccli/services/market/v20191010/examples.json +2 -2
  172. tccli/services/mmps/v20200710/api.json +47 -47
  173. tccli/services/mmps/v20200710/examples.json +3 -3
  174. tccli/services/mongodb/v20190725/api.json +10 -12
  175. tccli/services/monitor/v20180724/api.json +46 -19
  176. tccli/services/mps/v20190612/api.json +282 -5
  177. tccli/services/mps/v20190612/examples.json +25 -1
  178. tccli/services/mqtt/v20240516/api.json +2 -2
  179. tccli/services/mrs/v20200910/api.json +72 -34
  180. tccli/services/mrs/v20200910/examples.json +2 -2
  181. tccli/services/ms/v20180408/api.json +535 -506
  182. tccli/services/ms/v20180408/examples.json +25 -25
  183. tccli/services/oceanus/v20190422/api.json +130 -0
  184. tccli/services/ocr/ocr_client.py +232 -20
  185. tccli/services/ocr/v20181119/api.json +2263 -758
  186. tccli/services/ocr/v20181119/examples.json +200 -180
  187. tccli/services/omics/v20221128/api.json +614 -553
  188. tccli/services/omics/v20221128/examples.json +9 -9
  189. tccli/services/organization/organization_client.py +352 -34
  190. tccli/services/organization/v20210331/api.json +464 -4
  191. tccli/services/organization/v20210331/examples.json +49 -1
  192. tccli/services/partners/v20180321/api.json +244 -234
  193. tccli/services/partners/v20180321/examples.json +19 -19
  194. tccli/services/privatedns/privatedns_client.py +428 -4
  195. tccli/services/privatedns/v20201028/api.json +815 -11
  196. tccli/services/privatedns/v20201028/examples.json +64 -0
  197. tccli/services/pts/v20210728/api.json +18 -0
  198. tccli/services/pts/v20210728/examples.json +1 -1
  199. tccli/services/rce/rce_client.py +53 -0
  200. tccli/services/rce/v20201103/api.json +146 -0
  201. tccli/services/rce/v20201103/examples.json +8 -0
  202. tccli/services/redis/v20180412/api.json +42 -42
  203. tccli/services/redis/v20180412/examples.json +19 -19
  204. tccli/services/region/v20220627/api.json +1 -1
  205. tccli/services/rum/v20210622/api.json +9 -0
  206. tccli/services/scf/scf_client.py +269 -4
  207. tccli/services/scf/v20180416/api.json +569 -15
  208. tccli/services/scf/v20180416/examples.json +47 -1
  209. tccli/services/smop/v20201203/api.json +46 -42
  210. tccli/services/smop/v20201203/examples.json +2 -2
  211. tccli/services/soe/v20180724/api.json +10 -10
  212. tccli/services/sqlserver/v20180328/api.json +21 -8
  213. tccli/services/sqlserver/v20180328/examples.json +5 -5
  214. tccli/services/ssl/v20191205/api.json +98 -5
  215. tccli/services/ssm/v20190923/api.json +292 -231
  216. tccli/services/ssm/v20190923/examples.json +42 -42
  217. tccli/services/tat/v20201028/api.json +124 -122
  218. tccli/services/tat/v20201028/examples.json +24 -30
  219. tccli/services/tchd/v20230306/api.json +5 -5
  220. tccli/services/tchd/v20230306/examples.json +3 -3
  221. tccli/services/tcr/v20190924/api.json +1 -1
  222. tccli/services/tcr/v20190924/examples.json +1 -1
  223. tccli/services/tcss/v20201101/api.json +1984 -1437
  224. tccli/services/tcss/v20201101/examples.json +350 -368
  225. tccli/services/tdmq/v20200217/api.json +603 -464
  226. tccli/services/tdmq/v20200217/examples.json +105 -105
  227. tccli/services/tds/v20220801/api.json +4 -4
  228. tccli/services/tem/v20210701/api.json +429 -372
  229. tccli/services/tem/v20210701/examples.json +85 -85
  230. tccli/services/teo/teo_client.py +277 -12
  231. tccli/services/teo/v20220901/api.json +1029 -124
  232. tccli/services/teo/v20220901/examples.json +84 -8
  233. tccli/services/thpc/v20230321/api.json +5 -5
  234. tccli/services/tke/tke_client.py +270 -58
  235. tccli/services/tke/v20180525/api.json +79 -27
  236. tccli/services/tke/v20180525/examples.json +9 -1
  237. tccli/services/tke/v20220501/api.json +176 -0
  238. tccli/services/tke/v20220501/examples.json +24 -0
  239. tccli/services/tms/tms_client.py +4 -57
  240. tccli/services/tms/v20201229/api.json +0 -354
  241. tccli/services/tms/v20201229/examples.json +0 -8
  242. tccli/services/tmt/v20180321/api.json +38 -8
  243. tccli/services/trp/v20210515/api.json +86 -74
  244. tccli/services/trp/v20210515/examples.json +65 -65
  245. tccli/services/trro/v20220325/api.json +72 -71
  246. tccli/services/trro/v20220325/examples.json +8 -8
  247. tccli/services/trtc/trtc_client.py +8 -61
  248. tccli/services/trtc/v20190722/api.json +293 -52
  249. tccli/services/trtc/v20190722/examples.json +3 -11
  250. tccli/services/tse/tse_client.py +110 -4
  251. tccli/services/tse/v20201207/api.json +122 -7
  252. tccli/services/tse/v20201207/examples.json +25 -9
  253. tccli/services/vclm/v20240523/api.json +225 -82
  254. tccli/services/vclm/v20240523/examples.json +13 -19
  255. tccli/services/vod/v20180717/api.json +431 -4
  256. tccli/services/vod/v20180717/examples.json +25 -5
  257. tccli/services/vod/v20240718/api.json +11 -11
  258. tccli/services/vod/v20240718/examples.json +4 -4
  259. tccli/services/vod/vod_client.py +53 -0
  260. tccli/services/vpc/v20170312/api.json +1195 -892
  261. tccli/services/vpc/v20170312/examples.json +84 -68
  262. tccli/services/vpc/vpc_client.py +168 -62
  263. tccli/services/waf/v20180125/api.json +2611 -2187
  264. tccli/services/waf/v20180125/examples.json +224 -284
  265. tccli/services/waf/waf_client.py +225 -119
  266. tccli/services/wav/v20210129/api.json +48 -48
  267. tccli/services/wav/v20210129/examples.json +4 -4
  268. tccli/services/wedata/v20210820/api.json +1595 -25
  269. tccli/services/wedata/v20210820/examples.json +44 -4
  270. tccli/services/wedata/wedata_client.py +265 -0
  271. tccli/services/weilingwith/v20230427/api.json +6 -6
  272. tccli/services/weilingwith/v20230427/examples.json +3 -3
  273. tccli/sso.py +229 -0
  274. {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/METADATA +6 -2
  275. {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/RECORD +278 -265
  276. tccli/services/cr/__init__.py +0 -4
  277. tccli/services/cr/cr_client.py +0 -1626
  278. tccli/services/cr/v20180321/api.json +0 -2829
  279. tccli/services/cr/v20180321/examples.json +0 -235
  280. {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/WHEEL +0 -0
  281. {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/entry_points.txt +0 -0
  282. {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/license_files/LICENSE +0 -0
@@ -22,7 +22,7 @@
22
22
  "status": "deprecated"
23
23
  },
24
24
  "CreateModel": {
25
- "document": "在使用LUT素材的modelid实现试唇色前,您需要先上传 LUT 格式的cube文件注册唇色ID。查看 [LUT文件的使用说明](https://cloud.tencent.com/document/product/1172/41701)。\n\n注:您也可以直接使用 [试唇色接口](https://cloud.tencent.com/document/product/1172/40706),通过输入RGBA模型数值的方式指定唇色,更简单易用。\n",
25
+ "document": "在使用LUT素材的modelid实现试唇色前,您需要先上传 LUT 格式的cube文件注册唇色ID。查看 [LUT文件的使用说明](https://cloud.tencent.com/document/product/1172/41701)。\n\n注:您也可以直接使用 [试唇色接口](https://cloud.tencent.com/document/product/1172/40706),通过输入RGBA模型数值的方式指定唇色,更简单易用。",
26
26
  "input": "CreateModelRequest",
27
27
  "name": "上传唇色素材",
28
28
  "output": "CreateModelResponse",
@@ -84,7 +84,7 @@
84
84
  {
85
85
  "disabled": false,
86
86
  "document": "图片 base64 数据,base64 编码后大小不可超过5M。 \n支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。",
87
- "example": "string",
87
+ "example": "/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z",
88
88
  "member": "string",
89
89
  "name": "Image",
90
90
  "required": false,
@@ -93,7 +93,7 @@
93
93
  {
94
94
  "disabled": false,
95
95
  "document": "图片的 Url 。对应图片 base64 编码后大小不可超过5M。 \nUrl、Image必须提供一个,如果都提供,只使用 Url。 \n图片存储于腾讯云的Url可保障更高下载速度和稳定性,建议图片存储于腾讯云。 \n非腾讯云存储的Url速度和稳定性可能受一定影响。 \n支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。",
96
- "example": "http://i2.sinaimg.cn/ty/nba/2015-07-05/U10236P6T12D7648505F44DT20150705114547.jpg",
96
+ "example": "https://liudehua-9527.cos.ap-guangzhou.myqcloud.com/input.jpeg",
97
97
  "member": "string",
98
98
  "name": "Url",
99
99
  "required": false,
@@ -138,7 +138,7 @@
138
138
  {
139
139
  "disabled": false,
140
140
  "document": "返回图像方式(base64 或 url ) ,二选一。url有效期为1天。",
141
- "example": "string",
141
+ "example": "base64",
142
142
  "member": "string",
143
143
  "name": "RspImgType",
144
144
  "required": false,
@@ -153,18 +153,20 @@
153
153
  {
154
154
  "disabled": false,
155
155
  "document": "RspImgType 为 base64 时,返回处理后的图片 base64 数据。默认返回base64\n注意:此字段可能返回 null,表示取不到有效值。",
156
- "example": "string",
156
+ "example": "/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z",
157
157
  "member": "string",
158
158
  "name": "ResultImage",
159
+ "output_required": true,
159
160
  "type": "string",
160
161
  "value_allowed_null": true
161
162
  },
162
163
  {
163
164
  "disabled": false,
164
165
  "document": "RspImgType 为 url 时,返回处理后的图片 url 数据。\n注意:此字段可能返回 null,表示取不到有效值。",
165
- "example": "string",
166
+ "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",
166
167
  "member": "string",
167
168
  "name": "ResultUrl",
169
+ "output_required": true,
168
170
  "type": "string",
169
171
  "value_allowed_null": true
170
172
  },
@@ -397,7 +399,7 @@
397
399
  {
398
400
  "disabled": false,
399
401
  "document": "图片base64数据,用于试唇色,要求必须是LUT 格式的cube文件转换成512*512的PNG图片。查看 [LUT文件的使用说明](https://cloud.tencent.com/document/product/1172/41701)。了解 [cube文件转png图片小工具](http://yyb.gtimg.com/aiplat/static/qcloud-cube-to-png.html)。",
400
- "example": "xxxxx",
402
+ "example": "/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z",
401
403
  "member": "string",
402
404
  "name": "LUTFile",
403
405
  "required": true,
@@ -421,10 +423,10 @@
421
423
  {
422
424
  "disabled": false,
423
425
  "document": "唇色素材ID。",
424
- "example": "id",
426
+ "example": "mo_0_1731389015111_1259088222_3",
425
427
  "member": "string",
426
428
  "name": "ModelId",
427
- "required": true,
429
+ "output_required": true,
428
430
  "type": "string",
429
431
  "value_allowed_null": false
430
432
  },
@@ -443,7 +445,7 @@
443
445
  {
444
446
  "disabled": false,
445
447
  "document": "素材ID。",
446
- "example": "",
448
+ "example": "mo_0_1731389015111_1259088222_3",
447
449
  "member": "string",
448
450
  "name": "ModelId",
449
451
  "required": true,
@@ -470,42 +472,38 @@
470
472
  {
471
473
  "disabled": false,
472
474
  "document": "人脸框左上角横坐标。",
473
- "example": "",
475
+ "example": "10",
474
476
  "member": "int64",
475
477
  "name": "X",
476
478
  "required": true,
477
- "type": "int",
478
- "value_allowed_null": false
479
+ "type": "int"
479
480
  },
480
481
  {
481
482
  "disabled": false,
482
483
  "document": "人脸框左上角纵坐标。",
483
- "example": "",
484
+ "example": "10",
484
485
  "member": "int64",
485
486
  "name": "Y",
486
487
  "required": true,
487
- "type": "int",
488
- "value_allowed_null": false
488
+ "type": "int"
489
489
  },
490
490
  {
491
491
  "disabled": false,
492
492
  "document": "人脸框宽度。",
493
- "example": "",
493
+ "example": "20",
494
494
  "member": "int64",
495
495
  "name": "Width",
496
496
  "required": true,
497
- "type": "int",
498
- "value_allowed_null": false
497
+ "type": "int"
499
498
  },
500
499
  {
501
500
  "disabled": false,
502
501
  "document": "人脸框高度。",
503
- "example": "",
502
+ "example": "20",
504
503
  "member": "int64",
505
504
  "name": "Height",
506
505
  "required": true,
507
- "type": "int",
508
- "value_allowed_null": false
506
+ "type": "int"
509
507
  }
510
508
  ],
511
509
  "usage": "in"
@@ -550,7 +548,7 @@
550
548
  {
551
549
  "disabled": false,
552
550
  "document": "素材数据\n注意:此字段可能返回 null,表示取不到有效值。",
553
- "example": "{}",
551
+ "example": "[{\"ModelId\":\"mo_0_111111140461_1259088222_3\",\"Description\":\"\",\"LUTFileUrl\":\"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\"}]",
554
552
  "member": "ModelInfo",
555
553
  "name": "ModelInfos",
556
554
  "output_required": true,
@@ -572,42 +570,38 @@
572
570
  {
573
571
  "disabled": false,
574
572
  "document": "使用RGBA模型试唇色。",
575
- "example": "",
573
+ "example": "{\"R\":220,\"G\":2,\"B\":44,\"A\":50}",
576
574
  "member": "RGBAInfo",
577
575
  "name": "RGBA",
578
576
  "required": false,
579
- "type": "object",
580
- "value_allowed_null": false
577
+ "type": "object"
581
578
  },
582
579
  {
583
580
  "disabled": false,
584
581
  "document": "使用已注册的 LUT 文件试唇色。 \nModelId 和 RGBA 两个参数只需提供一个,若都提供只使用 ModelId。",
585
- "example": "",
582
+ "example": "mo_0_1622620141111_1259088111_1",
586
583
  "member": "string",
587
584
  "name": "ModelId",
588
585
  "required": false,
589
- "type": "string",
590
- "value_allowed_null": false
586
+ "type": "string"
591
587
  },
592
588
  {
593
589
  "disabled": false,
594
590
  "document": "人脸框位置。若不输入则选择 Image 或 Url 中面积最大的人脸。 \n您可以通过 [人脸检测与分析](https://cloud.tencent.com/document/api/867/32800) 接口获取人脸框位置信息。",
595
- "example": "",
591
+ "example": "{\"X\": 10, \"Y\": 10, \"Width\": 20, \"Height\": 20}",
596
592
  "member": "FaceRect",
597
593
  "name": "FaceRect",
598
594
  "required": false,
599
- "type": "object",
600
- "value_allowed_null": false
595
+ "type": "object"
601
596
  },
602
597
  {
603
598
  "disabled": false,
604
599
  "document": "涂妆浓淡[0,100]。建议取值50。本参数仅控制ModelId对应的涂妆浓淡。",
605
- "example": "",
600
+ "example": "50",
606
601
  "member": "int64",
607
602
  "name": "ModelAlpha",
608
603
  "required": false,
609
- "type": "int",
610
- "value_allowed_null": false
604
+ "type": "int"
611
605
  }
612
606
  ],
613
607
  "usage": "in"
@@ -618,30 +612,30 @@
618
612
  {
619
613
  "disabled": false,
620
614
  "document": "唇色素材ID",
621
- "example": "",
615
+ "example": "mo_0_1622620141111_1259088111_1",
622
616
  "member": "string",
623
617
  "name": "ModelId",
624
- "required": true,
618
+ "output_required": true,
625
619
  "type": "string",
626
620
  "value_allowed_null": false
627
621
  },
628
622
  {
629
623
  "disabled": false,
630
624
  "document": "唇色素材 url 。 LUT 文件 url 5分钟有效。",
631
- "example": "",
625
+ "example": "https://liudehua-9527.cos.ap-guangzhou.myqcloud.com/input.jpeg",
632
626
  "member": "string",
633
627
  "name": "LUTFileUrl",
634
- "required": true,
628
+ "output_required": true,
635
629
  "type": "string",
636
630
  "value_allowed_null": false
637
631
  },
638
632
  {
639
633
  "disabled": false,
640
634
  "document": "文件描述信息。",
641
- "example": "",
635
+ "example": "图片",
642
636
  "member": "string",
643
637
  "name": "Description",
644
- "required": true,
638
+ "output_required": true,
645
639
  "type": "string",
646
640
  "value_allowed_null": false
647
641
  }
@@ -711,42 +705,38 @@
711
705
  {
712
706
  "disabled": false,
713
707
  "document": "R通道数值。[0,255]。",
714
- "example": "",
708
+ "example": "220",
715
709
  "member": "int64",
716
710
  "name": "R",
717
711
  "required": true,
718
- "type": "int",
719
- "value_allowed_null": false
712
+ "type": "int"
720
713
  },
721
714
  {
722
715
  "disabled": false,
723
716
  "document": "G通道数值。[0,255]。",
724
- "example": "",
717
+ "example": "2",
725
718
  "member": "int64",
726
719
  "name": "G",
727
720
  "required": true,
728
- "type": "int",
729
- "value_allowed_null": false
721
+ "type": "int"
730
722
  },
731
723
  {
732
724
  "disabled": false,
733
725
  "document": "B通道数值。[0,255]。",
734
- "example": "",
726
+ "example": "44",
735
727
  "member": "int64",
736
728
  "name": "B",
737
729
  "required": true,
738
- "type": "int",
739
- "value_allowed_null": false
730
+ "type": "int"
740
731
  },
741
732
  {
742
733
  "disabled": false,
743
734
  "document": "A通道数值。[0,100]。建议取值50。",
744
- "example": "",
735
+ "example": "50",
745
736
  "member": "int64",
746
737
  "name": "A",
747
738
  "required": true,
748
- "type": "int",
749
- "value_allowed_null": false
739
+ "type": "int"
750
740
  }
751
741
  ],
752
742
  "usage": "in"
@@ -766,7 +756,7 @@
766
756
  {
767
757
  "disabled": false,
768
758
  "document": "图片 base64 数据,base64 编码后大小不可超过5M。 \n支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。",
769
- "example": "string",
759
+ "example": "/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z",
770
760
  "member": "string",
771
761
  "name": "Image",
772
762
  "required": false,
@@ -775,7 +765,7 @@
775
765
  {
776
766
  "disabled": false,
777
767
  "document": "图片的 Url ,对应图片 base64 编码后大小不可超过5M。 \n图片的 Url、Image必须提供一个,如果都提供,只使用 Url。 \n图片存储于腾讯云的 Url 可保障更高下载速度和稳定性,建议图片存储于腾讯云。 \n非腾讯云存储的Url速度和稳定性可能受一定影响。 \n支持PNG、JPG、JPEG、BMP 等图片格式,不支持 GIF 图片。",
778
- "example": "string",
768
+ "example": "https://liudehua-9527.cos.ap-guangzhou.myqcloud.com/input.jpeg",
779
769
  "member": "string",
780
770
  "name": "Url",
781
771
  "required": false,
@@ -808,7 +798,7 @@
808
798
  {
809
799
  "disabled": false,
810
800
  "document": "RspImgType 为 base64 时,返回处理后的图片 base64 数据。默认返回base64\n注意:此字段可能返回 null,表示取不到有效值。",
811
- "example": "string",
801
+ "example": "/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z",
812
802
  "member": "string",
813
803
  "name": "ResultImage",
814
804
  "output_required": true,
@@ -818,7 +808,7 @@
818
808
  {
819
809
  "disabled": false,
820
810
  "document": "RspImgType 为 url 时,返回处理后的图片 url 数据。\n注意:此字段可能返回 null,表示取不到有效值。",
821
- "example": "string",
811
+ "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",
822
812
  "member": "string",
823
813
  "name": "ResultUrl",
824
814
  "output_required": true,
@@ -849,7 +839,7 @@
849
839
  {
850
840
  "disabled": false,
851
841
  "document": "图片 base64 数据,base64 编码后大小不可超过5M。 \n支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。",
852
- "example": "string",
842
+ "example": "/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z",
853
843
  "member": "string",
854
844
  "name": "Image",
855
845
  "required": false,
@@ -858,7 +848,7 @@
858
848
  {
859
849
  "disabled": false,
860
850
  "document": "图片的 Url ,对应图片 base64 编码后大小不可超过5M。 \n图片的 Url、Image必须提供一个,如果都提供,只使用 Url。 \n图片存储于腾讯云的 Url 可保障更高下载速度和稳定性,建议图片存储于腾讯云。 \n非腾讯云存储的Url速度和稳定性可能受一定影响。 \n支持PNG、JPG、JPEG、BMP 等图片格式,不支持 GIF 图片。",
861
- "example": "string",
851
+ "example": "https://liudehua-9527.cos.ap-guangzhou.myqcloud.com/input.jpeg",
862
852
  "member": "string",
863
853
  "name": "Url",
864
854
  "required": false,
@@ -891,7 +881,7 @@
891
881
  {
892
882
  "disabled": false,
893
883
  "document": "RspImgType 为 base64 时,返回处理后的图片 base64 数据。默认返回base64\n注意:此字段可能返回 null,表示取不到有效值。",
894
- "example": "string",
884
+ "example": "/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z",
895
885
  "member": "string",
896
886
  "name": "ResultImage",
897
887
  "output_required": true,
@@ -901,7 +891,7 @@
901
891
  {
902
892
  "disabled": false,
903
893
  "document": "RspImgType 为 url 时,返回处理后的图片 url 数据。\n注意:此字段可能返回 null,表示取不到有效值。",
904
- "example": "string",
894
+ "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",
905
895
  "member": "string",
906
896
  "name": "ResultUrl",
907
897
  "output_required": true,
@@ -923,7 +913,7 @@
923
913
  {
924
914
  "disabled": false,
925
915
  "document": "唇色信息。 \n您可以输入最多3个 LipColorInfo 来实现给一张图中的最多3张人脸试唇色。",
926
- "example": "",
916
+ "example": "[{\"RGBA\":{\"R\":220,\"G\":2,\"B\":44,\"A\":50},\"ModelAlpha\":50}]",
927
917
  "member": "LipColorInfo",
928
918
  "name": "LipColorInfos",
929
919
  "required": true,
@@ -932,7 +922,7 @@
932
922
  {
933
923
  "disabled": false,
934
924
  "document": "图片 base64 数据,base64 编码后大小不可超过6M。 \n支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。",
935
- "example": "",
925
+ "example": "/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z",
936
926
  "member": "string",
937
927
  "name": "Image",
938
928
  "required": false,
@@ -941,7 +931,7 @@
941
931
  {
942
932
  "disabled": false,
943
933
  "document": "图片的 Url ,对应图片 base64 编码后大小不可超过6M。 \n图片的 Url、Image必须提供一个,如果都提供,只使用 Url。 \n图片存储于腾讯云的 Url 可保障更高下载速度和稳定性,建议图片存储于腾讯云。 \n非腾讯云存储的Url速度和稳定性可能受一定影响。 \n支持PNG、JPG、JPEG、BMP,不支持 GIF 图片。",
944
- "example": "",
934
+ "example": "https://liudehua-9527.cos.ap-guangzhou.myqcloud.com/input.jpeg",
945
935
  "member": "string",
946
936
  "name": "Url",
947
937
  "required": false,
@@ -950,7 +940,7 @@
950
940
  {
951
941
  "disabled": false,
952
942
  "document": "返回图像方式(base64 或 url ) ,二选一。url有效期为1天。",
953
- "example": "",
943
+ "example": "base64",
954
944
  "member": "string",
955
945
  "name": "RspImgType",
956
946
  "required": false,
@@ -965,18 +955,20 @@
965
955
  {
966
956
  "disabled": false,
967
957
  "document": "RspImgType 为 base64 时,返回处理后的图片 base64 数据。默认返回base64",
968
- "example": "",
958
+ "example": "/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z",
969
959
  "member": "string",
970
960
  "name": "ResultImage",
961
+ "output_required": true,
971
962
  "type": "string",
972
963
  "value_allowed_null": false
973
964
  },
974
965
  {
975
966
  "disabled": false,
976
967
  "document": "RspImgType 为 url 时,返回处理后的图片 url 数据。",
977
- "example": "",
968
+ "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",
978
969
  "member": "string",
979
970
  "name": "ResultUrl",
971
+ "output_required": true,
980
972
  "type": "string",
981
973
  "value_allowed_null": false
982
974
  },
@@ -3,8 +3,8 @@
3
3
  "BeautifyPic": [
4
4
  {
5
5
  "document": "人脸美颜请求",
6
- "input": "POST / HTTP/1.1\nHost: fmu.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BeautifyPic\n<公共请求参数>\n\n{\n \"Url\": \"test.jpg\",\n \"RspImgType\": \"url\"\n}",
7
- "output": "{\n \"Response\": {\n \"ResultUrl\": \"result.jpg\",\n \"ResultImage\": \"\",\n \"RequestId\": \"1a2e88a4-3614-48a0-96b9-d09bf6de2fe4\"\n }\n}",
6
+ "input": "POST / HTTP/1.1\nHost: fmu.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BeautifyPic\n<公共请求参数>\n\n{\n \"Url\": \"https://liudehua-9527.cos.ap-guangzhou.myqcloud.com/input.jpeg\",\n \"RspImgType\": \"url\"\n}",
7
+ "output": "{\n \"Response\": {\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 \"ResultImage\": \"\",\n \"RequestId\": \"1a2e88a4-3614-48a0-96b9-d09bf6de2fe4\"\n }\n}",
8
8
  "title": "人脸美颜请求示例"
9
9
  }
10
10
  ],
@@ -27,27 +27,27 @@
27
27
  "CreateModel": [
28
28
  {
29
29
  "document": "",
30
- "input": "https://fmu.tencentcloudapi.com/?Action=CreateModel\n&LUTFile=xxxxx\n&Description=红色\n&<公共请求参数>",
30
+ "input": "POST / HTTP/1.1\nHost: fmu.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateModel\n<公共请求参数>\n\n{\n \"LUTFile\": \"/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z\",\n \"Description\": \"红色\"\n}",
31
31
  "output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameterValue.LutImageInvalid\",\n \"Message\": \"图片不合法,必须是512*512的PNG图片。\"\n },\n \"RequestId\": \"615c23aa-8877-4a10-b01b-50a3d346050f\"\n }\n}",
32
32
  "title": "调用返回失败"
33
33
  },
34
34
  {
35
35
  "document": "",
36
- "input": "https://fmu.tencentcloudapi.com/?Action=CreateModel\n&LUTFile=xxxxx\n&Description=红色\n&<公共请求参数>",
37
- "output": "{\n \"Response\": {\n \"ModelId\": \"id\",\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
36
+ "input": "POST / HTTP/1.1\nHost: fmu.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateModel\n<公共请求参数>\n\n{\n \"LUTFile\": \"/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z\",\n \"Description\": \"红色\"\n}",
37
+ "output": "{\n \"Response\": {\n \"ModelId\": \"mo_0_1731389015111_1259088222_3\",\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
38
38
  "title": "调用返回成功"
39
39
  }
40
40
  ],
41
41
  "DeleteModel": [
42
42
  {
43
43
  "document": "",
44
- "input": "https://fmu.tencentcloudapi.com/?Action=DeleteModel\r\n&ModelId=xxxxx\r\n&<公共请求参数>",
44
+ "input": "POST / HTTP/1.1\nHost: fmu.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteModel\n<公共请求参数>\n\n{\n \"ModelId\": \"mo_0_1731389015111_1259088222_3\"\n}",
45
45
  "output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameterValue.ModelIdNotFound\",\n \"Message\": \"未查找到素材id。\"\n },\n \"RequestId\": \"9208c1e0-d2e2-493f-9a46-299c02824625\"\n }\n}",
46
46
  "title": "调用返回失败"
47
47
  },
48
48
  {
49
49
  "document": "",
50
- "input": "https://fmu.tencentcloudapi.com/?Action=DeleteModel\r\n&ModelId=xxxxx\r\n&<公共请求参数>",
50
+ "input": "POST / HTTP/1.1\nHost: fmu.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteModel\n<公共请求参数>\n\n{\n \"ModelId\": \"mo_0_1731389015111_1259088222_3\"\n}",
51
51
  "output": "{\n \"Response\": {\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
52
52
  "title": "调用返回成功"
53
53
  }
@@ -55,8 +55,8 @@
55
55
  "GetModelList": [
56
56
  {
57
57
  "document": "",
58
- "input": "https://fmu.tencentcloudapi.com/?Action=GetModelList\r\n&Offset=0\r\n&Limit=3\r\n&<公共请求参数>",
59
- "output": "{\n \"Response\": {\n \"ModelIdNum\": 1,\n \"ModelInfos\": [\n {\n \"ModelId\": \"id1\",\n \"Description\": \"desc\",\n \"LUTFileUrl\": \"LUTFileUrl\"\n }\n ],\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
58
+ "input": "POST / HTTP/1.1\nHost: fmu.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetModelList\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 3\n}",
59
+ "output": "{\n \"Response\": {\n \"ModelIdNum\": 1,\n \"ModelInfos\": [\n {\n \"ModelId\": \"mo_0_111111140461_1259088222_3\",\n \"Description\": \"\",\n \"LUTFileUrl\": \"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 }\n ],\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
60
60
  "title": "人脸特效-人脸试妆-拉起素材列表"
61
61
  }
62
62
  ],
@@ -71,13 +71,13 @@
71
71
  "StyleImage": [
72
72
  {
73
73
  "document": "",
74
- "input": "https://fmu.tencentcloudapi.com/?Action=StyleImage\n&Image=xxxxx\n&FilterType=2\n&FilterDegree=80\n&<公共请求参数>",
75
- "output": "{\n \"Response\": {\n \"ResultImage\": \"base64编码的图片\",\n \"ResultUrl\": \"\",\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
74
+ "input": "POST / HTTP/1.1\nHost: fmu.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StyleImage\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 \"FilterDegree\": 1,\n \"FilterType\": 1,\n \"RspImgType\": \"base64\"\n}",
75
+ "output": "{\n \"Response\": {\n \"ResultImage\": \"/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z\",\n \"ResultUrl\": \"\",\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
76
76
  "title": "调用成功示例"
77
77
  },
78
78
  {
79
79
  "document": "",
80
- "input": "https://fmu.tencentcloudapi.com/?Action=StyleImage\n&Image=xxxxx\n&FilterType=-1\n&<公共请求参数>",
80
+ "input": "POST / HTTP/1.1\nHost: fmu.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StyleImage\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 \"FilterDegree\": 1,\n \"FilterType\": 1,\n \"RspImgType\": \"base64\"\n}",
81
81
  "output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameterValue.ParameterValueError\",\n \"Message\": \"参数字段或者值有误。\"\n },\n \"RequestId\": \"b68b7c3a-410d-4af1-b63c-97450683b09b\"\n }\n}",
82
82
  "title": "调用返回失败"
83
83
  }
@@ -85,13 +85,13 @@
85
85
  "StyleImagePro": [
86
86
  {
87
87
  "document": "",
88
- "input": "https://fmu.tencentcloudapi.com/?Action=StyleImagePro\n&Image=xxxxx\n&FilterType=2\n&FilterDegree=80\n&<公共请求参数>",
89
- "output": "{\n \"Response\": {\n \"ResultImage\": \"base64编码的图片\",\n \"ResultUrl\": \"\",\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
88
+ "input": "POST / HTTP/1.1\nHost: fmu.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StyleImagePro\n<公共请求参数>\n\n{\n \"FilterType\": 1,\n \"Image\": \"/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z\",\n \"Url\": \"https://liudehua-9527.cos.ap-guangzhou.myqcloud.com/input.jpeg\",\n \"FilterDegree\": 0,\n \"RspImgType\": \"base64\"\n}",
89
+ "output": "{\n \"Response\": {\n \"ResultImage\": \"/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z\",\n \"ResultUrl\": \"\",\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
90
90
  "title": "调用成功示例"
91
91
  },
92
92
  {
93
93
  "document": "",
94
- "input": "https://fmu.tencentcloudapi.com/?Action=StyleImagePro\n&Image=xxxxx\n&FilterType=-1\n&<公共请求参数>",
94
+ "input": "POST / HTTP/1.1\nHost: fmu.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StyleImagePro\n<公共请求参数>\n\n{\n \"FilterType\": 1,\n \"Image\": \"/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z\",\n \"Url\": \"https://liudehua-9527.cos.ap-guangzhou.myqcloud.com/input.jpeg\",\n \"FilterDegree\": 0,\n \"RspImgType\": \"base64\"\n}",
95
95
  "output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameterValue.ParameterValueError\",\n \"Message\": \"参数字段或者值有误。\"\n },\n \"RequestId\": \"b68b7c3a-410d-4af1-b63c-97450683b09b\"\n }\n}",
96
96
  "title": "调用返回失败"
97
97
  }
@@ -99,26 +99,26 @@
99
99
  "TryLipstickPic": [
100
100
  {
101
101
  "document": "",
102
- "input": "https://fmu.tencentcloudapi.com/?Action=TryLipstickPic\r\n&Image=xxxxx\r\n&LipColorInfos.0.RGBA.R=200\r\n&LipColorInfos.0.RGBA.G=0\r\n&LipColorInfos.0.RGBA.B=0\r\n&LipColorInfos.0.RGBA.A=50\r\n&<公共请求参数>",
102
+ "input": "POST / HTTP/1.1\nHost: fmu.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: TryLipstickPic\n<公共请求参数>\n\n{\n \"Image\": \"/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z\",\n \"LipColorInfos\": [\n {\n \"RGBA\": {\n \"R\": 220,\n \"G\": 2,\n \"B\": 44,\n \"A\": 50\n },\n \"ModelAlpha\": 50\n }\n ],\n \"RspImgType\": \"base64\"\n}",
103
103
  "output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameterValue.ParameterValueError\",\n \"Message\": \"参数字段或者值有误。\"\n },\n \"RequestId\": \"b68b7c3a-410d-4af1-b63c-97450683b09b\"\n }\n}",
104
104
  "title": "调用返回失败"
105
105
  },
106
106
  {
107
107
  "document": "",
108
- "input": "https://fmu.tencentcloudapi.com/?Action=TryLipstickPic\r\n&Image=xxxxx\r\n&LipColorInfos.0.RGBA.R=200\r\n&LipColorInfos.0.RGBA.G=0\r\n&LipColorInfos.0.RGBA.B=0\r\n&LipColorInfos.0.RGBA.A=50\r\n&<公共请求参数>",
109
- "output": "{\n \"Response\": {\n \"ResultImage\": \"base64编码的图片\",\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
108
+ "input": "POST / HTTP/1.1\nHost: fmu.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: TryLipstickPic\n<公共请求参数>\n\n{\n \"Image\": \"/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z\",\n \"LipColorInfos\": [\n {\n \"RGBA\": {\n \"R\": 220,\n \"G\": 2,\n \"B\": 44,\n \"A\": 50\n },\n \"ModelAlpha\": 50\n }\n ],\n \"RspImgType\": \"base64\"\n}",
109
+ "output": "{\n \"Response\": {\n \"ResultImage\": \"/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z\",\n \"ResultUrl\": \"\",\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
110
110
  "title": "调用返回成功(使用RGBA指定唇色)"
111
111
  },
112
112
  {
113
113
  "document": "",
114
- "input": "https://fmu.tencentcloudapi.com/?Action=TryLipstickPic\r\n&Image=xxxxx\r\n&LipColorInfos.0.ModelId=xxx\r\n&<公共请求参数>",
115
- "output": "{\n \"Response\": {\n \"ResultImage\": \"base64编码的图片\",\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
114
+ "input": "POST / HTTP/1.1\nHost: fmu.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: TryLipstickPic\n<公共请求参数>\n\n{\n \"Image\": \"/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z\",\n \"LipColorInfos\": [\n {\n \"ModelId\": \"mo_0_1622620141111_1259088111_1\"\n }\n ],\n \"RspImgType\": \"base64\"\n}",
115
+ "output": "{\n \"Response\": {\n \"ResultImage\": \"/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z\",\n \"ResultUrl\": \"\",\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
116
116
  "title": "调用返回成功(使用Lut素材modelid指定唇色)"
117
117
  },
118
118
  {
119
119
  "document": "您可以通过 [人脸检测与分析](https://cloud.tencent.com/document/api/867/32800) 接口获取图片的人脸框位置信息。",
120
- "input": "https://fmu.tencentcloudapi.com/?Action=TryLipstickPic\r\n&Image=xxxxx\r\n&LipColorInfos.0.ModelId=xxx\r\n&LipColorInfos.0.FaceRect.X=整型\r\n&LipColorInfos.0.FaceRect.Y=整型\r\n&LipColorInfos.0.FaceRect.Width=整型\r\n&LipColorInfos.0.FaceRect.Height=整型\r\n&LipColorInfos.1.ModelId=xxx\r\n&LipColorInfos.1.FaceRect.X=整型\r\n&LipColorInfos.1.FaceRect.Y=整型\r\n&LipColorInfos.1.FaceRect.Width=整型\r\n&LipColorInfos.1.FaceRect.Height=整型\r\n&<公共请求参数>",
121
- "output": "{\n \"Response\": {\n \"ResultImage\": \"base64编码的图片\",\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
120
+ "input": "POST / HTTP/1.1\nHost: fmu.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: TryLipstickPic\n<公共请求参数>\n\n{\n \"Image\": \"/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z\",\n \"LipColorInfos\": [\n {\n \"ModelId\": \"mo_0_1622620141111_1259088111_1\"\n },\n {\n \"ModelId\": \"mo_0_1622620141238_1259088111_2\"\n }\n ],\n \"RspImgType\": \"base64\"\n}",
121
+ "output": "{\n \"Response\": {\n \"ResultImage\": \"/9j/4AAQSkZJRgABAQAAAQABAAD/4gIo...lftXF/DjFZNXoSP5V2U0HMt/1FQf/Z\",\n \"ResultUrl\": \"\",\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
122
122
  "title": "调用返回成功(图片有多张脸时指定人脸框)"
123
123
  }
124
124
  ]