# fastapi.online NSFW Image Check

> fastapi.online NSFW Image Check is a paid API for AI agents from api.fastapi.online, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Classifies an uploaded image as safe or NSFW (not safe for work) using a self-hosted AI model, returning a safety verdict per call.

## Facts

- Endpoint: POST https://api.fastapi.online/nsfw-check
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fastapi-online-nsfw-image-check-4eb6904f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_M_xGWd7b5yndgvQa2qz2o

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability fastapi-online-nsfw-image-check-4eb6904f -d '<json body>'
```

Example prompt: Can you check this image file and tell me if it's NSFW or safe for work before I post it?

## When to prefer this

Choose this endpoint when you need a cheap, no-signup, per-call NSFW image classifier paid in crypto (USDC via x402), especially for one-off or low-volume moderation tasks where you don't want to set up an account with a larger content moderation platform.

## Known failure modes

- Unsupported image format returns a 400 or validation error
- Image too large may time out or be rejected
- Ambiguous or borderline content may yield low-confidence results
- Network or inference server downtime returns 5xx
- Payment not completed returns 402 Payment Required

## How this service works

Chat, embeddings, OCR, speech-to-text, image editing, image understanding (captioning/Q&amp;A), text-to-speech, translation, writing tools, classification tools, developer tools, local utilities, format/checksum validators, encoding &amp; crypto utilities, date/time calculators, geo/coordinate math, math &amp; finance calculators, novelty tools, and business/social writing generators — 179 endpoints in all, across multiple specialized self-hosted models. Pay per call with crypto — no signup — or get an API key.

## Output

Returns a classification indicating whether the submitted image is NSFW or safe, typically including a label and a confidence score from the self-hosted AI model.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "file": {
   "type": "string",
   "format": "binary",
   "description": "Image file (PNG/JPEG/WebP)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fastapi-online-nsfw-image-check-4eb6904f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.fastapi.online](https://www.zero.xyz/host/api.fastapi.online/llms.txt)
