Mengkueri pekerjaan produksi cerdas.
Deskripsi operasi
The query result of this API includes the processing result of the corresponding requested algorithm.
QPS limit
The queries per second (QPS) limit for a single user on this API is 100 requests per second. If this limit is exceeded, API calls will be subject to rate limiting, which may impact your business. Please invoke the API appropriately. For more information, see QPS limits.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mts:QueryIProductionJob |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| JobId |
string |
No |
ID pekerjaan produksi cerdas yang akan dikueri. Dapatkan dari parameter tanggapan Mengirim pekerjaan produksi cerdas. |
88c6ca184c0e432bbf5b665e2a15**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Returned parameters. |
||
| FunctionName |
string |
Algorithm Name. Valid values:
|
ImageCartoonize |
| Input |
string |
OSS Bucket of the input file. |
oss://example-****.oss-cn-hangzhou.aliyuncs.com/example.mp4 |
| RequestId |
string |
Request ID. |
D127C68E-F1A1-4CE5-A874-8FF724881A12 |
| UserData |
string |
User Business Data. |
null |
| State |
string |
Job status. Valid values:
|
Success |
| Output |
string |
OSS Bucket of the output file. |
oss://example-****.oss-cn-hangzhou.aliyuncs.com/iproduction/{source}-{timestamp}-{sequenceId}.srt |
| PipelineId |
string |
MPS queue ID. |
39f8e0bc005e4f309379701645f4**** |
| JobParams |
string |
Algorithm job parameters. |
{mode:"gif"} |
| JobId |
string |
Job ID. |
88c6ca184c0e432bbf5b665e2a15**** |
| Result |
string |
Detailed job Result. For more information, see Supplementary description of intelligent production API parameters. |
{"Code":"Success","Data":"{\"result\":[{\"file\":\"iproduction/test-result.jpg\"},{\"file\":\"iproduction/test-origin.jpg\"}]}","Message":"Successful."} |
Contoh
Respons sukses
JSONformat
{
"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.\"}"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.