zf-kbot/md-iu-nsfw-detector

Public
2.9M runs

Run zf-kbot/md-iu-nsfw-detector with an API

Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.

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_frames
integer
2
视频每秒采样帧数,最大 4;当时长大于等于 30 秒时会自动降为 1。
video_duration
integer
10
视频检测时长,单位秒,最大 60。
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
{
  "type": "string",
  "title": "Output"
}