tccli 3.0.1248.1__py2.py3-none-any.whl → 3.0.1250.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 (58) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/aiart/aiart_client.py +113 -7
  3. tccli/services/aiart/v20221229/api.json +191 -0
  4. tccli/services/aiart/v20221229/examples.json +16 -0
  5. tccli/services/batch/v20170312/api.json +1 -1
  6. tccli/services/cbs/v20170312/api.json +6 -0
  7. tccli/services/cdb/v20170320/api.json +9 -0
  8. tccli/services/cfw/v20190904/api.json +5 -3
  9. tccli/services/cmq/cmq_client.py +4 -799
  10. tccli/services/cmq/v20190304/api.json +135 -1329
  11. tccli/services/cmq/v20190304/examples.json +0 -120
  12. tccli/services/config/config_client.py +110 -4
  13. tccli/services/config/v20220802/api.json +374 -0
  14. tccli/services/config/v20220802/examples.json +16 -0
  15. tccli/services/cvm/v20170312/api.json +1 -1
  16. tccli/services/dc/v20180410/api.json +50 -48
  17. tccli/services/dc/v20180410/examples.json +8 -8
  18. tccli/services/ecm/v20190719/api.json +64 -62
  19. tccli/services/ecm/v20190719/examples.json +5 -5
  20. tccli/services/es/v20180416/api.json +10 -0
  21. tccli/services/ess/v20201111/api.json +163 -163
  22. tccli/services/ess/v20201111/examples.json +15 -21
  23. tccli/services/essbasic/v20210526/api.json +89 -89
  24. tccli/services/essbasic/v20210526/examples.json +2 -2
  25. tccli/services/hai/hai_client.py +60 -7
  26. tccli/services/hai/v20230812/api.json +195 -0
  27. tccli/services/hai/v20230812/examples.json +8 -0
  28. tccli/services/iotexplorer/iotexplorer_client.py +228 -16
  29. tccli/services/iotexplorer/v20190423/api.json +536 -0
  30. tccli/services/iotexplorer/v20190423/examples.json +32 -0
  31. tccli/services/iotvideo/iotvideo_client.py +53 -0
  32. tccli/services/iotvideo/v20211125/api.json +80 -0
  33. tccli/services/iotvideo/v20211125/examples.json +8 -0
  34. tccli/services/lkeap/v20240522/api.json +13 -13
  35. tccli/services/lkeap/v20240522/examples.json +2 -2
  36. tccli/services/mna/v20210119/api.json +24 -24
  37. tccli/services/mna/v20210119/examples.json +2 -2
  38. tccli/services/redis/v20180412/api.json +181 -181
  39. tccli/services/redis/v20180412/examples.json +1 -1
  40. tccli/services/sms/v20190711/api.json +48 -0
  41. tccli/services/sms/v20210111/api.json +48 -0
  42. tccli/services/tcb/v20180608/api.json +173 -145
  43. tccli/services/tcb/v20180608/examples.json +8 -8
  44. tccli/services/tcr/v20190924/api.json +5 -5
  45. tccli/services/tke/v20220501/api.json +1 -1
  46. tccli/services/trro/v20220325/api.json +71 -61
  47. tccli/services/trro/v20220325/examples.json +1 -1
  48. tccli/services/trtc/v20190722/api.json +114 -114
  49. tccli/services/tse/v20201207/api.json +18 -0
  50. tccli/services/vpc/v20170312/api.json +35 -33
  51. tccli/services/vpc/v20170312/examples.json +18 -18
  52. tccli/services/wedata/v20210820/api.json +80 -2
  53. tccli/services/wedata/v20210820/examples.json +1 -1
  54. {tccli-3.0.1248.1.dist-info → tccli-3.0.1250.1.dist-info}/METADATA +2 -2
  55. {tccli-3.0.1248.1.dist-info → tccli-3.0.1250.1.dist-info}/RECORD +58 -58
  56. {tccli-3.0.1248.1.dist-info → tccli-3.0.1250.1.dist-info}/WHEEL +0 -0
  57. {tccli-3.0.1248.1.dist-info → tccli-3.0.1250.1.dist-info}/entry_points.txt +0 -0
  58. {tccli-3.0.1248.1.dist-info → tccli-3.0.1250.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1248.1'
1
+ __version__ = '3.0.1250.1'
@@ -17,6 +17,58 @@ from tencentcloud.aiart.v20221229 import models as models_v20221229
17
17
  from jmespath import search
18
18
  import time
19
19
 
20
+ def doSubmitMemeJob(args, parsed_globals):
21
+ g_param = parse_global_arg(parsed_globals)
22
+
23
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
24
+ cred = credential.CVMRoleCredential()
25
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
26
+ cred = credential.STSAssumeRoleCredential(
27
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
28
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
29
+ )
30
+ 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):
31
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
32
+ else:
33
+ cred = credential.Credential(
34
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
35
+ )
36
+ http_profile = HttpProfile(
37
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
38
+ reqMethod="POST",
39
+ endpoint=g_param[OptionsDefine.Endpoint],
40
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
41
+ )
42
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
43
+ if g_param[OptionsDefine.Language]:
44
+ profile.language = g_param[OptionsDefine.Language]
45
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
46
+ client = mod.AiartClient(cred, g_param[OptionsDefine.Region], profile)
47
+ client._sdkVersion += ("_CLI_" + __version__)
48
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
49
+ model = models.SubmitMemeJobRequest()
50
+ model.from_json_string(json.dumps(args))
51
+ start_time = time.time()
52
+ while True:
53
+ rsp = client.SubmitMemeJob(model)
54
+ result = rsp.to_json_string()
55
+ try:
56
+ json_obj = json.loads(result)
57
+ except TypeError as e:
58
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
59
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
60
+ break
61
+ cur_time = time.time()
62
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
63
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
64
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
65
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
66
+ else:
67
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
68
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
69
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
70
+
71
+
20
72
  def doSketchToImage(args, parsed_globals):
21
73
  g_param = parse_global_arg(parsed_globals)
22
74
 
@@ -329,7 +381,7 @@ def doGenerateAvatar(args, parsed_globals):
329
381
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
330
382
 
331
383
 
332
- def doQueryTrainPortraitModelJob(args, parsed_globals):
384
+ def doQueryMemeJob(args, parsed_globals):
333
385
  g_param = parse_global_arg(parsed_globals)
334
386
 
335
387
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -358,11 +410,11 @@ def doQueryTrainPortraitModelJob(args, parsed_globals):
358
410
  client = mod.AiartClient(cred, g_param[OptionsDefine.Region], profile)
359
411
  client._sdkVersion += ("_CLI_" + __version__)
360
412
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
361
- model = models.QueryTrainPortraitModelJobRequest()
413
+ model = models.QueryMemeJobRequest()
362
414
  model.from_json_string(json.dumps(args))
363
415
  start_time = time.time()
364
416
  while True:
365
- rsp = client.QueryTrainPortraitModelJob(model)
417
+ rsp = client.QueryMemeJob(model)
366
418
  result = rsp.to_json_string()
367
419
  try:
368
420
  json_obj = json.loads(result)
@@ -381,7 +433,7 @@ def doQueryTrainPortraitModelJob(args, parsed_globals):
381
433
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
382
434
 
383
435
 
384
- def doUploadTrainPortraitImages(args, parsed_globals):
436
+ def doQueryTrainPortraitModelJob(args, parsed_globals):
385
437
  g_param = parse_global_arg(parsed_globals)
386
438
 
387
439
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -410,11 +462,11 @@ def doUploadTrainPortraitImages(args, parsed_globals):
410
462
  client = mod.AiartClient(cred, g_param[OptionsDefine.Region], profile)
411
463
  client._sdkVersion += ("_CLI_" + __version__)
412
464
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
413
- model = models.UploadTrainPortraitImagesRequest()
465
+ model = models.QueryTrainPortraitModelJobRequest()
414
466
  model.from_json_string(json.dumps(args))
415
467
  start_time = time.time()
416
468
  while True:
417
- rsp = client.UploadTrainPortraitImages(model)
469
+ rsp = client.QueryTrainPortraitModelJob(model)
418
470
  result = rsp.to_json_string()
419
471
  try:
420
472
  json_obj = json.loads(result)
@@ -485,6 +537,58 @@ def doQueryDrawPortraitJob(args, parsed_globals):
485
537
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
486
538
 
487
539
 
540
+ def doUploadTrainPortraitImages(args, parsed_globals):
541
+ g_param = parse_global_arg(parsed_globals)
542
+
543
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
544
+ cred = credential.CVMRoleCredential()
545
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
546
+ cred = credential.STSAssumeRoleCredential(
547
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
548
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
549
+ )
550
+ 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):
551
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
552
+ else:
553
+ cred = credential.Credential(
554
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
555
+ )
556
+ http_profile = HttpProfile(
557
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
558
+ reqMethod="POST",
559
+ endpoint=g_param[OptionsDefine.Endpoint],
560
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
561
+ )
562
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
563
+ if g_param[OptionsDefine.Language]:
564
+ profile.language = g_param[OptionsDefine.Language]
565
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
566
+ client = mod.AiartClient(cred, g_param[OptionsDefine.Region], profile)
567
+ client._sdkVersion += ("_CLI_" + __version__)
568
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
569
+ model = models.UploadTrainPortraitImagesRequest()
570
+ model.from_json_string(json.dumps(args))
571
+ start_time = time.time()
572
+ while True:
573
+ rsp = client.UploadTrainPortraitImages(model)
574
+ result = rsp.to_json_string()
575
+ try:
576
+ json_obj = json.loads(result)
577
+ except TypeError as e:
578
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
579
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
580
+ break
581
+ cur_time = time.time()
582
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
583
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
584
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
585
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
586
+ else:
587
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
588
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
589
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
590
+
591
+
488
592
  def doTextToImage(args, parsed_globals):
489
593
  g_param = parse_global_arg(parsed_globals)
490
594
 
@@ -808,15 +912,17 @@ MODELS_MAP = {
808
912
  }
809
913
 
810
914
  ACTION_MAP = {
915
+ "SubmitMemeJob": doSubmitMemeJob,
811
916
  "SketchToImage": doSketchToImage,
812
917
  "SubmitTextToImageProJob": doSubmitTextToImageProJob,
813
918
  "ReplaceBackground": doReplaceBackground,
814
919
  "SubmitTrainPortraitModelJob": doSubmitTrainPortraitModelJob,
815
920
  "ImageOutpainting": doImageOutpainting,
816
921
  "GenerateAvatar": doGenerateAvatar,
922
+ "QueryMemeJob": doQueryMemeJob,
817
923
  "QueryTrainPortraitModelJob": doQueryTrainPortraitModelJob,
818
- "UploadTrainPortraitImages": doUploadTrainPortraitImages,
819
924
  "QueryDrawPortraitJob": doQueryDrawPortraitJob,
925
+ "UploadTrainPortraitImages": doUploadTrainPortraitImages,
820
926
  "TextToImage": doTextToImage,
821
927
  "QueryTextToImageProJob": doQueryTextToImageProJob,
822
928
  "ChangeClothes": doChangeClothes,
@@ -42,6 +42,13 @@
42
42
  "output": "QueryDrawPortraitJobResponse",
43
43
  "status": "online"
44
44
  },
45
+ "QueryMemeJob": {
46
+ "document": "表情动图生成接口将静态照片制作成动态的表情包。分为提交任务和查询任务2个接口。\n- 提交任务:提交一个表情动图生成异步任务,获得任务 ID。\n- 查询任务:根据任务 ID 查询任务的处理状态、处理结果,任务处理完成后可获得生成图像结果。\n\n表情动图生成默认提供1个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。",
47
+ "input": "QueryMemeJobRequest",
48
+ "name": "查询表情动图生成任务",
49
+ "output": "QueryMemeJobResponse",
50
+ "status": "online"
51
+ },
45
52
  "QueryTextToImageProJob": {
46
53
  "document": "本接口已迁移至腾讯混元大模型-混元生图,即将停止此处维护,可切换至 [混元生图 API](https://cloud.tencent.com/document/product/1729/105970) 继续使用。\n文生图(高级版)接口基于高级版文生图大模型,将根据输入的文本描述,智能生成与之相关的结果图。分为提交任务和查询任务2个接口。\n提交任务:输入文本等,提交一个文生图(高级版)异步任务,获得任务 ID。\n查询任务:根据任务 ID 查询任务的处理状态、处理结果,任务处理完成后可获得生成图像结果。\n并发任务数(并发)说明:并发任务数指能同时处理的任务数量。文生图(高级版)默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。",
47
54
  "input": "QueryTextToImageProJobRequest",
@@ -77,6 +84,13 @@
77
84
  "output": "SubmitDrawPortraitJobResponse",
78
85
  "status": "online"
79
86
  },
87
+ "SubmitMemeJob": {
88
+ "document": "表情动图生成接口将静态照片制作成动态的表情包。分为提交任务和查询任务2个接口。\n\n- 提交任务:提交一个表情动图生成异步任务,获得任务 ID。\n- 查询任务:根据任务 ID 查询任务的处理状态、处理结果,任务处理完成后可获得生成图像结果。\n\n表情动图生成默认提供1个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。",
89
+ "input": "SubmitMemeJobRequest",
90
+ "name": "提交表情动图生成任务",
91
+ "output": "SubmitMemeJobResponse",
92
+ "status": "online"
93
+ },
80
94
  "SubmitTextToImageProJob": {
81
95
  "document": "本接口已迁移至腾讯混元大模型-混元生图,即将停止此处维护,可切换至 [混元生图 API](https://cloud.tencent.com/document/product/1729/105969) 继续使用。\n文生图(高级版)接口基于高级版文生图大模型,将根据输入的文本描述,智能生成与之相关的结果图。分为提交任务和查询任务2个接口。\n提交任务:输入文本等,提交一个文生图(高级版)异步任务,获得任务 ID。\n查询任务:根据任务 ID 查询任务的处理状态、处理结果,任务处理完成后可获得生成图像结果。\n并发任务数(并发)说明:并发任务数指能同时处理的任务数量。文生图(高级版)默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。",
82
96
  "input": "SubmitTextToImageProJobRequest",
@@ -803,6 +817,83 @@
803
817
  ],
804
818
  "type": "object"
805
819
  },
820
+ "QueryMemeJobRequest": {
821
+ "document": "QueryMemeJob请求参数结构体",
822
+ "members": [
823
+ {
824
+ "disabled": false,
825
+ "document": "查询表情动图生成任务 ID。",
826
+ "example": "1262739692856008704",
827
+ "member": "string",
828
+ "name": "JobId",
829
+ "required": true,
830
+ "type": "string"
831
+ }
832
+ ],
833
+ "type": "object"
834
+ },
835
+ "QueryMemeJobResponse": {
836
+ "document": "QueryMemeJob返回参数结构体",
837
+ "members": [
838
+ {
839
+ "disabled": false,
840
+ "document": "当前任务状态码:\n1:等待中、2:运行中、4:处理失败、5:处理完成。",
841
+ "example": "5",
842
+ "member": "string",
843
+ "name": "JobStatusCode",
844
+ "output_required": false,
845
+ "type": "string",
846
+ "value_allowed_null": false
847
+ },
848
+ {
849
+ "disabled": false,
850
+ "document": "当前任务状态:排队中、处理中、处理失败或者处理完成。",
851
+ "example": "处理完成",
852
+ "member": "string",
853
+ "name": "JobStatusMsg",
854
+ "output_required": false,
855
+ "type": "string",
856
+ "value_allowed_null": false
857
+ },
858
+ {
859
+ "disabled": false,
860
+ "document": "任务处理失败错误码。\n",
861
+ "example": "无",
862
+ "member": "string",
863
+ "name": "JobErrorCode",
864
+ "output_required": false,
865
+ "type": "string",
866
+ "value_allowed_null": false
867
+ },
868
+ {
869
+ "disabled": false,
870
+ "document": "任务处理失败错误信息。\n",
871
+ "example": "无",
872
+ "member": "string",
873
+ "name": "JobErrorMsg",
874
+ "output_required": false,
875
+ "type": "string",
876
+ "value_allowed_null": false
877
+ },
878
+ {
879
+ "disabled": false,
880
+ "document": "生成图 URL,有效期1小时,请及时保存。",
881
+ "example": "https://aiart-xxx.cos.ap-guangzhou.myqcloud.com/xxx.jpg",
882
+ "member": "string",
883
+ "name": "ResultImage",
884
+ "output_required": false,
885
+ "type": "string",
886
+ "value_allowed_null": false
887
+ },
888
+ {
889
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
890
+ "member": "string",
891
+ "name": "RequestId",
892
+ "type": "string"
893
+ }
894
+ ],
895
+ "type": "object"
896
+ },
806
897
  "QueryTextToImageProJobRequest": {
807
898
  "document": "QueryTextToImageProJob请求参数结构体",
808
899
  "members": [
@@ -1265,6 +1356,106 @@
1265
1356
  ],
1266
1357
  "type": "object"
1267
1358
  },
1359
+ "SubmitMemeJobRequest": {
1360
+ "document": "SubmitMemeJob请求参数结构体",
1361
+ "members": [
1362
+ {
1363
+ "disabled": false,
1364
+ "document": "表情模板。\n请在 [表情动图模板列表](https://cloud.tencent.com/document/product/1668/115327) 中选择期望的模板,传入 Pose 名称。",
1365
+ "example": "aiyobudeliao",
1366
+ "member": "string",
1367
+ "name": "Pose",
1368
+ "required": true,
1369
+ "type": "string"
1370
+ },
1371
+ {
1372
+ "disabled": false,
1373
+ "document": "人像参考图 Base64 数据。\nBase64 和 Url 必须提供一个,如果都提供以 Url 为准。\n图片限制:单边分辨率小于5000,转成 Base64 字符串后小于 6MB,格式支持 jpg、jpeg、png、bmp、tiff、webp。",
1374
+ "example": "9j/4QlQaHR0c...N6a2M5ZCI",
1375
+ "member": "string",
1376
+ "name": "InputImage",
1377
+ "required": false,
1378
+ "type": "string"
1379
+ },
1380
+ {
1381
+ "disabled": false,
1382
+ "document": "人像参考图 Url。\nBase64 和 Url 必须提供一个,如果都提供以 Url 为准。\n图片限制:单边分辨率小于5000,转成 Base64 字符串后小于 6MB,格式支持 jpg、jpeg、png、bmp、tiff、webp。",
1383
+ "example": "https://xxx.com/image.jpg",
1384
+ "member": "string",
1385
+ "name": "InputUrl",
1386
+ "required": false,
1387
+ "type": "string"
1388
+ },
1389
+ {
1390
+ "disabled": false,
1391
+ "document": "生成分辨率。\n真人类型支持256、512,默认为256,\n卡通类型仅支持512。",
1392
+ "example": "256",
1393
+ "member": "int64",
1394
+ "name": "Resolution",
1395
+ "required": false,
1396
+ "type": "int"
1397
+ },
1398
+ {
1399
+ "disabled": false,
1400
+ "document": "自定义文案。\n仅对真人类型的 Pose 生效,将在生成的表情动图中显示指定的文字。如果传入的字符串长度大于10,只截取前10个显示。\n如果不传,默认使用自带的文案。\n如果 text = \"\" 空字符串,代表不在表情动图中添加文案。",
1401
+ "example": "谢谢",
1402
+ "member": "string",
1403
+ "name": "Text",
1404
+ "required": false,
1405
+ "type": "string"
1406
+ },
1407
+ {
1408
+ "disabled": false,
1409
+ "document": "头发遮罩开关。\ntrue:裁剪过长的头发。\nfalse:不裁剪过长的头发。\n仅对卡通类型的 Pose 生效,默认为 false。",
1410
+ "example": "false",
1411
+ "member": "bool",
1412
+ "name": "Haircut",
1413
+ "required": false,
1414
+ "type": "bool"
1415
+ },
1416
+ {
1417
+ "disabled": false,
1418
+ "document": "为生成结果图添加标识的开关,默认为1。\n1:添加标识。\n0:不添加标识。\n其他数值:默认按1处理。\n建议您使用显著标识来提示结果图是 AI 生成的图片。",
1419
+ "example": "1",
1420
+ "member": "int64",
1421
+ "name": "LogoAdd",
1422
+ "required": false,
1423
+ "type": "int"
1424
+ },
1425
+ {
1426
+ "disabled": false,
1427
+ "document": "标识内容设置。\n默认在生成结果图右下角添加“图片由 AI 生成”字样,您可根据自身需要替换为其他的标识图片。",
1428
+ "example": "{\"LogoUrl\": \"https://xxx.com/logo.jpg\", \"LogoRect\": {\"X\": 10, \"Y\": 10, \"Width\": 20, \"Height\": 20}}",
1429
+ "member": "LogoParam",
1430
+ "name": "LogoParam",
1431
+ "required": false,
1432
+ "type": "object"
1433
+ }
1434
+ ],
1435
+ "type": "object"
1436
+ },
1437
+ "SubmitMemeJobResponse": {
1438
+ "document": "SubmitMemeJob返回参数结构体",
1439
+ "members": [
1440
+ {
1441
+ "disabled": false,
1442
+ "document": "任务id",
1443
+ "example": "string",
1444
+ "member": "string",
1445
+ "name": "JobId",
1446
+ "output_required": false,
1447
+ "type": "string",
1448
+ "value_allowed_null": false
1449
+ },
1450
+ {
1451
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
1452
+ "member": "string",
1453
+ "name": "RequestId",
1454
+ "type": "string"
1455
+ }
1456
+ ],
1457
+ "type": "object"
1458
+ },
1268
1459
  "SubmitTextToImageProJobRequest": {
1269
1460
  "document": "SubmitTextToImageProJob请求参数结构体",
1270
1461
  "members": [
@@ -48,6 +48,14 @@
48
48
  "title": "成功"
49
49
  }
50
50
  ],
51
+ "QueryMemeJob": [
52
+ {
53
+ "document": "",
54
+ "input": "POST / HTTP/1.1\nHost: aiart.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: QueryMemeJob\n<公共请求参数>\n\n{\n \"JobId\": \"251197749-1736402968-49025b63-ce50-11ef-9ce4-5254006b9705-0\"\n}",
55
+ "output": "{\n \"Response\": {\n \"JobErrorCode\": \"\",\n \"JobErrorMsg\": \"\",\n \"JobStatusCode\": \"5\",\n \"JobStatusMsg\": \"处理完成\",\n \"RequestId\": \"df0717c3-508e-4ba7-8537-e22500cf144c\",\n \"ResultImage\": \"https://aiart-xxx.cos.ap-guangzhou.myqcloud.com/xxx.jpg?q-sign-algorithm=sha1&q-ak=xxxxx&q-sign-time=1731574045;1731577645&q-key-time=1731574045;1731577645&q-header-list=host&q-url-param-list=&q-signature=31fe75c1c18c3d91db59508961209dd37aaf41c7\"\n }\n}",
56
+ "title": "调用示例"
57
+ }
58
+ ],
51
59
  "QueryTextToImageProJob": [
52
60
  {
53
61
  "document": "成功调用",
@@ -88,6 +96,14 @@
88
96
  "title": "成功"
89
97
  }
90
98
  ],
99
+ "SubmitMemeJob": [
100
+ {
101
+ "document": "",
102
+ "input": "POST / HTTP/1.1\nHost: aiart.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SubmitMemeJob\n<公共请求参数>\n\n{\n \"Pose\": \"aiyobudeliao\",\n \"InputUrl\": \"https://xxx.com/image.jpg\"\n}",
103
+ "output": "{\n \"Response\": {\n \"JobId\": \"251197749-1736402968-49025b63-ce50-11ef-9ce4-5254006b9705-0\",\n \"RequestId\": \"97781219-f994-4169-b0a6-032b9fab4742\"\n }\n}",
104
+ "title": "调用示例"
105
+ }
106
+ ],
91
107
  "SubmitTextToImageProJob": [
92
108
  {
93
109
  "document": "成功调用",
@@ -5384,7 +5384,7 @@
5384
5384
  "members": [
5385
5385
  {
5386
5386
  "disabled": false,
5387
- "document": "系统盘类型。系统盘类型限制详见[存储概述](https://cloud.tencent.com/document/product/213/4952)。取值范围:<br>\n<li>LOCAL_BASIC:本地硬盘</li>\n<li>LOCAL_SSD:本地SSD硬盘</li>\n<li>CLOUD_BASIC:普通云硬盘</li>\n<li>CLOUD_SSD:SSD云硬盘</li>\n<li>CLOUD_PREMIUM:高性能云硬盘</li>\n<li>CLOUD_BSSD:通用性SSD云硬盘</li>\n<li>CLOUD_HSSD:增强型SSD云硬盘</li>\n<li>CLOUD_TSSD:极速型SSD云硬盘</li><br>\n默认取值:当前有库存的硬盘类型。",
5387
+ "document": "系统盘类型。系统盘类型限制详见[存储概述](https://cloud.tencent.com/document/product/213/4952)。取值范围:<br>\n<li>LOCAL_BASIC:本地硬盘</li>\n<li>LOCAL_SSD:本地SSD硬盘</li>\n<li>CLOUD_BASIC:普通云硬盘</li>\n<li>CLOUD_SSD:SSD云硬盘</li>\n<li>CLOUD_PREMIUM:高性能云硬盘</li>\n<li>CLOUD_BSSD:通用型SSD云硬盘</li>\n<li>CLOUD_HSSD:增强型SSD云硬盘</li>\n<li>CLOUD_TSSD:极速型SSD云硬盘</li><br>\n默认取值:当前有库存的硬盘类型。",
5388
5388
  "example": "CLOUD_HSSD",
5389
5389
  "member": "string",
5390
5390
  "name": "DiskType",
@@ -1038,6 +1038,7 @@
1038
1038
  "example": "asp-1lebc9r3",
1039
1039
  "member": "string",
1040
1040
  "name": "AutoSnapshotPolicyId",
1041
+ "output_required": true,
1041
1042
  "type": "string",
1042
1043
  "value_allowed_null": false
1043
1044
  },
@@ -1047,6 +1048,7 @@
1047
1048
  "example": "2018-08-08 16:00:00",
1048
1049
  "member": "string",
1049
1050
  "name": "NextTriggerTime",
1051
+ "output_required": true,
1050
1052
  "type": "string",
1051
1053
  "value_allowed_null": false
1052
1054
  },
@@ -3976,6 +3978,7 @@
3976
3978
  "example": "[11,12,13]",
3977
3979
  "member": "uint64",
3978
3980
  "name": "Hour",
3981
+ "output_required": true,
3979
3982
  "required": true,
3980
3983
  "type": "list",
3981
3984
  "value_allowed_null": false
@@ -3986,6 +3989,7 @@
3986
3989
  "example": "[0,1,2]",
3987
3990
  "member": "uint64",
3988
3991
  "name": "DayOfWeek",
3992
+ "output_required": true,
3989
3993
  "required": false,
3990
3994
  "type": "list",
3991
3995
  "value_allowed_null": false
@@ -3996,6 +4000,7 @@
3996
4000
  "example": "[2, 3, 4]",
3997
4001
  "member": "uint64",
3998
4002
  "name": "DayOfMonth",
4003
+ "output_required": true,
3999
4004
  "required": false,
4000
4005
  "type": "list",
4001
4006
  "value_allowed_null": false
@@ -4006,6 +4011,7 @@
4006
4011
  "example": "50",
4007
4012
  "member": "uint64",
4008
4013
  "name": "IntervalDays",
4014
+ "output_required": true,
4009
4015
  "required": false,
4010
4016
  "type": "int",
4011
4017
  "value_allowed_null": false
@@ -21441,6 +21441,15 @@
21441
21441
  "name": "CheckFastUpgradeReboot",
21442
21442
  "required": false,
21443
21443
  "type": "int"
21444
+ },
21445
+ {
21446
+ "disabled": false,
21447
+ "document": "数据校验敏感度,非极速变配时使用此参数,敏感度根据当前实例规格计算迁移过程中的数据对比使用的cpu资源\n对应的选项为: \"high\"、\"normal\"、\"low\",默认为空\n参数详解,:\n\"high\": 对应控制台中的高,数据库负载过高不建议使用\n\"normal\":对应控制台中的标准\n\"low\":对应控制台中的低\n",
21448
+ "example": "\"low\"",
21449
+ "member": "string",
21450
+ "name": "DataCheckSensitive",
21451
+ "required": false,
21452
+ "type": "string"
21444
21453
  }
21445
21454
  ],
21446
21455
  "type": "object"
@@ -2060,7 +2060,7 @@
2060
2060
  {
2061
2061
  "disabled": false,
2062
2062
  "document": "检索的值,各检索值间为OR关系",
2063
- "example": "[\"1.1.1.1\",\"2.2.2.2\"]",
2063
+ "example": "[\"109.24.115.11\",\"83.24.11.24\"]",
2064
2064
  "member": "string",
2065
2065
  "name": "Values",
2066
2066
  "required": true,
@@ -9243,9 +9243,10 @@
9243
9243
  {
9244
9244
  "disabled": false,
9245
9245
  "document": "vpc的id",
9246
- "example": "vpc-xxx1",
9246
+ "example": "vpc-kwuw05al",
9247
9247
  "member": "string",
9248
9248
  "name": "VpcId",
9249
+ "output_required": true,
9249
9250
  "required": true,
9250
9251
  "type": "string",
9251
9252
  "value_allowed_null": false
@@ -9256,6 +9257,7 @@
9256
9257
  "example": "192.168.0.0/24",
9257
9258
  "member": "string",
9258
9259
  "name": "FwCidr",
9260
+ "output_required": true,
9259
9261
  "required": true,
9260
9262
  "type": "string",
9261
9263
  "value_allowed_null": false
@@ -10324,7 +10326,7 @@
10324
10326
  {
10325
10327
  "disabled": false,
10326
10328
  "document": "记录id",
10327
- "example": "5d723366818a39290******",
10329
+ "example": "5d723366818a39290",
10328
10330
  "member": "string",
10329
10331
  "name": "UniqueId",
10330
10332
  "required": true,