You're looking at a specific version of this model. Jump to the model overview.
devgmstudios /nsfw-filter-adjustable:95364b66
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
|
Image to run through the NSFW filter
|
|
| threshold |
number
|
Max: 1 |
None
|
| special_threshold |
number
|
Max: 1 |
None
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'properties': {'concept_scores': {'additionalProperties': {'type': 'number'},
'nullable': True,
'title': 'Concept Scores',
'type': 'object'},
'nsfw': {'items': {'type': 'string'},
'title': 'Nsfw',
'type': 'array'},
'nsfw_detected': {'title': 'Nsfw Detected', 'type': 'boolean'},
'special': {'items': {'type': 'string'},
'title': 'Special',
'type': 'array'},
'special_scores': {'additionalProperties': {'type': 'number'},
'nullable': True,
'title': 'Special Scores',
'type': 'object'},
'special_threshold': {'title': 'Special Threshold',
'type': 'number'},
'threshold': {'title': 'Threshold', 'type': 'number'}},
'required': ['nsfw_detected',
'nsfw',
'special',
'threshold',
'special_threshold'],
'title': 'Output',
'type': 'object'}