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": "success",
"data": {
"input_source": "url",
"predictions": {
"type": "photo",
"rating": "explicit",
"safety": "unsafe",
"scores": {
"nsfw": 0.952968057943508,
"sfw": 0.04703194205649197
}
}
},
"message": null
}
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": "success",
"data": {
"input_source": "url",
"predictions": {
"type": "photo",
"rating": "explicit",
"safety": "unsafe",
"scores": {
"nsfw": 0.6905604656785727,
"sfw": 0.30943953432142735
}
}
},
"message": null
}
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": "success",
"data": {
"input_source": "url",
"predictions": {
"type": "drawing",
"rating": "neutral",
"safety": "safe",
"scores": {
"sfw": 0.9876506924629211,
"nsfw": 0.012349307537078857
}
}
},
"message": null
}
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": "success",
"data": {
"input_source": "url",
"predictions": {
"type": "photo",
"rating": "moderate",
"safety": "safe",
"scores": {
"sfw": 0.677315354347229,
"nsfw": 0.322684645652771
}
}
},
"message": null
}
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.