# NSFW - Not Safe For Work

## Overview

The NSFW machine-learning model is an advanced algorithm designed to accurately detect and classify adult content within digital media files. It plays a vital role in ensuring the safe and appropriate use of media assets in various industries.&#x20;

By employing state-of-the-art computer vision techniques, the model offers powerful capabilities to automatically identify explicit and adult content, enhancing content moderation and compliance processes.

The model utilizes deep learning algorithms trained on extensive datasets to accurately identify and classify adult content, including nudity, explicit imagery and suggestive or provocative materials. It is seamlessly integrated into our service, allowing for efficient and scalable content analysis.

## Use cases

Possible applications of adult content detection include:

* **Content moderation** - The model can automatically filter and moderate user-generated content. It helps prevent the upload of adult or explicit materials, ensuring a safer online environment.
* **Brand protection** - Advertisers can safeguard their reputations and protect their digital assets. By automatically screening media content before publishing or distribution, companies can maintain brand integrity and avoid association with inappropriate or NSFW materials.
* **Legal compliance** - In industries such as publishing, advertising, and e-commerce, the NSFW model can help ensure compliance with legal and regulatory standards. By identifying and flagging adult content, companies can adhere to age restrictions, protect minors from explicit material and avoid legal repercussions.
* **Content Curation** - Content creators can efficiently curate their collections. The automatic tagging and categorization process for assets makes it easier to search and manage content based on its appropriateness for different target audiences.

## API endpoints

An up-to-date reference with all API endpoints is available here:

{% embed url="<https://developers.scaleflex.com/#70fba21c-b286-4fe4-a350-b4be9221307e>" %}

## Example API responses

<table data-full-width="true"><thead><tr><th>Input image</th><th>API response</th><th data-hidden></th><th data-hidden></th><th data-hidden data-type="files"></th><th data-hidden data-type="rating" data-max="5"></th></tr></thead><tbody><tr><td><img src="/files/mrtvi0X1P5BBKQ8l5Tpv" alt=""></td><td><pre class="language-json"><code class="lang-json">{
    "status": "success",
    "version": "2.9.3",
    "predictions": [
        {
            "drawing": 0.02,
            "hentai": 0.03,
            "neutral": 0.92,
            "porn": 0.02,
            "nsfw": 0.02
        }
    ],
    "request_uuid": "632d9521-b797-483a-a2bf-1e4517f09473",
    "sha1": "b5d07a2d7648df181c94b2e2c8616ff7a91ca8c0"
}
</code></pre></td><td></td><td><img src="/files/ho7Amt04hvMa9bAxOWo9" alt=""></td><td></td><td>null</td></tr><tr><td><img src="/files/qGWuZ3PJuI8cXykoJYJ1" alt=""></td><td><pre class="language-json"><code class="lang-json">{
    "status": "success",
    "version": "2.9.3",
    "predictions": [
        {
            "drawing": 0.03,
            "hentai": 0.03,
            "neutral": 0.03,
            "porn": 0.03,
            "nsfw": 0.87
        }
    ],
    "request_uuid": "332ec81a-b8f6-4821-856e-3d0134776216",
    "sha1": "099d9a56a2292421d456b94a4ea245880c82435b"
}
</code></pre></td><td></td><td></td><td></td><td>null</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.scaleflex.com/visual-ai/visual-ai/images/moderation-models/nsfw-not-safe-for-work.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
