
NSFW Image Detector
- babak/nsfw-image-detector
- Modified
- Users 15
- Runs 199
- Created by
Vladyslav Korzh
This NSFW image detector is a fast and easy JPEG, PNG, BMP, and GIF nude checker, and content moderation tool. It marks indecent content from hundreds of image URLs in seconds. Let your users view 馃憴 porn, 馃帉 hentai, and 馃槏 sexy content only when they want to!
To run the code examples, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token. For a more detailed explanation, please read about running Actors via the API in Apify Docs.
# Set API token
API_TOKEN=<YOUR_API_TOKEN>
# Prepare Actor input
cat > input.json <<'EOF'
{
"imgUrl": "https://apify-image-uploads-prod.s3.amazonaws.com/Nbvb2ZAX96yhhtJQy/EQ2R5dkeB3Kizko6x-IMG_6685.png",
"directLinks": [],
"directLinksFile": []
}
EOF
# Run the Actor
curl "https://api.apify.com/v2/acts/babak~nsfw-image-detector/runs?token=$API_TOKEN" \
-X POST \
-d @input.json \
-H 'Content-Type: application/json'