NSFW Image Detector

$7.00/month

NSFW Image Detector

NSFW Image Detector

babak/nsfw-image-detector

$7.00/month

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!

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn mode

import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with API token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "imgUrl": "https://apify-image-uploads-prod.s3.amazonaws.com/Nbvb2ZAX96yhhtJQy/EQ2R5dkeB3Kizko6x-IMG_6685.png",
    "directLinks": [],
    "directLinksFile": []
};

(async () => {
    // Run the Actor and wait for it to finish
    const run = await client.actor("babak/nsfw-image-detector").call(input);

    // Fetch and print Actor results from the run's dataset (if any)
    console.log('Results from dataset');
    const { items } = await client.dataset(run.defaultDatasetId).listItems();
    items.forEach((item) => {
        console.dir(item);
    });
})();
Developer
Maintained by Community
Actor stats
  • 22 users
  • 271 runs
  • Modified 20 days ago

You might also like these Actors