zf-kbot/md-ui-nsfw-detection

Public
18.2K runs

Run zf-kbot/md-ui-nsfw-detection 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 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
{
  "type": "string",
  "title": "Output"
}