Queries an intelligent production job.
Operation description
The query results of this operation contain the processing results of the corresponding request algorithm.
If the response contains only RequestId and JobId, confirm whether the job is an intelligent production job.
QPS limit
The queries per second (QPS) limit for a single user of this operation is 100. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately. For more information, see QPS limit.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mts:QueryIProductionJob |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| JobId |
string |
No |
The ID of the intelligent production job that you want to query. You can obtain the job ID from the response of the SubmitMediaProducingJob operation. |
88c6ca184c0e432bbf5b665e2a15**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| FunctionName |
string |
The algorithm name. Valid values:
|
ImageCartoonize |
| Input |
string |
The OSS bucket of the input file. |
oss://example-****.oss-cn-hangzhou.aliyuncs.com/example.mp4 |
| RequestId |
string |
The request ID. |
D127C68E-F1A1-4CE5-A874-8FF724881A12 |
| UserData |
string |
The user business data. |
null |
| State |
string |
The job status. Valid values:
|
Success |
| Output |
string |
The OSS bucket of the output file. |
oss://example-****.oss-cn-hangzhou.aliyuncs.com/iproduction/{source}-{timestamp}-{sequenceId}.srt |
| PipelineId |
string |
The MPS queue ID. |
39f8e0bc005e4f309379701645f4**** |
| JobParams |
string |
The algorithm job parameters. |
{mode:"gif"} |
| JobId |
string |
The job ID. |
88c6ca184c0e432bbf5b665e2a15**** |
| Result |
string |
The detailed information about the job result. For more information, see Supplementary description of intelligent production operation parameters. |
{"Code":"Success","Data":"{\"result\":[{\"file\":\"iproduction/test-result.jpg\"},{\"file\":\"iproduction/test-origin.jpg\"}]}","Message":"Successful."} |
Examples
Success response
JSON format
{
"FunctionName": "ImageCartoonize",
"Input": "oss://example-****.oss-cn-hangzhou.aliyuncs.com/example.mp4",
"RequestId": "D127C68E-F1A1-4CE5-A874-8FF724881A12",
"UserData": "null",
"State": "Success",
"Output": "oss://example-****.oss-cn-hangzhou.aliyuncs.com/iproduction/{source}-{timestamp}-{sequenceId}.srt",
"PipelineId": "39f8e0bc005e4f309379701645f4****",
"JobParams": "{mode:\"gif\"}",
"JobId": "88c6ca184c0e432bbf5b665e2a15****",
"Result": "{\"Code\":\"Success\",\"Data\":\"{\\\"result\\\":[{\\\"file\\\":\\\"iproduction/test-result.jpg\\\"},{\\\"file\\\":\\\"iproduction/test-origin.jpg\\\"}]}\",\"Message\":\"Successful.\"}"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.