色情图片识别
接口地址
https://binstd.apistd.com/imageidentification/identify
请求格式
multipart/form-data
响应格式
application/json
请求方法
POST
请求参数 (Query)
参数名 | 类型 | 必须 | 描述 |
---|---|---|---|
key string | string | 是 | 请求 AccessKey, 请在控制台中查看 |
请求参数 (Body)
参数名 | 类型 | 必须 | 描述 |
---|---|---|---|
pic file | file|string | 是 | 支持图片URL、文件或者base64内容 |
返回参数 (Body)
参数名 | 类型 | 描述 |
---|---|---|
status string | string | 返回码 |
msg string | string | 返回说明信息 |
result object | object | 返回结果 |
└ pic string | string | 如果图片为URL,会返回URL |
└ type string | string | normal正常、sexy性感、porn色情、uncertain不确定 |
└ score string | string | 可信度 100分制 |
请求返回示例
{
"status": 0,
"msg": "ok",
"result": {
"type": "porn",
"score": 78,
"pic": "https://filescdn.proginn.com/apistd/example/pic/pornpic.jpg"
}
}