> For the complete documentation index, see [llms.txt](https://docs.night-api.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.night-api.com/images/nsfw.md).

# NSFW

{% hint style="danger" %}
This API requires an API key to be sent along with your requests: Get yours by <mark style="color:red;">creating an account</mark>
{% endhint %}

Different methods exist to have NSFW images, currently there are three and here they are:

* [**Random NSFW**](/images/nsfw/aleatoire.md): You have random images

{% content-ref url="/pages/UZYSxWBQLiHY325sjAWr" %}
[Random](/images/nsfw/aleatoire.md)
{% endcontent-ref %}

* [**NSFW images by category**](/images/nsfw/type.md): You will receive only the images of which you indicated the category&#x20;

{% content-ref url="/pages/XZunNUVcu5UyOyF5Ww60" %}
[Category](/images/nsfw/type.md)
{% endcontent-ref %}

* [**NSFW images by ID**](/images/nsfw/id.md): You will receive the images of which you indicate the ID

{% content-ref url="/pages/beNluNNE5Qt72VaIuhjX" %}
[ID](/images/nsfw/id.md)
{% endcontent-ref %}

Here is an example of what each method returns

```json
{
    "status": 200,
    "content": {
        "id": 23,
        "type": "ass",
        "url": "https://cdn.night-api.com/api/images/nsfw/ass/4208ec0c4590ed4622e451f386e39.jpg"
    }
}
```
