QueryIProductionJob
Queries the status and results of an intelligent production job.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:QueryIProductionJob |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClientToken |
string |
No |
The idempotency parameter. |
****12e8864746a0a398**** |
| JobId |
string |
Yes |
The ID of the intelligent job. |
****20b48fb04483915d4f2cd8ac**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
01A0E5D1-4B3C-599D-8017-2DA186EA1053 |
| JobId |
string |
The job ID. |
****20b48fb04483915d4f2cd8ac**** |
| Name |
string |
The job name. |
Test task |
| FunctionName |
string |
The name of the algorithm feature to use. Valid values:
|
Cover |
| Input |
object |
The input media. |
|
| Type |
string |
The input type. Valid values:
|
OSS |
| Media |
string |
The input media. If Type is set to OSS, enter the OSS URL. If Type is set to Media, enter the media asset ID. The OSS URL must be in one of the following formats:
|
oss://bucket/object |
| Output |
object |
The output media. |
|
| Type |
string |
The media type. Valid values:
|
OSS |
| Biz |
string |
The business to which the media asset belongs. Valid values:
|
IMS |
| Media |
string |
The output media. If Type is set to OSS, the OSS URL is returned. If Type is set to Media, the specified media asset ID or a newly generated media asset ID is returned. The OSS URL must be in one of the following formats:
|
oss://bucket/object |
| OutputUrl |
string |
The OSS URL of the specified output file when Type is set to Media. |
http(s)://bucket.oss-[RegionId].aliyuncs.com/object |
| TemplateId |
string |
The template ID. |
****96e8864746a0b6f3**** |
| JobParams |
string |
The algorithm job parameters. This is a JSON object. The parameters vary based on the algorithm. |
{"Model":"gif"} |
| ScheduleConfig |
object |
The job configuration information. |
|
| PipelineId |
string |
The pipeline ID. |
a54fdc9c9aab413caef0d1150f565e86 |
| Priority |
integer |
The priority of the job in its corresponding pipeline.
|
6 |
| UserData |
string |
The user-defined data. This data is returned as-is when the result is retrieved. |
{"test":1} |
| Result |
string |
The result information output by the algorithm. The output varies based on FunctionName and is in JSON format. For more information, see the following sections. |
{} |
| CreateTime |
string |
The creation time in GMT. |
2022-07-07T07:16:11Z |
| FinishTime |
string |
The completion time in GMT. |
2021-11-26T14:50:25Z |
| Status |
string |
The job status. Valid values:
|
Success |
| OutputFiles |
array |
The output file array. |
|
|
string |
The path and name of the generated file. |
output/xxx.mp4 |
|
| OutputMediaIds |
array |
The list of media asset IDs output by the job. |
|
|
string |
The media asset ID output by the job. |
['fdd967d0ae2271f09aa4e7f7d4490104'] |
|
| OutputUrls |
array |
The output file URL array. |
|
|
string |
The accessible URL path of the generated file. |
http://xxx |
Result examples.
Cover
Example: [{"Score":8.270855992569906,"Time":"28278.25","Url":"cover/test-00001.jpg"},{"Score":7.474117489692728,"Time":"25942.583333333332","Url":"cover/test-00002.jpg"}]
where Score is the confidence score of the cover result, Time is the timestamp of the cover frame, and Url is the path of the cover file.
VideoClip
Example: {"VideoSummaryList":[{"EndTime":"5.28","StartTime":"0.28"}]}
where VideoSummaryList is a list that indicates the time periods extracted from the original video, in seconds.
VideoDelogo
Example: {}
The algorithm does not output additional information.
VideoDetext
Example: {}
The algorithm does not output additional information.
CaptionExtraction
Example: {}
The algorithm does not output additional information.
VideoGreenScreenMatting
Example: {}
The algorithm does not output additional information.
FaceBeauty
Example: {}
The algorithm does not output additional information.
VideoH2V
Example: {}
The algorithm does not output 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: {}
The algorithm does not output 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" }]
SpeechDenoise
Example: {}
The algorithm does not output additional information.
AudioMixing
Example: {}
The algorithm does not output additional information.
MusicDemix
Example: {}
The algorithm does not output additional information.
Examples
Success response
JSON format
{
"RequestId": "01A0E5D1-4B3C-599D-8017-2DA186EA1053",
"JobId": "****20b48fb04483915d4f2cd8ac****",
"Name": "Test task",
"FunctionName": "Cover",
"Input": {
"Type": "OSS",
"Media": "oss://bucket/object"
},
"Output": {
"Type": "OSS",
"Biz": "IMS",
"Media": "oss://bucket/object",
"OutputUrl": "http(s)://bucket.oss-[RegionId].aliyuncs.com/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"
],
"OutputMediaIds": [
"['fdd967d0ae2271f09aa4e7f7d4490104']"
],
"OutputUrls": [
"http://xxx"
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.