调用QueryIProductionJob查询智能生产任务状态与结果。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
ice:QueryIProductionJob |
get |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| ClientToken |
string |
否 |
幂等参数 |
|
| JobId |
string |
是 |
智能任务 ID |
****20b48fb04483915d4f2cd8ac**** |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
请求 ID |
|
| JobId |
string |
任务 ID |
****20b48fb04483915d4f2cd8ac**** |
| Name |
string |
任务名称 |
测试任务 |
| FunctionName |
string |
需要使用的算法功能名称。取值:
|
Cover |
| Input |
object |
输入媒体 |
|
| Type |
string |
输入类型,取值:
|
OSS |
| Media |
string |
输入媒体。当 Type 为 OSS 时填入 OSS 地址,Type 为 Media 时填入媒资 ID。 OSS 地址规则为:
|
oss://bucket/object |
| Output |
object |
输出媒体 |
|
| Type |
string |
媒体类型:
|
OSS |
| Biz |
string |
媒资所属业务 枚举值:
|
IMS |
| Media |
string |
输出媒体。当 Type 为 OSS 时返回 OSS 地址,Type 为 Media 时返回指定的媒资 ID 或新生成媒资 ID。 OSS 地址规则为:
|
oss://bucket/object |
| OutputUrl |
string |
当 Type=Media 时,为指定输出文件 OSS 地址 |
http(s)://bucket.oss-[RegionId].aliyuncs.com/object |
| TemplateId |
string |
模板 ID |
****96e8864746a0b6f3**** |
| JobParams |
string |
算法作业参数,JSON 对象,不同算法对应参数内容不同。 |
{"Model":"gif"} |
| ScheduleConfig |
object |
任务配置信息 |
|
| PipelineId |
string |
管道 ID |
a54fdc9c9aab413caef0d1150f565e86 |
| Priority |
integer |
任务在其对应管道内的优先级。
|
6 |
| UserData |
string |
用户自定义数据,获取结果时原样返回 |
{"test":1} |
| Result |
string |
算法输出的结果信息,不同 FunctionName 的输出不同,以 JSON 格式输出,详见下面的补充说明 |
{} |
| CreateTime |
string |
创建时间,GMT 时间 |
2022-07-07T07:16:11Z |
| FinishTime |
string |
完成时间,GMT 时间 |
2021-11-26T14:50:25Z |
| Status |
string |
作业状态。取值:
|
Success |
| OutputFiles |
array |
输出文件数组 |
|
|
string |
生成的文件路径与名称 |
output/xxx.mp4 |
|
| OutputMediaIds |
array |
||
|
string |
|||
| OutputUrls |
array |
输出文件 URL 数组 |
|
|
string |
生成的文件可访问 URL 路径 |
http://xxx |
Result 示例说明
Cover
示例:[{"Score":8.270855992569906,"Time":"28278.25","Url":"cover/test-00001.jpg"},{"Score":7.474117489692728,"Time":"25942.583333333332","Url":"cover/test-00002.jpg"}]
其中 Score 为封面结果置信度,Time 为封面帧时间戳,Url 为封面文件路径。
VideoClip
示例:{"VideoSummaryList":[{"EndTime":"5.28","StartTime":"0.28"}]}
其中 VideoSummaryList 是个列表,表示从原视频中截取的时间段,单位为秒
VideoDelogo
示例:{}
算法无额外信息输出
VideoDetext
示例:{}
算法无额外信息输出
CaptionExtraction
示例:{}
算法无额外信息输出
VideoGreenScreenMatting
示例:{}
算法无额外信息输出
FaceBeauty
示例:{}
算法无额外信息输出
VideoH2V
示例:{}
算法无额外信息输出
MusicSegmentDetect
示例:[{"start":39.32,"end":63.85,"title":"副歌"},{"start":86.69,"end":114.45,"title":"副歌"},{"start":135.75,"end":160.27,"title":"副歌"}]
AudioBeatDetection
示例:{}
算法无额外信息输出
AudioQualityAssessment
示例: [{ "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
示例:{}
算法无额外信息输出
AudioMixing
示例:{}
算法无额外信息输出
MusicDemix
示例:{}
算法无额外信息输出
示例
正常返回示例
JSON格式
{
"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"
]
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 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. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。