Moderate Image

NSFW and harm check for one image. Use before showing or publishing a user upload, or when an agent must decide whether an image is safe to use.

$0.0030 per call POST /v1/tools/moderate-image Runs a model

Call it

The first response is 402 with the exact price and every rail you can pay with. Pay, repeat the request with the proof, and you get the result.

curl -X POST https://api.glianalabs.com/v1/tools/moderate-image \
  -H 'content-type: application/json' \
  -d '{"image_url":"https://example.com/upload.jpg"}'

When to use it

Input: image_url or image_base64 (JPEG, PNG or WebP, up to 6 MB), threshold (optional, 0-1, default 0.5). Returns nsfw, label (safe | suggestive | explicit | blocked), flagged categories and a 0-1 score for each of sexual_explicit, sexual_suggestive, minor_sexualized, violence_graphic, self_harm, hate_symbols, weapons and drugs. A signal for your own policy, not an enforcement decision; nothing is stored.

What it costs

$0.0030 per successful call — flat, with no plan, minimum or monthly fee. A call that fails validation is refused before it runs, so it is never charged.

Not sure this is the right endpoint? GET /v1/consult?intent=… is free and answers that.