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.
Files changed (252) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/argparser.py +1 -1
  3. tccli/command.py +2 -2
  4. tccli/credentials.py +25 -0
  5. tccli/main.py +6 -2
  6. tccli/plugins/sso/__init__.py +61 -0
  7. tccli/plugins/sso/configs.py +4 -0
  8. tccli/plugins/sso/configure.py +45 -0
  9. tccli/plugins/sso/login.py +144 -0
  10. tccli/plugins/sso/logout.py +21 -0
  11. tccli/plugins/sso/terminal.py +161 -0
  12. tccli/plugins/sso/texts.py +40 -0
  13. tccli/services/__init__.py +6 -0
  14. tccli/services/acp/v20220105/api.json +7 -7
  15. tccli/services/acp/v20220105/examples.json +2 -2
  16. tccli/services/aiart/v20221229/api.json +29 -29
  17. tccli/services/aiart/v20221229/examples.json +8 -8
  18. tccli/services/apigateway/v20180808/api.json +18 -17
  19. tccli/services/apigateway/v20180808/examples.json +12 -12
  20. tccli/services/apm/v20210622/api.json +98 -4
  21. tccli/services/asr/v20190614/api.json +18 -17
  22. tccli/services/asr/v20190614/examples.json +13 -13
  23. tccli/services/autoscaling/v20180419/api.json +371 -309
  24. tccli/services/autoscaling/v20180419/examples.json +17 -17
  25. tccli/services/batch/v20170312/api.json +7 -7
  26. tccli/services/bda/v20200324/api.json +39 -31
  27. tccli/services/bda/v20200324/examples.json +9 -9
  28. tccli/services/bh/__init__.py +4 -0
  29. tccli/services/bh/bh_client.py +3428 -0
  30. tccli/services/bh/v20230418/api.json +8180 -0
  31. tccli/services/bh/v20230418/examples.json +519 -0
  32. tccli/services/bi/v20220105/api.json +48 -0
  33. tccli/services/billing/v20180709/api.json +26 -24
  34. tccli/services/bsca/v20210811/api.json +1 -1
  35. tccli/services/btoe/v20210514/api.json +4 -4
  36. tccli/services/btoe/v20210514/examples.json +2 -2
  37. tccli/services/ca/v20230228/api.json +60 -0
  38. tccli/services/cam/v20190116/api.json +11 -11
  39. tccli/services/cat/v20180409/api.json +9 -0
  40. tccli/services/cbs/v20170312/api.json +200 -188
  41. tccli/services/cbs/v20170312/examples.json +4 -4
  42. tccli/services/ccc/v20200210/api.json +390 -323
  43. tccli/services/ccc/v20200210/examples.json +15 -15
  44. tccli/services/cdb/cdb_client.py +13 -13
  45. tccli/services/cdb/v20170320/api.json +295 -270
  46. tccli/services/cdb/v20170320/examples.json +38 -38
  47. tccli/services/cdc/v20201214/api.json +283 -270
  48. tccli/services/cdc/v20201214/examples.json +26 -26
  49. tccli/services/cds/v20180420/api.json +82 -76
  50. tccli/services/cds/v20180420/examples.json +1 -1
  51. tccli/services/cdwch/v20200915/api.json +1 -1
  52. tccli/services/cdwdoris/v20211228/api.json +42 -2
  53. tccli/services/cdz/v20221123/api.json +41 -5
  54. tccli/services/cfg/v20210820/api.json +31 -0
  55. tccli/services/cfs/v20190719/api.json +89 -1
  56. tccli/services/cfs/v20190719/examples.json +1 -1
  57. tccli/services/cfw/cfw_client.py +0 -53
  58. tccli/services/cfw/v20190904/api.json +1849 -1999
  59. tccli/services/cfw/v20190904/examples.json +157 -159
  60. tccli/services/ckafka/v20190819/api.json +104 -75
  61. tccli/services/clb/v20180317/api.json +48 -26
  62. tccli/services/clb/v20180317/examples.json +1 -1
  63. tccli/services/cloudapp/v20220530/api.json +5 -1
  64. tccli/services/cloudaudit/v20190319/api.json +58 -44
  65. tccli/services/cloudaudit/v20190319/examples.json +6 -6
  66. tccli/services/cloudstudio/v20230508/api.json +38 -37
  67. tccli/services/cloudstudio/v20230508/examples.json +4 -4
  68. tccli/services/cls/cls_client.py +216 -4
  69. tccli/services/cls/v20201016/api.json +536 -47
  70. tccli/services/cls/v20201016/examples.json +34 -2
  71. tccli/services/csip/v20221121/api.json +2562 -2382
  72. tccli/services/csip/v20221121/examples.json +108 -108
  73. tccli/services/cvm/v20170312/api.json +149 -112
  74. tccli/services/cvm/v20170312/examples.json +2 -2
  75. tccli/services/cwp/cwp_client.py +4 -110
  76. tccli/services/cwp/v20180228/api.json +6338 -6146
  77. tccli/services/cwp/v20180228/examples.json +342 -370
  78. tccli/services/cynosdb/v20190107/api.json +93 -81
  79. tccli/services/cynosdb/v20190107/examples.json +70 -70
  80. tccli/services/dasb/v20191018/api.json +796 -651
  81. tccli/services/dasb/v20191018/examples.json +101 -101
  82. tccli/services/dcdb/dcdb_client.py +114 -61
  83. tccli/services/dcdb/v20180411/api.json +141 -7
  84. tccli/services/dcdb/v20180411/examples.json +32 -0
  85. tccli/services/dlc/v20210125/api.json +21 -11
  86. tccli/services/dnspod/dnspod_client.py +417 -46
  87. tccli/services/dnspod/v20210323/api.json +751 -30
  88. tccli/services/dnspod/v20210323/examples.json +62 -0
  89. tccli/services/dts/v20211206/api.json +4 -4
  90. tccli/services/ecm/v20190719/api.json +2 -2
  91. tccli/services/emr/v20190103/api.json +339 -114
  92. tccli/services/emr/v20190103/examples.json +64 -82
  93. tccli/services/es/v20180416/api.json +29 -0
  94. tccli/services/es/v20180416/examples.json +1 -1
  95. tccli/services/ess/v20201111/api.json +49 -31
  96. tccli/services/ess/v20201111/examples.json +20 -8
  97. tccli/services/essbasic/v20210526/api.json +54 -49
  98. tccli/services/essbasic/v20210526/examples.json +36 -18
  99. tccli/services/facefusion/v20181201/api.json +47 -45
  100. tccli/services/facefusion/v20181201/examples.json +2 -2
  101. tccli/services/facefusion/v20220927/api.json +54 -48
  102. tccli/services/facefusion/v20220927/examples.json +5 -5
  103. tccli/services/faceid/v20180301/api.json +497 -496
  104. tccli/services/faceid/v20180301/examples.json +219 -101
  105. tccli/services/fmu/v20191213/api.json +59 -67
  106. tccli/services/fmu/v20191213/examples.json +22 -22
  107. tccli/services/ft/v20200304/api.json +53 -57
  108. tccli/services/ft/v20200304/examples.json +14 -14
  109. tccli/services/gme/v20180711/api.json +21 -11
  110. tccli/services/gme/v20180711/examples.json +1 -1
  111. tccli/services/hai/v20230812/api.json +116 -9
  112. tccli/services/hai/v20230812/examples.json +4 -4
  113. tccli/services/hunyuan/hunyuan_client.py +436 -12
  114. tccli/services/hunyuan/v20230901/api.json +1482 -118
  115. tccli/services/hunyuan/v20230901/examples.json +82 -18
  116. tccli/services/iai/v20180301/api.json +23 -19
  117. tccli/services/iai/v20180301/examples.json +2 -2
  118. tccli/services/iai/v20200303/api.json +530 -511
  119. tccli/services/iai/v20200303/examples.json +116 -86
  120. tccli/services/ig/__init__.py +4 -0
  121. tccli/services/ig/ig_client.py +195 -0
  122. tccli/services/ig/v20210518/api.json +83 -0
  123. tccli/services/ig/v20210518/examples.json +13 -0
  124. tccli/services/ioa/ioa_client.py +53 -0
  125. tccli/services/ioa/v20220601/api.json +662 -413
  126. tccli/services/ioa/v20220601/examples.json +24 -10
  127. tccli/services/iotexplorer/v20190423/api.json +33 -13
  128. tccli/services/iotexplorer/v20190423/examples.json +3 -3
  129. tccli/services/iotvideo/iotvideo_client.py +106 -0
  130. tccli/services/iotvideo/v20191126/api.json +256 -24
  131. tccli/services/iotvideo/v20191126/examples.json +19 -3
  132. tccli/services/iotvideo/v20201215/api.json +1 -1
  133. tccli/services/iotvideo/v20201215/examples.json +1 -1
  134. tccli/services/iotvideo/v20211125/api.json +1 -1
  135. tccli/services/iotvideo/v20211125/examples.json +2 -2
  136. tccli/services/iss/iss_client.py +69 -122
  137. tccli/services/iss/v20230517/api.json +10 -54
  138. tccli/services/iss/v20230517/examples.json +0 -14
  139. tccli/services/kms/v20190118/api.json +301 -268
  140. tccli/services/kms/v20190118/examples.json +45 -51
  141. tccli/services/lcic/lcic_client.py +159 -0
  142. tccli/services/lcic/v20220817/api.json +273 -1
  143. tccli/services/lcic/v20220817/examples.json +24 -0
  144. tccli/services/lighthouse/v20200324/api.json +56 -0
  145. tccli/services/live/live_client.py +159 -0
  146. tccli/services/live/v20180801/api.json +244 -0
  147. tccli/services/live/v20180801/examples.json +24 -0
  148. tccli/services/lke/v20231130/api.json +17 -17
  149. tccli/services/lke/v20231130/examples.json +19 -25
  150. tccli/services/mariadb/v20170312/api.json +7 -7
  151. tccli/services/market/v20191010/api.json +3 -3
  152. tccli/services/market/v20191010/examples.json +2 -2
  153. tccli/services/mmps/v20200710/api.json +47 -47
  154. tccli/services/mmps/v20200710/examples.json +3 -3
  155. tccli/services/mongodb/v20190725/api.json +4 -4
  156. tccli/services/monitor/v20180724/api.json +46 -19
  157. tccli/services/mps/v20190612/api.json +282 -5
  158. tccli/services/mps/v20190612/examples.json +25 -1
  159. tccli/services/mqtt/v20240516/api.json +2 -2
  160. tccli/services/mrs/v20200910/api.json +72 -34
  161. tccli/services/mrs/v20200910/examples.json +2 -2
  162. tccli/services/ms/v20180408/api.json +535 -506
  163. tccli/services/ms/v20180408/examples.json +25 -25
  164. tccli/services/oceanus/v20190422/api.json +130 -0
  165. tccli/services/ocr/ocr_client.py +232 -20
  166. tccli/services/ocr/v20181119/api.json +2265 -760
  167. tccli/services/ocr/v20181119/examples.json +200 -180
  168. tccli/services/omics/v20221128/api.json +614 -553
  169. tccli/services/omics/v20221128/examples.json +9 -9
  170. tccli/services/organization/v20210331/api.json +13 -4
  171. tccli/services/organization/v20210331/examples.json +2 -2
  172. tccli/services/partners/v20180321/api.json +244 -234
  173. tccli/services/partners/v20180321/examples.json +19 -19
  174. tccli/services/privatedns/privatedns_client.py +428 -4
  175. tccli/services/privatedns/v20201028/api.json +815 -11
  176. tccli/services/privatedns/v20201028/examples.json +64 -0
  177. tccli/services/pts/v20210728/api.json +18 -0
  178. tccli/services/pts/v20210728/examples.json +1 -1
  179. tccli/services/rce/rce_client.py +53 -0
  180. tccli/services/rce/v20201103/api.json +146 -0
  181. tccli/services/rce/v20201103/examples.json +8 -0
  182. tccli/services/redis/v20180412/api.json +42 -42
  183. tccli/services/redis/v20180412/examples.json +19 -19
  184. tccli/services/rum/v20210622/api.json +9 -0
  185. tccli/services/scf/v20180416/api.json +15 -15
  186. tccli/services/scf/v20180416/examples.json +1 -1
  187. tccli/services/smop/v20201203/api.json +46 -42
  188. tccli/services/smop/v20201203/examples.json +2 -2
  189. tccli/services/soe/v20180724/api.json +10 -10
  190. tccli/services/sqlserver/v20180328/api.json +21 -8
  191. tccli/services/sqlserver/v20180328/examples.json +5 -5
  192. tccli/services/ssl/v20191205/api.json +97 -4
  193. tccli/services/ssm/v20190923/api.json +292 -231
  194. tccli/services/ssm/v20190923/examples.json +42 -42
  195. tccli/services/tat/v20201028/api.json +97 -97
  196. tccli/services/tat/v20201028/examples.json +20 -26
  197. tccli/services/tchd/v20230306/api.json +5 -5
  198. tccli/services/tchd/v20230306/examples.json +3 -3
  199. tccli/services/tcr/v20190924/api.json +1 -1
  200. tccli/services/tcr/v20190924/examples.json +1 -1
  201. tccli/services/tcss/v20201101/api.json +1973 -1426
  202. tccli/services/tcss/v20201101/examples.json +346 -364
  203. tccli/services/tdmq/v20200217/api.json +539 -401
  204. tccli/services/tdmq/v20200217/examples.json +104 -104
  205. tccli/services/tds/v20220801/api.json +4 -4
  206. tccli/services/tem/v20210701/api.json +287 -271
  207. tccli/services/tem/v20210701/examples.json +59 -59
  208. tccli/services/teo/v20220901/api.json +37 -9
  209. tccli/services/teo/v20220901/examples.json +13 -7
  210. tccli/services/thpc/v20230321/api.json +5 -5
  211. tccli/services/tke/tke_client.py +217 -58
  212. tccli/services/tke/v20180525/api.json +36 -27
  213. tccli/services/tke/v20180525/examples.json +1 -1
  214. tccli/services/tke/v20220501/api.json +176 -0
  215. tccli/services/tke/v20220501/examples.json +24 -0
  216. tccli/services/tmt/v20180321/api.json +38 -8
  217. tccli/services/trp/v20210515/api.json +86 -74
  218. tccli/services/trp/v20210515/examples.json +65 -65
  219. tccli/services/trro/v20220325/api.json +72 -71
  220. tccli/services/trro/v20220325/examples.json +8 -8
  221. tccli/services/trtc/trtc_client.py +8 -61
  222. tccli/services/trtc/v20190722/api.json +72 -30
  223. tccli/services/trtc/v20190722/examples.json +3 -11
  224. tccli/services/tse/tse_client.py +110 -4
  225. tccli/services/tse/v20201207/api.json +122 -7
  226. tccli/services/tse/v20201207/examples.json +25 -9
  227. tccli/services/vclm/v20240523/api.json +225 -82
  228. tccli/services/vclm/v20240523/examples.json +13 -19
  229. tccli/services/vod/v20180717/api.json +431 -4
  230. tccli/services/vod/v20180717/examples.json +25 -5
  231. tccli/services/vod/v20240718/api.json +11 -11
  232. tccli/services/vod/v20240718/examples.json +4 -4
  233. tccli/services/vod/vod_client.py +53 -0
  234. tccli/services/vpc/v20170312/api.json +1090 -862
  235. tccli/services/vpc/v20170312/examples.json +74 -66
  236. tccli/services/vpc/vpc_client.py +61 -8
  237. tccli/services/waf/v20180125/api.json +2540 -2177
  238. tccli/services/waf/v20180125/examples.json +216 -284
  239. tccli/services/waf/waf_client.py +172 -119
  240. tccli/services/wav/v20210129/api.json +48 -48
  241. tccli/services/wav/v20210129/examples.json +4 -4
  242. tccli/services/wedata/v20210820/api.json +909 -25
  243. tccli/services/wedata/v20210820/examples.json +28 -4
  244. tccli/services/wedata/wedata_client.py +159 -0
  245. tccli/services/weilingwith/v20230427/api.json +6 -6
  246. tccli/services/weilingwith/v20230427/examples.json +3 -3
  247. tccli/sso.py +229 -0
  248. {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/METADATA +2 -2
  249. {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/RECORD +252 -235
  250. {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/WHEEL +0 -0
  251. {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/entry_points.txt +0 -0
  252. {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/license_files/LICENSE +0 -0
@@ -727,7 +727,31 @@
727
727
  "document": "",
728
728
  "input": "https://mps.tencentcloudapi.com/?Action=EditMedia\n&FileInfos.0.InputInfo.Type=COS\n&FileInfos.0.InputInfo.CosInputInfo.Bucket=TopRankVideo-125xxx88\n&FileInfos.0.InputInfo.CosInputInfo.Region=ap-chongqing\n&FileInfos.0.InputInfo.CosInputInfo.Object=/movie/201907/WildAnimal.mov\n&FileInfos.0.StartTimeOffset=60.0\n&FileInfos.0.EndTimeOffset=120.0\n&OutputStorage.Type=COS\n&OutputStorage.CosOutputStorage.Bucket=TopRankVideo-125xxx88\n&OutputStorage.CosOutputStorage.Region=ap-chongqing\n&OutputObjectPath=/clip_result/clip_WildAnimal.{format}\n&<公共请求参数>",
729
729
  "output": "{\n \"Response\": {\n \"RequestId\": \"6ca31e3a-6b8e-4b4e-9256-fdc700064ef3\",\n \"TaskId\": \"125xxx88-EditMedia-bffb15f07530b57bc1aabb01fac74bca\"\n }\n}",
730
- "title": "对一个文件进行剪辑,生成一个新的视频"
730
+ "title": "【剪辑任务】对一个文件进行剪辑,生成一个新的视频"
731
+ },
732
+ {
733
+ "document": "将一组图片和背景音乐拼接成一个视频,图片之间添加转场效果。轨道形式如下:\n<img width=\"70%\" src=\"https://ie-mps-1258344699.cos.ap-nanjing.tencentcos.cn/common/cloud/mps-demo/01_img_audio_to_video/track.png\" />\n\n<a target=\"_blank\" href=\"https://ie-mps-1258344699.cos.ap-nanjing.tencentcos.cn/common/cloud/mps-demo/01_img_audio_to_video/01_img_audio_to_video.mp4\">效果示例</a>\n\n注:转场会消耗前后元素的轨道时长,如果一个元素前后有转场,则需要保证给元素的轨道时长大于前后两个转场的时间和。\n\n\n",
734
+ "input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EditMedia\n<公共请求参数>\n\n{\n \"FileInfos\": [\n {\n \"Id\": \"img01\",\n \"InputInfo\": {\n \"Type\": \"URL\",\n \"UrlInputInfo\": {\n \"Url\": \"https://.../1.jpg\"\n }\n }\n },\n {\n \"Id\": \"img02\",\n \"InputInfo\": {\n \"Type\": \"URL\",\n \"UrlInputInfo\": {\n \"Url\": \"https://.../2.jpg\"\n }\n }\n },\n {\n \"Id\": \"img03\",\n \"InputInfo\": {\n \"Type\": \"URL\",\n \"UrlInputInfo\": {\n \"Url\": \"https://.../3.jpg\"\n }\n }\n },\n {\n \"Id\": \"img04\",\n \"InputInfo\": {\n \"Type\": \"URL\",\n \"UrlInputInfo\": {\n \"Url\": \"https://.../4.jpg\"\n }\n }\n },\n {\n \"Id\": \"img05\",\n \"InputInfo\": {\n \"Type\": \"URL\",\n \"UrlInputInfo\": {\n \"Url\": \"https://.../5.jpg\"\n }\n }\n },\n {\n \"Id\": \"img06\",\n \"InputInfo\": {\n \"Type\": \"URL\",\n \"UrlInputInfo\": {\n \"Url\": \"https://.../6.jpg\"\n }\n }\n },\n {\n \"Id\": \"img07\",\n \"InputInfo\": {\n \"Type\": \"URL\",\n \"UrlInputInfo\": {\n \"Url\": \"https://.../7.jpg\"\n }\n }\n },\n {\n \"Id\": \"img08\",\n \"InputInfo\": {\n \"Type\": \"URL\",\n \"UrlInputInfo\": {\n \"Url\": \"https://.../8.jpg\"\n }\n }\n },\n {\n \"Id\": \"img09\",\n \"InputInfo\": {\n \"Type\": \"URL\",\n \"UrlInputInfo\": {\n \"Url\": \"https://.../9.jpg\"\n }\n }\n },\n {\n \"Id\": \"img10\",\n \"InputInfo\": {\n \"Type\": \"URL\",\n \"UrlInputInfo\": {\n \"Url\": \"https://.../10.jpg\"\n }\n }\n },\n {\n \"Id\": \"adu\",\n \"InputInfo\": {\n \"Type\": \"URL\",\n \"UrlInputInfo\": {\n \"Url\": \"https://.../back_music.mp3\"\n }\n }\n }\n ],\n \"OutputStorage\": {\n \"Type\": \"COS\",\n \"CosOutputStorage\": {\n \"Bucket\": \"your_bucket\",\n \"Region\": \"your_bucket_region\"\n }\n },\n \"OutputObjectPath\": \"/your/output/dir/\",\n \"ComposeConfig\": {\n \"TargetInfo\": {\n \"Container\": \"mp4\",\n \"VideoStream\": {\n \"Fps\": 30\n }\n },\n \"Tracks\": [\n {\n \"Type\": \"Video\",\n \"Items\": [\n {\n \"Type\": \"Image\",\n \"Image\": {\n \"SourceMedia\": {\n \"FileId\": \"img01\"\n },\n \"TrackTime\": {\n \"Duration\": \"3s\"\n }\n }\n },\n {\n \"Type\": \"Transition\",\n \"Transition\": {\n \"Transitions\": [\n {\n \"Type\": \"Dreamy\"\n }\n ]\n }\n },\n {\n \"Type\": \"Image\",\n \"Image\": {\n \"SourceMedia\": {\n \"FileId\": \"img02\"\n },\n \"TrackTime\": {\n \"Duration\": \"3s\"\n }\n }\n },\n {\n \"Type\": \"Transition\",\n \"Transition\": {\n \"Transitions\": [\n {\n \"Type\": \"Circleopen\"\n }\n ]\n }\n },\n {\n \"Type\": \"Image\",\n \"Image\": {\n \"SourceMedia\": {\n \"FileId\": \"img03\"\n },\n \"TrackTime\": {\n \"Duration\": \"3s\"\n }\n }\n },\n {\n \"Type\": \"Transition\",\n \"Transition\": {\n \"Transitions\": [\n {\n \"Type\": \"Heart\"\n }\n ]\n }\n },\n {\n \"Type\": \"Image\",\n \"Image\": {\n \"SourceMedia\": {\n \"FileId\": \"img04\"\n },\n \"TrackTime\": {\n \"Duration\": \"3s\"\n }\n }\n },\n {\n \"Type\": \"Transition\",\n \"Transition\": {\n \"Transitions\": [\n {\n \"Type\": \"PolarFunction\"\n }\n ]\n }\n },\n {\n \"Type\": \"Image\",\n \"Image\": {\n \"SourceMedia\": {\n \"FileId\": \"img05\"\n },\n \"TrackTime\": {\n \"Duration\": \"3s\"\n }\n }\n },\n {\n \"Type\": \"Transition\",\n \"Transition\": {\n \"Transitions\": [\n {\n \"Type\": \"Swirl\"\n }\n ]\n }\n },\n {\n \"Type\": \"Image\",\n \"Image\": {\n \"SourceMedia\": {\n \"FileId\": \"img06\"\n },\n \"TrackTime\": {\n \"Duration\": \"3s\"\n }\n }\n },\n {\n \"Type\": \"Transition\",\n \"Transition\": {\n \"Transitions\": [\n {\n \"Type\": \"WipeRight\"\n }\n ]\n }\n },\n {\n \"Type\": \"Image\",\n \"Image\": {\n \"SourceMedia\": {\n \"FileId\": \"img07\"\n },\n \"TrackTime\": {\n \"Duration\": \"3s\"\n }\n }\n },\n {\n \"Type\": \"Transition\",\n \"Transition\": {\n \"Transitions\": [\n {\n \"Type\": \"ZoomInCircles\"\n }\n ]\n }\n },\n {\n \"Type\": \"Image\",\n \"Image\": {\n \"SourceMedia\": {\n \"FileId\": \"img08\"\n },\n \"TrackTime\": {\n \"Duration\": \"3s\"\n }\n }\n },\n {\n \"Type\": \"Transition\",\n \"Transition\": {\n \"Transitions\": [\n {\n \"Type\": \"ImageFadeInFadeOut\"\n }\n ]\n }\n },\n {\n \"Type\": \"Image\",\n \"Image\": {\n \"SourceMedia\": {\n \"FileId\": \"img09\"\n },\n \"TrackTime\": {\n \"Duration\": \"3s\"\n }\n }\n },\n {\n \"Type\": \"Transition\",\n \"Transition\": {\n \"Transitions\": [\n {\n \"Type\": \"ButterflyWaveScrawler\"\n }\n ]\n }\n },\n {\n \"Type\": \"Image\",\n \"Image\": {\n \"SourceMedia\": {\n \"FileId\": \"img10\"\n },\n \"TrackTime\": {\n \"Duration\": \"3s\"\n }\n }\n }\n ]\n },\n {\n \"Type\": \"Audio\",\n \"Items\": [\n {\n \"Type\": \"Audio\",\n \"Audio\": {\n \"SourceMedia\": {\n \"FileId\": \"adu\"\n },\n \"TrackTime\": {\n \"Duration\": \"21s\"\n }\n }\n }\n ]\n }\n ]\n }\n}",
735
+ "output": "{\n \"Response\": {\n \"RequestId\": \"6ca31e3a-6b8e-4b4e-9256-fdc700064ef3\",\n \"TaskId\": \"125xxx88-EditMedia-bffb15f07530b57bc1aabb01fac74bca\"\n }\n}",
736
+ "title": "【合成任务】图片&音频合成视频"
737
+ },
738
+ {
739
+ "document": "剪辑一个视频,并给视频添加片头、片尾、水印图片、说明文字、替换音频,合成一个新的视频。轨道形式如下:\n<img width=\"50%\" src=\"https://ie-mps-1258344699.cos.ap-nanjing.tencentcos.cn/common/cloud/mps-demo/02_video_start_end_logo_txt/track.png\" />\n\n<a target=\"_blank\" href=\"https://ie-mps-1258344699.cos.ap-nanjing.tencentcos.cn/common/cloud/mps-demo/02_video_start_end_logo_txt/02_video_start_end_logo_txt.mp4\">效果示例</a>\n\n注:片头和片尾可以是视频,也可以是图片。\n注:Canvas 参数用于指定输出视频大小,如果不填将默认使用第一个视频大小,所以建议将正品视频放在素材列表的第一个。\n",
740
+ "input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EditMedia\n<公共请求参数>\n\n{\n \"FileInfos\": [\n {\n \"Id\": \"start\",\n \"InputInfo\": {\n \"Type\": \"URL\",\n \"UrlInputInfo\": {\n \"Url\": \"https://.../start.mp4\"\n }\n }\n },\n {\n \"Id\": \"video\",\n \"InputInfo\": {\n \"Type\": \"URL\",\n \"UrlInputInfo\": {\n \"Url\": \"https://.../video.mp4\"\n }\n }\n },\n {\n \"Id\": \"end\",\n \"InputInfo\": {\n \"Type\": \"URL\",\n \"UrlInputInfo\": {\n \"Url\": \"https://.../end.png\"\n }\n }\n },\n {\n \"Id\": \"img\",\n \"InputInfo\": {\n \"Type\": \"URL\",\n \"UrlInputInfo\": {\n \"Url\": \"https://.../logo.png\"\n }\n }\n },\n {\n \"Id\": \"aud\",\n \"InputInfo\": {\n \"Type\": \"URL\",\n \"UrlInputInfo\": {\n \"Url\": \".../back_music.mp3\"\n }\n }\n }\n ],\n \"OutputStorage\": {\n \"Type\": \"COS\",\n \"CosOutputStorage\": {\n \"Bucket\": \"your_bucket\",\n \"Region\": \"your_bucket_region\"\n }\n },\n \"OutputObjectPath\": \"/your/output/dir/\",\n \"ComposeConfig\": {\n \"TargetInfo\": {\n \"Container\": \"mp4\",\n \"VideoStream\": {\n \"Fps\": 30\n }\n },\n \"Styles\": [\n {\n \"Id\": \"ss\",\n \"Type\": \"Subtitle\",\n \"Subtitle\": {\n \"MarginBottom\": \"50%\",\n \"FontType\": \"SimHei\",\n \"FontSize\": \"8%\",\n \"FontBold\": 1,\n \"FontColor\": \"#FF0000FF\",\n \"BorderWidth\": \"2px\",\n \"BorderColor\": \"#00FF00FF\",\n \"BottomColor\": \"#0000FFFF\"\n }\n }\n ],\n \"Tracks\": [\n {\n \"Type\": \"Title\",\n \"Items\": [\n {\n \"Type\": \"Subtitle\",\n \"Subtitle\": {\n \"StyleId\": \"ss\",\n \"TrackTime\": {\n \"Start\": \"0s\",\n \"Duration\": \"2s\"\n },\n \"Text\": \"片头-示例\"\n }\n },\n {\n \"Type\": \"Subtitle\",\n \"Subtitle\": {\n \"StyleId\": \"ss\",\n \"TrackTime\": {\n \"Start\": \"2s\",\n \"Duration\": \"8s\"\n },\n \"Text\": \"正片-示例\"\n }\n },\n {\n \"Type\": \"Subtitle\",\n \"Subtitle\": {\n \"StyleId\": \"ss\",\n \"TrackTime\": {\n \"Start\": \"12s\",\n \"Duration\": \"2s\"\n },\n \"Text\": \"片尾-示例\"\n }\n }\n ]\n },\n {\n \"Type\": \"Video\",\n \"Items\": [\n {\n \"Type\": \"Image\",\n \"Image\": {\n \"SourceMedia\": {\n \"FileId\": \"img\"\n },\n \"TrackTime\": {\n \"Duration\": \"14s\"\n },\n \"XPos\": \"85%\",\n \"YPos\": \"10%\",\n \"Width\": \"15%\"\n }\n }\n ]\n },\n {\n \"Type\": \"Video\",\n \"Items\": [\n {\n \"Type\": \"Video\",\n \"Video\": {\n \"SourceMedia\": {\n \"FileId\": \"start\"\n },\n \"AudioOperations\": [\n {\n \"Type\": \"Volume\",\n \"Volume\": 0.0\n }\n ]\n }\n },\n {\n \"Type\": \"Video\",\n \"Video\": {\n \"SourceMedia\": {\n \"FileId\": \"video\",\n \"StartTime\": \"10s\",\n \"EndTime\": \"20s\"\n },\n \"AudioOperations\": [\n {\n \"Type\": \"Volume\",\n \"Volume\": 0.0\n }\n ]\n }\n },\n {\n \"Type\": \"Transition\",\n \"Transition\": {\n \"Transitions\": [\n {\n \"Type\": \"Heart\"\n }\n ]\n }\n },\n {\n \"Type\": \"Image\",\n \"Image\": {\n \"SourceMedia\": {\n \"FileId\": \"end\"\n },\n \"TrackTime\": {\n \"Duration\": \"3s\"\n }\n }\n }\n ]\n },\n {\n \"Type\": \"Audio\",\n \"Items\": [\n {\n \"Type\": \"Audio\",\n \"Audio\": {\n \"SourceMedia\": {\n \"FileId\": \"aud\"\n },\n \"TrackTime\": {\n \"Duration\": \"14s\"\n }\n }\n }\n ]\n }\n ]\n }\n}",
741
+ "output": "{\n \"Response\": {\n \"RequestId\": \"6ca31e3a-6b8e-4b4e-9256-fdc700064ef3\",\n \"TaskId\": \"125xxx88-EditMedia-bffb15f07530b57bc1aabb01fac74bca\"\n }\n}",
742
+ "title": "【合成任务】剪辑&片头&片尾&水印图片&文字&音频替换"
743
+ },
744
+ {
745
+ "document": "将一个视频缩放,贴在另一个视频上面,合成一个新的视频。轨道形式如下:\n<img width=\"30%\" src=\"https://ie-mps-1258344699.cos.ap-nanjing.tencentcos.cn/common/cloud/mps-demo/03_video_in_video/track.png\" />\n\n<a target=\"_blank\" href=\"https://ie-mps-1258344699.cos.ap-nanjing.tencentcos.cn/common/cloud/mps-demo/03_video_in_video/03_video_in_video.mp4\">效果示例</a>\n",
746
+ "input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EditMedia\n<公共请求参数>\n\n{\n \"FileInfos\": [\n {\n \"Id\": \"back\",\n \"InputInfo\": {\n \"Type\": \"URL\",\n \"UrlInputInfo\": {\n \"Url\": \"https://.../video.mp4\"\n }\n }\n },\n {\n \"Id\": \"over\",\n \"InputInfo\": {\n \"Type\": \"URL\",\n \"UrlInputInfo\": {\n \"Url\": \"https://.../over.mp4\"\n }\n }\n }\n ],\n \"OutputStorage\": {\n \"Type\": \"COS\",\n \"CosOutputStorage\": {\n \"Bucket\": \"your_bucket\",\n \"Region\": \"your_bucket_region\"\n }\n },\n \"OutputObjectPath\": \"/your/output/dir/\",\n \"ComposeConfig\": {\n \"Tracks\": [\n {\n \"Type\": \"Video\",\n \"Items\": [\n {\n \"Type\": \"Video\",\n \"Video\": {\n \"SourceMedia\": {\n \"FileId\": \"over\",\n \"StartTime\": \"30s\",\n \"EndTime\": \"40s\"\n },\n \"AudioOperations\": [\n {\n \"Type\": \"Volume\",\n \"Volume\": 0.0\n }\n ],\n \"XPos\": \"60%\",\n \"YPos\": \"30%\",\n \"Width\": \"300px\"\n }\n }\n ]\n },\n {\n \"Type\": \"Video\",\n \"Items\": [\n {\n \"Type\": \"Video\",\n \"Video\": {\n \"SourceMedia\": {\n \"FileId\": \"back\",\n \"StartTime\": \"10s\",\n \"EndTime\": \"20s\"\n }\n }\n }\n ]\n }\n ]\n }\n}",
747
+ "output": "{\n \"Response\": {\n \"RequestId\": \"6ca31e3a-6b8e-4b4e-9256-fdc700064ef3\",\n \"TaskId\": \"125xxx88-EditMedia-bffb15f07530b57bc1aabb01fac74bca\"\n }\n}",
748
+ "title": "【合成任务】画中画"
749
+ },
750
+ {
751
+ "document": "剪辑一个视频,前10s 两倍速播放,后10s 0.8倍数播放,合成一个新的视频。轨道形式如下:\n<img width=\"40%\" src=\"https://ie-mps-1258344699.cos.ap-nanjing.tencentcos.cn/common/cloud/mps-demo/04_video_speed/track.png\" />\n\n<a target=\"_blank\" href=\"https://ie-mps-1258344699.cos.ap-nanjing.tencentcos.cn/common/cloud/mps-demo/04_video_speed/04_video_speed.mp4\">效果示例</a>\n\n注:当元素 SourceMedia 里的素材时长和 TrackTime 时长不一致时,就能实现倍数。\n注:倍速不能和转场同时使用。",
752
+ "input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EditMedia\n<公共请求参数>\n\n{\n \"FileInfos\": [\n {\n \"Id\": \"vod\",\n \"InputInfo\": {\n \"Type\": \"URL\",\n \"UrlInputInfo\": {\n \"Url\": \"https://.../video.mp4\"\n }\n }\n }\n ],\n \"OutputStorage\": {\n \"Type\": \"COS\",\n \"CosOutputStorage\": {\n \"Bucket\": \"your_bucket\",\n \"Region\": \"your_bucket_region\"\n }\n },\n \"OutputObjectPath\": \"/your/output/dir/\",\n \"ComposeConfig\": {\n \"Tracks\": [\n {\n \"Type\": \"Video\",\n \"Items\": [\n {\n \"Type\": \"Video\",\n \"Video\": {\n \"SourceMedia\": {\n \"FileId\": \"vod\",\n \"StartTime\": \"10s\",\n \"EndTime\": \"20s\"\n },\n \"TrackTime\": {\n \"Duration\": \"5s\"\n }\n }\n }\n ]\n },\n {\n \"Type\": \"Video\",\n \"Items\": [\n {\n \"Type\": \"Video\",\n \"Video\": {\n \"SourceMedia\": {\n \"FileId\": \"vod\",\n \"StartTime\": \"20s\",\n \"EndTime\": \"30s\"\n },\n \"TrackTime\": {\n \"Duration\": \"12.5s\"\n }\n }\n }\n ]\n }\n ]\n }\n}",
753
+ "output": "{\n \"Response\": {\n \"RequestId\": \"6ca31e3a-6b8e-4b4e-9256-fdc700064ef3\",\n \"TaskId\": \"125xxx88-EditMedia-bffb15f07530b57bc1aabb01fac74bca\"\n }\n}",
754
+ "title": "【合成任务】视频倍速"
731
755
  }
732
756
  ],
733
757
  "EnableSchedule": [
@@ -146,7 +146,7 @@
146
146
  "members": [
147
147
  {
148
148
  "disabled": false,
149
- "document": "规则id",
149
+ "document": "规则ID",
150
150
  "example": "1",
151
151
  "member": "int64",
152
152
  "name": "Id",
@@ -156,7 +156,7 @@
156
156
  },
157
157
  {
158
158
  "disabled": false,
159
- "document": "集群id",
159
+ "document": "集群ID",
160
160
  "example": "mqtt-12345",
161
161
  "member": "string",
162
162
  "name": "InstanceId",
@@ -777,7 +777,7 @@
777
777
  "value_allowed_null": true
778
778
  },
779
779
  {
780
- "disabled": false,
780
+ "disabled": true,
781
781
  "document": "品牌名\n注意:此字段可能返回 null,表示取不到有效值。",
782
782
  "example": "无",
783
783
  "member": "string",
@@ -2309,7 +2309,7 @@
2309
2309
  "value_allowed_null": true
2310
2310
  },
2311
2311
  {
2312
- "disabled": false,
2312
+ "disabled": true,
2313
2313
  "document": "品牌名\n注意:此字段可能返回 null,表示取不到有效值。",
2314
2314
  "example": "\"\"",
2315
2315
  "member": "string",
@@ -2337,6 +2337,16 @@
2337
2337
  "output_required": false,
2338
2338
  "type": "string",
2339
2339
  "value_allowed_null": true
2340
+ },
2341
+ {
2342
+ "disabled": false,
2343
+ "document": "品牌名",
2344
+ "example": "\"\"",
2345
+ "member": "string",
2346
+ "name": "BrandName",
2347
+ "output_required": false,
2348
+ "type": "string",
2349
+ "value_allowed_null": false
2340
2350
  }
2341
2351
  ],
2342
2352
  "usage": "out"
@@ -3663,7 +3673,7 @@
3663
3673
  {
3664
3674
  "disabled": false,
3665
3675
  "document": "药品说明书PDF文件信息, 目前只支持传PDF文件的Base64编码字符(PDF文件不能超过10MB,如果超过建议先压缩PDF,再转成base64).",
3666
- "example": "",
3676
+ "example": "{ \"Url\": null, \"Base64\":\"<药品说明书PDF文件base64串>\" }",
3667
3677
  "member": "PdfInfo",
3668
3678
  "name": "PdfInfo",
3669
3679
  "required": true,
@@ -6290,7 +6300,7 @@
6290
6300
  {
6291
6301
  "disabled": false,
6292
6302
  "document": "图片信息,目前只支持传图片base64",
6293
- "example": "",
6303
+ "example": "{ \"Base64\": \"<图片文件的base64编码>\" }",
6294
6304
  "member": "ImageInfo",
6295
6305
  "name": "Image",
6296
6306
  "required": true,
@@ -6299,11 +6309,20 @@
6299
6309
  {
6300
6310
  "disabled": false,
6301
6311
  "document": "图片脱敏选项, 不传默认都脱敏",
6302
- "example": "",
6312
+ "example": "{ \"HospitalFlag\": true, \"DoctorFlag\": true, \"PatientFlag\": true, \"BarFlag\": true }",
6303
6313
  "member": "ImageMaskFlags",
6304
6314
  "name": "MaskFlag",
6305
6315
  "required": false,
6306
6316
  "type": "object"
6317
+ },
6318
+ {
6319
+ "disabled": false,
6320
+ "document": "是否自动矫正图片方向",
6321
+ "example": "true",
6322
+ "member": "bool",
6323
+ "name": "AutoFixImageDirection",
6324
+ "required": false,
6325
+ "type": "bool"
6307
6326
  }
6308
6327
  ],
6309
6328
  "type": "object"
@@ -6378,7 +6397,7 @@
6378
6397
  {
6379
6398
  "disabled": false,
6380
6399
  "document": "图片信息,目前只支持传图片base64",
6381
- "example": "",
6400
+ "example": "{ \"Base64\": \"<图片文件的base64编码>\" }",
6382
6401
  "member": "ImageInfo",
6383
6402
  "name": "Image",
6384
6403
  "required": true,
@@ -6387,11 +6406,20 @@
6387
6406
  {
6388
6407
  "disabled": false,
6389
6408
  "document": "图片脱敏选项, 不传默认都脱敏",
6390
- "example": "",
6409
+ "example": "{ \"HospitalFlag\": true, \"DoctorFlag\": true, \"PatientFlag\": true, \"BarFlag\": true }",
6391
6410
  "member": "ImageMaskFlags",
6392
6411
  "name": "MaskFlag",
6393
6412
  "required": false,
6394
6413
  "type": "object"
6414
+ },
6415
+ {
6416
+ "disabled": false,
6417
+ "document": "是否自动矫正图片方向",
6418
+ "example": "true",
6419
+ "member": "bool",
6420
+ "name": "AutoFixImageDirection",
6421
+ "required": false,
6422
+ "type": "bool"
6395
6423
  }
6396
6424
  ],
6397
6425
  "type": "object"
@@ -6424,7 +6452,7 @@
6424
6452
  {
6425
6453
  "disabled": false,
6426
6454
  "document": "图片列表,允许传入多张图片,支持传入图片的base64编码,暂不支持图片url",
6427
- "example": "",
6455
+ "example": "[ { \"Base64\": \"<图片文件的base64编码>\" } ]",
6428
6456
  "member": "ImageInfo",
6429
6457
  "name": "ImageInfoList",
6430
6458
  "required": true,
@@ -6433,7 +6461,7 @@
6433
6461
  {
6434
6462
  "disabled": false,
6435
6463
  "document": "图片处理参数",
6436
- "example": "",
6464
+ "example": "{ \"OcrEngineType\": 4 }",
6437
6465
  "member": "HandleParam",
6438
6466
  "name": "HandleParam",
6439
6467
  "required": true,
@@ -6506,7 +6534,7 @@
6506
6534
  {
6507
6535
  "disabled": false,
6508
6536
  "document": "图片处理参数",
6509
- "example": "",
6537
+ "example": "{ \"OcrEngineType\": 4 }",
6510
6538
  "member": "HandleParam",
6511
6539
  "name": "HandleParam",
6512
6540
  "required": false,
@@ -6515,7 +6543,7 @@
6515
6543
  {
6516
6544
  "disabled": false,
6517
6545
  "document": "图片列表,允许传入多张图片,目前只支持传入图片base64编码,图片url暂不支持",
6518
- "example": "",
6546
+ "example": "[ { \"Base64\": \"<图片文件的base64编码>\" } ]",
6519
6547
  "member": "ImageInfo",
6520
6548
  "name": "ImageInfoList",
6521
6549
  "required": false,
@@ -6556,23 +6584,23 @@
6556
6584
  "members": [
6557
6585
  {
6558
6586
  "disabled": false,
6559
- "document": "报告结构化结果\n注意:此字段可能返回 null,表示取不到有效值。",
6587
+ "document": "报告结构化结果",
6560
6588
  "example": "无",
6561
6589
  "member": "Template",
6562
6590
  "name": "Template",
6563
- "output_required": true,
6591
+ "output_required": false,
6564
6592
  "type": "object",
6565
- "value_allowed_null": true
6593
+ "value_allowed_null": false
6566
6594
  },
6567
6595
  {
6568
6596
  "disabled": false,
6569
- "document": "多级分类结果\n注意:此字段可能返回 null,表示取不到有效值。",
6597
+ "document": "多级分类结果",
6570
6598
  "example": "无",
6571
6599
  "member": "TextType",
6572
6600
  "name": "TextTypeList",
6573
- "output_required": true,
6601
+ "output_required": false,
6574
6602
  "type": "list",
6575
- "value_allowed_null": true
6603
+ "value_allowed_null": false
6576
6604
  },
6577
6605
  {
6578
6606
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
@@ -7990,7 +8018,7 @@
7990
8018
  "example": "\"\"",
7991
8019
  "member": "string",
7992
8020
  "name": "Name",
7993
- "required": false,
8021
+ "output_required": true,
7994
8022
  "type": "string",
7995
8023
  "value_allowed_null": true
7996
8024
  },
@@ -7998,20 +8026,20 @@
7998
8026
  "disabled": false,
7999
8027
  "document": "转移数量\n注意:此字段可能返回 null,表示取不到有效值。",
8000
8028
  "example": "\"\"",
8001
- "member": "string",
8029
+ "member": "int64",
8002
8030
  "name": "TransferNum",
8003
- "required": false,
8004
- "type": "string",
8031
+ "output_required": true,
8032
+ "type": "int",
8005
8033
  "value_allowed_null": true
8006
8034
  },
8007
8035
  {
8008
8036
  "disabled": false,
8009
8037
  "document": "总数量\n注意:此字段可能返回 null,表示取不到有效值。",
8010
8038
  "example": "\"\"",
8011
- "member": "string",
8039
+ "member": "int64",
8012
8040
  "name": "Total",
8013
- "required": false,
8014
- "type": "string",
8041
+ "output_required": true,
8042
+ "type": "int",
8015
8043
  "value_allowed_null": true
8016
8044
  },
8017
8045
  {
@@ -8020,7 +8048,7 @@
8020
8048
  "example": "\"\"",
8021
8049
  "member": "string",
8022
8050
  "name": "Src",
8023
- "required": false,
8051
+ "output_required": true,
8024
8052
  "type": "string",
8025
8053
  "value_allowed_null": true
8026
8054
  },
@@ -8030,7 +8058,7 @@
8030
8058
  "example": "[]",
8031
8059
  "member": "int64",
8032
8060
  "name": "Index",
8033
- "required": false,
8061
+ "output_required": true,
8034
8062
  "type": "list",
8035
8063
  "value_allowed_null": true
8036
8064
  },
@@ -8040,7 +8068,7 @@
8040
8068
  "example": "[object]",
8041
8069
  "member": "Coord",
8042
8070
  "name": "Coords",
8043
- "required": false,
8071
+ "output_required": true,
8044
8072
  "type": "list",
8045
8073
  "value_allowed_null": true
8046
8074
  }
@@ -9224,7 +9252,7 @@
9224
9252
  "example": "“”",
9225
9253
  "member": "string",
9226
9254
  "name": "Part",
9227
- "required": false,
9255
+ "output_required": true,
9228
9256
  "type": "string",
9229
9257
  "value_allowed_null": true
9230
9258
  },
@@ -9234,7 +9262,7 @@
9234
9262
  "example": "“”",
9235
9263
  "member": "string",
9236
9264
  "name": "PartDirection",
9237
- "required": false,
9265
+ "output_required": true,
9238
9266
  "type": "string",
9239
9267
  "value_allowed_null": true
9240
9268
  },
@@ -9244,7 +9272,7 @@
9244
9272
  "example": "“”",
9245
9273
  "member": "string",
9246
9274
  "name": "Tissue",
9247
- "required": false,
9275
+ "output_required": true,
9248
9276
  "type": "string",
9249
9277
  "value_allowed_null": true
9250
9278
  },
@@ -9254,7 +9282,7 @@
9254
9282
  "example": "“”",
9255
9283
  "member": "string",
9256
9284
  "name": "TissueDirection",
9257
- "required": false,
9285
+ "output_required": true,
9258
9286
  "type": "string",
9259
9287
  "value_allowed_null": true
9260
9288
  },
@@ -9264,19 +9292,29 @@
9264
9292
  "example": "“”",
9265
9293
  "member": "string",
9266
9294
  "name": "Upper",
9267
- "required": false,
9295
+ "output_required": true,
9268
9296
  "type": "string",
9269
9297
  "value_allowed_null": true
9270
9298
  },
9271
9299
  {
9272
- "disabled": false,
9300
+ "disabled": true,
9273
9301
  "document": "部位详情\n注意:此字段可能返回 null,表示取不到有效值。",
9274
9302
  "example": "object",
9275
9303
  "member": "PartDesc",
9276
9304
  "name": "PartDetail",
9277
- "required": false,
9305
+ "output_required": true,
9278
9306
  "type": "object",
9279
9307
  "value_allowed_null": true
9308
+ },
9309
+ {
9310
+ "disabled": false,
9311
+ "document": "部位详情\n注意:此字段可能返回 null,表示取不到有效值。",
9312
+ "example": "[object]",
9313
+ "member": "PartDesc",
9314
+ "name": "PartDetailList",
9315
+ "output_required": false,
9316
+ "type": "list",
9317
+ "value_allowed_null": true
9280
9318
  }
9281
9319
  ],
9282
9320
  "usage": "out"
@@ -11,7 +11,7 @@
11
11
  "ImageMask": [
12
12
  {
13
13
  "document": "",
14
- "input": "POST / HTTP/1.1\nHost: mrs.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ImageMask\n<公共请求参数>\n\n{\n \"Image\": {\n \"Base64\": \"abc\"\n },\n \"MaskFlag\": {\n \"HospitalFlag\": true,\n \"DoctorFlag\": true,\n \"PatientFlag\": true,\n \"BarFlag\": true\n }\n}",
14
+ "input": "POST / HTTP/1.1\nHost: mrs.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ImageMask\n<公共请求参数>\n\n{\n \"Image\": {\n \"Id\": 1,\n \"Url\": \"abc\",\n \"Base64\": \"abc\"\n },\n \"MaskFlag\": {\n \"HospitalFlag\": true,\n \"DoctorFlag\": true,\n \"PatientFlag\": true,\n \"BarFlag\": true\n },\n \"AutoFixImageDirection\": true\n}",
15
15
  "output": "{\n \"Response\": {\n \"MaskedImage\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
16
16
  "title": "医疗报告图片脱敏接口示例"
17
17
  }
@@ -19,7 +19,7 @@
19
19
  "ImageMaskAsync": [
20
20
  {
21
21
  "document": "",
22
- "input": "POST / HTTP/1.1\nHost: mrs.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ImageMaskAsync\n<公共请求参数>\n\n{\n \"Image\": {\n \"Base64\": \"abc\"\n },\n \"MaskFlag\": {\n \"HospitalFlag\": true,\n \"DoctorFlag\": true,\n \"PatientFlag\": true,\n \"BarFlag\": true\n }\n}",
22
+ "input": "POST / HTTP/1.1\nHost: mrs.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ImageMaskAsync\n<公共请求参数>\n\n{\n \"Image\": {\n \"Id\": 1,\n \"Url\": \"abc\",\n \"Base64\": \"abc\"\n },\n \"MaskFlag\": {\n \"HospitalFlag\": true,\n \"DoctorFlag\": true,\n \"PatientFlag\": true,\n \"BarFlag\": true\n },\n \"AutoFixImageDirection\": true\n}",
23
23
  "output": "{\n \"Response\": {\n \"TaskID\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
24
24
  "title": "医疗报告图片脱敏异步接口示例"
25
25
  }