调用GetMediaAuditResult获取智能审核结果摘要信息。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
Action String GetMediaAuditResult

系统规定参数,取值:GetMediaAuditResult

MediaId String XXXXXX

视频ID。

返回数据

名称 类型 示例值 描述
MediaAuditResult Struct

审核结果。

AbnormalModules String video

违规的审核内容。多值用逗号分隔,取值范围:video(视频)、image-cover(封面)、text-title(标题)

AudioResult Array

音频审核结果

Label String normal

审核结果分类

  • normal:正常文本
  • spam:含垃圾信息
  • ad:广告
  • politics:涉政
  • terrorism:暴恐
  • abuse:辱骂
  • porn:色情
  • flood:灌水
  • contraband:违禁
  • meaningless:无意义
Scene String antispam

审核场景

Score String 99.91

结果分数

Suggestion String pass

审核结果建议

ImageResult Array

图片审核结果。

Label String porn

审核结果分类。

Result Array

图片审结结果详情。

Label String porn

审核结果分类。

Scene String porn

审核场景。

Score String 100.00000

命中Label的图片的分数。

Suggestion String pass

审核结果建议。

Suggestion String pass

审核结果建议。

Type String cover

图片分类。

Url String http://www.test.com/xxxxxx.jpg

图片的地址。

Label String porn

审核结果分类。多值用逗号分隔,取值范围:porn(鉴黄)、terrorism(暴恐涉政)、normal(正常)、ad(广告)、logo(图标)、live(不良场景)、audio(音频)

Suggestion String pass

审核结果建议。取值范围:block(违规)、review(疑似)、pass(通过)

TextResult Array

文本审核结果。

Content String 热线电话1234567

审核文本内容。

Label String ad

审核结果分类。

Scene String antispam

审核场景。

Score String 100.00000

命中Label的图片的分数。

Suggestion String pass

审核结果建议。

Type String title

文本分类。

VideoResult Struct

视频审核结果。

AdResult Struct

广告审核结果

AverageScore String 100

审核结果平均分数

CounterList Array

结果多标签帧数统计

Count Integer 12

帧数

Label String ad

审核结果分类。

Label String ad

审核结果分类。

MaxScore String 100

最高审核分数

Suggestion String block

审核结果建议。

TopList Array

命中Label下分数最高的图片信息。

Label String ad

审核结果分类。

Score String 100

命中Label的图片的分数。

Timestamp String 10

视频中的位置。单位:毫秒。

Url String http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/xxxxx.jpg

图片的地址。

Label String porn

审核结果分类。

LiveResult Struct

不良内容审核结果

AverageScore String 100

审核结果平均分数

CounterList Array

结果多标签帧数统计

Count Integer 2

帧数

Label String pip

审核结果分类。

Label String pip

审核结果分类。

MaxScore String 100

最高审核分数

Suggestion String block

审核结果建议。

TopList Array

命中Label下分数最高的图片信息。

Label String pip

审核结果分类。

Score String 100

命中Label的图片的分数。

Timestamp String 10

视频中的位置。单位:毫秒。

Url String http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/xxxxx.jpg

图片的地址。

LogoResult Struct

Logo审核结果

AverageScore String 100

审核结果平均分数

CounterList Array

结果多标签帧数统计

Count Integer 1

帧数

Label String logo
Label String logo

审核结果分类。

MaxScore String 100

最高审核分数

Suggestion String block

审核结果建议。

TopList Array

命中Label下分数最高的图片信息。

Label String logo

审核结果分类。

Score String 100

命中Label的图片的分数。

Timestamp String 16

视频中的位置。单位:毫秒。

Url String http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/xxxxx.jpg

图片的地址。

PornResult Struct

鉴黄审核结果。

AverageScore String 100

审核结果平均分数

CounterList Array

结果多标签帧数统计

Count Integer 1

帧数

Label String porn

结果分类

Label String porn

审核结果分类。

MaxScore String 100

最高审核分数

Suggestion String pass

审核结果建议。

TopList Array

命中Label下分数最高的图片信息。

Label String porn

审核结果分类。

Score String 100.0000

命中Label的图片的分数。

Timestamp String 3005

视频中的位置。单位:毫秒。

Url String http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/xxxxx.jpg

图片的地址。

Suggestion String pass

审核结果建议。

TerrorismResult Struct

暴恐涉政审核结果。

AverageScore String 100

审核结果平均分数

CounterList Array

结果多标签帧数统计

Count Integer 1

帧数

Label String outfit

结果分类

Label String normal

审核结果分类。

MaxScore String 100

最高审核分数

Suggestion String pass

审核结果建议。

TopList Array

命中Label下分数最高的图片信息。

Label String normal

审核结果分类。

Score String 100.000

命中Label的图片的分数。

Timestamp String 3005

视频中的位置。单位:毫秒。

Url String http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/xxxxx.jpg

图片的地址。

RequestId String CB7D7232-1AB2-40FE-B8D5-XXXXXX

请求ID。

示例

请求示例

http(s)://[Endpoint]/?Action=GetMediaAuditResult
&MediaId=XXXXXX
&<公共请求参数>

正常返回示例

XML 格式

<RequestId>CB7D7232-1AB2-40FE-B8D5-XXXXXX</RequestId>
<MediaAuditResult>
    <Suggestion>pass</Suggestion>
    <TextResult>
        <Suggestion>pass</Suggestion>
        <Score>99.91</Score>
        <Label>normal</Label>
        <Scene>antispam</Scene>
    </TextResult>
    <TextResult>
        <Suggestion>pass</Suggestion>
        <Type>cover</Type>
        <Label>porn</Label>
        <Url>http://www.test.com/xxxxxx.jpg</Url>
    </TextResult>
    <TextResult>
        <Result>
            <Suggestion>pass</Suggestion>
            <Score>100.00000</Score>
            <Label>porn</Label>
            <Scene>porn</Scene>
        </Result>
    </TextResult>
    <TextResult>
        <Suggestion>pass</Suggestion>
        <Score>100.00000</Score>
        <Type>title</Type>
        <Content>热线电话1234567</Content>
        <Label>ad</Label>
        <Scene>antispam</Scene>
    </TextResult>
    <AbnormalModules>video</AbnormalModules>
    <ImageResult>
        <Suggestion>pass</Suggestion>
        <Score>99.91</Score>
        <Label>normal</Label>
        <Scene>antispam</Scene>
    </ImageResult>
    <ImageResult>
        <Suggestion>pass</Suggestion>
        <Type>cover</Type>
        <Label>porn</Label>
        <Url>http://www.test.com/xxxxxx.jpg</Url>
    </ImageResult>
    <ImageResult>
        <Result>
            <Suggestion>pass</Suggestion>
            <Score>100.00000</Score>
            <Label>porn</Label>
            <Scene>porn</Scene>
        </Result>
    </ImageResult>
    <ImageResult>
        <Suggestion>pass</Suggestion>
        <Score>100.00000</Score>
        <Type>title</Type>
        <Content>热线电话1234567</Content>
        <Label>ad</Label>
        <Scene>antispam</Scene>
    </ImageResult>
    <VideoResult>
        <Suggestion>pass</Suggestion>
        <LogoResult>
            <TopList>
                <Label>outfit</Label>
                <Count>1</Count>
            </TopList>
            <TopList>
                <Score>100.000</Score>
                <Label>normal</Label>
                <Timestamp>3005</Timestamp>
                <Url>http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/xxxxx.jpg</Url>
            </TopList>
            <Suggestion>pass</Suggestion>
            <MaxScore>100</MaxScore>
            <AverageScore>100</AverageScore>
            <Label>normal</Label>
            <CounterList>
                <Label>outfit</Label>
                <Count>1</Count>
            </CounterList>
            <CounterList>
                <Score>100.000</Score>
                <Label>normal</Label>
                <Timestamp>3005</Timestamp>
                <Url>http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/xxxxx.jpg</Url>
            </CounterList>
        </LogoResult>
        <Label>porn</Label>
        <LiveResult>
            <TopList>
                <Label>outfit</Label>
                <Count>1</Count>
            </TopList>
            <TopList>
                <Score>100.000</Score>
                <Label>normal</Label>
                <Timestamp>3005</Timestamp>
                <Url>http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/xxxxx.jpg</Url>
            </TopList>
            <Suggestion>pass</Suggestion>
            <MaxScore>100</MaxScore>
            <AverageScore>100</AverageScore>
            <Label>normal</Label>
            <CounterList>
                <Label>outfit</Label>
                <Count>1</Count>
            </CounterList>
            <CounterList>
                <Score>100.000</Score>
                <Label>normal</Label>
                <Timestamp>3005</Timestamp>
                <Url>http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/xxxxx.jpg</Url>
            </CounterList>
        </LiveResult>
        <TerrorismResult>
            <TopList>
                <Label>outfit</Label>
                <Count>1</Count>
            </TopList>
            <TopList>
                <Score>100.000</Score>
                <Label>normal</Label>
                <Timestamp>3005</Timestamp>
                <Url>http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/xxxxx.jpg</Url>
            </TopList>
            <Suggestion>pass</Suggestion>
            <MaxScore>100</MaxScore>
            <AverageScore>100</AverageScore>
            <Label>normal</Label>
            <CounterList>
                <Label>outfit</Label>
                <Count>1</Count>
            </CounterList>
            <CounterList>
                <Score>100.000</Score>
                <Label>normal</Label>
                <Timestamp>3005</Timestamp>
                <Url>http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/xxxxx.jpg</Url>
            </CounterList>
        </TerrorismResult>
        <PornResult>
            <TopList>
                <Label>outfit</Label>
                <Count>1</Count>
            </TopList>
            <TopList>
                <Score>100.000</Score>
                <Label>normal</Label>
                <Timestamp>3005</Timestamp>
                <Url>http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/xxxxx.jpg</Url>
            </TopList>
            <Suggestion>pass</Suggestion>
            <MaxScore>100</MaxScore>
            <AverageScore>100</AverageScore>
            <Label>normal</Label>
            <CounterList>
                <Label>outfit</Label>
                <Count>1</Count>
            </CounterList>
            <CounterList>
                <Score>100.000</Score>
                <Label>normal</Label>
                <Timestamp>3005</Timestamp>
                <Url>http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/xxxxx.jpg</Url>
            </CounterList>
        </PornResult>
        <AdResult>
            <TopList>
                <Label>outfit</Label>
                <Count>1</Count>
            </TopList>
            <TopList>
                <Score>100.000</Score>
                <Label>normal</Label>
                <Timestamp>3005</Timestamp>
                <Url>http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/xxxxx.jpg</Url>
            </TopList>
            <Suggestion>pass</Suggestion>
            <MaxScore>100</MaxScore>
            <AverageScore>100</AverageScore>
            <Label>normal</Label>
            <CounterList>
                <Label>outfit</Label>
                <Count>1</Count>
            </CounterList>
            <CounterList>
                <Score>100.000</Score>
                <Label>normal</Label>
                <Timestamp>3005</Timestamp>
                <Url>http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/xxxxx.jpg</Url>
            </CounterList>
        </AdResult>
    </VideoResult>
    <Label>porn</Label>
    <AudioResult>
        <Suggestion>pass</Suggestion>
        <Score>99.91</Score>
        <Label>normal</Label>
        <Scene>antispam</Scene>
    </AudioResult>
    <AudioResult>
        <Suggestion>pass</Suggestion>
        <Type>cover</Type>
        <Label>porn</Label>
        <Url>http://www.test.com/xxxxxx.jpg</Url>
    </AudioResult>
    <AudioResult>
        <Result>
            <Suggestion>pass</Suggestion>
            <Score>100.00000</Score>
            <Label>porn</Label>
            <Scene>porn</Scene>
        </Result>
    </AudioResult>
    <AudioResult>
        <Suggestion>pass</Suggestion>
        <Score>100.00000</Score>
        <Type>title</Type>
        <Content>热线电话1234567</Content>
        <Label>ad</Label>
        <Scene>antispam</Scene>
    </AudioResult>
</MediaAuditResult>

JSON 格式

{
    "RequestId": "CB7D7232-1AB2-40FE-B8D5-XXXXXX",
    "MediaAuditResult": {
        "Suggestion": "pass",
        "TextResult": [
            {
                "Suggestion": "pass",
                "Score": 99.91,
                "Label": "normal",
                "Scene": "antispam"
            },
            {
                "Suggestion": "pass",
                "Type": "cover",
                "Label": "porn",
                "Url": "http://www.test.com/xxxxxx.jpg"
            },
            {
                "Result": {
                    "Suggestion": "pass",
                    "Score": 100,
                    "Label": "porn",
                    "Scene": "porn"
                }
            },
            {
                "Suggestion": "pass",
                "Score": 100,
                "Type": "title",
                "Content": "热线电话1234567",
                "Label": "ad",
                "Scene": "antispam"
            }
        ],
        "AbnormalModules": "video",
        "ImageResult": [
            {
                "Suggestion": "pass",
                "Score": 99.91,
                "Label": "normal",
                "Scene": "antispam"
            },
            {
                "Suggestion": "pass",
                "Type": "cover",
                "Label": "porn",
                "Url": "http://www.test.com/xxxxxx.jpg"
            },
            {
                "Result": {
                    "Suggestion": "pass",
                    "Score": 100,
                    "Label": "porn",
                    "Scene": "porn"
                }
            },
            {
                "Suggestion": "pass",
                "Score": 100,
                "Type": "title",
                "Content": "热线电话1234567",
                "Label": "ad",
                "Scene": "antispam"
            }
        ],
        "VideoResult": {
            "Suggestion": "pass",
            "LogoResult": {
                "TopList": [
                    {
                        "Label": "outfit",
                        "Count": 1
                    },
                    {
                        "Score": 100,
                        "Label": "normal",
                        "Timestamp": 3005,
                        "Url": "http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/xxxxx.jpg"
                    }
                ],
                "Suggestion": "pass",
                "MaxScore": 100,
                "AverageScore": 100,
                "Label": "normal",
                "CounterList": [
                    {
                        "Label": "outfit",
                        "Count": 1
                    },
                    {
                        "Score": 100,
                        "Label": "normal",
                        "Timestamp": 3005,
                        "Url": "http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/xxxxx.jpg"
                    }
                ]
            },
            "Label": "porn",
            "LiveResult": {
                "TopList": [
                    {
                        "Label": "outfit",
                        "Count": 1
                    },
                    {
                        "Score": 100,
                        "Label": "normal",
                        "Timestamp": 3005,
                        "Url": "http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/xxxxx.jpg"
                    }
                ],
                "Suggestion": "pass",
                "MaxScore": 100,
                "AverageScore": 100,
                "Label": "normal",
                "CounterList": [
                    {
                        "Label": "outfit",
                        "Count": 1
                    },
                    {
                        "Score": 100,
                        "Label": "normal",
                        "Timestamp": 3005,
                        "Url": "http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/xxxxx.jpg"
                    }
                ]
            },
            "TerrorismResult": {
                "TopList": [
                    {
                        "Label": "outfit",
                        "Count": 1
                    },
                    {
                        "Score": 100,
                        "Label": "normal",
                        "Timestamp": 3005,
                        "Url": "http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/xxxxx.jpg"
                    }
                ],
                "Suggestion": "pass",
                "MaxScore": 100,
                "AverageScore": 100,
                "Label": "normal",
                "CounterList": [
                    {
                        "Label": "outfit",
                        "Count": 1
                    },
                    {
                        "Score": 100,
                        "Label": "normal",
                        "Timestamp": 3005,
                        "Url": "http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/xxxxx.jpg"
                    }
                ]
            },
            "PornResult": {
                "TopList": [
                    {
                        "Label": "outfit",
                        "Count": 1
                    },
                    {
                        "Score": 100,
                        "Label": "normal",
                        "Timestamp": 3005,
                        "Url": "http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/xxxxx.jpg"
                    }
                ],
                "Suggestion": "pass",
                "MaxScore": 100,
                "AverageScore": 100,
                "Label": "normal",
                "CounterList": [
                    {
                        "Label": "outfit",
                        "Count": 1
                    },
                    {
                        "Score": 100,
                        "Label": "normal",
                        "Timestamp": 3005,
                        "Url": "http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/xxxxx.jpg"
                    }
                ]
            },
            "AdResult": {
                "TopList": [
                    {
                        "Label": "outfit",
                        "Count": 1
                    },
                    {
                        "Score": 100,
                        "Label": "normal",
                        "Timestamp": 3005,
                        "Url": "http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/xxxxx.jpg"
                    }
                ],
                "Suggestion": "pass",
                "MaxScore": 100,
                "AverageScore": 100,
                "Label": "normal",
                "CounterList": [
                    {
                        "Label": "outfit",
                        "Count": 1
                    },
                    {
                        "Score": 100,
                        "Label": "normal",
                        "Timestamp": 3005,
                        "Url": "http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/xxxxx.jpg"
                    }
                ]
            }
        },
        "Label": "porn",
        "AudioResult": [
            {
                "Suggestion": "pass",
                "Score": 99.91,
                "Label": "normal",
                "Scene": "antispam"
            },
            {
                "Suggestion": "pass",
                "Type": "cover",
                "Label": "porn",
                "Url": "http://www.test.com/xxxxxx.jpg"
            },
            {
                "Result": {
                    "Suggestion": "pass",
                    "Score": 100,
                    "Label": "porn",
                    "Scene": "porn"
                }
            },
            {
                "Suggestion": "pass",
                "Score": 100,
                "Type": "title",
                "Content": "热线电话1234567",
                "Label": "ad",
                "Scene": "antispam"
            }
        ]
    }
}

错误码

访问错误中心查看更多错误码。