在线色情图片检测/图片鉴黄
在线色情图片检测能够准确快速检查图片属于“正常”、“性感”、“色情”的概率,有效帮助用户鉴别色情图片。该技术大幅提升了色情内容检测的准确率。
免费API接口
API请求地址:
GET https://api.webmasterapi.com/v1/nsfw/[apiKey]/[image_url]
请求参数:
apiKey | [必需] | 您的apiKey。 |
image_url | [必需] | 图片URL |
https://api.webmasterapi.com/v1/nsfw/test-apiKey/https://static.webmasterapi.com/test/porn.jpg
API请求地址:
POST https://api.webmasterapi.com/v1/nsfw
请求参数:
apiKey | [必需] | 您的apiKey。 |
base64 | [必需] | 请以Base64格式提交图片。 |
{
"apiKey":"test-apiKey",
"base64":"data:image/jpg;base64,iVBORw0KGgoAAAAN....."
}
API返回结果:
{
"code": 1,
"results": {
"Sexy": 98,
"Neutral": 1,
"Porn": 0,
"Drawing": 0,
"Hentai": 0
}
}
返回项目说明:
图片检测结果概率分为以下5类:
Porn | 成人色情图片 |
Sexy | 性感图片 |
Neutral | 正常的图片 |
Drawing | 正常的绘画 |
Hentai | 色情绘画 |