调用GetMediaAuditResult获取智能审核结果摘要信息。
接口说明
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
MediaId | string | 是 | 支持查询视频ID和图片ID。 | 93ab850b4f6f*****54b6e91d24d81d4 |
返回参数
示例
请求示例
https://vod.{ApiRegion}.aliyuncs.com/?Action=GetMediaAuditResult
&MediaId=93ab850b4f6f*****54b6e91d24d81d4
&<公共请求参数>
正常返回示例
JSON
格式
{
"RequestId": "CB7D7232-1AB2-40FE-B8D5-****",
"MediaAuditResult": {
"Suggestion": "pass",
"TextResult": [{
"Suggestion": "pass",
"Type": "title",
"Score": "100.00000",
"Content": "热线电话123****",
"Label": "ad",
"Scene": "antispam"
}],
"AbnormalModules": "video",
"ImageResult": [{
"Label": "porn",
"Suggestion": "pass",
"Type": "cover",
"Url": "http://www.test.com/****.jpg"
}, {
"Result": [{
"Label": "porn",
"Suggestion": "pass",
"Score": "100.00000",
"Scene": "porn"
}]
}],
"VideoResult": {
"Suggestion": "pass",
"LogoResult": {
"TopList": [{
"Label": "logo",
"Score": "100",
"Timestamp": "16",
"Url": "http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg"
}],
"Suggestion": "block",
"MaxScore": "100",
"AverageScore": "100",
"Label": "logo",
"CounterList": [{
"Label": "logo",
"Count": "1"
}]
},
"Label": "porn",
"LiveResult": {
"TopList": [{
"Label": "normal",
"Score": "100",
"Timestamp": "10",
"Url": "http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg"
}],
"Suggestion": "block",
"MaxScore": "100",
"AverageScore": "100",
"Label": "live",
"CounterList": [{
"Label": "live",
"Count": "2"
}]
},
"TerrorismResult": {
"TopList": [{
"Label": "normal",
"Score": "100.000",
"Timestamp": "3005",
"Url": "http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg"
}],
"Suggestion": "pass",
"MaxScore": "100",
"AverageScore": "100",
"Label": "normal",
"CounterList": [{
"Label": "outfit",
"Count": "1"
}]
},
"PornResult": {
"TopList": [{
"Label": "porn",
"Score": "100.0000",
"Timestamp": "3005",
"Url": "http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg"
}],
"Suggestion": "pass",
"MaxScore": "100",
"AverageScore": "100",
"Label": "porn",
"CounterList": [{
"Label": "porn",
"Count": "1"
}]
},
"AdResult": {
"TopList": [{
"Label": "ad",
"Score": "100",
"Timestamp": "10",
"Url": "http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg"
}],
"Suggestion": "block",
"MaxScore": "100",
"AverageScore": "100",
"Label": "ad",
"CounterList": [{
"Label": "ad",
"Count": "12"
}]
}
},
"Label": "porn",
"AudioResult": [{
"Label": "normal",
"Suggestion": "pass",
"Score": "99.91",
"Scene": "antispam"
}]
}
}
XML
格式
<GetMediaAuditResultResponse>
<RequestId>CB7D7232-1AB2-40FE-B8D5-****</RequestId>
<MediaAuditResult>
<Suggestion>pass</Suggestion>
<TextResult>
<Suggestion>pass</Suggestion>
<Type>title</Type>
<Score>100.00000</Score>
<Content>热线电话123****</Content>
<Label>ad</Label>
<Scene>antispam</Scene>
</TextResult>
<AbnormalModules>video</AbnormalModules>
<ImageResult>
<Label>porn</Label>
<Suggestion>pass</Suggestion>
<Type>cover</Type>
<Url>http://www.test.com/****.jpg</Url>
</ImageResult>
<ImageResult>
<Result>
<Label>porn</Label>
<Suggestion>pass</Suggestion>
<Score>100.00000</Score>
<Scene>porn</Scene>
</Result>
</ImageResult>
<VideoResult>
<Suggestion>pass</Suggestion>
<LogoResult>
<TopList>
<Label>logo</Label>
<Score>100</Score>
<Timestamp>16</Timestamp>
<Url>http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg</Url>
</TopList>
<Suggestion>block</Suggestion>
<MaxScore>100</MaxScore>
<AverageScore>100</AverageScore>
<Label>logo</Label>
<CounterList>
<Label>logo</Label>
<Count>1</Count>
</CounterList>
</LogoResult>
<Label>porn</Label>
<LiveResult>
<TopList>
<Label>normal</Label>
<Score>100</Score>
<Timestamp>10</Timestamp>
<Url>http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg</Url>
</TopList>
<Suggestion>block</Suggestion>
<MaxScore>100</MaxScore>
<AverageScore>100</AverageScore>
<Label>live</Label>
<CounterList>
<Label>live</Label>
<Count>2</Count>
</CounterList>
</LiveResult>
<TerrorismResult>
<TopList>
<Label>normal</Label>
<Score>100.000</Score>
<Timestamp>3005</Timestamp>
<Url>http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg</Url>
</TopList>
<Suggestion>pass</Suggestion>
<MaxScore>100</MaxScore>
<AverageScore>100</AverageScore>
<Label>normal</Label>
<CounterList>
<Label>outfit</Label>
<Count>1</Count>
</CounterList>
</TerrorismResult>
<PornResult>
<TopList>
<Label>porn</Label>
<Score>100.0000</Score>
<Timestamp>3005</Timestamp>
<Url>http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg</Url>
</TopList>
<Suggestion>pass</Suggestion>
<MaxScore>100</MaxScore>
<AverageScore>100</AverageScore>
<Label>porn</Label>
<CounterList>
<Label>porn</Label>
<Count>1</Count>
</CounterList>
</PornResult>
<AdResult>
<TopList>
<Label>ad</Label>
<Score>100</Score>
<Timestamp>10</Timestamp>
<Url>http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg</Url>
</TopList>
<Suggestion>block</Suggestion>
<MaxScore>100</MaxScore>
<AverageScore>100</AverageScore>
<Label>ad</Label>
<CounterList>
<Label>ad</Label>
<Count>12</Count>
</CounterList>
</AdResult>
</VideoResult>
<Label>porn</Label>
<AudioResult>
<Label>normal</Label>
<Suggestion>pass</Suggestion>
<Score>99.91</Score>
<Scene>antispam</Scene>
</AudioResult>
</MediaAuditResult>
</GetMediaAuditResultResponse>
错误码
访问错误中心查看更多错误码。