---
title: "NSFW / content-moderation scan"
method: POST
path: "/vision/moderate"
tags: ["Image Intelligence"]
---

# NSFW / content-moderation scan

`POST /vision/moderate`

## Request

- Base URL: `https://abundanceapis.com`
- URL: `https://abundanceapis.com/vision/moderate`
- Auth: none declared

Classify an image for not-safe-for-work content with an on-device model (the image is never sent to a third party). Returns category tags with scores (Neutral, Drawing, Sexy, Hentai, Porn), a combined nsfwScore, and a safe/nsfw verdict. Set 'threshold' (0–1, default 0.5) for the cutoff. Best-effort signal — not a compliance or CSAM tool.

## Request body

- object
  - `url` string: Public image URL (fetched via an SSRF-hardened client).
  - `base64` string: Base64-encoded image (data URI prefix allowed).
  - `threshold` number

## Other responses

- `400`: Bad request

---

[API](https://skmtc.dev/abundanceapis/apis/web-toolbox.md) · [All operations](https://skmtc.dev/abundanceapis/apis/web-toolbox/llms.txt) · [OpenAPI document](https://skmtc.dev/abundanceapis/apis/web-toolbox/revisions/ada2893fef43?raw)
