# 水印去除接口(openai-cv-service-smzdm-com/)
# 检查图片是否有水印【默认只支持小红书,淘宝逛逛,咸鱼】
Path: /pictures/detection_identify
Method: POST
接口描述:
图片去水印接口-YApi-高效、易用、功能强大的可视化接口管理平台 (smzdm.com)
curl --location --request POST'http://openai-cv-service.smzdm.com:809/pictures/detection_identify'</span>
--header'User-Agent: Apifox/1.0.0 (https://apifox.com)'</span>
--header'Accept: /'</span>
--header'Host: openai-cv-service.smzdm.com:809'</span>
--header'Connection: keep-alive'</span>
--header'Content-Type: multipart/form-data; boundary=--------------------------252299612867978281285028'</span>
--form'img_url="https://a.zdmimg.com/202211/12/636f383acbc185989.jpg_e1080.jpg"'</span>
--form'is_img_base64="0"'</span>
--form'model_name="aigc"'</span>
--form'threshold="0.1"'
{
"error_code": 0,
"error_msg": "",
"data": {
"boxes_result": [
{
"class_id": 0,
"confidence": 0.98515409231185913,
"coordinates": [
[
981.79736328125,
729.9951171875
],
[
981.79736328125,
753.4556884765625
],
[
1039.6368408203125,
753.4556884765625
],
[
1039.6368408203125,
729.9951171875
]
]
},
{
"class_id": 0,
"confidence": 0.96992242336273193,
"coordinates": [
[
862.2852783203125,
762.46234130859375
],
[
862.2852783203125,
779.02752685546875
],
[
1050.736572265625,
779.02752685546875
],
[
1050.736572265625,
762.46234130859375
]
]
}
],
"img_base64": null
}
}
# 请求参数
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/x-www-form-urlencoded | 是 |
Body
参数名称 | 参数类型 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
img_url | text | 是 | https://a.zdmimg.com/202211/12/636f383acbc185989.jpg_e1080.jpg | 图片地址 |
is_img_base64 | text | 否 | 是否返回base64 | |
threshold | text | 否 | 阈值 | |
model_name | text | 是 | aigc | 默认shequ,支持shequ,aigc |
from | text | 是 | 备注使用来源 |
# 返回数据
# 返回数据
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
error_code | number | 否 | |||
error_msg | string | 否 | |||
data | object | 否 | |||
boxes_result | object [] | 否 | 水印坐标位置 | item 类型: object | |
class_id | number | 是 | 识别类型 0 水印 1 二维码 | ||
confidence | number | 是 | |||
coordinates | array [] | 是 | item 类型: array | ||
否 | |||||
否 | |||||
img_base64 | string | 否 | 图片base64内容 |
← 高清放大upscale接口 背景替换接口 →