POST

Score image for NSFW content; returns { nsfw_score, safe }. Uses nsfwjs (TensorFlow.js)

/v1/nsfw-score

Powered by TensorFlow

Request → Response

Examples from schemas.json.

Requestapplication/octet-stream
POST /v1/nsfw-score
Content-Type: application/octet-stream

[binary request body]
Responseapplication/json
HTTP/1.1 200 OK
Content-Type: application/json

{
  "nsfw_score": "…",
  "safe": "…"
}

Overview

Score image for NSFW content; returns { nsfw_score, safe }. Uses nsfwjs (TensorFlow.js).

Open-source machine learning framework developed by Google.

Request schema

Body: raw binary · application/octet-stream

Raw binary request body (Content-Type: application/octet-stream)
IMPLEMENTATION
curl -X POST https://api.tools402.dev/v1/nsfw-score \
  -H "Content-Type: application/octet-stream" \
  --data-binary @file.bin

402 payment flow omitted — see Integrations for settlement.