Call QueryIProductionJob to get the status and result 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 |
A token that ensures request idempotence. |
|
| JobId |
string |
Yes |
The intelligent job ID. |
****20b48fb04483915d4f2cd8ac**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| RequestId |
string |
The request ID. |
|
| JobId |
string |
The job ID. |
****20b48fb04483915d4f2cd8ac**** |
| Name |
string |
The job name. |
测试任务 |
| FunctionName |
string |
The name of the algorithm to use. Valid values:
|
Cover |
| Input |
object |
The input media. |
|
| Type |
string |
The input type. Valid values:
|
OSS |
| Media |
string |
The source file for the job. Set this to an OSS file URL if
|
oss://bucket/object |
| Output |
object |
The output media. |
|
| Type |
string |
The media type. Valid values:
|
OSS |
| Biz |
string |
The service that the media asset belongs to. Valid values:
|
IMS |
| Media |
string |
The destination for the output. If the output Valid OSS URL formats:
|
oss://bucket/object |
| OutputUrl |
string |
The OSS URL of the output file. This value is returned only when |
http(s)://bucket.oss-[RegionId].aliyuncs.com/object |
| TemplateId |
string |
The template ID. |
****96e8864746a0b6f3**** |
| JobParams |
string |
A JSON object that contains the parameters for the algorithm job. The specific parameters vary depending on the selected algorithm. |
{"Model":"gif"} |
| ScheduleConfig |
object |
The job configuration. |
|
| PipelineId |
string |
The pipeline ID. |
a54fdc9c9aab413caef0d1150f565e86 |
| Priority |
integer |
The job's priority within the pipeline.
|
6 |
| UserData |
string |
The user data. The system returns this value unchanged. |
{"test":1} |
| Result |
string |
The algorithm output, returned as a JSON string. The structure of the output varies based on the |
{} |
| CreateTime |
string |
The time when the job was created, in UTC. |
2022-07-07T07:16:11Z |
| FinishTime |
string |
The time when the job was completed, in UTC. |
2021-11-26T14:50:25Z |
| Status |
string |
The job status. Valid values:
|
Success |
| OutputFiles |
array |
An array of output file paths. |
|
|
string |
The path and name of the generated file. |
output/xxx.mp4 |
|
| OutputMediaIds |
array |
||
|
string |
|||
| OutputUrls |
array |
An array of output file URLs. |
|
|
string |
The accessible URL 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"}]
Score is the confidence, Time is the timestamp, and Url is the file path.
VideoClip
Example: {"VideoSummaryList":[{"EndTime":"5.28","StartTime":"0.28"}]}
VideoSummaryList is a list of time ranges clipped from the source video, in seconds.
VideoDelogo
Example: {}
The output contains no additional information.
VideoDetext
Example: {}
The output contains no additional information.
CaptionExtraction
Example: {}
The output contains no additional information.
VideoGreenScreenMatting
Example: {}
The output contains no additional information.
FaceBeauty
Example: {}
The output contains no additional information.
VideoH2V
Example: {}
The output contains no 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 output contains no 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 output contains no additional information.
AudioMixing
Example: {}
The output contains no additional information.
MusicDemix
Example: {}
The output contains no additional information.
Examples
Success response
JSON format
{
"RequestId": "",
"JobId": "****20b48fb04483915d4f2cd8ac****",
"Name": "测试任务",
"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": [
""
],
"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.