![How to make NSFW AI Stable Diffusion animations and GIFs [AnimateDiff Hentai Tutorial]](https://imgproxy-prod-ovmn5ne2aa-ue.a.run.app/snRlDUeud66yWBebE3KY9c2S9d_GzjS7UGUgSoJfTE8/resize:fit:2048:0/sharpen:0.5/plain/https://betterwaifus.mystagingwebsite.com/wp-content/uploads/2024/06/image-15.png@webp)
How to make NSFW AI Stable Diffusion animations and GIFs [AnimateDiff Hentai Tutorial]
By gerogero
Updated: July 7, 2024
Introduction
Animatediff is the most well known animation extension for Stable Diffusion, responsible for most NSFW GIFs you’ll see floating around.
You must already have AUTOMATIC1111 installed to use it (ComfyUI will work too but that’s beyond the scope of this tutorial)
Here’s an example of the type of work you’ll be able to produce by following this tutorial:
![](https://betterwaifus.mystagingwebsite.com/wp-content/uploads/2024/07/image-15.png)
How to install:
- Click on the Extensions tab in A1111, then slick on Available subtab
- Click the big orange “Load from:” button
- In the searchbar search for “AnimateDiff”
- When the row appears, click Install
![](https://betterwaifus.mystagingwebsite.com/wp-content/uploads/2024/07/image.jpeg)
Download these motion modules, which are models that are responsible for applying the motion to the image:
You want the following 2 files: “mm_sd_v14.ckpt” and “mm_sd_v15_v2.ckpt”
![](https://betterwaifus.mystagingwebsite.com/wp-content/uploads/2024/07/image-2.jpeg)
move downloaded files to “StableDiffusion Direcotry\extensions\sd-webui-animatediff\model”
close and restart “webui-user” then we can see AnimateDiff panel
How to use
The simplest way to make an animation is
- write prompt as generating image, set width, height to 512
- select one motion module (select mm_sd_v15_v2)
- turn on Enable AnimateDiff and MP4
- set Number of frames to 32, FPS to 16 and click Generate button :)
![](https://betterwaifus.mystagingwebsite.com/wp-content/uploads/2024/07/image-5.jpeg)
After finish you can find MP4 file at StableDiffusion\outputs\txt2img-images\AnimateDiff
( ComfyUI User:ComfyUI AnimateDiff Workflow )
Optimal parameters
Here are parameters I usually set for better results
—————————————————————————————-
“Number of frames“:Animation length, I set to 30
“FPS“:Frames Per Second, play speed, I set to 30 (or lower)
then generate 30/30=1 second animation
—————————————————————————————-
Extend Animation Length (optional)
Since a 1 second animation is not enough, we’ll need to extend it.
we require to install ”Deforum“ (for extend animation length)
![](https://betterwaifus.mystagingwebsite.com/wp-content/uploads/2024/07/image-3.jpeg)
search “Deforum” in extension and install “deforum-for-automatic1111-webui”
close and restart webui-user, then we can go on
—————————————————————————————-
![](https://betterwaifus.mystagingwebsite.com/wp-content/uploads/2024/07/image-1.jpeg)
”Frame Interpolation“: SlowDown Switch, set to “FILM” (turn on)
only after install deforum, this can work
”Interp X“:SlowDown Multiplier, set to 10
then slow down 10 times, get 30/30×10=10 seconds animation
Then the animation is Long enough
other options can use default
A Beginner Can End Here
Troubleshooting
1. If the animation changed in the middle, then go to “Setting” panel, check on “Pad prompt/negative prompt to be same length” option in “Optimizations”
![](https://betterwaifus.mystagingwebsite.com/wp-content/uploads/2024/07/image-4.jpeg)
2. AnimateDiff is conflict with ADetailer, if you have to use adetailer, you need to close and restart webui-user.bat after once generation
3. Model “mm_sd_v15v2.ckpt” seems to exist issue, sometimes “mm_sd_v14.ckpt” can generate better result. there’s stable version model which can reduce the animation’s variety
4. Better generate less than 512×768 animation, otherwise errors will occur, it’s model issue regardless of VRAM
Related Posts
![](https://imgproxy-prod-ovmn5ne2aa-ue.a.run.app/FFCn23y2p9vBphO6NhlZ3zfVHGwgnJK8zEl4r3kObyQ/resize:fit:2048:0/sharpen:0.5/plain/https://betterwaifus.mystagingwebsite.com/wp-content/uploads/2024/07/image-17.png@webp)
[Tutorial] How to run FLUX.1 AI model for free (NSFW friendly)
In August 2024, a team of ex-Stability AI developers announced the formation of Black Forest Labs, and the release of their first AI model, FLUX.1,...
![](https://imgproxy-prod-ovmn5ne2aa-ue.a.run.app/hVkraWR6VLxDUFjU_TE5R2WpW3XxtPi6R0Me_SXo6Ao/resize:fit:2048:0/sharpen:0.5/plain/https://betterwaifus.mystagingwebsite.com/wp-content/uploads/2023/04/6C011A2690A52405AD11C9C956C7D3D038428213C204A63496D526FC3213E329-1.jpeg@webp)
Pony Diffusion XL Complete Beginner’s Guide (NSFW Focus)
Optimal settings for Pony Diffusion XL: Settings I use Triggers: You can see the triggers in the area with model information. Generally, I add...
![](https://imgproxy-prod-ovmn5ne2aa-ue.a.run.app/jG0pEieubngrY1_iLszSMyf3_PCy7dpyBjHzdwzcwcI/resize:fit:2048:0/sharpen:0.5/plain/https://betterwaifus.mystagingwebsite.com/wp-content/uploads/2023/12/a.webp@webp)
Stable Diffusion NSFW- Advanced Prompt Techniques
Introduction Hi there! Here are some notes about how I structure your prompts to get better hentai generations. This guide is the result of persona...
![](https://imgproxy-prod-ovmn5ne2aa-ue.a.run.app/Hfy-9oKgv48bIq_mzHMue5h4jBhXCxpqr8dEPjv7fuo/resize:fit:2048:0/sharpen:0.5/plain/https://betterwaifus.mystagingwebsite.com/wp-content/uploads/2024/06/image.png@webp)
[Tutorial] Stable Diffusion Nudify (Clothing to Nude)
You should already have Automatic1111 installed and updated. Check the beginner’s guide if not.You will need the following models to follow a...