API reference
NSFW Detection
Image moderation with six independent categories: porn, hentai, weapons, drugs, gore, and identity documents. POST /moderate accepts an uploaded image or JSON {"url":"https://example.com/image.jpg"}. GET /moderate/file accepts a public direct image URL. JPEG, PNG and WebP only,... Full description
Image moderation with six independent categories: porn, hentai, weapons, drugs, gore, and identity documents. POST /moderate accepts an uploaded image or JSON {"url":"https://example.com/image.jpg"}. GET /moderate/file accepts a public direct image URL. JPEG, PNG and WebP only, up to 5 MiB and 4,194,304 pixels. Each category returns score, flagged, review_required, method and calibrated. Scores are model outputs, not calibrated probabilities. Weapons, drugs, gore and identity documents use experimental CLIP zero-shot classification; ambiguous results require review and results may be incorrect. Identity details are not extracted. The existing /analyze and /nsfw/file endpoints retain their original NSFW-only response. Inference/model failures return 503; failure is never reported as a safe image. Images are processed locally and are not retained by the inference engine.
Category
Visual Recognition
Avg response time
616ms
Subscriptions
0
Popularity
0.2%
Test Percentage
13.3%
Quick start
Make your first request
-
Choose an endpoint
Find its method, parameters and response format.
Open endpoint docs -
Set up access
If an endpoint requires a key, choose a plan and manage your key in the dashboard.
View plans -
Send a request
Copy a code example or use the request console when available.
Endpoints
Subscription Plans
Endpoints (5)
Content model readiness
Independent categories. Review uncertain results; no guaranteed classification accuracy. Existing subscription authentication applies.
Classify content from image URL
Independent categories. Review uncertain results; no guaranteed classification accuracy. Existing subscription authentication applies.
Detect NSFW from image URL
Analyze an image using its direct URL.
Analyze image (upload or URL)
Upload an image or submit an image URL for NSFW detection.
Classify six content categories
Independent categories. Review uncertain results; no guaranteed classification accuracy. Existing subscription authentication applies.