You're looking at a specific version of this model. Jump to the model overview.
zf-kbot /md-er-nsfw-detector:a1606ed2
Input schema
The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.
| Field | Type | Default value | Description |
|---|---|---|---|
| api_key |
string
|
API 密钥
|
|
| images |
array
|
一张或多张待检测图片,最多 5 张。
|
|
| video |
string
|
待检测视频文件,与图片输入二选一。
|
|
| detect_size |
None
|
640
|
图片检测分辨率。320 对应 320n,640 对应 640m。
|
| video_sample_count |
integer
|
5
Min: 1 |
全片均匀抽取的总帧数。
|
| nsfw_frame_threshold |
integer
|
2
Min: 1 |
至少多少采样帧命中才判定 NSFW;不足 K 帧时以实际采样帧数为准。
|
| max_image_pixels |
integer
|
9000000
|
单张图片最大像素上限,仅对图片输入生效,默认 900 万。
|
| buttocks_exposed |
number
|
0.8
|
臀部暴露阈值。
|
| female_breast_exposed |
number
|
0.8
|
女性胸部暴露阈值。
|
| female_genitalia_exposed |
number
|
0.5
|
女性生殖器暴露阈值。
|
| male_breast_exposed |
number
|
1
|
男性胸部暴露阈值。
|
| anus_exposed |
number
|
0.7
|
肛门暴露阈值。
|
| male_genitalia_exposed |
number
|
0.4
|
男性生殖器暴露阈值。
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'title': 'Output', 'type': 'string'}