> For the complete documentation index, see [llms.txt](https://imgnai.gitbook.io/imgnai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://imgnai.gitbook.io/imgnai/using-discord/generating-nsfw.md).

# Generating NSFW

How to set up a server and generate 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="https://content.gitbook.com/content/ldjYFDrj6s4bWNI65pl9/blobs/gEklFsFR6uCPte5FC5gH/Untitled%20design%20-%202023-07-26T141906.046.png" 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="https://content.gitbook.com/content/ldjYFDrj6s4bWNI65pl9/blobs/axnMCGAkOjeFwgy8LUj1/17.png" 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="https://content.gitbook.com/content/ldjYFDrj6s4bWNI65pl9/blobs/uU8yjVoOpFmiiRe0myN0/18.png" 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="https://content.gitbook.com/content/ldjYFDrj6s4bWNI65pl9/blobs/dyvpE1lGMiU9fXmfvWyG/25.png" 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="https://content.gitbook.com/content/ldjYFDrj6s4bWNI65pl9/blobs/YsDdtVNwNt3XVfauh656/26.png" 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.
