You're looking at a specific version of this model. Jump to the model overview.
zf-kbot /md-ui-nsfw-detection:fb918671
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 Key
|
|
| images |
array
|
[]
|
Image input
|
| videos |
array
|
[]
|
Video input
|
| text |
string
|
Text input
|
|
| threshold |
number
|
0.7
Max: 1 |
Threshold for NSFW detection
|
| video_frames |
integer
|
3
Min: 1 |
Number of video frames to process
|
| max_size |
integer
|
512
Min: 1 |
Maximum size for image resizing
|
| black_list_words |
string
|
Black list words, json format string, e.g. [["text1","text2"]]
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'title': 'Output', 'type': 'string'}