开放能力
开发平台
行业应用
生态合作
开发与教学
资讯 社区 控制台
技术能力
语音技术
图像技术
文字识别
人脸与人体识别
视频技术
AR与VR
自然语言处理
知识图谱
数据智能
场景方案
部署方案
行业应用
智能教育
智能医疗
智能零售
智能工业
企业服务
智能政务
智能农业
信息服务
智能园区
智能硬件
内容审核平台

    响应参数说明

    接口说明

    接口响应时间=用户传输/抓取视频耗时+模型处理耗时+返回结果耗时,其中模型处理耗时依据您具体勾选的维度多少略有波动

    全部响应参数

    字段名 类型 是否必须 备注 样例
    logId Long Y 请求唯一标识,用于消息追踪
    ret int Y 响应状态码,可取值:0处理成功,其他为处理失败
    msg String N 请求接口描述,非空,字符串,详细描述结果。
    data JSONObject Y 结论详情,参见审核结论详情数据
    +error_code uint64 N 服务调用错误码,失败才返回,成功不返回
    +error_msg String N 服务调用提示信息,失败才返回,成功不返回
    +conclusion String N 审核结果描述,可取值:合规、不合规、疑似
    +conclusionType Int N 审核结果,可取值:1 合规,2 不合规,3 疑似, 4 审核失败
    +frames JsonArray N 帧审核明细,定义只返回违规、疑似的帧;审核失败、合规的不返回
    ++frameTimeStamp Long N 帧时间戳
    ++conclusion Long N 帧审核结果描述,可取值:合规、不合规、疑似
    ++conclusionType Int N 帧审核结果,可取值:1 合规,2 不合规,3 疑似, 4 审核失败
    ++frameUrl String N 帧url地址
    ++frameThumbnailUrl String N 帧缩略图url地址
    ++data JsonArray N 各维度明细审核结果
    +++error_code uint64 N 内层错误提示码,底层服务失败才返回,成功不返回
    +++error_msg string N 内层错误提示信息,底层服务失败才返回,成功不返回
    +++type uint64 N 结果具体命中的模型:0:百度官方违禁图库、1:色情识别、2:暴恐识别、3:恶心图识别、4:广告检测、5:政治敏感识别、6:图像质量检测、7:用户图像黑名单、8:用户图像白名单、11:百度官方违禁词库、12:图文审核、13:自定义文本黑名单、14:自定义文本白名单、15:EasyDL自定义模型、16:旗帜标志识别、21:违禁识别、24:直播场景审核
    +++subType uint64 N 审核子类型,此字段需参照type主类型字段决定其含义:
    当type=0时subType取值含义 :
    0:百度官方违禁图
    当type=1时subType取值含义: 0:一般色情、1:卡通色情、2:SM、3:低俗、4:儿童裸露、5:艺术品色情、6:性玩具、7:男性性感、8:自然男性裸露、9:女性性感、10:卡通女性性感、11:特殊类、12:亲密行为、13:卡通亲密行为、14:孕肚裸露、15:臀部特写、16:脚部特写、17:裆部特写
    当type=2时subType取值含义:
    0:警察部队、1:血腥、2:尸体、3:爆炸火灾、4:杀人、5:暴乱、6:暴恐人物、7:军事武器、8:暴恐旗帜、9:血腥动物或动物尸体、10:车祸、11:枪械、12:弹药、13:刀具、14:武装人员、15、特殊服饰
    当type=3时subType取值含义:
    0:恶心图、1:性器官特写、2:脏器、3:疾病表症、4:密集恐惧症、5:腐烂食物、6:排泄物、7:恶心动物、8:人体血腥和尸体、9:动物血腥及尸体
    当type=4时subType取值含义:0:水印、1:二维码、2:条形码、3:识别二维码中内容、4:识别条形码中内容、5:不过滤字幕、6:小程序码
    当type=5时subType取值含义:0:政治敏感、1:公众人物、2:自定义敏感人脸黑库、3:自定义敏感人脸白库、4:一号领导人、5:涉政正面人物、6:涉政负面人物、7:其他涉政人物、8:劣迹艺人、9:其他公众人物
    当type=6时subType取值含义:
    0:图像清晰度、1:图像美观度
    当type=7时subType取值含义:
    0:用户自定义图像黑名单
    当type=8时subType取值含义:
    0:用户自定义图像白名单
    当type=11时subType取值含义:
    0:百度官方默认违禁词库
    当type=12时subType取值含义:
    0:低质灌水、1:暴恐违禁、2:文本色情、3:政治敏感、4恶意推广、5:低俗辱骂、6:恶意推广-联系方式、7:恶意推广-软文推广、8:广告法审核
    当type=13时subType取值含义:
    0:自定义文本黑名单
    当type=14时subType取值含义:
    0:自定义文本白名单
    当type=16时subType取值含义:
    0:中国国旗及类似图形、1:中国地图及类似图形、2:党旗、军旗、党徽及类似图形、3:警徽及类似图形、4:各类臂章、5:反动组织旗帜、徽章、标志
    当type=21时subType取值含义:
    1:真人吸烟、2:卡通吸烟、3:毒品、4:真人饮酒、5:卡通饮酒、6:赌博、7:纹身、8:钱币、9:竖中指
    当type=24时subType取值含义:
    0:卫生间场景、1:车内场景、2:卧室场景、3:无意义场景、4:普通场景
    +++msg String N 不合规项描述信息
    +++probability Float N 不合规项置信度
    +++datasetName Float N 违规项目所属数据集名称
    +++stars Array N 敏感人物列表数组,只有敏感人物审核不通过才有
    ++++name String N 敏感人物名称
    ++++probability Float N 人脸相似度
    ++++datasetName Float N 所属数据集名称
    +++codes Array N 二维码或者条形码识别结果
    +++hits Array N 命中信息
    ++++words Array N 命中关键词
    ++++modelName String N 命中自定义模型名称
    ++++score Float N 命中自定义模型置信度
    ++++modelId Array N 命中自定义模型ID
    ++++label String N 命中自定义模型标签名称
    +conclusionTypeGroupInfos JSON N 审核结论汇总,合规没有该字段返回
    ++msg String N 一级违规类型描述信息
    ++subTypeInfoList List N 二级违规列表。timestamp:帧时间戳;subType:二级违规类型描述
    ++typeInfo json N type:一级违规类型描述

    返回示例

    // 成功拉取结论
    {
        "data":{
            "conclusion":"不合规",
            "frames":[
                {
                    "conclusion":"不合规",
                    "frameTimeStamp":480,
                    "frameUrl":"http://bj.bcebos.com/aip-web/81219/2021-08-12/162877275333721741/480.jpg?authorization=bce-auth-v1%2F5c28b2780c0d4df8a99aec39a07fdb79%2F2021-08-12T15%3A39%3A35Z%2F2592000%2F%2Fad06a942baa1c4e63907a0953b303ecf607b3da4c5944cb21f0dd66908d49c95",
                    "data":[
                        {
                            "msg":"存在watermark不合规",
                            "conclusion":"不合规",
                            "probability":0.9168264,
                            "subType":0,
                            "conclusionType":2,
                            "type":4
                        }
                    ],
                    "conclusionType":2,
                    "frameThumbnailUrl":"http://bj.bcebos.com/aip-web/81219/2021-08-12/162877275333721741/480.jpg?authorization=bce-auth-v1%2F5c28b2780c0d4df8a99aec39a07fdb79%2F2021-08-12T15%3A39%3A35Z%2F2592000%2F%2Fad06a942baa1c4e63907a0953b303ecf607b3da4c5944cb21f0dd66908d49c95"
                },
                {
                    "conclusion":"疑似",
                    "frameTimeStamp":120,
                    "frameUrl":"http://bj.bcebos.com/aip-web/81219/2021-08-12/162877275333721741/120.jpg?authorization=bce-auth-v1%2F5c28b2780c0d4df8a99aec39a07fdb79%2F2021-08-12T15%3A39%3A25Z%2F2592000%2F%2Fcc9b9528d1c6f2db8010f17c29ae1a0d2221af32e6a90ef6f1e8b5d07a909197",
                    "data":[
                        {
                            "msg":"疑似存在watermark不合规",
                            "conclusion":"疑似",
                            "probability":0.88397026,
                            "subType":0,
                            "conclusionType":3,
                            "type":4
                        }
                    ],
                    "conclusionType":3,
                    "frameThumbnailUrl":"http://bj.bcebos.com/aip-web/81219/2021-08-12/162877275333721741/120.jpg?authorization=bce-auth-v1%2F5c28b2780c0d4df8a99aec39a07fdb79%2F2021-08-12T15%3A39%3A25Z%2F2592000%2F%2Fcc9b9528d1c6f2db8010f17c29ae1a0d2221af32e6a90ef6f1e8b5d07a909197"
                },
                {
                    "conclusion":"疑似",
                    "frameTimeStamp":150,
                    "frameUrl":"http://bj.bcebos.com/aip-web/81219/2021-08-12/162877275333721741/150.jpg?authorization=bce-auth-v1%2F5c28b2780c0d4df8a99aec39a07fdb79%2F2021-08-12T15%3A39%3A25Z%2F2592000%2F%2F3baee8925f5f24059468fb6f8ee987d402408e4437ae0975a20f8b19f5857956",
                    "data":[
                        {
                            "msg":"疑似存在watermark不合规",
                            "conclusion":"疑似",
                            "probability":0.85340554,
                            "subType":0,
                            "conclusionType":3,
                            "type":4
                        }
                    ],
                    "conclusionType":3,
                    "frameThumbnailUrl":"http://bj.bcebos.com/aip-web/81219/2021-08-12/162877275333721741/150.jpg?authorization=bce-auth-v1%2F5c28b2780c0d4df8a99aec39a07fdb79%2F2021-08-12T15%3A39%3A25Z%2F2592000%2F%2F3baee8925f5f24059468fb6f8ee987d402408e4437ae0975a20f8b19f5857956"
                },
                {
                    "conclusion":"疑似",
                    "frameTimeStamp":180,
                    "frameUrl":"http://bj.bcebos.com/aip-web/81219/2021-08-12/162877275333721741/180.jpg?authorization=bce-auth-v1%2F5c28b2780c0d4df8a99aec39a07fdb79%2F2021-08-12T15%3A39%3A25Z%2F2592000%2F%2F0331c417d8b721d4ee88b53f436295c891b531aaf801098d5ebde2205ce4bc3f",
                    "data":[
                        {
                            "msg":"疑似存在watermark不合规",
                            "conclusion":"疑似",
                            "probability":0.85520506,
                            "subType":0,
                            "conclusionType":3,
                            "type":4
                        }
                    ],
                    "conclusionType":3,
                    "frameThumbnailUrl":"http://bj.bcebos.com/aip-web/81219/2021-08-12/162877275333721741/180.jpg?authorization=bce-auth-v1%2F5c28b2780c0d4df8a99aec39a07fdb79%2F2021-08-12T15%3A39%3A25Z%2F2592000%2F%2F0331c417d8b721d4ee88b53f436295c891b531aaf801098d5ebde2205ce4bc3f"
                },
                {
                    "conclusion":"疑似",
                    "frameTimeStamp":210,
                    "frameUrl":"http://bj.bcebos.com/aip-web/81219/2021-08-12/162877275333721741/210.jpg?authorization=bce-auth-v1%2F5c28b2780c0d4df8a99aec39a07fdb79%2F2021-08-12T15%3A39%3A25Z%2F2592000%2F%2F15c32196ee914a6996f2b329f71422c1823922cea6d95701f90095f99a2834fd",
                    "data":[
                        {
                            "msg":"疑似存在watermark不合规",
                            "conclusion":"疑似",
                            "probability":0.89889395,
                            "subType":0,
                            "conclusionType":3,
                            "type":4
                        }
                    ],
                    "conclusionType":3,
                    "frameThumbnailUrl":"http://bj.bcebos.com/aip-web/81219/2021-08-12/162877275333721741/210.jpg?authorization=bce-auth-v1%2F5c28b2780c0d4df8a99aec39a07fdb79%2F2021-08-12T15%3A39%3A25Z%2F2592000%2F%2F15c32196ee914a6996f2b329f71422c1823922cea6d95701f90095f99a2834fd"
                },
                {
                    "conclusion":"疑似",
                    "frameTimeStamp":240,
                    "frameUrl":"http://bj.bcebos.com/aip-web/81219/2021-08-12/162877275333721741/240.jpg?authorization=bce-auth-v1%2F5c28b2780c0d4df8a99aec39a07fdb79%2F2021-08-12T15%3A39%3A25Z%2F2592000%2F%2Fcc708de7912d927dde56b365d3aecbe362ad47ca962bf77fa9a01a3e92e5ad8b",
                    "data":[
                        {
                            "msg":"疑似存在watermark不合规",
                            "conclusion":"疑似",
                            "probability":0.8332106,
                            "subType":0,
                            "conclusionType":3,
                            "type":4
                        }
                    ],
                    "conclusionType":3,
                    "frameThumbnailUrl":"http://bj.bcebos.com/aip-web/81219/2021-08-12/162877275333721741/240.jpg?authorization=bce-auth-v1%2F5c28b2780c0d4df8a99aec39a07fdb79%2F2021-08-12T15%3A39%3A25Z%2F2592000%2F%2Fcc708de7912d927dde56b365d3aecbe362ad47ca962bf77fa9a01a3e92e5ad8b"
                },
                {
                    "conclusion":"疑似",
                    "frameTimeStamp":360,
                    "frameUrl":"http://bj.bcebos.com/aip-web/81219/2021-08-12/162877275333721741/360.jpg?authorization=bce-auth-v1%2F5c28b2780c0d4df8a99aec39a07fdb79%2F2021-08-12T15%3A39%3A25Z%2F2592000%2F%2Ffd9c7788c1da708c5dde025cb7db27547b855685e148295c3423776fc8c9a4aa",
                    "data":[
                        {
                            "msg":"疑似存在watermark不合规",
                            "conclusion":"疑似",
                            "probability":0.81543106,
                            "subType":0,
                            "conclusionType":3,
                            "type":4
                        }
                    ],
                    "conclusionType":3,
                    "frameThumbnailUrl":"http://bj.bcebos.com/aip-web/81219/2021-08-12/162877275333721741/360.jpg?authorization=bce-auth-v1%2F5c28b2780c0d4df8a99aec39a07fdb79%2F2021-08-12T15%3A39%3A25Z%2F2592000%2F%2Ffd9c7788c1da708c5dde025cb7db27547b855685e148295c3423776fc8c9a4aa"
                },
                {
                    "conclusion":"疑似",
                    "frameTimeStamp":300,
                    "frameUrl":"http://bj.bcebos.com/aip-web/81219/2021-08-12/162877275333721741/300.jpg?authorization=bce-auth-v1%2F5c28b2780c0d4df8a99aec39a07fdb79%2F2021-08-12T15%3A39%3A25Z%2F2592000%2F%2F4b09619af986557f7a612470b04b4df659072117fbce995c38c87466483c9b71",
                    "data":[
                        {
                            "msg":"疑似存在watermark不合规",
                            "conclusion":"疑似",
                            "probability":0.86002344,
                            "subType":0,
                            "conclusionType":3,
                            "type":4
                        }
                    ],
                    "conclusionType":3,
                    "frameThumbnailUrl":"http://bj.bcebos.com/aip-web/81219/2021-08-12/162877275333721741/300.jpg?authorization=bce-auth-v1%2F5c28b2780c0d4df8a99aec39a07fdb79%2F2021-08-12T15%3A39%3A25Z%2F2592000%2F%2F4b09619af986557f7a612470b04b4df659072117fbce995c38c87466483c9b71"
                },
                {
                    "conclusion":"疑似",
                    "frameTimeStamp":330,
                    "frameUrl":"http://bj.bcebos.com/aip-web/81219/2021-08-12/162877275333721741/330.jpg?authorization=bce-auth-v1%2F5c28b2780c0d4df8a99aec39a07fdb79%2F2021-08-12T15%3A39%3A25Z%2F2592000%2F%2F274e0e8d04c1ea62ef68e1f44593b71330f7783a9c769214f1aef16be4d7548f",
                    "data":[
                        {
                            "msg":"疑似存在watermark不合规",
                            "conclusion":"疑似",
                            "probability":0.8592974,
                            "subType":0,
                            "conclusionType":3,
                            "type":4
                        }
                    ],
                    "conclusionType":3,
                    "frameThumbnailUrl":"http://bj.bcebos.com/aip-web/81219/2021-08-12/162877275333721741/330.jpg?authorization=bce-auth-v1%2F5c28b2780c0d4df8a99aec39a07fdb79%2F2021-08-12T15%3A39%3A25Z%2F2592000%2F%2F274e0e8d04c1ea62ef68e1f44593b71330f7783a9c769214f1aef16be4d7548f"
                },
                {
                    "conclusion":"疑似",
                    "frameTimeStamp":510,
                    "frameUrl":"http://bj.bcebos.com/aip-web/81219/2021-08-12/162877275333721741/510.jpg?authorization=bce-auth-v1%2F5c28b2780c0d4df8a99aec39a07fdb79%2F2021-08-12T15%3A39%3A35Z%2F2592000%2F%2Fc703deef16674dd2404217ccea19bc2df9a22833e8244d15e545d35ea285a651",
                    "data":[
                        {
                            "msg":"疑似存在watermark不合规",
                            "conclusion":"疑似",
                            "probability":0.87063086,
                            "subType":0,
                            "conclusionType":3,
                            "type":4
                        }
                    ],
                    "conclusionType":3,
                    "frameThumbnailUrl":"http://bj.bcebos.com/aip-web/81219/2021-08-12/162877275333721741/510.jpg?authorization=bce-auth-v1%2F5c28b2780c0d4df8a99aec39a07fdb79%2F2021-08-12T15%3A39%3A35Z%2F2592000%2F%2Fc703deef16674dd2404217ccea19bc2df9a22833e8244d15e545d35ea285a651"
                }
            ],
            "conclusionTypeGroupInfos":[
                {
                    "msg":"疑似存在watermark不合规",
                    "typeInfo":{
                        "type":"广告检测"
                    },
                    "subTypeInfoList":[
                        {
                            "subType":"watermark",
                            "timestamp":480
                        },
                        {
                            "subType":"watermark",
                            "timestamp":120
                        },
                        {
                            "subType":"watermark",
                            "timestamp":150
                        },
                        {
                            "subType":"watermark",
                            "timestamp":180
                        },
                        {
                            "subType":"watermark",
                            "timestamp":210
                        },
                        {
                            "subType":"watermark",
                            "timestamp":240
                        },
                        {
                            "subType":"watermark",
                            "timestamp":360
                        },
                        {
                            "subType":"watermark",
                            "timestamp":300
                        },
                        {
                            "subType":"watermark",
                            "timestamp":330
                        },
                        {
                            "subType":"watermark",
                            "timestamp":510
                        }
                    ]
                }
            ],
            "conclusionType":2
        },
        "logId":16293678179780004,
        "msg":"success",
        "ret":"0"
    }
    // 拉取结论失败
    {
        "logId":16293679811620005,
        "msg":"用户下taskId对应审核任务不存在",
        "ret":"282006"
    }

    如果您对文档内容有任何疑问,可以通过以下几种方式联系我们:

    上一篇
    请求说明
    下一篇
    语音审核API参考(邀测)