Introduction
The Webit NSFW Classification API lets you effortlessly search between millons of YouTube, Dailymotion and Vimeo videos with a single solution. And it includes a FREE plan to get started with.
API testing and usage
If you want to start using the NSFW Classification service or just want to test it a little, just press the buttons below.
You will need a RapidAPI account for testing production endpoints. However, the whole process is completely FREE of charge and no credit card is required.
Below is an example of a not-easy-to-detect nudity. Neural Machine performs very well and understands the image contains nudity, despite of the confusing perspective.
{
"status": "error",
"data": null,
"message": "Unauthorized access. Authentication is required."
}
Here is an example of a black and white image containing nudity. Neural Machine understands what's depicted in the image despite of skin tone colors.
{
"status": "error",
"data": null,
"message": "Unauthorized access. Authentication is required."
}
Below there is an example of a picture depicting what may trigger a false positive nudity. Despite that, Neural Machine performs perfectly fine and identifies a totally safe image with "neutral" rating.
{
"status": "error",
"data": null,
"message": "Unauthorized access. Authentication is required."
}
Below is an image of a shirtless person. It is marked as safe, but score variance denotes that the subject is not completely covered. A "moderate" rating is present. Such scores and ratings can be used to implement customized solutions based on thresholds and flags.
{
"status": "error",
"data": null,
"message": "Unauthorized access. Authentication is required."
}
Here there is a picture depitcting a lower body area, with a person wearing a slightly uplifted bikini bottom clothing piece. There is also sand, but this does not prevent Neural Machine from understanding the scene. As in the previous case, image is marked as safe, but a "moderate" rating is assigned, together with accordingly related scores. For more information about ratings, check the complete "Examples" section.
{
"status": "error",
"data": null,
"message": "Unauthorized access. Authentication is required."
}
Below is an example of a drawn picture containing nudity. Webit Machine detects that image type is a "drawing" and detects nudity as well. Image type classification can also be used to moderate content drawn by users differently (e.g. creative communities) in addition to photos.
Warning: file_get_contents(https://i.imgur.com/e0ulwt6.jpg): failed to open stream: HTTP request failed! HTTP/1.1 429 Unknown Error
in
/var/www/vhosts/webit.ai/httpdocs/framework/libraries/x-http.php on line
62
{
"status": "error",
"data": null,
"message": "Unauthorized access. Authentication is required."
}
Here is another example of a drawn picture containing sheer but safe clothing. Webit Machine detects "drawing" type correctly and classifies it as "safe".
{
"status": "error",
"data": null,
"message": "Unauthorized access. Authentication is required."
}
More examples with additional details are available in the "Examples" documentation section.
Available endpoints
The NSFW Classification API has two major endpoints: "Trending" and "Search". Examples, roles and parameters explanations are extensively documented in the upcoming paragraphs.