tccli 3.0.1083.1__py2.py3-none-any.whl → 3.0.1085.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 (220) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/aiart/v20221229/QueryTextToImageProJob.md +30 -0
  3. tccli/examples/aiart/v20221229/SubmitTextToImageProJob.md +22 -0
  4. tccli/examples/billing/v20180709/DescribeCostDetail.md +36 -33
  5. tccli/examples/billing/v20180709/DescribeCostSummaryByProject.md +25 -80
  6. tccli/examples/billing/v20180709/DescribeCostSummaryByRegion.md +23 -14
  7. tccli/examples/billing/v20180709/DescribeCostSummaryByResource.md +53 -27
  8. tccli/examples/ccc/v20200210/CreateCompanyApply.md +36 -0
  9. tccli/examples/ccc/v20200210/DescribeCompanyList.md +33 -0
  10. tccli/examples/ccc/v20200210/ModifyCompanyApply.md +36 -0
  11. tccli/examples/cdb/v20170320/CreateCloneInstance.md +5 -5
  12. tccli/examples/ckafka/v20190819/CreateInstancePost.md +9 -6
  13. tccli/examples/ckafka/v20190819/CreatePrometheus.md +29 -0
  14. tccli/examples/ckafka/v20190819/DescribeGroupInfo.md +2 -2
  15. tccli/examples/ckafka/v20190819/DescribePrometheus.md +25 -0
  16. tccli/examples/ckafka/v20190819/ModifyAclRule.md +1 -1
  17. tccli/examples/cynosdb/v20190107/RollbackToNewCluster.md +62 -0
  18. tccli/examples/dlc/v20210125/QueryTaskCostDetail.md +20 -0
  19. tccli/examples/ess/v20201111/CreateFlowApprovers.md +34 -0
  20. tccli/examples/ess/v20201111/CreateFlowGroupByFiles.md +168 -0
  21. tccli/examples/ess/v20201111/CreateFlowGroupByTemplates.md +98 -0
  22. tccli/examples/ess/v20201111/CreateSchemeUrl.md +31 -3
  23. tccli/examples/essbasic/v20210526/ChannelCreateFlowApprovers.md +41 -0
  24. tccli/examples/essbasic/v20210526/ChannelCreateFlowGroupByFiles.md +171 -0
  25. tccli/examples/essbasic/v20210526/ChannelCreateFlowGroupByTemplates.md +92 -0
  26. tccli/examples/essbasic/v20210526/ChannelCreateReleaseFlow.md +1 -1
  27. tccli/examples/essbasic/v20210526/CreateSignUrls.md +52 -0
  28. tccli/examples/faceid/v20180301/GetFaceIdResult.md +4 -4
  29. tccli/examples/faceid/v20180301/GetFaceIdRiskInfo.md +26 -0
  30. tccli/examples/faceid/v20180301/GetFaceidRiskInfoToken.md +22 -0
  31. tccli/examples/iotexplorer/v20190423/BindCloudStorageUser.md +22 -0
  32. tccli/examples/iotexplorer/v20190423/CreateIotVideoCloudStorage.md +22 -0
  33. tccli/examples/iotexplorer/v20190423/DeleteCloudStorageEvent.md +26 -0
  34. tccli/examples/iotexplorer/v20190423/DescribeCloudStorage.md +27 -0
  35. tccli/examples/iotexplorer/v20190423/DescribeCloudStorageDate.md +24 -0
  36. tccli/examples/iotexplorer/v20190423/DescribeCloudStorageEvents.md +87 -0
  37. tccli/examples/iotexplorer/v20190423/DescribeCloudStorageMultiThumbnail.md +28 -0
  38. tccli/examples/iotexplorer/v20190423/DescribeCloudStorageOrder.md +25 -0
  39. tccli/examples/iotexplorer/v20190423/DescribeCloudStoragePackageConsumeDetails.md +21 -0
  40. tccli/examples/iotexplorer/v20190423/DescribeCloudStoragePackageConsumeStats.md +44 -0
  41. tccli/examples/iotexplorer/v20190423/DescribeCloudStorageStreamData.md +24 -0
  42. tccli/examples/iotexplorer/v20190423/DescribeCloudStorageThumbnail.md +24 -0
  43. tccli/examples/iotexplorer/v20190423/DescribeCloudStorageThumbnailList.md +28 -0
  44. tccli/examples/iotexplorer/v20190423/DescribeCloudStorageTime.md +43 -0
  45. tccli/examples/iotexplorer/v20190423/DescribeCloudStorageUsers.md +29 -0
  46. tccli/examples/iotexplorer/v20190423/DescribeDevicePackages.md +37 -0
  47. tccli/examples/iotexplorer/v20190423/DescribePackageConsumeTask.md +21 -0
  48. tccli/examples/iotexplorer/v20190423/DescribePackageConsumeTasks.md +39 -0
  49. tccli/examples/iotexplorer/v20190423/GenerateSignedVideoURL.md +22 -0
  50. tccli/examples/iotexplorer/v20190423/InheritCloudStorageUser.md +23 -0
  51. tccli/examples/iotexplorer/v20190423/ResetCloudStorage.md +21 -0
  52. tccli/examples/iotexplorer/v20190423/ResetCloudStorageEvent.md +22 -0
  53. tccli/examples/iotexplorer/v20190423/TransferCloudStorage.md +22 -0
  54. tccli/examples/live/v20180801/CreateLiveTimeShiftTemplate.md +8 -8
  55. tccli/examples/monitor/v20180724/CreateExporterIntegration.md +626 -2
  56. tccli/examples/ocr/v20181119/ReconstructDocument.md +2263 -0
  57. tccli/examples/pts/v20210728/CreateEnvironment.md +18 -0
  58. tccli/examples/pts/v20210728/DeleteEnvironments.md +18 -0
  59. tccli/examples/pts/v20210728/DescribeEnvironments.md +18 -0
  60. tccli/examples/pts/v20210728/UpdateEnvironment.md +18 -0
  61. tccli/examples/ssl/v20191205/UploadCertificate.md +48 -3
  62. tccli/examples/tag/v20180813/DescribeProjects.md +1 -1
  63. tccli/examples/tione/v20211111/CreateModelService.md +3 -1
  64. tccli/examples/tione/v20211111/ModifyModelService.md +62 -228
  65. tccli/examples/wedata/v20210820/BatchCreateIntegrationTaskAlarms.md +11 -11
  66. tccli/examples/wedata/v20210820/BatchForceSuccessIntegrationTaskInstances.md +2 -2
  67. tccli/examples/wedata/v20210820/BatchKillIntegrationTaskInstances.md +2 -2
  68. tccli/examples/wedata/v20210820/BatchMakeUpIntegrationTasks.md +2 -2
  69. tccli/examples/wedata/v20210820/BatchRerunIntegrationTaskInstances.md +5 -2
  70. tccli/examples/wedata/v20210820/CheckDuplicateRuleName.md +5 -5
  71. tccli/examples/wedata/v20210820/CheckDuplicateTemplateName.md +4 -4
  72. tccli/examples/wedata/v20210820/CheckIntegrationNodeNameExists.md +4 -4
  73. tccli/examples/wedata/v20210820/CheckIntegrationTaskNameExists.md +4 -4
  74. tccli/examples/wedata/v20210820/CheckTaskNameExist.md +3 -3
  75. tccli/examples/wedata/v20210820/CommitExportTask.md +4 -4
  76. tccli/examples/wedata/v20210820/CreateInLongAgent.md +6 -6
  77. tccli/examples/wedata/v20210820/CreateOrUpdateResource.md +2 -1
  78. tccli/examples/wedata/v20210820/CreateRuleTemplate.md +1 -1
  79. tccli/examples/wedata/v20210820/CreateTaskAlarmRegular.md +11 -11
  80. tccli/examples/wedata/v20210820/DeleteInLongAgent.md +3 -3
  81. tccli/examples/wedata/v20210820/DeleteIntegrationNode.md +2 -2
  82. tccli/examples/wedata/v20210820/DeleteOfflineTask.md +4 -4
  83. tccli/examples/wedata/v20210820/DeleteRule.md +1 -1
  84. tccli/examples/wedata/v20210820/DeleteRuleTemplate.md +1 -1
  85. tccli/examples/wedata/v20210820/DescribeClusterNamespaceList.md +6 -6
  86. tccli/examples/wedata/v20210820/DescribeDataBases.md +12 -8
  87. tccli/examples/wedata/v20210820/DescribeDataCheckStat.md +5 -5
  88. tccli/examples/wedata/v20210820/DescribeDataObjects.md +6 -3
  89. tccli/examples/wedata/v20210820/DescribeExecStrategy.md +20 -16
  90. tccli/examples/wedata/v20210820/DescribeInLongAgentTaskList.md +6 -6
  91. tccli/examples/wedata/v20210820/DescribeInLongAgentVpcList.md +3 -3
  92. tccli/examples/wedata/v20210820/DescribeInstances.md +6 -6
  93. tccli/examples/wedata/v20210820/DescribeIntegrationNode.md +61 -43
  94. tccli/examples/wedata/v20210820/DescribeIntegrationStatistics.md +13 -13
  95. tccli/examples/wedata/v20210820/DescribeIntegrationStatisticsAgentStatus.md +6 -6
  96. tccli/examples/wedata/v20210820/DescribeIntegrationStatisticsInstanceTrend.md +8 -10
  97. tccli/examples/wedata/v20210820/DescribeIntegrationStatisticsRecordsTrend.md +1 -1
  98. tccli/examples/wedata/v20210820/DescribeIntegrationStatisticsTaskStatus.md +5 -5
  99. tccli/examples/wedata/v20210820/DescribeIntegrationStatisticsTaskStatusTrend.md +8 -10
  100. tccli/examples/wedata/v20210820/DescribeMonitorsByPage.md +7 -7
  101. tccli/examples/wedata/v20210820/DescribeOfflineTaskToken.md +3 -3
  102. tccli/examples/wedata/v20210820/DescribeProdTasks.md +6 -5
  103. tccli/examples/wedata/v20210820/DescribeRealTimeTaskInstanceNodeInfo.md +9 -9
  104. tccli/examples/wedata/v20210820/DescribeRealTimeTaskSpeed.md +32 -26
  105. tccli/examples/wedata/v20210820/DescribeRule.md +118 -23
  106. tccli/examples/wedata/v20210820/DescribeRuleDataSources.md +11 -8
  107. tccli/examples/wedata/v20210820/DescribeRuleDimStat.md +3 -3
  108. tccli/examples/wedata/v20210820/DescribeRuleExecDetail.md +48 -41
  109. tccli/examples/wedata/v20210820/DescribeRuleExecExportResult.md +15 -10
  110. tccli/examples/wedata/v20210820/DescribeRuleExecLog.md +2 -2
  111. tccli/examples/wedata/v20210820/DescribeRuleExecResults.md +72 -4
  112. tccli/examples/wedata/v20210820/DescribeRuleExecResultsByPage.md +38 -33
  113. tccli/examples/wedata/v20210820/DescribeRuleExecStat.md +14 -14
  114. tccli/examples/wedata/v20210820/DescribeRuleGroup.md +50 -23
  115. tccli/examples/wedata/v20210820/DescribeRuleGroupExecResultsByPage.md +87 -14
  116. tccli/examples/wedata/v20210820/DescribeRuleGroupExecResultsByPageWithoutAuth.md +81 -12
  117. tccli/examples/wedata/v20210820/DescribeRuleGroupSubscription.md +12 -6
  118. tccli/examples/wedata/v20210820/DescribeRuleGroupTable.md +35 -27
  119. tccli/examples/wedata/v20210820/DescribeRuleGroupsByPage.md +51 -21
  120. tccli/examples/wedata/v20210820/DescribeRuleHistoryByPage.md +9 -9
  121. tccli/examples/wedata/v20210820/DescribeRuleTablesByPage.md +52 -35
  122. tccli/examples/wedata/v20210820/DescribeRuleTemplate.md +33 -16
  123. tccli/examples/wedata/v20210820/DescribeRuleTemplates.md +8 -8
  124. tccli/examples/wedata/v20210820/DescribeRuleTemplatesByPage.md +13 -13
  125. tccli/examples/wedata/v20210820/DescribeRulesByPage.md +123 -28
  126. tccli/examples/wedata/v20210820/DescribeStandardRuleDetailInfoList.md +3 -3
  127. tccli/examples/wedata/v20210820/DescribeTableInfoList.md +9 -2
  128. tccli/examples/wedata/v20210820/DescribeTaskInstance.md +35 -35
  129. tccli/examples/wedata/v20210820/DescribeTaskInstanceReportDetail.md +28 -26
  130. tccli/examples/wedata/v20210820/DescribeTaskLockStatus.md +7 -7
  131. tccli/examples/wedata/v20210820/DescribeTaskReport.md +6 -6
  132. tccli/examples/wedata/v20210820/DescribeTaskReportDetailList.md +17 -17
  133. tccli/examples/wedata/v20210820/DescribeTopTableStat.md +9 -9
  134. tccli/examples/wedata/v20210820/DescribeTrendStat.md +2 -2
  135. tccli/examples/wedata/v20210820/DryRunDIOfflineTask.md +10 -9
  136. tccli/examples/wedata/v20210820/GetIntegrationNodeColumnSchema.md +13 -11
  137. tccli/examples/wedata/v20210820/GetOfflineDIInstanceList.md +26 -26
  138. tccli/examples/wedata/v20210820/LockIntegrationTask.md +4 -4
  139. tccli/examples/wedata/v20210820/ModifyIntegrationNode.md +42 -41
  140. tccli/examples/wedata/v20210820/ModifyIntegrationTask.md +110 -58
  141. tccli/examples/wedata/v20210820/ModifyMonitorStatus.md +4 -4
  142. tccli/examples/wedata/v20210820/ModifyRule.md +24 -24
  143. tccli/examples/wedata/v20210820/ModifyRuleGroupSubscription.md +11 -13
  144. tccli/examples/wedata/v20210820/ModifyTaskAlarmRegular.md +45 -16
  145. tccli/examples/wedata/v20210820/ModifyTaskInfo.md +79 -29
  146. tccli/examples/wedata/v20210820/ModifyTaskName.md +5 -5
  147. tccli/examples/wedata/v20210820/RestartInLongAgent.md +3 -3
  148. tccli/examples/wedata/v20210820/RobAndLockIntegrationTask.md +7 -7
  149. tccli/examples/wedata/v20210820/StopIntegrationTask.md +4 -4
  150. tccli/examples/wedata/v20210820/TaskLog.md +5 -15
  151. tccli/examples/wedata/v20210820/UnlockIntegrationTask.md +4 -4
  152. tccli/examples/wedata/v20210820/UpdateInLongAgent.md +5 -5
  153. tccli/services/aiart/aiart_client.py +106 -0
  154. tccli/services/aiart/v20221229/api.json +174 -0
  155. tccli/services/aiart/v20221229/examples.json +16 -0
  156. tccli/services/asr/v20190614/api.json +4 -4
  157. tccli/services/bi/v20220105/api.json +27 -0
  158. tccli/services/billing/v20180709/api.json +365 -130
  159. tccli/services/billing/v20180709/examples.json +4 -4
  160. tccli/services/ccc/ccc_client.py +159 -0
  161. tccli/services/ccc/v20200210/api.json +442 -0
  162. tccli/services/ccc/v20200210/examples.json +24 -0
  163. tccli/services/cdb/v20170320/api.json +78 -24
  164. tccli/services/cdb/v20170320/examples.json +2 -2
  165. tccli/services/cdwpg/v20201230/api.json +9 -0
  166. tccli/services/ckafka/ckafka_client.py +106 -0
  167. tccli/services/ckafka/v20190819/api.json +211 -32
  168. tccli/services/ckafka/v20190819/examples.json +19 -3
  169. tccli/services/clb/v20180317/api.json +2 -2
  170. tccli/services/cloudstudio/v20230508/api.json +40 -4
  171. tccli/services/cls/v20201016/api.json +30 -30
  172. tccli/services/csip/v20221121/api.json +76 -76
  173. tccli/services/cwp/v20180228/api.json +124 -8
  174. tccli/services/cynosdb/cynosdb_client.py +53 -0
  175. tccli/services/cynosdb/v20190107/api.json +255 -0
  176. tccli/services/cynosdb/v20190107/examples.json +8 -0
  177. tccli/services/dlc/dlc_client.py +53 -0
  178. tccli/services/dlc/v20210125/api.json +103 -4
  179. tccli/services/dlc/v20210125/examples.json +8 -0
  180. tccli/services/dsgc/v20190723/api.json +20 -0
  181. tccli/services/dts/v20211206/api.json +56 -2
  182. tccli/services/es/v20180416/api.json +127 -24
  183. tccli/services/ess/v20201111/api.json +143 -31
  184. tccli/services/ess/v20201111/examples.json +26 -2
  185. tccli/services/essbasic/v20210526/api.json +134 -13
  186. tccli/services/essbasic/v20210526/examples.json +25 -1
  187. tccli/services/faceid/faceid_client.py +136 -30
  188. tccli/services/faceid/v20180301/api.json +167 -10
  189. tccli/services/faceid/v20180301/examples.json +17 -1
  190. tccli/services/iotexplorer/iotexplorer_client.py +1453 -234
  191. tccli/services/iotexplorer/v20190423/api.json +2179 -117
  192. tccli/services/iotexplorer/v20190423/examples.json +184 -0
  193. tccli/services/lcic/v20220817/api.json +62 -4
  194. tccli/services/live/v20180801/api.json +1 -1
  195. tccli/services/live/v20180801/examples.json +2 -2
  196. tccli/services/monitor/v20180724/examples.json +111 -3
  197. tccli/services/mps/v20190612/api.json +53 -27
  198. tccli/services/ms/v20180408/api.json +14 -14
  199. tccli/services/oceanus/v20190422/api.json +1 -1
  200. tccli/services/ocr/ocr_client.py +53 -0
  201. tccli/services/ocr/v20181119/api.json +276 -0
  202. tccli/services/ocr/v20181119/examples.json +8 -0
  203. tccli/services/pts/pts_client.py +212 -0
  204. tccli/services/pts/v20210728/api.json +96 -0
  205. tccli/services/pts/v20210728/examples.json +32 -0
  206. tccli/services/ssl/v20191205/examples.json +9 -3
  207. tccli/services/tag/v20180813/examples.json +1 -1
  208. tccli/services/tione/v20211111/api.json +77 -3
  209. tccli/services/tione/v20211111/examples.json +2 -2
  210. tccli/services/tms/v20201229/api.json +1 -1
  211. tccli/services/trtc/v20190722/api.json +1 -1
  212. tccli/services/tts/v20190823/api.json +10 -1
  213. tccli/services/vod/v20180717/api.json +6 -6
  214. tccli/services/wedata/v20210820/api.json +650 -200
  215. tccli/services/wedata/v20210820/examples.json +154 -148
  216. {tccli-3.0.1083.1.dist-info → tccli-3.0.1085.1.dist-info}/METADATA +2 -2
  217. {tccli-3.0.1083.1.dist-info → tccli-3.0.1085.1.dist-info}/RECORD +220 -181
  218. {tccli-3.0.1083.1.dist-info → tccli-3.0.1085.1.dist-info}/WHEEL +0 -0
  219. {tccli-3.0.1083.1.dist-info → tccli-3.0.1085.1.dist-info}/entry_points.txt +0 -0
  220. {tccli-3.0.1083.1.dist-info → tccli-3.0.1085.1.dist-info}/license_files/LICENSE +0 -0
@@ -6,15 +6,15 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli wedata RestartInLongAgent --cli-unfold-argument \
9
- --ProjectId xx \
10
- --AgentId xx
9
+ --AgentId abc \
10
+ --ProjectId abc
11
11
  ```
12
12
 
13
13
  Output:
14
14
  ```
15
15
  {
16
16
  "Response": {
17
- "RequestId": "xx"
17
+ "RequestId": "abc"
18
18
  }
19
19
  }
20
20
  ```
@@ -6,20 +6,20 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli wedata RobAndLockIntegrationTask --cli-unfold-argument \
9
- --ProjectId xx \
10
- --TaskId xx \
11
- --TaskType 201
9
+ --TaskId abc \
10
+ --ProjectId abc \
11
+ --TaskType 1
12
12
  ```
13
13
 
14
14
  Output:
15
15
  ```
16
16
  {
17
17
  "Response": {
18
- "RequestId": "xx",
19
18
  "RobLockState": {
20
- "Locker": "xx",
21
- "IsRob": true
22
- }
19
+ "IsRob": true,
20
+ "Locker": "abc"
21
+ },
22
+ "RequestId": "abc"
23
23
  }
24
24
  }
25
25
  ```
@@ -6,16 +6,16 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli wedata StopIntegrationTask --cli-unfold-argument \
9
- --ProjectId xx \
10
- --TaskId xx
9
+ --TaskId abc \
10
+ --ProjectId abc
11
11
  ```
12
12
 
13
13
  Output:
14
14
  ```
15
15
  {
16
16
  "Response": {
17
- "RequestId": "xx",
18
- "Data": true
17
+ "Data": true,
18
+ "RequestId": "abc"
19
19
  }
20
20
  }
21
21
  ```
@@ -19,24 +19,14 @@ Output:
19
19
  ```
20
20
  {
21
21
  "Response": {
22
- "RequestId": "xx",
23
22
  "LogContentList": [
24
23
  {
25
- "PkgId": "xx",
26
- "Log": "xx",
27
- "Time": 1
28
- },
29
- {
30
- "PkgId": "xx",
31
- "Log": "xx",
32
- "Time": 1
33
- },
34
- {
35
- "PkgId": "xx",
36
- "Log": "xx",
37
- "Time": 1
24
+ "Time": 1,
25
+ "PkgId": "abc",
26
+ "Log": "abc"
38
27
  }
39
- ]
28
+ ],
29
+ "RequestId": "abc"
40
30
  }
41
31
  }
42
32
  ```
@@ -6,16 +6,16 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli wedata UnlockIntegrationTask --cli-unfold-argument \
9
- --ProjectId xx \
10
- --TaskId xx
9
+ --TaskId abc \
10
+ --ProjectId abc
11
11
  ```
12
12
 
13
13
  Output:
14
14
  ```
15
15
  {
16
16
  "Response": {
17
- "RequestId": "xx",
18
- "Data": true
17
+ "Data": true,
18
+ "RequestId": "abc"
19
19
  }
20
20
  }
21
21
  ```
@@ -6,17 +6,17 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli wedata UpdateInLongAgent --cli-unfold-argument \
9
- --ProjectId xx \
10
- --AgentId xx \
11
- --ExecutorGroupId xx \
12
- --AgentName xx
9
+ --AgentName abc \
10
+ --ExecutorGroupId abc \
11
+ --AgentId abc \
12
+ --ProjectId abc
13
13
  ```
14
14
 
15
15
  Output:
16
16
  ```
17
17
  {
18
18
  "Response": {
19
- "RequestId": "xx"
19
+ "RequestId": "abc"
20
20
  }
21
21
  }
22
22
  ```
@@ -17,6 +17,110 @@ from tencentcloud.aiart.v20221229 import models as models_v20221229
17
17
  from jmespath import search
18
18
  import time
19
19
 
20
+ def doQueryTextToImageProJob(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.QueryTextToImageProJobRequest()
50
+ model.from_json_string(json.dumps(args))
51
+ start_time = time.time()
52
+ while True:
53
+ rsp = client.QueryTextToImageProJob(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
+
72
+ def doSubmitTextToImageProJob(args, parsed_globals):
73
+ g_param = parse_global_arg(parsed_globals)
74
+
75
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
76
+ cred = credential.CVMRoleCredential()
77
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
78
+ cred = credential.STSAssumeRoleCredential(
79
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
80
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
81
+ )
82
+ 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):
83
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
84
+ else:
85
+ cred = credential.Credential(
86
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
87
+ )
88
+ http_profile = HttpProfile(
89
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
90
+ reqMethod="POST",
91
+ endpoint=g_param[OptionsDefine.Endpoint],
92
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
93
+ )
94
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
95
+ if g_param[OptionsDefine.Language]:
96
+ profile.language = g_param[OptionsDefine.Language]
97
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
98
+ client = mod.AiartClient(cred, g_param[OptionsDefine.Region], profile)
99
+ client._sdkVersion += ("_CLI_" + __version__)
100
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
101
+ model = models.SubmitTextToImageProJobRequest()
102
+ model.from_json_string(json.dumps(args))
103
+ start_time = time.time()
104
+ while True:
105
+ rsp = client.SubmitTextToImageProJob(model)
106
+ result = rsp.to_json_string()
107
+ try:
108
+ json_obj = json.loads(result)
109
+ except TypeError as e:
110
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
111
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
112
+ break
113
+ cur_time = time.time()
114
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
115
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
116
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
117
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
118
+ else:
119
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
120
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
121
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
122
+
123
+
20
124
  def doTextToImage(args, parsed_globals):
21
125
  g_param = parse_global_arg(parsed_globals)
22
126
 
@@ -132,6 +236,8 @@ MODELS_MAP = {
132
236
  }
133
237
 
134
238
  ACTION_MAP = {
239
+ "QueryTextToImageProJob": doQueryTextToImageProJob,
240
+ "SubmitTextToImageProJob": doSubmitTextToImageProJob,
135
241
  "TextToImage": doTextToImage,
136
242
  "ImageToImage": doImageToImage,
137
243
 
@@ -7,6 +7,20 @@
7
7
  "output": "ImageToImageResponse",
8
8
  "status": "online"
9
9
  },
10
+ "QueryTextToImageProJob": {
11
+ "document": "文生图(高级版)接口基于高级版文生图大模型,将根据输入的文本描述,智能生成与之相关的结果图。分为提交任务和查询任务2个接口。\n提交任务:输入文本等,提交一个文生图(高级版)异步任务,获得任务 ID。\n查询任务:根据任务 ID 查询任务的处理状态、处理结果,任务处理完成后可获得生成图像结果。\n并发任务数(并发)说明:并发任务数指能同时处理的任务数量。文生图(高级版)默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。",
12
+ "input": "QueryTextToImageProJobRequest",
13
+ "name": "查询文生图(高级版)任务",
14
+ "output": "QueryTextToImageProJobResponse",
15
+ "status": "online"
16
+ },
17
+ "SubmitTextToImageProJob": {
18
+ "document": "文生图(高级版)接口基于高级版文生图大模型,将根据输入的文本描述,智能生成与之相关的结果图。分为提交任务和查询任务2个接口。\n提交任务:输入文本等,提交一个文生图(高级版)异步任务,获得任务 ID。\n查询任务:根据任务 ID 查询任务的处理状态、处理结果,任务处理完成后可获得生成图像结果。\n并发任务数(并发)说明:并发任务数指能同时处理的任务数量。文生图(高级版)默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。",
19
+ "input": "SubmitTextToImageProJobRequest",
20
+ "name": "提交文生图(高级版)任务",
21
+ "output": "SubmitTextToImageProJobResponse",
22
+ "status": "online"
23
+ },
10
24
  "TextToImage": {
11
25
  "document": "智能文生图接口将根据输入的描述文本,智能生成与之相关的结果图。\n输入:256个字符以内的描述性文本,推荐使用中文。\n输出:对应风格及分辨率的 AI 生成图。\n可支持的风格详见 [智能文生图风格列表](https://cloud.tencent.com/document/product/1668/86249),请将列表中的“风格编号”传入 Styles 数组,建议选择一种风格。\n\n请求频率限制为1次/秒。",
12
26
  "input": "TextToImageRequest",
@@ -222,6 +236,93 @@
222
236
  ],
223
237
  "usage": "in"
224
238
  },
239
+ "QueryTextToImageProJobRequest": {
240
+ "document": "QueryTextToImageProJob请求参数结构体",
241
+ "members": [
242
+ {
243
+ "disabled": false,
244
+ "document": "任务 ID。",
245
+ "example": "无",
246
+ "member": "string",
247
+ "name": "JobId",
248
+ "required": true,
249
+ "type": "string"
250
+ }
251
+ ],
252
+ "type": "object"
253
+ },
254
+ "QueryTextToImageProJobResponse": {
255
+ "document": "QueryTextToImageProJob返回参数结构体",
256
+ "members": [
257
+ {
258
+ "disabled": false,
259
+ "document": "当前任务状态码:\n1:排队中、3:处理中、5:处理失败、7:处理完成。\n",
260
+ "example": "无",
261
+ "member": "string",
262
+ "name": "JobStatusCode",
263
+ "output_required": false,
264
+ "type": "string",
265
+ "value_allowed_null": false
266
+ },
267
+ {
268
+ "disabled": false,
269
+ "document": "当前任务状态:排队中、处理中、处理失败或者处理完成。\n",
270
+ "example": "无",
271
+ "member": "string",
272
+ "name": "JobStatusMsg",
273
+ "output_required": false,
274
+ "type": "string",
275
+ "value_allowed_null": false
276
+ },
277
+ {
278
+ "disabled": false,
279
+ "document": "任务处理失败错误码。\n",
280
+ "example": "无",
281
+ "member": "string",
282
+ "name": "JobErrorCode",
283
+ "output_required": false,
284
+ "type": "string",
285
+ "value_allowed_null": false
286
+ },
287
+ {
288
+ "disabled": false,
289
+ "document": "任务处理失败错误信息。\n",
290
+ "example": "无",
291
+ "member": "string",
292
+ "name": "JobErrorMsg",
293
+ "output_required": false,
294
+ "type": "string",
295
+ "value_allowed_null": false
296
+ },
297
+ {
298
+ "disabled": false,
299
+ "document": "生成图 URL 列表,有效期1小时,请及时保存。\n",
300
+ "example": "无",
301
+ "member": "string",
302
+ "name": "ResultImage",
303
+ "output_required": false,
304
+ "type": "list",
305
+ "value_allowed_null": false
306
+ },
307
+ {
308
+ "disabled": false,
309
+ "document": "结果 detail 数组,Success 代表成功。\n",
310
+ "example": "无",
311
+ "member": "string",
312
+ "name": "ResultDetails",
313
+ "output_required": false,
314
+ "type": "list",
315
+ "value_allowed_null": false
316
+ },
317
+ {
318
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
319
+ "member": "string",
320
+ "name": "RequestId",
321
+ "type": "string"
322
+ }
323
+ ],
324
+ "type": "object"
325
+ },
225
326
  "ResultConfig": {
226
327
  "document": "返回结果配置",
227
328
  "members": [
@@ -237,6 +338,79 @@
237
338
  ],
238
339
  "usage": "in"
239
340
  },
341
+ "SubmitTextToImageProJobRequest": {
342
+ "document": "SubmitTextToImageProJob请求参数结构体",
343
+ "members": [
344
+ {
345
+ "disabled": false,
346
+ "document": "文本描述。 \n算法将根据输入的文本智能生成与之相关的图像。 \n不能为空,推荐使用中文。最多可传100个 utf-8 字符。",
347
+ "example": "雨中, 竹林, 小路",
348
+ "member": "string",
349
+ "name": "Prompt",
350
+ "required": true,
351
+ "type": "string"
352
+ },
353
+ {
354
+ "disabled": false,
355
+ "document": "绘画风格。\n请在 [文生图(高级版)风格列表](https://cloud.tencent.com/document/product/1668/104567) 中选择期望的风格,传入风格编号。\n不传默认不指定风格。",
356
+ "example": "无",
357
+ "member": "string",
358
+ "name": "Style",
359
+ "required": false,
360
+ "type": "string"
361
+ },
362
+ {
363
+ "disabled": false,
364
+ "document": "生成图分辨率。\n支持生成以下分辨率的图片:768:768(1:1)、768:1024(3:4)、1024:768(4:3)、1024:1024(1:1)、720:1280(9:16)、1280:720(16:9)、768:1280(3:5)、1280:768(5:3),不传默认使用1024:1024。",
365
+ "example": "无",
366
+ "member": "string",
367
+ "name": "Resolution",
368
+ "required": false,
369
+ "type": "string"
370
+ },
371
+ {
372
+ "disabled": false,
373
+ "document": "为生成结果图添加显式水印标识的开关,默认为1。 \n1:添加。 \n0:不添加。 \n其他数值:默认按1处理。 \n建议您使用显著标识来提示结果图使用了 AI 绘画技术,是 AI 生成的图片。",
374
+ "example": "无",
375
+ "member": "int64",
376
+ "name": "LogoAdd",
377
+ "required": false,
378
+ "type": "int"
379
+ },
380
+ {
381
+ "disabled": false,
382
+ "document": "文生图引擎,默认使用engine1。 \n取值: \nengine1 \nengine2",
383
+ "example": "无",
384
+ "member": "string",
385
+ "name": "Engine",
386
+ "required": false,
387
+ "type": "string"
388
+ }
389
+ ],
390
+ "type": "object"
391
+ },
392
+ "SubmitTextToImageProJobResponse": {
393
+ "document": "SubmitTextToImageProJob返回参数结构体",
394
+ "members": [
395
+ {
396
+ "disabled": false,
397
+ "document": "任务 ID。",
398
+ "example": "无",
399
+ "member": "string",
400
+ "name": "JobId",
401
+ "output_required": true,
402
+ "type": "string",
403
+ "value_allowed_null": false
404
+ },
405
+ {
406
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
407
+ "member": "string",
408
+ "name": "RequestId",
409
+ "type": "string"
410
+ }
411
+ ],
412
+ "type": "object"
413
+ },
240
414
  "TextToImageRequest": {
241
415
  "document": "TextToImage请求参数结构体",
242
416
  "members": [
@@ -8,6 +8,22 @@
8
8
  "title": "调用示例"
9
9
  }
10
10
  ],
11
+ "QueryTextToImageProJob": [
12
+ {
13
+ "document": "成功调用",
14
+ "input": "POST / HTTP/1.1\nHost: aiart.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: QueryTextToImageProJob\n<公共请求参数>\n\n{\n \"JobId\": \"testJobId\"\n}",
15
+ "output": "{\n \"Response\": {\n \"JobErrorCode\": \"\",\n \"JobErrorMsg\": \"\",\n \"JobStatusCode\": \"5\",\n \"JobStatusMsg\": \"处理完成\",\n \"RequestId\": \"fae816f9-7fd1-4e39-bf1c-3d43677603de\",\n \"ResultDetails\": [\n \"Success\"\n ],\n \"ResultImage\": [\n \"https://test.jpg\"\n ]\n }\n}",
16
+ "title": "成功调用"
17
+ }
18
+ ],
19
+ "SubmitTextToImageProJob": [
20
+ {
21
+ "document": "成功调用",
22
+ "input": "POST / HTTP/1.1\nHost: aiart.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SubmitTextToImageProJob\n<公共请求参数>\n\n{\n \"Prompt\": \"雨天\",\n \"Style\": \"dongman\"\n}",
23
+ "output": "{\n \"Response\": {\n \"JobId\": \"testJobId\",\n \"RequestId\": \"aeb78554-0772-4c64-8a84-fa21095cbbd7\"\n }\n}",
24
+ "title": "成功调用"
25
+ }
26
+ ],
11
27
  "TextToImage": [
12
28
  {
13
29
  "document": "正常调用场景",
@@ -120,7 +120,7 @@
120
120
  "status": "online"
121
121
  },
122
122
  "SentenceRecognition": {
123
- "document": "本接口用于对60秒之内的短音频文件进行识别。<br>• 支持中文普通话、英语、粤语、日语、越南语、马来语、印度尼西亚语、菲律宾语、泰语、葡萄牙语、土耳其语、阿拉伯语、印地语、法语、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话。<br>• 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。<br>• 音频格式支持wav、pcm、ogg-opus、speex、silk、mp3、m4a、aac。<br>• 请求方法为 HTTP POST , Content-Type为\"application/json; charset=utf-8\"<br>• 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法v3。<br>• 默认接口请求频率限制:30次/秒,如您有提高请求频率限制的需求,请[前往购买](https://buy.cloud.tencent.com/asr)。",
123
+ "document": "本接口用于对60秒之内的短音频文件进行识别。<br>• 支持中文普通话、英语、粤语、日语、越南语、马来语、印度尼西亚语、菲律宾语、泰语、葡萄牙语、土耳其语、阿拉伯语、印地语、法语、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话。<br>• 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。<br>• 音频格式支持wav、pcm、ogg-opus、speex、silk、mp3、m4a、aac、 amr。<br>• 请求方法为 HTTP POST , Content-Type为\"application/json; charset=utf-8\"<br>• 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法v3。<br>• 默认接口请求频率限制:30次/秒,如您有提高请求频率限制的需求,请[前往购买](https://buy.cloud.tencent.com/asr)。",
124
124
  "input": "SentenceRecognitionRequest",
125
125
  "name": "一句话识别",
126
126
  "output": "SentenceRecognitionResponse",
@@ -519,7 +519,7 @@
519
519
  "members": [
520
520
  {
521
521
  "disabled": false,
522
- "document": "引擎模型类型\n识别引擎采用分级计费方案,标记为“大模型版”的引擎适用大模型计费方案,[点击这里](https://cloud.tencent.com/document/product/1093/35686) 查看产品计费说明\n\n电话通讯场景引擎:\n**注意:电话通讯场景,请务必使用以下8k引擎**\n• 8k_zh:中文电话通讯;\n• 8k_en:英文电话通讯;\n如您有电话通讯场景识别需求,但发现需求语种仅支持16k,可将8k音频传入下方16k引擎,亦能获取识别结果。但**16k引擎并非基于电话通讯数据训练,无法承诺此种调用方式的识别效果,需由您自行验证识别结果是否可用**\n\n通用场景引擎:\n**注意:除电话通讯场景以外的其它识别场景,请务必使用以下16k引擎**\n• **16k_zh:**中文普通话通用引擎,支持中文普通话和少量英语,使用丰富的中文普通话语料训练,覆盖场景广泛,适用于除电话通讯外的所有中文普通话识别场景;\n• **16k_zh_large:**中文普通话通用引擎【大模型版】。模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远、等低质量音频的识别准确率极大提升,[点击这里](https://console.cloud.tencent.com/asr/demonstrate) 对比中文普通话常规版本与大模型版本的识别效果;\n• **16k_zh_dialect:**中文普通话+多方言混合引擎,除普通话外支持23种方言(上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话);\n• **16k_dialect_large:**中文普通话+多方言混合引擎【大模型版】,针对低质量音频、中文普通话的识别准确率极大提升,适合普通话为主、方言识别为辅的应用场景,[点击这里](https://console.cloud.tencent.com/asr/demonstrate) 对比方言混合引擎常规版本与大模型版本的识别效果;\n• **16k_en:**英语;\n• **16k_yue:**粤语;\n• **16k_zh-PY:**中英粤混合引擎,使用一个引擎同时识别中文普通话、英语、粤语三个语言;\n• **16k_ja:**日语;\n• **16k_ko:**韩语;\n• **16k_vi:**越南语;\n• **16k_ms:**马来语;\n• **16k_id:**印度尼西亚语;\n• **16k_fil:**菲律宾语;\n• **16k_th:**泰语;\n• **16k_pt:**葡萄牙语;\n• **16k_tr:**土耳其语;\n• **16k_ar:**阿拉伯语;\n• **16k_es:**西班牙语;\n• **16k_hi:**印地语;\n• **16k_fr:**法语;\n• **16k_zh_medical:**中文医疗引擎;",
522
+ "document": "引擎模型类型\n识别引擎采用分级计费方案,标记为“大模型版”的引擎适用大模型计费方案,[点击这里](https://cloud.tencent.com/document/product/1093/35686) 查看产品计费说明\n\n电话通讯场景引擎:\n**注意:电话通讯场景,请务必使用以下8k引擎**\n• 8k_zh:中文电话通讯;\n• 8k_en:英文电话通讯;\n如您有电话通讯场景识别需求,但发现需求语种仅支持16k,可将8k音频传入下方16k引擎,亦能获取识别结果。但**16k引擎并非基于电话通讯数据训练,无法承诺此种调用方式的识别效果,需由您自行验证识别结果是否可用**\n\n通用场景引擎:\n**注意:除电话通讯场景以外的其它识别场景,请务必使用以下16k引擎**\n• **16k_zh:**中文普通话通用引擎,支持中文普通话和少量英语,使用丰富的中文普通话语料训练,覆盖场景广泛,适用于除电话通讯外的所有中文普通话识别场景;\n• **16k_zh_large:**普方英大模型引擎【大模型版】。当前模型同时支持中文、英文、[多种中文方言](https://cloud.tencent.com/document/product/1093/35682)等语言的识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远、等低质量音频的识别准确率极大提升,[点击这里](https://console.cloud.tencent.com/asr/demonstrate) 对比中文普通话常规版本与普方英大模型版本的识别效果;\n• **16k_zh_dialect:**中文普通话+多方言混合引擎,除普通话外支持23种方言(上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话);\n• **16k_en:**英语;\n• **16k_yue:**粤语;\n• **16k_zh-PY:**中英粤混合引擎,使用一个引擎同时识别中文普通话、英语、粤语三个语言;\n• **16k_ja:**日语;\n• **16k_ko:**韩语;\n• **16k_vi:**越南语;\n• **16k_ms:**马来语;\n• **16k_id:**印度尼西亚语;\n• **16k_fil:**菲律宾语;\n• **16k_th:**泰语;\n• **16k_pt:**葡萄牙语;\n• **16k_tr:**土耳其语;\n• **16k_ar:**阿拉伯语;\n• **16k_es:**西班牙语;\n• **16k_hi:**印地语;\n• **16k_fr:**法语;\n• **16k_zh_medical:**中文医疗引擎;",
523
523
  "example": "16k_zh",
524
524
  "member": "string",
525
525
  "name": "EngineModelType",
@@ -591,7 +591,7 @@
591
591
  },
592
592
  {
593
593
  "disabled": false,
594
- "document": "是否开启说话人分离\n0:不开启;\n1:开启(仅支持以下引擎:8k_zh/16k_zh/16k_ms/16k_en/16k_id/16k_zh_large/16k_dialect_large,且ChannelNum=1时可用);\n默认值为 0\n\n注意:\n8k双声道电话音频请按 **ChannelNum 识别声道数** 的参数描述使用默认值",
594
+ "document": "是否开启说话人分离\n0:不开启;\n1:开启(仅支持以下引擎:8k_zh/16k_zh/16k_ms/16k_en/16k_id/16k_zh_large/16k_zh_dialect,且ChannelNum=1时可用);\n默认值为 0\n\n注意:\n8k双声道电话音频请按 **ChannelNum 识别声道数** 的参数描述使用默认值",
595
595
  "example": "0",
596
596
  "member": "int64",
597
597
  "name": "SpeakerDiarization",
@@ -1998,7 +1998,7 @@
1998
1998
  },
1999
1999
  {
2000
2000
  "disabled": false,
2001
- "document": "词权重数组,包含全部的热词和对应的权重。每个热词的长度不大于10个汉字或30个英文字符,权重为[1,10]之间整数,数组长度不大于1000",
2001
+ "document": "词权重数组,包含全部的热词和对应的权重。每个热词的长度不大于10个汉字或30个英文字符,权重为[1,11]之间整数,数组长度不大于1000",
2002
2002
  "example": "无",
2003
2003
  "member": "HotWord",
2004
2004
  "name": "WordWeights",
@@ -844,6 +844,15 @@
844
844
  "name": "VpcId",
845
845
  "required": false,
846
846
  "type": "string"
847
+ },
848
+ {
849
+ "disabled": false,
850
+ "document": "操作权限限制",
851
+ "example": "无",
852
+ "member": "string",
853
+ "name": "OperationAuthLimit",
854
+ "required": false,
855
+ "type": "list"
847
856
  }
848
857
  ],
849
858
  "type": "object"
@@ -1086,6 +1095,15 @@
1086
1095
  "name": "DefaultPanelType",
1087
1096
  "required": false,
1088
1097
  "type": "int"
1098
+ },
1099
+ {
1100
+ "disabled": false,
1101
+ "document": "管理平台",
1102
+ "example": "无",
1103
+ "member": "string",
1104
+ "name": "ManagePlatform",
1105
+ "required": false,
1106
+ "type": "string"
1089
1107
  }
1090
1108
  ],
1091
1109
  "type": "object"
@@ -3499,6 +3517,15 @@
3499
3517
  "name": "PanelScope",
3500
3518
  "required": false,
3501
3519
  "type": "string"
3520
+ },
3521
+ {
3522
+ "disabled": false,
3523
+ "document": "项目管理平台",
3524
+ "example": "无",
3525
+ "member": "string",
3526
+ "name": "ManagePlatform",
3527
+ "required": false,
3528
+ "type": "string"
3502
3529
  }
3503
3530
  ],
3504
3531
  "type": "object"