Moderate
Safety 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…
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 \
-H 'content-type: application/json' \
-d '{"text":"I will find where you live."}'When to use it
Safety 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 produce. Input: text (required, max 8,000 chars). Returns flagged (boolean), categories, verdict and chars. A signal for your own policy, not an enforcement decision.
What it costs
$0.0020 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 Image
$0.0030NSFW 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.
Moderate Video
$0.0200NSFW and harm check for a short video clip, frames and audio.
Youtube Thumbnail
$0.0200Render a 1280x720 YouTube thumbnail. Use when an agent produces a video and needs a title card that reads at feed size.