调用QueryIProductionJob查询智能生产任务状态与结果。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
下表是API对应的授权信息,可以在RAM权限策略语句的Action
元素中使用,用来给RAM用户或RAM角色授予调用此API的权限。具体说明如下:
- 操作:是指具体的权限点。
- 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。
- 资源类型:是指操作中支持授权的资源类型。具体说明如下:
- 对于必选的资源类型,用背景高亮的方式表示。
- 对于不支持资源级授权的操作,用
全部资源
表示。
- 条件关键字:是指云产品自身定义的条件关键字。
- 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。
操作 | 访问级别 | 资源类型 | 条件关键字 | 关联操作 |
---|---|---|---|---|
ice:QueryIProductionJob |
|
| 无 |
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
ClientToken | string | 否 | 幂等参数 | |
JobId | string | 是 | 智能任务 ID | ****20b48fb04483915d4f2cd8ac**** |
返回参数
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",
"Media": "oss://bucket/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"
],
"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. |
访问错误中心查看更多错误码。
变更历史
变更时间 | 变更内容概要 | 操作 |
---|---|---|
2022-07-13 | 新增 OpenAPI | 查看变更详情 |