调用GetMediaAuditResult获取智能审核结果摘要信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | GetMediaAuditResult |
系统规定参数。取值:GetMediaAuditResult。 |
MediaId | String | 是 | 93ab850b4f6f*****54b6e91d24d81d4 |
视频ID。 |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
MediaAuditResult | Struct |
审核结果。 |
|
AbnormalModules | String | video |
违规的审核内容。多个使用英文逗号(,)分隔,取值范围:
|
AudioResult | Array of AudioResult |
音频审核结果。 |
|
Label | String | normal |
审核结果分类:
|
Scene | String | antispam |
审核场景。取固定值:antispam。 |
Score | String | 99.91 |
结果分数。 |
Suggestion | String | pass |
审核结果建议。取值:
|
ImageResult | Array of ImageResult |
图片审核结果。 |
|
Label | String | porn |
审核结果分类。多个使用英文逗号(,)分隔,取值范围:
|
Result | Array of Result |
图片审结结果详情。 |
|
Label | String | porn |
审核结果分类。 当scene为porn时,可取值:
当scene为terrorism时,可取值:
|
Scene | String | porn |
审核场景。取值范围:
|
Score | String | 100.00000 |
命中Label的图片的分数。 |
Suggestion | String | pass |
审核结果建议。取值范围:
|
Suggestion | String | pass |
审核结果建议。取值范围:
|
Type | String | cover |
图片分类。取值范围:cover(封面)。 |
Url | String | http://www.test.com/****.jpg |
图片的地址。 |
Label | String | porn |
审核结果分类。多个使用英文逗号(,)分隔,取值范围:
|
Suggestion | String | pass |
审核结果建议。取值范围:
|
TextResult | Array of TextResult |
文本审核结果。 |
|
Content | String | 热线电话123**** |
审核文本内容。 |
Label | String | ad |
审核结果分类。取值:
|
Scene | String | antispam |
审核场景。取固定值:antispam(文本反垃圾)。 |
Score | String | 100.00000 |
命中Label的图片的分数。 |
Suggestion | String | pass |
审核结果建议。取值范围:
|
Type | String | title |
文本分类。取值:title(标题)。 |
VideoResult | Struct |
视频审核结果。 |
|
AdResult | Struct |
广告审核结果。 |
|
AverageScore | String | 100 |
审核结果平均分数。 |
CounterList | Array of CounterList |
结果多标签帧数统计。 |
|
Count | Integer | 12 |
帧数。 |
Label | String | ad |
审核结果分类。取值:
|
Label | String | ad |
审核结果分类。取值:
|
MaxScore | String | 100 |
最高审核分数。 |
Suggestion | String | block |
审核结果建议。取值:
|
TopList | Array of TopList |
命中Label下分数最高的图片信息。 |
|
Label | String | ad |
审核结果分类。
|
Score | String | 100 |
命中Label的图片的分数。 |
Timestamp | String | 10 |
视频中的位置。单位:毫秒。 |
Url | String | http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg |
图片的地址。 |
Label | String | porn |
审核结果分类。多个使用英文逗号(,)分隔,取值范围:
|
LiveResult | Struct |
不良内容审核结果。 |
|
AverageScore | String | 100 |
审核结果平均分数。 |
CounterList | Array of CounterList |
结果多标签帧数统计。 |
|
Count | Integer | 2 |
帧数。 |
Label | String | live |
审核结果分类。取值:
|
Label | String | live |
审核结果分类。取值:
|
MaxScore | String | 100 |
最高审核分数。 |
Suggestion | String | block |
审核结果建议。取值:
|
TopList | Array of TopList |
命中Label下分数最高的图片信息。 |
|
Label | String | normal |
|
Score | String | 100 |
命中Label的图片的分数。 |
Timestamp | String | 10 |
视频中的位置。单位:毫秒。 |
Url | String | http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg |
图片的地址。 |
LogoResult | Struct |
Logo审核结果。 |
|
AverageScore | String | 100 |
审核结果平均分数。 |
CounterList | Array of CounterList |
结果多标签帧数统计。 |
|
Count | Integer | 1 |
帧数。 |
Label | String | logo |
审核结果分类。取值:
|
Label | String | logo |
审核结果分类。取值:
|
MaxScore | String | 100 |
最高审核分数 |
Suggestion | String | block |
审核结果建议。取值:
|
TopList | Array of TopList |
命中Label下分数最高的图片信息。 |
|
Label | String | logo |
审核结果分类:
|
Score | String | 100 |
命中Label的图片的分数。 |
Timestamp | String | 16 |
视频中的位置。单位:毫秒。 |
Url | String | http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg |
图片的地址。 |
PornResult | Struct |
鉴黄审核结果。 |
|
AverageScore | String | 100 |
审核结果平均分数。 |
CounterList | Array of CounterList |
结果多标签帧数统计。 |
|
Count | Integer | 1 |
帧数。 |
Label | String | porn |
鉴黄审核结果。取值范围:
|
Label | String | porn |
鉴黄审核结果。取值范围:
|
MaxScore | String | 100 |
最高审核分数。 |
Suggestion | String | pass |
审核结果建议。 |
TopList | Array of TopList |
命中Label下分数最高的图片信息。 |
|
Label | String | porn |
鉴黄审核结果。取值范围:
|
Score | String | 100.0000 |
命中Label的图片的分数。 |
Timestamp | String | 3005 |
视频中的位置。单位:毫秒。 |
Url | String | http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg |
图片的地址。 |
Suggestion | String | pass |
审核结果建议。取值:
|
TerrorismResult | Struct |
暴恐涉政审核结果。 |
|
AverageScore | String | 100 |
审核结果平均分数。 |
CounterList | Array of CounterList |
结果多标签帧数统计。 |
|
Count | Integer | 1 |
帧数。 |
Label | String | outfit |
暴恐涉政审核结果。取值范围:
|
Label | String | normal |
暴恐涉政审核结果。取值范围:
|
MaxScore | String | 100 |
最高审核分数。 |
Suggestion | String | pass |
暴恐涉政审核建议。取值范围:
|
TopList | Array of TopList |
命中Label下分数最高的图片信息。 |
|
Label | String | normal |
暴恐涉政审核结果。取值范围:
|
Score | String | 100.000 |
命中Label的图片的分数。 |
Timestamp | String | 3005 |
视频中的位置。单位:毫秒。 |
Url | String | http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/****.jpg |
图片的地址。 |
RequestId | String | CB7D7232-1AB2-40FE-B8D5-**** |
请求ID。 |
示例
请求示例
https://vod.aliyuncs.com/?Action=GetMediaAuditResult
&MediaId=93ab850b4f6f*****54b6e91d24d81d4
&<公共请求参数>
正常返回示例
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>
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"
}]
}
}
错误码
访问错误中心查看更多错误码。
在文档使用中是否遇到以下问题
更多建议
匿名提交