tccli 3.0.1084.1__py2.py3-none-any.whl → 3.0.1086.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/examples/aiart/v20221229/QueryTextToImageProJob.md +30 -0
- tccli/examples/aiart/v20221229/SubmitTextToImageProJob.md +22 -0
- tccli/examples/billing/v20180709/DescribeCostDetail.md +36 -33
- tccli/examples/billing/v20180709/DescribeCostSummaryByProject.md +25 -80
- tccli/examples/billing/v20180709/DescribeCostSummaryByRegion.md +23 -14
- tccli/examples/billing/v20180709/DescribeCostSummaryByResource.md +53 -27
- tccli/examples/ccc/v20200210/CreateCompanyApply.md +36 -0
- tccli/examples/ccc/v20200210/DescribeCompanyList.md +33 -0
- tccli/examples/ccc/v20200210/ModifyCompanyApply.md +36 -0
- tccli/examples/ckafka/v20190819/CreateInstancePost.md +9 -6
- tccli/examples/ckafka/v20190819/CreatePrometheus.md +29 -0
- tccli/examples/ckafka/v20190819/DescribePrometheus.md +25 -0
- tccli/examples/cynosdb/v20190107/RollbackToNewCluster.md +62 -0
- tccli/examples/dlc/v20210125/QueryTaskCostDetail.md +20 -0
- tccli/examples/essbasic/v20210526/ChannelCreateReleaseFlow.md +1 -1
- tccli/examples/faceid/v20180301/GetFaceIdResult.md +4 -4
- tccli/examples/iotexplorer/v20190423/BindCloudStorageUser.md +22 -0
- tccli/examples/iotexplorer/v20190423/CreateIotVideoCloudStorage.md +22 -0
- tccli/examples/iotexplorer/v20190423/DeleteCloudStorageEvent.md +26 -0
- tccli/examples/iotexplorer/v20190423/DescribeCloudStorage.md +27 -0
- tccli/examples/iotexplorer/v20190423/DescribeCloudStorageDate.md +24 -0
- tccli/examples/iotexplorer/v20190423/DescribeCloudStorageEvents.md +87 -0
- tccli/examples/iotexplorer/v20190423/DescribeCloudStorageMultiThumbnail.md +28 -0
- tccli/examples/iotexplorer/v20190423/DescribeCloudStorageOrder.md +25 -0
- tccli/examples/iotexplorer/v20190423/DescribeCloudStoragePackageConsumeDetails.md +21 -0
- tccli/examples/iotexplorer/v20190423/DescribeCloudStoragePackageConsumeStats.md +44 -0
- tccli/examples/iotexplorer/v20190423/DescribeCloudStorageStreamData.md +24 -0
- tccli/examples/iotexplorer/v20190423/DescribeCloudStorageThumbnail.md +24 -0
- tccli/examples/iotexplorer/v20190423/DescribeCloudStorageThumbnailList.md +28 -0
- tccli/examples/iotexplorer/v20190423/DescribeCloudStorageTime.md +43 -0
- tccli/examples/iotexplorer/v20190423/DescribeCloudStorageUsers.md +29 -0
- tccli/examples/iotexplorer/v20190423/DescribeDevicePackages.md +37 -0
- tccli/examples/iotexplorer/v20190423/DescribePackageConsumeTask.md +21 -0
- tccli/examples/iotexplorer/v20190423/DescribePackageConsumeTasks.md +39 -0
- tccli/examples/iotexplorer/v20190423/GenerateSignedVideoURL.md +22 -0
- tccli/examples/iotexplorer/v20190423/InheritCloudStorageUser.md +23 -0
- tccli/examples/iotexplorer/v20190423/ResetCloudStorage.md +21 -0
- tccli/examples/iotexplorer/v20190423/ResetCloudStorageEvent.md +22 -0
- tccli/examples/iotexplorer/v20190423/TransferCloudStorage.md +22 -0
- tccli/examples/monitor/v20180724/CreateExporterIntegration.md +626 -2
- tccli/examples/ocr/v20181119/ReconstructDocument.md +2263 -0
- tccli/examples/pts/v20210728/CreateEnvironment.md +18 -0
- tccli/examples/pts/v20210728/DeleteEnvironments.md +18 -0
- tccli/examples/pts/v20210728/DescribeEnvironments.md +18 -0
- tccli/examples/pts/v20210728/UpdateEnvironment.md +18 -0
- tccli/examples/redis/v20180412/DescribeInstanceEvents.md +45 -0
- tccli/examples/redis/v20180412/ModifyInstanceEvent.md +25 -0
- tccli/examples/ssl/v20191205/UploadCertificate.md +48 -3
- tccli/examples/tag/v20180813/DescribeProjects.md +1 -1
- tccli/examples/tione/v20211111/CreateModelService.md +3 -1
- tccli/examples/tione/v20211111/ModifyModelService.md +62 -228
- tccli/examples/vrs/v20200824/DetectEnvAndSoundQuality.md +12 -4
- tccli/examples/wedata/v20210820/BatchCreateIntegrationTaskAlarms.md +11 -11
- tccli/examples/wedata/v20210820/BatchForceSuccessIntegrationTaskInstances.md +2 -2
- tccli/examples/wedata/v20210820/BatchKillIntegrationTaskInstances.md +2 -2
- tccli/examples/wedata/v20210820/BatchMakeUpIntegrationTasks.md +2 -2
- tccli/examples/wedata/v20210820/BatchRerunIntegrationTaskInstances.md +5 -2
- tccli/examples/wedata/v20210820/CheckDuplicateRuleName.md +5 -5
- tccli/examples/wedata/v20210820/CheckDuplicateTemplateName.md +4 -4
- tccli/examples/wedata/v20210820/CheckIntegrationNodeNameExists.md +4 -4
- tccli/examples/wedata/v20210820/CheckIntegrationTaskNameExists.md +4 -4
- tccli/examples/wedata/v20210820/CheckTaskNameExist.md +3 -3
- tccli/examples/wedata/v20210820/CommitExportTask.md +4 -4
- tccli/examples/wedata/v20210820/CreateInLongAgent.md +6 -6
- tccli/examples/wedata/v20210820/CreateOrUpdateResource.md +2 -1
- tccli/examples/wedata/v20210820/CreateRuleTemplate.md +1 -1
- tccli/examples/wedata/v20210820/CreateTaskAlarmRegular.md +11 -11
- tccli/examples/wedata/v20210820/DeleteInLongAgent.md +3 -3
- tccli/examples/wedata/v20210820/DeleteIntegrationNode.md +2 -2
- tccli/examples/wedata/v20210820/DeleteOfflineTask.md +4 -4
- tccli/examples/wedata/v20210820/DeleteRule.md +1 -1
- tccli/examples/wedata/v20210820/DeleteRuleTemplate.md +1 -1
- tccli/examples/wedata/v20210820/DescribeClusterNamespaceList.md +6 -6
- tccli/examples/wedata/v20210820/DescribeDataBases.md +12 -8
- tccli/examples/wedata/v20210820/DescribeDataCheckStat.md +5 -5
- tccli/examples/wedata/v20210820/DescribeDataObjects.md +6 -3
- tccli/examples/wedata/v20210820/DescribeExecStrategy.md +20 -16
- tccli/examples/wedata/v20210820/DescribeInLongAgentTaskList.md +6 -6
- tccli/examples/wedata/v20210820/DescribeInLongAgentVpcList.md +3 -3
- tccli/examples/wedata/v20210820/DescribeInstances.md +6 -6
- tccli/examples/wedata/v20210820/DescribeIntegrationNode.md +61 -43
- tccli/examples/wedata/v20210820/DescribeIntegrationStatistics.md +13 -13
- tccli/examples/wedata/v20210820/DescribeIntegrationStatisticsAgentStatus.md +6 -6
- tccli/examples/wedata/v20210820/DescribeIntegrationStatisticsInstanceTrend.md +8 -10
- tccli/examples/wedata/v20210820/DescribeIntegrationStatisticsRecordsTrend.md +1 -1
- tccli/examples/wedata/v20210820/DescribeIntegrationStatisticsTaskStatus.md +5 -5
- tccli/examples/wedata/v20210820/DescribeIntegrationStatisticsTaskStatusTrend.md +8 -10
- tccli/examples/wedata/v20210820/DescribeMonitorsByPage.md +7 -7
- tccli/examples/wedata/v20210820/DescribeOfflineTaskToken.md +3 -3
- tccli/examples/wedata/v20210820/DescribeProdTasks.md +6 -5
- tccli/examples/wedata/v20210820/DescribeRealTimeTaskInstanceNodeInfo.md +9 -9
- tccli/examples/wedata/v20210820/DescribeRealTimeTaskSpeed.md +32 -26
- tccli/examples/wedata/v20210820/DescribeRule.md +118 -23
- tccli/examples/wedata/v20210820/DescribeRuleDataSources.md +11 -8
- tccli/examples/wedata/v20210820/DescribeRuleDimStat.md +3 -3
- tccli/examples/wedata/v20210820/DescribeRuleExecDetail.md +48 -41
- tccli/examples/wedata/v20210820/DescribeRuleExecExportResult.md +15 -10
- tccli/examples/wedata/v20210820/DescribeRuleExecLog.md +2 -2
- tccli/examples/wedata/v20210820/DescribeRuleExecResults.md +72 -4
- tccli/examples/wedata/v20210820/DescribeRuleExecResultsByPage.md +38 -33
- tccli/examples/wedata/v20210820/DescribeRuleExecStat.md +14 -14
- tccli/examples/wedata/v20210820/DescribeRuleGroup.md +50 -23
- tccli/examples/wedata/v20210820/DescribeRuleGroupExecResultsByPage.md +87 -14
- tccli/examples/wedata/v20210820/DescribeRuleGroupExecResultsByPageWithoutAuth.md +81 -12
- tccli/examples/wedata/v20210820/DescribeRuleGroupSubscription.md +12 -6
- tccli/examples/wedata/v20210820/DescribeRuleGroupTable.md +35 -27
- tccli/examples/wedata/v20210820/DescribeRuleGroupsByPage.md +51 -21
- tccli/examples/wedata/v20210820/DescribeRuleHistoryByPage.md +9 -9
- tccli/examples/wedata/v20210820/DescribeRuleTablesByPage.md +52 -35
- tccli/examples/wedata/v20210820/DescribeRuleTemplate.md +33 -16
- tccli/examples/wedata/v20210820/DescribeRuleTemplates.md +8 -8
- tccli/examples/wedata/v20210820/DescribeRuleTemplatesByPage.md +13 -13
- tccli/examples/wedata/v20210820/DescribeRulesByPage.md +123 -28
- tccli/examples/wedata/v20210820/DescribeStandardRuleDetailInfoList.md +3 -3
- tccli/examples/wedata/v20210820/DescribeTableInfoList.md +9 -2
- tccli/examples/wedata/v20210820/DescribeTaskInstance.md +35 -35
- tccli/examples/wedata/v20210820/DescribeTaskInstanceReportDetail.md +28 -26
- tccli/examples/wedata/v20210820/DescribeTaskLockStatus.md +7 -7
- tccli/examples/wedata/v20210820/DescribeTaskReport.md +6 -6
- tccli/examples/wedata/v20210820/DescribeTaskReportDetailList.md +17 -17
- tccli/examples/wedata/v20210820/DescribeTopTableStat.md +9 -9
- tccli/examples/wedata/v20210820/DescribeTrendStat.md +2 -2
- tccli/examples/wedata/v20210820/DryRunDIOfflineTask.md +10 -9
- tccli/examples/wedata/v20210820/GetIntegrationNodeColumnSchema.md +13 -11
- tccli/examples/wedata/v20210820/GetOfflineDIInstanceList.md +26 -26
- tccli/examples/wedata/v20210820/LockIntegrationTask.md +4 -4
- tccli/examples/wedata/v20210820/ModifyIntegrationNode.md +42 -41
- tccli/examples/wedata/v20210820/ModifyIntegrationTask.md +110 -58
- tccli/examples/wedata/v20210820/ModifyMonitorStatus.md +4 -4
- tccli/examples/wedata/v20210820/ModifyRule.md +24 -24
- tccli/examples/wedata/v20210820/ModifyRuleGroupSubscription.md +11 -13
- tccli/examples/wedata/v20210820/ModifyTaskAlarmRegular.md +45 -16
- tccli/examples/wedata/v20210820/ModifyTaskName.md +5 -5
- tccli/examples/wedata/v20210820/RestartInLongAgent.md +3 -3
- tccli/examples/wedata/v20210820/RobAndLockIntegrationTask.md +7 -7
- tccli/examples/wedata/v20210820/StopIntegrationTask.md +4 -4
- tccli/examples/wedata/v20210820/TaskLog.md +5 -15
- tccli/examples/wedata/v20210820/UnlockIntegrationTask.md +4 -4
- tccli/examples/wedata/v20210820/UpdateInLongAgent.md +5 -5
- tccli/services/aiart/aiart_client.py +106 -0
- tccli/services/aiart/v20221229/api.json +174 -0
- tccli/services/aiart/v20221229/examples.json +16 -0
- tccli/services/asr/v20190614/api.json +4 -4
- tccli/services/bi/v20220105/api.json +27 -0
- tccli/services/billing/v20180709/api.json +365 -130
- tccli/services/billing/v20180709/examples.json +4 -4
- tccli/services/ccc/ccc_client.py +159 -0
- tccli/services/ccc/v20200210/api.json +442 -0
- tccli/services/ccc/v20200210/examples.json +24 -0
- tccli/services/cdb/v20170320/api.json +3 -3
- tccli/services/cdwch/v20200915/api.json +13 -4
- tccli/services/cdwdoris/v20211228/api.json +127 -0
- tccli/services/cdwpg/v20201230/api.json +9 -0
- tccli/services/ckafka/ckafka_client.py +106 -0
- tccli/services/ckafka/v20190819/api.json +190 -12
- tccli/services/ckafka/v20190819/examples.json +17 -1
- tccli/services/clb/v20180317/api.json +2 -2
- tccli/services/cloudstudio/v20230508/api.json +40 -4
- tccli/services/cls/v20201016/api.json +30 -30
- tccli/services/csip/v20221121/api.json +76 -76
- tccli/services/cwp/v20180228/api.json +124 -8
- tccli/services/cynosdb/cynosdb_client.py +53 -0
- tccli/services/cynosdb/v20190107/api.json +255 -0
- tccli/services/cynosdb/v20190107/examples.json +8 -0
- tccli/services/dlc/dlc_client.py +53 -0
- tccli/services/dlc/v20210125/api.json +103 -4
- tccli/services/dlc/v20210125/examples.json +8 -0
- tccli/services/dsgc/v20190723/api.json +20 -0
- tccli/services/dts/v20211206/api.json +56 -2
- tccli/services/es/v20180416/api.json +127 -24
- tccli/services/ess/v20201111/api.json +20 -20
- tccli/services/essbasic/v20210526/api.json +14 -5
- tccli/services/essbasic/v20210526/examples.json +1 -1
- tccli/services/faceid/v20180301/api.json +23 -13
- tccli/services/faceid/v20180301/examples.json +1 -1
- tccli/services/iotexplorer/iotexplorer_client.py +1453 -234
- tccli/services/iotexplorer/v20190423/api.json +2179 -117
- tccli/services/iotexplorer/v20190423/examples.json +184 -0
- tccli/services/lcic/v20220817/api.json +62 -4
- tccli/services/live/v20180801/api.json +16 -0
- tccli/services/monitor/v20180724/examples.json +111 -3
- tccli/services/mps/v20190612/api.json +161 -27
- tccli/services/ms/v20180408/api.json +14 -14
- tccli/services/ocr/ocr_client.py +53 -0
- tccli/services/ocr/v20181119/api.json +276 -0
- tccli/services/ocr/v20181119/examples.json +8 -0
- tccli/services/pts/pts_client.py +212 -0
- tccli/services/pts/v20210728/api.json +96 -0
- tccli/services/pts/v20210728/examples.json +32 -0
- tccli/services/redis/redis_client.py +106 -0
- tccli/services/redis/v20180412/api.json +342 -0
- tccli/services/redis/v20180412/examples.json +16 -0
- tccli/services/ssl/v20191205/examples.json +9 -3
- tccli/services/tag/v20180813/examples.json +1 -1
- tccli/services/tdmq/v20200217/api.json +45 -0
- tccli/services/tione/v20211111/api.json +77 -3
- tccli/services/tione/v20211111/examples.json +2 -2
- tccli/services/tms/v20201229/api.json +1 -1
- tccli/services/tmt/v20180321/api.json +1 -1
- tccli/services/trtc/v20190722/api.json +1 -1
- tccli/services/tse/v20201207/api.json +286 -42
- tccli/services/tts/v20190823/api.json +19 -10
- tccli/services/vod/v20180717/api.json +6 -6
- tccli/services/vrs/v20200824/api.json +34 -33
- tccli/services/vrs/v20200824/examples.json +1 -1
- tccli/services/wedata/v20210820/api.json +621 -198
- tccli/services/wedata/v20210820/examples.json +146 -146
- {tccli-3.0.1084.1.dist-info → tccli-3.0.1086.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1084.1.dist-info → tccli-3.0.1086.1.dist-info}/RECORD +213 -174
- {tccli-3.0.1084.1.dist-info → tccli-3.0.1086.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1084.1.dist-info → tccli-3.0.1086.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1084.1.dist-info → tccli-3.0.1086.1.dist-info}/license_files/LICENSE +0 -0
@@ -6,23 +6,52 @@ Input:
|
|
6
6
|
|
7
7
|
```
|
8
8
|
tccli wedata ModifyTaskAlarmRegular --cli-unfold-argument \
|
9
|
-
--
|
10
|
-
--TaskAlarmInfo.
|
11
|
-
--TaskAlarmInfo.TaskId
|
12
|
-
--TaskAlarmInfo.
|
13
|
-
--TaskAlarmInfo.
|
14
|
-
--TaskAlarmInfo.
|
9
|
+
--Id abc \
|
10
|
+
--TaskAlarmInfo.Id abc \
|
11
|
+
--TaskAlarmInfo.TaskId abc \
|
12
|
+
--TaskAlarmInfo.RegularId abc \
|
13
|
+
--TaskAlarmInfo.RegularName abc \
|
14
|
+
--TaskAlarmInfo.RegularStatus 1 \
|
15
|
+
--TaskAlarmInfo.AlarmLevel 1 \
|
15
16
|
--TaskAlarmInfo.AlarmIndicator 1 \
|
16
|
-
--TaskAlarmInfo.Id xx \
|
17
|
-
--TaskAlarmInfo.Creater xx \
|
18
|
-
--TaskAlarmInfo.RegularId xx \
|
19
|
-
--TaskAlarmInfo.RegularName xx \
|
20
17
|
--TaskAlarmInfo.TriggerType 1 \
|
21
|
-
--TaskAlarmInfo.
|
22
|
-
--TaskAlarmInfo.AlarmWay
|
23
|
-
--TaskAlarmInfo.
|
24
|
-
--TaskAlarmInfo.
|
25
|
-
--
|
18
|
+
--TaskAlarmInfo.EstimatedTime 1 \
|
19
|
+
--TaskAlarmInfo.AlarmWay abc \
|
20
|
+
--TaskAlarmInfo.AlarmRecipientId abc \
|
21
|
+
--TaskAlarmInfo.TaskType 1 \
|
22
|
+
--TaskAlarmInfo.ProjectId abc \
|
23
|
+
--TaskAlarmInfo.Creater abc \
|
24
|
+
--TaskAlarmInfo.AlarmRecipientName abc \
|
25
|
+
--TaskAlarmInfo.AlarmIndicatorDesc abc \
|
26
|
+
--TaskAlarmInfo.Operator 1 \
|
27
|
+
--TaskAlarmInfo.NodeId abc \
|
28
|
+
--TaskAlarmInfo.NodeName abc \
|
29
|
+
--TaskAlarmInfo.AlarmIndicatorInfos.0.Id abc \
|
30
|
+
--TaskAlarmInfo.AlarmIndicatorInfos.0.AlarmIndicator 1 \
|
31
|
+
--TaskAlarmInfo.AlarmIndicatorInfos.0.AlarmIndicatorDesc abc \
|
32
|
+
--TaskAlarmInfo.AlarmIndicatorInfos.0.TriggerType 1 \
|
33
|
+
--TaskAlarmInfo.AlarmIndicatorInfos.0.EstimatedTime 1 \
|
34
|
+
--TaskAlarmInfo.AlarmIndicatorInfos.0.Operator 1 \
|
35
|
+
--TaskAlarmInfo.AlarmIndicatorInfos.0.AlarmIndicatorUnit abc \
|
36
|
+
--TaskAlarmInfo.AlarmIndicatorInfos.0.Duration 0 \
|
37
|
+
--TaskAlarmInfo.AlarmIndicatorInfos.0.DurationUnit abc \
|
38
|
+
--TaskAlarmInfo.AlarmIndicatorInfos.0.MaxTimes 0 \
|
39
|
+
--TaskAlarmInfo.AlarmIndicatorInfos.0.Threshold 0 \
|
40
|
+
--TaskAlarmInfo.AlarmRecipientType 1 \
|
41
|
+
--TaskAlarmInfo.QuietPeriods.0.DaysOfWeek 1 \
|
42
|
+
--TaskAlarmInfo.QuietPeriods.0.StartTime abc \
|
43
|
+
--TaskAlarmInfo.QuietPeriods.0.EndTime abc \
|
44
|
+
--TaskAlarmInfo.WeComHook abc \
|
45
|
+
--TaskAlarmInfo.UpdateTime abc \
|
46
|
+
--TaskAlarmInfo.OperatorUin abc \
|
47
|
+
--TaskAlarmInfo.TaskCount 0 \
|
48
|
+
--TaskAlarmInfo.MonitorType 0 \
|
49
|
+
--TaskAlarmInfo.MonitorObjectIds abc \
|
50
|
+
--TaskAlarmInfo.LatestAlarmInstanceId abc \
|
51
|
+
--TaskAlarmInfo.LatestAlarmTime abc \
|
52
|
+
--TaskAlarmInfo.Description abc \
|
53
|
+
--TaskAlarmInfo.LarkWebHooks abc \
|
54
|
+
--ProjectId abc
|
26
55
|
```
|
27
56
|
|
28
57
|
Output:
|
@@ -30,7 +59,7 @@ Output:
|
|
30
59
|
{
|
31
60
|
"Response": {
|
32
61
|
"Data": true,
|
33
|
-
"RequestId": "
|
62
|
+
"RequestId": "abc"
|
34
63
|
}
|
35
64
|
}
|
36
65
|
```
|
@@ -6,10 +6,10 @@ Input:
|
|
6
6
|
|
7
7
|
```
|
8
8
|
tccli wedata ModifyTaskName --cli-unfold-argument \
|
9
|
-
--
|
10
|
-
--
|
11
|
-
--Notes
|
12
|
-
--
|
9
|
+
--TaskName abc \
|
10
|
+
--TaskId abc \
|
11
|
+
--Notes abc \
|
12
|
+
--ProjectId abc
|
13
13
|
```
|
14
14
|
|
15
15
|
Output:
|
@@ -17,7 +17,7 @@ Output:
|
|
17
17
|
{
|
18
18
|
"Response": {
|
19
19
|
"Data": true,
|
20
|
-
"RequestId": "
|
20
|
+
"RequestId": "abc"
|
21
21
|
}
|
22
22
|
}
|
23
23
|
```
|
@@ -6,15 +6,15 @@ Input:
|
|
6
6
|
|
7
7
|
```
|
8
8
|
tccli wedata RestartInLongAgent --cli-unfold-argument \
|
9
|
-
--
|
10
|
-
--
|
9
|
+
--AgentId abc \
|
10
|
+
--ProjectId abc
|
11
11
|
```
|
12
12
|
|
13
13
|
Output:
|
14
14
|
```
|
15
15
|
{
|
16
16
|
"Response": {
|
17
|
-
"RequestId": "
|
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
|
-
--
|
10
|
-
--
|
11
|
-
--TaskType
|
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
|
-
"
|
21
|
-
"
|
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
|
-
--
|
10
|
-
--
|
9
|
+
--TaskId abc \
|
10
|
+
--ProjectId abc
|
11
11
|
```
|
12
12
|
|
13
13
|
Output:
|
14
14
|
```
|
15
15
|
{
|
16
16
|
"Response": {
|
17
|
-
"
|
18
|
-
"
|
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
|
-
"
|
26
|
-
"
|
27
|
-
"
|
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
|
-
--
|
10
|
-
--
|
9
|
+
--TaskId abc \
|
10
|
+
--ProjectId abc
|
11
11
|
```
|
12
12
|
|
13
13
|
Output:
|
14
14
|
```
|
15
15
|
{
|
16
16
|
"Response": {
|
17
|
-
"
|
18
|
-
"
|
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
|
-
--
|
10
|
-
--
|
11
|
-
--
|
12
|
-
--
|
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": "
|
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
|
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/
|
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,
|
2001
|
+
"document": "词权重数组,包含全部的热词和对应的权重。每个热词的长度不大于10个汉字或30个英文字符,权重为[1,11]之间整数,数组长度不大于1000",
|
2002
2002
|
"example": "无",
|
2003
2003
|
"member": "HotWord",
|
2004
2004
|
"name": "WordWeights",
|