By gerogero
Updated: April 5, 2025
There isn’t any very clear material on how to use Stable Diffusion for NSFW/nude/porn/hentai generation, so today I’m going to go over the following in detail:
This guide is intended to get you generating quality NSFW images as quickly as possible.
If you follow the steps below exactly, you’ll be able to generate the following images:
I also recommend these guides as supplemental reading:
But everything you need to know will be in this guide. The advantage of following this guide is you’ll end up with a very customizable and free setup that will let you use any model and generate images with your computer’s hardware.
However, there is a free generator with a paid option on this site that will give you a preview of the things we’ll be doing in this guide:
That’s my shameless plug before we dive in. It is shameless though, because it is just that good.
Enough. Let’s get started!
Think of a model as a dataset that has been trained on millions of images. Different models produce different styles, depending on the images they were trained on.
Civitai.com is the home of NSFW AI models. Civitai will only show you the NSFW models if you have an account.
Sign up for an account and then click on the eye in the navbar. Check all ratings and uncheck “Blur mature content (R+)”
Now you can see all models, including NSFW ones.
As an example, I’m going to download Cyberrealistic Pony, a great NSFW model. You can use whatever the latest version is. At the time of this writing it is v8.5, so download that one if you want to follow this guide exactly.=
Models come in either checkpoint (.ckpt) or safetensor (.safetensor) file format, both are fine to use, but .safetensor is newer and safer. Models are often referred to as checkpoint models, or just checkpoints regardless of their file format.
This is the user interface you will use to run the generations.
Installation instructions for different platforms:
Just use this one-click installation package (with git and python included).
>>> Click Here to Download One-Click Package (CUDA 12.1 + Pytorch 2.3.1) <<<
This is the simplest and most straightfoward installation.
update.bat
run.bat
When the model installation is complete, you will have a folder somewhere on your hard drive called webui_forge_cu121_torch231
.
After your model file (.cpkt
or .safetensor
) is finished downloading, place it in the folder webui_forge_cu121_torch231/webui/models/Stable-diffusion
Double-click run.bat
to start the WebUI.
This will open a terminal window. It’s ready when you see the line Running on local URL: http://127.0.0.1:7860
This addres should open in your browser automatically. If it does not, go to the address in your web browser: http://127.0.0.1:7860
You’ll notice at the top there’s a toggle called “Checkpoint”.
You can use this to switch to any of the NSFW models you have placed in the stable-diffusion-webui/models/Stable-diffusion
folder.
You can go back to civitai.com and download as many models as you want. After placing models in the stable-diffusion-webui/models/Stable-diffusion
folder make sure you click the refresh button.
This is a file you’ll need to ensure that you don’t get washed-out colors.
Get the SDXL-VAE and put it in webui/models/VAE.
By now you can already start prompting and getting results.
However, for best results, I recommend picking up some LoRAs.
What are LoRAs? They’re smaller models trained on a specific subject (such as an art style, aesthetic filter, a character, a body type, a sex act etc).
Basically you use them in combination with the checkpoint model you downloaded in the first step. There are LoRAs for everything, and they are faster to train than regular models.
LoRAs are much smaller file sizes than checkpoint models. usually 100-200MB. You can use as many LoRAs as you want in a single prompt.
You activate your LoRAs by adding a special phrase inside your prompt. I will explain that in a bit.
I’m going to download the following LoRAs:
After downloading these .safetensor
files, place them in the folder webui/models/Lora
Almost there. This step is optional, but highly recommended because it will make your images higher quality.
Think of embeddings as a quick snapshot of a lot of concepts.
We normally use negative embeddings: by putting lots of negative concepts such as “bad quality image” in our negative prompts, we get better images.
Download these embeddings:
You’ll notice they match up with the name of our model. These were embeddings created specifically to go with our model, however that won’t always be the case. Most embeddings are general purpose, and can be used with many models.
Place the 2 .safetensors
files you downloaded into the folder webui/embeddings
.
By now you should have downloaded the following files:
webui/models/Stable-diffusion
webui/models/Lora
webui/models/Lora
webui/models/Lora
webui/embeddings
webui/embeddings
webui/models/VAE
We’re finally ready to get amazing images. Reload/restart your WebUI (scroll to the footer, click Reload UI).
Now in the prompt field, copy and paste this prompt:
score_9,score_8_up,score_7_up, girl with blonde hair, white, nude, slender, petite, missionary sex, seductive look, ecstasy, looking at viewer, motion blur, motion CyberRealisticPony_POSV1 <lora:AmateurStyle_v1_PONY_REALISM:0.5> <<lora:Rawfully_Stylish_v0.2:0.2> <lora:igbaddie-PN:0.3>
In the negative prompt field, copy and paste this prompt:
score_6, score_5, score_4, tan, piercing, 3d, render, cgi, doll, cartoon, illustration, painting, digital art, anime, fake, 3d modeling, old, bad anatomy, bad proportions, asymmetrical features, disfigured, deformed, malformed, unrealistic proportions, mutated, unnatural textures, fused fingers, extra limbs, extra fingers, distorted, twisted limbs, malformed hands, bad hands, bad fingers, bad eyes, bad teeth, blurry,
CyberRealistic_Negative_PONY-neg
Here’s some explanations:
Now change the following settings:
Then click Generate! Here’s what I get:
If you’re getting bad/ugly results, make sure you have the LoRA and embedding downloaded, placed in the proper folders, and used correctly in your positive and negative prompts. Also make sure you are using the DPM++ 2M SDE sampler and Karras schedule type method.
Now you can click the dice next to the Seed field to change the seed to -1, which just means “random seed every time”. This will produce a unique image every time you generate.
Here are some variations of our generation with random seed values:
Next, we’ll learn how to use a powerful tool called Hires Fix.
Hires fix not only allows us to upscale our image, but it can increase the image quality while doing so.
You’ll need to download the upscaler: 4xUltrasharp and put it in the folder webui/models/ESRGAN
Under the sampling method there’s a box labled Hires. fix. Check this fox and fill out the settings as followers:
You will also need to change the Sampling steps to 20. Click Generate:
As you can see, not only did we upscale the image to an impressive 1248*1824, the Hires fix has also fixed many small details, and enhanced the realism!
Here’s an important shortcut: instead of manually adjusting all your settings, copy this entire block into your Prompt field. Then press the blue button under the “Generate” button and the WebUI will look inside the prompt box, parse the settings, and automatically fill in everything in for you.
score_9,score_8_up,score_7_up, girl with blonde hair, pov, nude, wearing jeans, slender, petite, sitting on floor, looking up, licking cock, seductive look CyberRealisticPony_POSV1 <lora:AmateurStyle_v1_PONY_REALISM:0.5> <lora:Rawfully_Stylish_v0.2:0.2> <lora:igbaddie-PN:0.3>
Negative prompt: score_6, score_5, score_4, tan, piercing, 3d, render, cgi, doll, cartoon, illustration, painting, digital art, anime, fake, 3d modeling, old, bad anatomy, bad proportions, asymmetrical features, disfigured, deformed, malformed, unrealistic proportions, mutated, unnatural textures, fused fingers, extra limbs, extra fingers, distorted, twisted limbs, malformed hands, bad hands, bad fingers, bad eyes, bad teeth, blurry,
CyberRealistic_Negative_PONY-neg
Steps: 23, Sampler: DPM++ 2M SDE, Schedule type: Karras, CFG scale: 7, Seed: 882359932, Size: 832x1216, Model hash: 0bedcc2035, Model: cyberrealisticPony_v85, Denoising strength: 0.5, Hires Module 1: Use same choices, Hires CFG Scale: 5, Hires upscale: 1.5, Hires steps: 10, Hires upscaler: 4xUltrasharp_4xUltrasharpV10, Lora hashes: "AmateurStyle_v1_PONY_REALISM: 7ae6f7a90432, Rawfully_Stylish_v0.2: 9ebd469fe368, igbaddie-PN: eaca8735a04a", TI: "CyberRealisticPony_POSV1, CyberRealisticPony_POSV1", Version: f2.0.1v1.10.1-previous-603-ge5b34baa, Module 1: sdxl_vae
Then simply click Generate. Here’s what I get:
This data will appear under every generation, so you can save it or share it.
Here’s another trick: Go to webui/outputs/txt2img-image
s to find any image you’ve previously generated. Drag and drop the image into the prompt box. All of the metadata used to generate the image will appear. Press the blue button again and the WebUI will autofill the settings for you!
Check out these NSFW prompts and you can start experimenting with different prompts and settings!
Now let’s create some Hentai using an anime model.
Download the model NTR Mix, which is a very good anime model. Place it in your models folder webui/models/Stable-diffusion
.
Use the follow prompt and settings (same method as before, copy and paste this to your prompt field and then click the blue arrow underneath the Generate button):
masterpiece,best quality,amazing quality, absurdres,masterpiece,best quality,amazing quality,<lora:AIイラストおじさん_style_illustrious_goofy:1>1girl, nude, breasts, 1boy, animal ears, sex from behind, sex, hetero, nipples, black hair, completely nude, halo, large breasts, closed eyes, cat ears, twintails, open mouth, long hair, doggystyle, blush, tongue, ass, tongue out, barefoot, all fours, indoors, ribbon, bent over, bed, hair ribbon, standing, sweat, solo focus, extra ears, standing sex, vaginal, , saliva, toes, feet
Negative prompt: (low quality, worst quality:1.5),(bad anatomy),lowres,bad composition,fewer digits,text,username,logo,inaccurate eyes,extra digits,fewer digits,extra arms,disfigured,missing arms,too many fingers,fused fingers,missing fingers,
Steps: 28, Sampler: Euler a, Schedule type: Automatic, CFG scale: 5.5, Seed: 2636635600, Size: 832x1216, Model hash: eb6ccc05e5, Model: ntrMIXIllustriousXL_v40, Version: f2.0.1v1.10.1-previous-603-ge5b34baa, Module 1: sdxl_vae
You should get this result:
Let’s try another: same idea, copy all the data to your prompt box, and then click the blue arrow underneath the Generate button:
masterpiece, best quality, newest, absurdres, highres, full body, slime_girl, 1girl, blushing, smiling, beautiful body, nude, tall, slender, penis in vagina, transparent, missionary sex, (( kinta \(distortion\)))
Negative prompt: (low quality, worst quality:1.5), (bad anatomy), lowres, bad composition, fewer digits, text, username, logo, inaccurate eyes, extra digits, fewer digits, extra arms, disfigured, missing arms, too many fingers, fused fingers, missing fingers,
Steps: 20, Sampler: Euler a, Schedule type: Normal, CFG scale: 5, Seed: 1637532450, Size: 832x1216, Model hash: eb6ccc05e5, Model: ntrMIXIllustriousXL_v40, Version: f2.0.1v1.10.1-previous-603-ge5b34baa, Module 1: sdxl_vae
Result:
If you’re looking closely, you’ll see that the “score_9, score_8…” stuff is gone and replaced with “masterpiece,best quality,amazing quality…”. That’s because we are no longer using a Pony-based model but an Illustrious-based one.
That leads us to this topic:
Models are very resource-intensive to create. That’s why when a company or group produces a very good model, it’s much simpler to use that as a starting point for your training. Models that are popularly used as a starting point for training are called base models.
Here are the most popular base models:
Usually (but not always) people use the fine-tunes more than the base models, simply because they are better!
Different base models have different quirks and methods of prompting, which usually extend to fine-tunes based on them.
Merges/mixes are simply combinations of other models!
The models we used in this tutorial:
There’s a couple of different directions you can explore more in depth now. The sky is really the limit to what we can achieve, especially since these technologies are developing so fast!
How do we prompt better? Check out the prompting guide.
We’re using Forge WebUI in this guide. You might have heard of some others and want to try them out.
These are the most popular and most commonly used today:
You can actually produce short animations of all the images above!
You will need minimum 8GB VRAM with an NVIDIA GPU to do this.
In addition, you must cut your prompt and negative prompt to below 75 tokens (token count is displayed in the top right corner of prompts) for this to work.
Here is the full tutorial for animated GIFs with Stable Diffusion. (note: this is not the most up to date method. More articles coming soon)
That’s all for this one. Here’s a list of articles on BetterWaifu, so it easier to find what you are looking for.
Also check out:
I also highly recommend experimenting with combinations of popular LoRAs and models and seeing what you get:
Happy hentai prompting!
Complicated desired outputs = Complex prompts with mix of natural language and tags Complex prompt structure and order: Simple Prompt Example: Resu...
This guide was created to bring inspiration to this visual vocabulary. There is a short description for each pose so that you can connect the word ...
GPT-4o, released on March 25, 2025 went viral soon after release, bolstered by the Studio Ghibli animation style trend. Most people are curious if ...
This guide is intended to get you generating quality NSFW images as quickly as possible with Automatic1111 Stable Diffusion WebUI. We’ll be u...