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.
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.
Often used with this
Moderate Video
$0.0200NSFW and harm check for a short video clip, frames and audio.
Moderate
$0.0020Safety classification for a piece of text. Use before publishing user-generated content, or when an agent needs to decide whether to act on something it was asked to p…
Face Compare
$0.0110Send two images and get back a similarity score, a match flag and the threshold it was judged against.