zf-kbot/md-me-text-nsfw-guard

Public
1.8M runs

Run zf-kbot/md-me-text-nsfw-guard 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
apikey
string
访问密钥
text
string
Single prompt/text to moderate. Ignored when texts_json is provided.
texts_json
string
Optional JSON array of prompts, e.g. ["prompt 1", "prompt 2"].
allow_threshold
number
0.11

Max: 1

Model sexual-risk score below this value returns allow.
block_threshold
number
0.12

Max: 1

Model sexual-risk score at or above this value returns block.
max_texts
integer
1280

Min: 1

Max: 1280

Maximum number of texts accepted in one call.
max_chars
integer
1000

Min: 16

Max: 5000

Maximum characters per text before truncation.
include_text
boolean
False
Return original text in output. Leave false for production privacy.
return_probabilities
boolean
False
Include label probability details inside logs when include_logs is true.
include_logs
boolean
False
Return detailed internal scoring and rule diagnostics.

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{
  "title": "Output"
}