RapidAPI logo

Sign Up

Log In

Nudity Recognition - Nudity Filter for Images

FREEMIUM
By eyerecognize
Updated a month ago
Machine Learning
8.4/10
Popularity Score
1708ms
Latency
99%
Success Rate

Nudity Recognition - Nudity Filter for Images API Documentation

EyeRecognize NSFW NuditySearch - Recognizing nudity is a highly complex problem. NSFW Nudity Search tackles this problem by recognizing anatomical attributes and determining if there is nudity or suggestive imagery in images. The service is useful for website or app owners looking to provide site safety, ad safety, and online profile verification. We provide 3 different settings of varying sensitivities depending on your tolerance for exposed skin (i.e. - lingerie and bikini).

View API Details
POSTNuditySearch
POSTNuditySearch

Use this API to detect nudity in images. Nobody gets more naked! NOTE: API accepts JSON and XML encoded posts.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
objecturlSTRING
REQUIREDImage to scan for nudity
Optional Parameters
settingNUMBER
OPTIONALOptional scan sensitivity setting - Valid settings are 1 (Loose), 2, and 3 (Default)
Request Snippet
unirest.post("https://nuditysearch.p.rapidapi.com/nuditySearch/image")
.header("X-RapidAPI-Host", "nuditysearch.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("setting=3")
.send("objecturl=http://i.imgur.com/4hGni1I.jpg")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://nuditysearch.p.rapidapi.com/nuditySearch/image")
.header("X-RapidAPI-Host", "nuditysearch.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("setting=3")
.send("objecturl=http://i.imgur.com/4hGni1I.jpg")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication