zf-kbot/md-ec-nsfw-detector
Public
2.4M
runs
Run zf-kbot/md-ec-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 |
|---|---|---|---|
| image |
string
|
Input image to classify.
|
|
| detect_size |
None
|
320
|
Detection resolution. 320 is faster, 640 may catch smaller details.
|
| buttocks_exposed |
number
|
0.7
|
Threshold for BUTTOCKS_EXPOSED.
|
| female_breast_exposed |
number
|
0.7
|
Threshold for FEMALE_BREAST_EXPOSED.
|
| female_genitalia_exposed |
number
|
0.5
|
Threshold for FEMALE_GENITALIA_EXPOSED.
|
| anus_exposed |
number
|
0.7
|
Threshold for ANUS_EXPOSED.
|
| male_genitalia_exposed |
number
|
0.5
|
Threshold for MALE_GENITALIA_EXPOSED.
|
{
"type": "object",
"title": "Input",
"required": [
"image"
],
"properties": {
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 0,
"description": "Input image to classify."
},
"detect_size": {
"enum": [
320,
640
],
"type": "integer",
"title": "detect_size",
"description": "Detection resolution. 320 is faster, 640 may catch smaller details.",
"default": 320,
"x-order": 1
},
"anus_exposed": {
"type": "number",
"title": "Anus Exposed",
"default": 0.7,
"x-order": 5,
"description": "Threshold for ANUS_EXPOSED."
},
"buttocks_exposed": {
"type": "number",
"title": "Buttocks Exposed",
"default": 0.7,
"x-order": 2,
"description": "Threshold for BUTTOCKS_EXPOSED."
},
"female_breast_exposed": {
"type": "number",
"title": "Female Breast Exposed",
"default": 0.7,
"x-order": 3,
"description": "Threshold for FEMALE_BREAST_EXPOSED."
},
"male_genitalia_exposed": {
"type": "number",
"title": "Male Genitalia Exposed",
"default": 0.5,
"x-order": 6,
"description": "Threshold for MALE_GENITALIA_EXPOSED."
},
"female_genitalia_exposed": {
"type": "number",
"title": "Female Genitalia Exposed",
"default": 0.5,
"x-order": 4,
"description": "Threshold for FEMALE_GENITALIA_EXPOSED."
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "string",
"title": "Output"
}