# Generating NSFW

{% hint style="danger" %}
Make sure you're using the correct Discord link - IMGN Labs / imgnAI is ONLY available at:

<https://discord.gg/imgn>

**NO other Discord links or communities are run by the official IMGN Labs / imgnAI community!**
{% endhint %}

To generate NSFW content, you will need to create your own Discord server and change the settings to allow for NSFW content

Here's how!

To create a server, find the green + shown below

<figure><img src="/files/mSERENOIR1RJ1TFVbBvB" alt=""><figcaption><p>click the green + to create a server</p></figcaption></figure>

**Add Nai to your server:** [**click here**](https://discord.com/oauth2/authorize?client_id=1054891522786611231\&permissions=534723947584\&scope=bot)

Alternatively, you can click Nai in any server, select "Add to Server", and add to any server in which you have admin permissions.

<figure><img src="/files/BUWabd5kHNdzDIKsnLOn" alt=""><figcaption><p>Click Nai then add to server</p></figcaption></figure>

Once you've approved all authorisations (don't change these!), Nai will be added to your server. You can now call / to see all available commands.

<figure><img src="/files/7D2Cx3oCGeYRpLv1zXSE" alt=""><figcaption><p>type / to bring up the command menu</p></figcaption></figure>

We recommend calling `/help_admin` first. This will give you detailed instructions on Nai.

By default, Nai has access to all channels and is set to allow only safe-for-work generations.

#### Enabling NSFW generations

Firstly, create a channel in your Discord server by clicking Text Channels and then click Edit Channel

<figure><img src="/files/bop4Ugcvzti9E0XJdapa" alt=""><figcaption><p>Add a text channel and then click edit channel</p></figcaption></figure>

Change the settings to enable Age-Restricted Channel

<figure><img src="/files/v6vgdAQCPgb54SaBxBUm" alt=""><figcaption></figcaption></figure>

To activate NSFW generations, call `/enable_posting #channelname`&#x20;

To deactivate, you can use `/disable_nsfw_channel #channelname`

Remember, you must also designate the channel as NSFW in Discord to allow for NSFW generations.

For NSFW images, we recommend using the /gen or /supra models for realism and the /ani or /supra models for anime.


---

# 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://imgnai.gitbook.io/imgnai/using-discord/generating-nsfw.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.
