AI鉴黄图片接口
接口地址: https://api3.mhimg.cn/api/safe_img
返回格式: JSON
请求方式: GET
请求示例: https://api3.mhimg.cn/api/safe_img?img=图片外链
请求参数说明:
| 名称 | 必填 | 类型 | 说明 |
|---|
返回参数说明:
| 名称 | 类型 | 说明 |
|---|
返回示例:
{
"session_id":"a",
"response":{
"hentai":0.6039469242095947,
"porn":0.2834160625934601,
"sexy":0.07540653645992279,
"drawing":0.028896067291498184,
"neutral":0.008334447629749775,
"is_nsfw":true,
"judgment":"黄图(二次元色情概率0.6039 ≥ 0.6)",
"thresholds_used":{
}
}
}
请求参数设置:
| 参数名称 | 参数值 |
|---|---|
{
"session_id":"a",
"response":{
"hentai":0.6039469242095947,
"porn":0.2834160625934601,
"sexy":0.07540653645992279,
"drawing":0.028896067291498184,
"neutral":0.008334447629749775,
"is_nsfw":true,
"judgment":"黄图(二次元色情概率0.6039 ≥ 0.6)",
"thresholds_used":{
}
}
}
错误码格式说明:
| 名称 | 类型 | 说明 |
|---|
代码示例: