Queries the status and result of an intelligent production job.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
ice:QueryIProductionJob | *All Resources * |
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ClientToken | string | No | The client token that is used to ensure the idempotence of the request. | |
JobId | string | Yes | The ID of the intelligent production job. | ****20b48fb04483915d4f2cd8ac**** |
Response parameters
Parameters of Result
Cover
Example: [{"Score":8.270855992569906,"Time":"28278.25","Url":"cover/test-00001.jpg"},{"Score":7.474117489692728,"Time":"25942.583333333332","Url":"cover/test-00002.jpg"}]
The Score parameter indicates the confidence score of the thumbnail image. The Time parameter indicates the timestamp of the thumbnail frame. The Url parameter indicates the path of the thumbnail image.
VideoClip
Example: {"VideoSummaryList":[{"EndTime":"5.28","StartTime":"0.28"}]}
The VideoSummaryList parameter indicates a list of the time ranges that are captured from the original video. Unit: seconds.
VideoDelogo
Example: {}
This algorithm does not return additional information.
VideoDetext
Example: {}
This algorithm does not return additional information.
CaptionExtraction
Example: {}
This algorithm does not return additional information.
VideoGreenScreenMatting
Example: {}
This algorithm does not return additional information.
FaceBeauty
Example: {}
This algorithm does not return additional information.
VideoH2V
Example: {}
This algorithm does not return additional information.
MusicSegmentDetect
Example: [{"start":39.32,"end":63.85,"title":"chorus"},{"start":86.69,"end":114.45,"title":"chorus"},{"start":135.75,"end":160.27,"title":"chorus"}]
AudioBeatDetection
Example: {}
This algorithm does not return additional information.
AudioQualityAssessment
Example: [{ "Discontinuity":"Good", "Loudness":"Excellent", "Worst MOS(0-5)":"0.38", "Discontinuity(0-5)":"3.52", "Speech Ratio":"48.55", "Loudness(0-5)":"4.91", "Worst Discontinuity(0-5)":"0.88", "Worst Coloration(0-5)":"0.42", "Channel":"1", "Coloration(0-5)":"0.99", "Bad Mute Ratio(%)":"0.0", "Time":"2022-12-02 16:14:06", "Noisiness(0-5)":"3.28", "MOS":"Poor", "Worst Noisiness(0-5)":"0.91", "Double Talk Ratio(%)":"19.23", "Input":"/home/admin/algo/quality****/example.wav", "Total Duration":"42.78", "Noisiness":"Good", "Tag":"Valid", "MOS(0-5)":"1.01", "Loudness(-90dB-0dB)":"-0.59", "Coloration":"Bad", "Saturated Ratio(%)":"37.55" }, { "Discontinuity":"Fair", "Loudness":"Excellent", "Worst MOS(0-5)":"0.65", "Discontinuity(0-5)":"2.45", "Speech Ratio":"41.68", "Loudness(0-5)":"4.52", "Worst Discontinuity(0-5)":"0.66", "Worst Coloration(0-5)":"0.72", "Channel":"2", "Coloration(0-5)":"2.34", "Bad Mute Ratio(%)":"0.0", "Time":"2022-12-02 16:14:06", "Noisiness(0-5)":"2.53", "MOS":"Poor", "Worst Noisiness(0-5)":"0.67", "Double Talk Ratio(%)":"25.93", "Input":"/home/admin/algo/quality****/example.wav", "Total Duration":"42.78", "Noisiness":"Fair", "Tag":"Valid", "MOS(0-5)":"1.69", "Loudness(-90dB-0dB)":"-4.82", "Coloration":"Fair", "Saturated Ratio(%)":"0.0" }]
For more information, see the "AudioQualityAssessment" section of the Parameters for intelligent production API operations topic.
SpeechDenoise
Example: {}
This algorithm does not return additional information.
AudioMixing
Example: {}
This algorithm does not return additional information.
Examples
Sample success responses
JSON
format
{
"RequestId": "",
"JobId": "****20b48fb04483915d4f2cd8ac****",
"Name": "",
"FunctionName": "Cover",
"Input": {
"Type": "OSS",
"Media": "oss://bucket/object"
},
"Output": {
"Type": "OSS",
"Media": "oss://bucket/object"
},
"TemplateId": "****96e8864746a0b6f3****",
"JobParams": "{\"Model\":\"gif\"}",
"ScheduleConfig": {
"PipelineId": "a54fdc9c9aab413caef0d1150f565e86",
"Priority": 6
},
"UserData": "{\"test\":1}",
"Result": "{}",
"CreateTime": "2022-07-07T07:16:11Z",
"FinishTime": "2021-11-26T14:50:25Z",
"Status": "Success",
"OutputFiles": [
"output/xxx.mp4"
],
"OutputUrls": [
"http://xxx"
]
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
400 | IdempotentParameterMismatch | The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2022-07-13 | Add Operation | View Change Details |