Detect NSFW image
detect_nsfwChecks an image URL or local file for nudity or sexual content, returning an NSFW verdict to screen images before sharing.
Instructions
Tell whether an image contains nudity or sexual content that is not safe for work. Costs 0.01 credits.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"image": "<image>"
},
"name": "detect_nsfw"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | Direct URL of the image file (http or https, not the web page showing it), or the absolute path to a local image file up to 20 MB. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| isNsfw | Yes | ||
| confidence | Yes | How sure the verdict is, from 0 to 1. |