NSFW Classification API Documentation (nanonets) | RapidAPI

NSFW Classification

FREEMIUM
By nanonets
Updated 4 months ago
Machine Learning
-/10
Popularity Score
6146ms
Latency
-
Success Rate

NSFW Classification API Documentation

Classify an image into safe-for-work(sfw -- adult content free) or not-safe-for-work(nsfw -- porn, gore, nudity).

View API Details
POSTNSFW Inference
POSTNSFW Inference

Returns a probability between 0 - 1 for both nsfw and the sfw labels

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
AuthorizationSTRING
REQUIREDBasic Auth header with Nanonets API Key generated after logging in at app.nanonets as username and password as empty
Required Parameters
fileBINARY
REQUIREDfile stream of the file(s) that need to be inferred
model_idSTRING
REQUIRED
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication