tccli 3.0.1283.1__py2.py3-none-any.whl → 3.0.1285.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.
Files changed (104) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/acp/v20220105/api.json +23 -23
  3. tccli/services/acp/v20220105/examples.json +2 -8
  4. tccli/services/advisor/v20200721/api.json +4 -2
  5. tccli/services/apm/v20210622/api.json +1 -1
  6. tccli/services/autoscaling/v20180419/api.json +88 -86
  7. tccli/services/bh/bh_client.py +53 -0
  8. tccli/services/bh/v20230418/api.json +199 -0
  9. tccli/services/bh/v20230418/examples.json +8 -0
  10. tccli/services/cdn/v20180606/api.json +4 -2
  11. tccli/services/cdwch/v20200915/api.json +19 -9
  12. tccli/services/cdwch/v20200915/examples.json +1 -1
  13. tccli/services/cdwdoris/v20211228/api.json +18 -0
  14. tccli/services/cfg/v20210820/api.json +48 -24
  15. tccli/services/cfg/v20210820/examples.json +8 -2
  16. tccli/services/clb/v20180317/api.json +21 -3
  17. tccli/services/cmq/v20190304/api.json +92 -92
  18. tccli/services/cynosdb/v20190107/api.json +389 -379
  19. tccli/services/dbbrain/v20191016/api.json +17 -17
  20. tccli/services/dbbrain/v20210527/api.json +22 -22
  21. tccli/services/dcdb/v20180411/api.json +14 -4
  22. tccli/services/dcdb/v20180411/examples.json +1 -1
  23. tccli/services/dlc/v20210125/api.json +130 -58
  24. tccli/services/dlc/v20210125/examples.json +5 -5
  25. tccli/services/domain/v20180808/api.json +160 -160
  26. tccli/services/dsgc/v20190723/api.json +2 -2
  27. tccli/services/dts/v20180330/api.json +19 -19
  28. tccli/services/dts/v20211206/api.json +829 -818
  29. tccli/services/emr/emr_client.py +53 -0
  30. tccli/services/emr/v20190103/api.json +247 -0
  31. tccli/services/emr/v20190103/examples.json +8 -0
  32. tccli/services/es/v20180416/api.json +13 -3
  33. tccli/services/es/v20180416/examples.json +2 -2
  34. tccli/services/ess/ess_client.py +53 -0
  35. tccli/services/ess/v20201111/api.json +122 -1
  36. tccli/services/ess/v20201111/examples.json +26 -0
  37. tccli/services/essbasic/essbasic_client.py +57 -4
  38. tccli/services/essbasic/v20210526/api.json +163 -0
  39. tccli/services/essbasic/v20210526/examples.json +26 -0
  40. tccli/services/fmu/fmu_client.py +8 -167
  41. tccli/services/fmu/v20191213/api.json +0 -292
  42. tccli/services/fmu/v20191213/examples.json +0 -24
  43. tccli/services/goosefs/v20220519/api.json +26 -24
  44. tccli/services/goosefs/v20220519/examples.json +2 -2
  45. tccli/services/iotcloud/v20210408/api.json +27 -27
  46. tccli/services/iotcloud/v20210408/examples.json +6 -6
  47. tccli/services/iotexplorer/iotexplorer_client.py +0 -106
  48. tccli/services/iotexplorer/v20190423/api.json +0 -274
  49. tccli/services/iotexplorer/v20190423/examples.json +0 -16
  50. tccli/services/iss/v20230517/api.json +547 -537
  51. tccli/services/iss/v20230517/examples.json +2 -2
  52. tccli/services/kms/v20190118/api.json +20 -0
  53. tccli/services/lcic/lcic_client.py +114 -8
  54. tccli/services/lcic/v20220817/api.json +108 -0
  55. tccli/services/lcic/v20220817/examples.json +16 -0
  56. tccli/services/lke/v20231130/api.json +8 -8
  57. tccli/services/lke/v20231130/examples.json +1 -1
  58. tccli/services/lowcode/v20210108/api.json +165 -165
  59. tccli/services/lowcode/v20210108/examples.json +5 -5
  60. tccli/services/mariadb/v20170312/api.json +12 -2
  61. tccli/services/mariadb/v20170312/examples.json +4 -4
  62. tccli/services/mongodb/mongodb_client.py +57 -4
  63. tccli/services/mongodb/v20190725/api.json +63 -0
  64. tccli/services/mongodb/v20190725/examples.json +14 -0
  65. tccli/services/monitor/v20180724/api.json +36 -36
  66. tccli/services/monitor/v20180724/examples.json +10 -10
  67. tccli/services/ocr/v20181119/api.json +2 -2
  68. tccli/services/ocr/v20181119/examples.json +2 -2
  69. tccli/services/organization/organization_client.py +53 -0
  70. tccli/services/organization/v20210331/api.json +61 -0
  71. tccli/services/organization/v20210331/examples.json +8 -0
  72. tccli/services/redis/v20180412/api.json +11 -2
  73. tccli/services/redis/v20180412/examples.json +1 -1
  74. tccli/services/scf/v20180416/api.json +40 -0
  75. tccli/services/svp/svp_client.py +57 -4
  76. tccli/services/svp/v20240125/api.json +319 -0
  77. tccli/services/svp/v20240125/examples.json +8 -0
  78. tccli/services/tdmq/tdmq_client.py +4 -57
  79. tccli/services/tdmq/v20200217/api.json +118 -212
  80. tccli/services/tdmq/v20200217/examples.json +0 -8
  81. tccli/services/tds/v20220801/api.json +2 -2
  82. tccli/services/tione/v20211111/api.json +41 -1
  83. tccli/services/trtc/v20190722/api.json +16 -5
  84. tccli/services/tse/v20201207/api.json +207 -104
  85. tccli/services/tsf/tsf_client.py +53 -0
  86. tccli/services/tsf/v20180326/api.json +48 -4
  87. tccli/services/tsf/v20180326/examples.json +8 -0
  88. tccli/services/vclm/v20240523/api.json +20 -2
  89. tccli/services/vdb/v20230616/api.json +62 -62
  90. tccli/services/vdb/v20230616/examples.json +2 -2
  91. tccli/services/vpc/v20170312/api.json +54 -0
  92. tccli/services/vpc/v20170312/examples.json +8 -0
  93. tccli/services/vpc/vpc_client.py +53 -0
  94. tccli/services/waf/v20180125/api.json +143 -0
  95. tccli/services/waf/v20180125/examples.json +16 -0
  96. tccli/services/waf/waf_client.py +106 -0
  97. tccli/services/wedata/v20210820/api.json +1220 -5
  98. tccli/services/wedata/v20210820/examples.json +32 -8
  99. tccli/services/wedata/wedata_client.py +159 -0
  100. {tccli-3.0.1283.1.dist-info → tccli-3.0.1285.1.dist-info}/METADATA +2 -2
  101. {tccli-3.0.1283.1.dist-info → tccli-3.0.1285.1.dist-info}/RECORD +104 -104
  102. {tccli-3.0.1283.1.dist-info → tccli-3.0.1285.1.dist-info}/WHEEL +0 -0
  103. {tccli-3.0.1283.1.dist-info → tccli-3.0.1285.1.dist-info}/entry_points.txt +0 -0
  104. {tccli-3.0.1283.1.dist-info → tccli-3.0.1285.1.dist-info}/license_files/LICENSE +0 -0
@@ -69,7 +69,7 @@ def doCreateModel(args, parsed_globals):
69
69
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
70
70
 
71
71
 
72
- def doStyleImage(args, parsed_globals):
72
+ def doTryLipstickPic(args, parsed_globals):
73
73
  g_param = parse_global_arg(parsed_globals)
74
74
 
75
75
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -98,11 +98,11 @@ def doStyleImage(args, parsed_globals):
98
98
  client = mod.FmuClient(cred, g_param[OptionsDefine.Region], profile)
99
99
  client._sdkVersion += ("_CLI_" + __version__)
100
100
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
101
- model = models.StyleImageRequest()
101
+ model = models.TryLipstickPicRequest()
102
102
  model.from_json_string(json.dumps(args))
103
103
  start_time = time.time()
104
104
  while True:
105
- rsp = client.StyleImage(model)
105
+ rsp = client.TryLipstickPic(model)
106
106
  result = rsp.to_json_string()
107
107
  try:
108
108
  json_obj = json.loads(result)
@@ -173,110 +173,6 @@ def doBeautifyPic(args, parsed_globals):
173
173
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
174
174
 
175
175
 
176
- def doBeautifyVideo(args, parsed_globals):
177
- g_param = parse_global_arg(parsed_globals)
178
-
179
- if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
180
- cred = credential.CVMRoleCredential()
181
- elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
182
- cred = credential.STSAssumeRoleCredential(
183
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
184
- g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
185
- )
186
- elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
187
- cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
188
- else:
189
- cred = credential.Credential(
190
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
191
- )
192
- http_profile = HttpProfile(
193
- reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
194
- reqMethod="POST",
195
- endpoint=g_param[OptionsDefine.Endpoint],
196
- proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
197
- )
198
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
199
- if g_param[OptionsDefine.Language]:
200
- profile.language = g_param[OptionsDefine.Language]
201
- mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
202
- client = mod.FmuClient(cred, g_param[OptionsDefine.Region], profile)
203
- client._sdkVersion += ("_CLI_" + __version__)
204
- models = MODELS_MAP[g_param[OptionsDefine.Version]]
205
- model = models.BeautifyVideoRequest()
206
- model.from_json_string(json.dumps(args))
207
- start_time = time.time()
208
- while True:
209
- rsp = client.BeautifyVideo(model)
210
- result = rsp.to_json_string()
211
- try:
212
- json_obj = json.loads(result)
213
- except TypeError as e:
214
- json_obj = json.loads(result.decode('utf-8')) # python3.3
215
- if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
216
- break
217
- cur_time = time.time()
218
- if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
219
- raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
220
- (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
221
- search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
222
- else:
223
- print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
224
- time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
225
- FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
226
-
227
-
228
- def doQueryBeautifyVideoJob(args, parsed_globals):
229
- g_param = parse_global_arg(parsed_globals)
230
-
231
- if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
232
- cred = credential.CVMRoleCredential()
233
- elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
234
- cred = credential.STSAssumeRoleCredential(
235
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
236
- g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
237
- )
238
- elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
239
- cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
240
- else:
241
- cred = credential.Credential(
242
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
243
- )
244
- http_profile = HttpProfile(
245
- reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
246
- reqMethod="POST",
247
- endpoint=g_param[OptionsDefine.Endpoint],
248
- proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
249
- )
250
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
251
- if g_param[OptionsDefine.Language]:
252
- profile.language = g_param[OptionsDefine.Language]
253
- mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
254
- client = mod.FmuClient(cred, g_param[OptionsDefine.Region], profile)
255
- client._sdkVersion += ("_CLI_" + __version__)
256
- models = MODELS_MAP[g_param[OptionsDefine.Version]]
257
- model = models.QueryBeautifyVideoJobRequest()
258
- model.from_json_string(json.dumps(args))
259
- start_time = time.time()
260
- while True:
261
- rsp = client.QueryBeautifyVideoJob(model)
262
- result = rsp.to_json_string()
263
- try:
264
- json_obj = json.loads(result)
265
- except TypeError as e:
266
- json_obj = json.loads(result.decode('utf-8')) # python3.3
267
- if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
268
- break
269
- cur_time = time.time()
270
- if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
271
- raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
272
- (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
273
- search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
274
- else:
275
- print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
276
- time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
277
- FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
278
-
279
-
280
176
  def doDeleteModel(args, parsed_globals):
281
177
  g_param = parse_global_arg(parsed_globals)
282
178
 
@@ -381,7 +277,7 @@ def doStyleImagePro(args, parsed_globals):
381
277
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
382
278
 
383
279
 
384
- def doTryLipstickPic(args, parsed_globals):
280
+ def doStyleImage(args, parsed_globals):
385
281
  g_param = parse_global_arg(parsed_globals)
386
282
 
387
283
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -410,11 +306,11 @@ def doTryLipstickPic(args, parsed_globals):
410
306
  client = mod.FmuClient(cred, g_param[OptionsDefine.Region], profile)
411
307
  client._sdkVersion += ("_CLI_" + __version__)
412
308
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
413
- model = models.TryLipstickPicRequest()
309
+ model = models.StyleImageRequest()
414
310
  model.from_json_string(json.dumps(args))
415
311
  start_time = time.time()
416
312
  while True:
417
- rsp = client.TryLipstickPic(model)
313
+ rsp = client.StyleImage(model)
418
314
  result = rsp.to_json_string()
419
315
  try:
420
316
  json_obj = json.loads(result)
@@ -485,58 +381,6 @@ def doGetModelList(args, parsed_globals):
485
381
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
486
382
 
487
383
 
488
- def doCancelBeautifyVideoJob(args, parsed_globals):
489
- g_param = parse_global_arg(parsed_globals)
490
-
491
- if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
492
- cred = credential.CVMRoleCredential()
493
- elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
494
- cred = credential.STSAssumeRoleCredential(
495
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
496
- g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
497
- )
498
- elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
499
- cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
500
- else:
501
- cred = credential.Credential(
502
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
503
- )
504
- http_profile = HttpProfile(
505
- reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
506
- reqMethod="POST",
507
- endpoint=g_param[OptionsDefine.Endpoint],
508
- proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
509
- )
510
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
511
- if g_param[OptionsDefine.Language]:
512
- profile.language = g_param[OptionsDefine.Language]
513
- mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
514
- client = mod.FmuClient(cred, g_param[OptionsDefine.Region], profile)
515
- client._sdkVersion += ("_CLI_" + __version__)
516
- models = MODELS_MAP[g_param[OptionsDefine.Version]]
517
- model = models.CancelBeautifyVideoJobRequest()
518
- model.from_json_string(json.dumps(args))
519
- start_time = time.time()
520
- while True:
521
- rsp = client.CancelBeautifyVideoJob(model)
522
- result = rsp.to_json_string()
523
- try:
524
- json_obj = json.loads(result)
525
- except TypeError as e:
526
- json_obj = json.loads(result.decode('utf-8')) # python3.3
527
- if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
528
- break
529
- cur_time = time.time()
530
- if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
531
- raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
532
- (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
533
- search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
534
- else:
535
- print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
536
- time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
537
- FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
538
-
539
-
540
384
  CLIENT_MAP = {
541
385
  "v20191213": fmu_client_v20191213,
542
386
 
@@ -549,15 +393,12 @@ MODELS_MAP = {
549
393
 
550
394
  ACTION_MAP = {
551
395
  "CreateModel": doCreateModel,
552
- "StyleImage": doStyleImage,
396
+ "TryLipstickPic": doTryLipstickPic,
553
397
  "BeautifyPic": doBeautifyPic,
554
- "BeautifyVideo": doBeautifyVideo,
555
- "QueryBeautifyVideoJob": doQueryBeautifyVideoJob,
556
398
  "DeleteModel": doDeleteModel,
557
399
  "StyleImagePro": doStyleImagePro,
558
- "TryLipstickPic": doTryLipstickPic,
400
+ "StyleImage": doStyleImage,
559
401
  "GetModelList": doGetModelList,
560
- "CancelBeautifyVideoJob": doCancelBeautifyVideoJob,
561
402
 
562
403
  }
563
404
 
@@ -7,20 +7,6 @@
7
7
  "output": "BeautifyPicResponse",
8
8
  "status": "online"
9
9
  },
10
- "BeautifyVideo": {
11
- "document": "产品不再维护,准备下线。\n\n视频美颜(此接口目前已下线)",
12
- "input": "BeautifyVideoRequest",
13
- "name": "视频美颜(此接口目前已下线)",
14
- "output": "BeautifyVideoResponse",
15
- "status": "deprecated"
16
- },
17
- "CancelBeautifyVideoJob": {
18
- "document": "产品不再维护,准备下线。\n\n撤销视频美颜任务请求",
19
- "input": "CancelBeautifyVideoJobRequest",
20
- "name": "撤销视频美颜任务(此接口目前已下线)",
21
- "output": "CancelBeautifyVideoJobResponse",
22
- "status": "deprecated"
23
- },
24
10
  "CreateModel": {
25
11
  "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
12
  "input": "CreateModelRequest",
@@ -42,13 +28,6 @@
42
28
  "output": "GetModelListResponse",
43
29
  "status": "online"
44
30
  },
45
- "QueryBeautifyVideoJob": {
46
- "document": "产品不再维护,准备下线。\n\n查询视频美颜处理进度",
47
- "input": "QueryBeautifyVideoJobRequest",
48
- "name": "查询视频美颜任务(此接口目前已下线)",
49
- "output": "QueryBeautifyVideoJobResponse",
50
- "status": "deprecated"
51
- },
52
31
  "StyleImage": {
53
32
  "document": "上传一张照片,输出滤镜处理后的图片。",
54
33
  "input": "StyleImageRequest",
@@ -179,220 +158,6 @@
179
158
  ],
180
159
  "type": "object"
181
160
  },
182
- "BeautifyVideoOutput": {
183
- "document": "视频美颜返回结果",
184
- "members": [
185
- {
186
- "disabled": false,
187
- "document": "视频美颜输出的url\n注意:此字段可能返回 null,表示取不到有效值。",
188
- "example": "",
189
- "member": "string",
190
- "name": "VideoUrl",
191
- "required": true,
192
- "type": "string",
193
- "value_allowed_null": true
194
- },
195
- {
196
- "disabled": false,
197
- "document": "视频美颜输出的视频MD5,用于校验\n注意:此字段可能返回 null,表示取不到有效值。",
198
- "example": "",
199
- "member": "string",
200
- "name": "VideoMD5",
201
- "required": true,
202
- "type": "string",
203
- "value_allowed_null": true
204
- },
205
- {
206
- "disabled": false,
207
- "document": "美颜输出的视频封面图base64字符串\n注意:此字段可能返回 null,表示取不到有效值。",
208
- "example": "",
209
- "member": "string",
210
- "name": "CoverImage",
211
- "required": true,
212
- "type": "string",
213
- "value_allowed_null": true
214
- },
215
- {
216
- "disabled": false,
217
- "document": "视频宽度\n注意:此字段可能返回 null,表示取不到有效值。",
218
- "example": "",
219
- "member": "int64",
220
- "name": "Width",
221
- "required": true,
222
- "type": "int",
223
- "value_allowed_null": true
224
- },
225
- {
226
- "disabled": false,
227
- "document": "视频高度\n注意:此字段可能返回 null,表示取不到有效值。",
228
- "example": "",
229
- "member": "int64",
230
- "name": "Height",
231
- "required": true,
232
- "type": "int",
233
- "value_allowed_null": true
234
- },
235
- {
236
- "disabled": false,
237
- "document": "每秒传输帧数\n注意:此字段可能返回 null,表示取不到有效值。",
238
- "example": "",
239
- "member": "float",
240
- "name": "Fps",
241
- "required": true,
242
- "type": "float",
243
- "value_allowed_null": true
244
- },
245
- {
246
- "disabled": false,
247
- "document": "视频播放时长,单位为秒\n注意:此字段可能返回 null,表示取不到有效值。",
248
- "example": "",
249
- "member": "float",
250
- "name": "DurationInSec",
251
- "required": true,
252
- "type": "float",
253
- "value_allowed_null": true
254
- }
255
- ],
256
- "usage": "out"
257
- },
258
- "BeautifyVideoRequest": {
259
- "document": "BeautifyVideo请求参数结构体",
260
- "members": [
261
- {
262
- "disabled": false,
263
- "document": "视频url地址",
264
- "example": "string",
265
- "member": "string",
266
- "name": "Url",
267
- "required": true,
268
- "type": "string"
269
- },
270
- {
271
- "disabled": false,
272
- "document": "美颜参数 - 美白、平滑、大眼和瘦脸。参数值范围[0, 100]。参数值为0,则不做美颜。参数默认值为0。目前默认取数组第一个元素是对所有人脸美颜。",
273
- "example": "{}",
274
- "member": "BeautyParam",
275
- "name": "BeautyParam",
276
- "required": false,
277
- "type": "list"
278
- },
279
- {
280
- "disabled": false,
281
- "document": "目前只支持mp4",
282
- "example": "string",
283
- "member": "string",
284
- "name": "OutputVideoType",
285
- "required": false,
286
- "type": "string"
287
- }
288
- ],
289
- "type": "object"
290
- },
291
- "BeautifyVideoResponse": {
292
- "document": "BeautifyVideo返回参数结构体",
293
- "members": [
294
- {
295
- "disabled": false,
296
- "document": "视频美颜任务的Job id",
297
- "example": "string",
298
- "member": "string",
299
- "name": "JobId",
300
- "output_required": true,
301
- "type": "string",
302
- "value_allowed_null": false
303
- },
304
- {
305
- "disabled": false,
306
- "document": "预估处理时间,粒度为秒",
307
- "example": "1",
308
- "member": "int64",
309
- "name": "EstimatedProcessTime",
310
- "output_required": true,
311
- "type": "int",
312
- "value_allowed_null": false
313
- },
314
- {
315
- "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
316
- "member": "string",
317
- "name": "RequestId",
318
- "type": "string"
319
- }
320
- ],
321
- "type": "object"
322
- },
323
- "BeautyParam": {
324
- "document": "全局美颜参数,针对所有人脸做美颜。参数全部为0,则为不做美颜",
325
- "members": [
326
- {
327
- "disabled": false,
328
- "document": "美白程度,取值范围[0,100]。0不美白,100代表最高程度。默认值30。",
329
- "example": "",
330
- "member": "uint64",
331
- "name": "WhitenLevel",
332
- "required": false,
333
- "type": "int",
334
- "value_allowed_null": false
335
- },
336
- {
337
- "disabled": false,
338
- "document": "磨皮程度,取值范围[0,100]。0不磨皮,100代表最高程度。默认值30。",
339
- "example": "",
340
- "member": "uint64",
341
- "name": "SmoothingLevel",
342
- "required": false,
343
- "type": "int",
344
- "value_allowed_null": false
345
- },
346
- {
347
- "disabled": false,
348
- "document": "大眼程度,取值范围[0,100]。0不大眼,100代表最高程度。默认值70。",
349
- "example": "",
350
- "member": "uint64",
351
- "name": "EyeEnlargeLevel",
352
- "required": false,
353
- "type": "int",
354
- "value_allowed_null": false
355
- },
356
- {
357
- "disabled": false,
358
- "document": "瘦脸程度,取值范围[0,100]。0不瘦脸,100代表最高程度。默认值70。",
359
- "example": "",
360
- "member": "uint64",
361
- "name": "FaceShrinkLevel",
362
- "required": false,
363
- "type": "int",
364
- "value_allowed_null": false
365
- }
366
- ],
367
- "usage": "in"
368
- },
369
- "CancelBeautifyVideoJobRequest": {
370
- "document": "CancelBeautifyVideoJob请求参数结构体",
371
- "members": [
372
- {
373
- "disabled": false,
374
- "document": "美颜视频的Job id",
375
- "example": "string",
376
- "member": "string",
377
- "name": "JobId",
378
- "required": true,
379
- "type": "string"
380
- }
381
- ],
382
- "type": "object"
383
- },
384
- "CancelBeautifyVideoJobResponse": {
385
- "document": "CancelBeautifyVideoJob返回参数结构体",
386
- "members": [
387
- {
388
- "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
389
- "member": "string",
390
- "name": "RequestId",
391
- "type": "string"
392
- }
393
- ],
394
- "type": "object"
395
- },
396
161
  "CreateModelRequest": {
397
162
  "document": "CreateModel请求参数结构体",
398
163
  "members": [
@@ -642,63 +407,6 @@
642
407
  ],
643
408
  "usage": "out"
644
409
  },
645
- "QueryBeautifyVideoJobRequest": {
646
- "document": "QueryBeautifyVideoJob请求参数结构体",
647
- "members": [
648
- {
649
- "disabled": false,
650
- "document": "视频美颜Job id",
651
- "example": "Iyjz4Rj3OCt5Az9a",
652
- "member": "string",
653
- "name": "JobId",
654
- "required": true,
655
- "type": "string"
656
- }
657
- ],
658
- "type": "object"
659
- },
660
- "QueryBeautifyVideoJobResponse": {
661
- "document": "QueryBeautifyVideoJob返回参数结构体",
662
- "members": [
663
- {
664
- "disabled": false,
665
- "document": "当前任务状态:排队中、处理中、处理失败或者处理完成",
666
- "example": "处理完成",
667
- "member": "string",
668
- "name": "JobStatus",
669
- "output_required": true,
670
- "type": "string",
671
- "value_allowed_null": false
672
- },
673
- {
674
- "disabled": false,
675
- "document": "视频美颜输出的结果信息\n注意:此字段可能返回 null,表示取不到有效值。",
676
- "example": "无",
677
- "member": "BeautifyVideoOutput",
678
- "name": "BeautifyVideoOutput",
679
- "output_required": true,
680
- "type": "object",
681
- "value_allowed_null": true
682
- },
683
- {
684
- "disabled": false,
685
- "document": "当前任务状态码:1:排队中、3: 处理中、5: 处理失败、7:处理完成",
686
- "example": "1",
687
- "member": "int64",
688
- "name": "JobStatusCode",
689
- "output_required": true,
690
- "type": "int",
691
- "value_allowed_null": false
692
- },
693
- {
694
- "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
695
- "member": "string",
696
- "name": "RequestId",
697
- "type": "string"
698
- }
699
- ],
700
- "type": "object"
701
- },
702
410
  "RGBAInfo": {
703
411
  "document": "RGBA通道信息",
704
412
  "members": [
@@ -8,22 +8,6 @@
8
8
  "title": "人脸美颜请求示例"
9
9
  }
10
10
  ],
11
- "BeautifyVideo": [
12
- {
13
- "document": "调用返回成功",
14
- "input": "POST / HTTP/1.1\nHost: fmu.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BeautifyVideo\n<公共请求参数>\n\n{\n \"Url\": \"abc\",\n \"BeautyParam\": [\n {\n \"WhitenLevel\": 1,\n \"SmoothingLevel\": 1,\n \"EyeEnlargeLevel\": 1,\n \"FaceShrinkLevel\": 1\n }\n ],\n \"OutputVideoType\": \"abc\"\n}",
15
- "output": "{\n \"Response\": {\n \"JobId\": \"Vi6QGs7jO3uylsZY\",\n \"EstimatedProcessTime\": 30,\n \"RequestId\": \"327cd4c8-e544-43db-ba0c-3afda873ac73\"\n }\n}",
16
- "title": "调用返回成功"
17
- }
18
- ],
19
- "CancelBeautifyVideoJob": [
20
- {
21
- "document": "",
22
- "input": "https://fmu.tencentcloudapi.com/?Action=CancelBeautifyVideoJob\n&JobId=Iyjz4Rj3OCt5Az9a\n&<公共请求参数>",
23
- "output": "{\n \"Response\": {\n \"RequestId\": \"ea89354b-209d-4abf-ba04-eef6d4e664f2\"\n }\n}",
24
- "title": "调用返回成功"
25
- }
26
- ],
27
11
  "CreateModel": [
28
12
  {
29
13
  "document": "",
@@ -60,14 +44,6 @@
60
44
  "title": "人脸特效-人脸试妆-拉起素材列表"
61
45
  }
62
46
  ],
63
- "QueryBeautifyVideoJob": [
64
- {
65
- "document": "",
66
- "input": "https://fmu.tencentcloudapi.com/?Action=QueryBeautifyVideoJob\n&JobId=Iyjz4Rj3OCt5Az9a\n&<公共请求参数>",
67
- "output": "{\n \"Response\": {\n \"JobStatusCode\": 7,\n \"JobStatus\": \"处理完成\",\n \"BeautifyVideoOutput\": {\n \"VideoUrl\": \"http://bda-video-bodyseg-1254418846.cos.ap-guangzhou.myqcloud.com/video_beautify_prod/1.0/251006279/20200820144608_6dddf5c7-1828-42b8-8512-419cf16a2d3c_result.mp4\",\n \"VideoMD5\": \"8A1737F730437CBFDFD8154F6845919C\",\n \"CoverImage\": \"\",\n \"Width\": 540,\n \"Height\": 960,\n \"Fps\": 22.847341537476,\n \"DurationInSec\": 1.6194444894791\n },\n \"RequestId\": \"a2924747-04ca-4810-827d-8d2bd42d45ea\"\n }\n}",
68
- "title": "调用返回成功"
69
- }
70
- ],
71
47
  "StyleImage": [
72
48
  {
73
49
  "document": "",