
By gerogero
Updated: February 7, 2026
本指南旨在讓您快速生成高品質的 NSFW 圖像,使用 Automatic1111 Stable Diffusion WebUI。 我們將使用一些 Stable Diffusion 1.5 模型作為示例,以及一個 Pony Diffusion 模型。
為什麼選擇 A1111?因為它是最常用的 Stable Diffusion WebUI。然而,它的更新速度已經放緩,您可能更適合使用一個更新頻繁的 WebUI。
在本指南中,我們將生成以下圖像:



遵循本指南的優勢在於您將擁有一個非常可自定義且免費的設置。
請注意,這個網站上有一個免費生成器,可以讓您預覽我們在本指南中將要做的事情:
這是我無恥的宣傳。這確實是無恥,因為我們的生成器真的那麼好。我知道你不相信我……你只需自己試試。
現在讓我們開始吧!
Civitai.com 是 NSFW AI 模型的家。Civitai 只會在您擁有帳戶的情況下顯示 NSFW 模型。
註冊一個帳戶,然後點擊導航欄中的眼睛。檢查所有評級並取消勾選「模糊成熟內容 (R+)」
現在您可以查看所有模型,包括 NSFW 模型。
作為示例,我將下載chilloutmix,這是一個很棒的 NSFW 模型。
這是我們將用來生成圖像的介面。
確保滿足所需的依賴項,並按照以下指示進行:
或者,使用在線服務(如 Google Colab):
sd.webui.zip並解壓縮其內容。update.bat。run.bat。有關更多詳細信息,請參見在 NVidia GPU 上安裝和運行
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git。webui-user.bat。# 基於 Debian: sudo apt install wget git python3 python3-venv libgl1 libglib2.0-0 # 基於 Red Hat: sudo dnf install wget git python3 gperftools-libs libglvnd-glx # 基於 openSUSE: sudo zypper install wget git python3 libtcmalloc4 libglvnd # 基於 Arch: sudo pacman -S wget git python3
如果您的系統非常新,您需要安裝 python3.11 或 python3.10:
# Ubuntu 24.04 sudo add-apt-repository ppa:deadsnakes/ppa sudo apt update sudo apt install python3.11 # Manjaro/Arch sudo pacman -S yay yay -S python311 # 不要與 python3.11 包混淆 # 僅適用於 3.11 # 然後在啟動腳本中設置環境變量 export python_cmd="python3.11" # 或在 webui-user.sh 中 python_cmd="python3.11"
wget -q https://raw.githubusercontent.com/AUTOMATIC1111/stable-diffusion-webui/master/webui.sh
或者只需在您想要的地方克隆存儲庫:
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui
webui.sh。webui-user.sh以獲取選項。在這裡找到安裝說明這裡。
在您的模型文件(.cpkt 或 .safetensor)下載完成後,將其放入文件夾stable-diffusion-webui/models/Stable-diffusion
run.bat啟動webui-user.sh啟動./webui.sh啟動這將打開一個終端窗口。當您看到行Running on local URL: http://127.0.0.1:7860時,它已準備好。
這個地址應該會自動在您的瀏覽器中打開。如果沒有,請在您的網頁瀏覽器中訪問該地址:http://127.0.0.1:7860

您會注意到在頂部有一個名為「檢查點」的切換開關。
您可以使用此功能切換到您放置在stable-diffusion-webui/models/Stable-diffusion文件夾中的任何 NSFW 模型。
現在您可以返回 civitai.com 下載任意多的模型。在將模型放入stable-diffusion-webui/models/Stable-diffusion文件夾後,請確保單擊刷新按鈕。
到目前為止,您已經可以開始提示並獲得結果。
但是,為了獲得最佳結果,我建議您獲取一些 LoRAs。
什麼是 LoRAs?它們是針對特定主題(例如藝術風格、美學濾鏡、角色、身體類型、性行為等)訓練的小型模型。
基本上,您將它們與您在第一步下載的檢查點模型結合使用。所有事物都有 LoRAs,它們的訓練速度比常規模型快。
您可以通過在提示中添加特殊短語來激活您的 LoRAs。稍後會詳細說明。
我將下載以下 LoRA breastInClass,這是一個創建更好比例身體的 LoRA。
下載此.safetensor文件後,將其放入文件夾webui/models/Lora
這一步是可選的,但強烈建議,因為它將使您的圖像質量更高。
將嵌入視為大量概念的快速快照。
我們通常使用負嵌入:通過在我們的負提示中放入大量負面概念,例如「糟糕的質量圖像」,我們可以獲得更好的圖像。
下載名為easynegative的嵌入。然後將此文件放入文件夾webui/embeddings。
到目前為止,您應該已經下載了以下文件:
stable-diffusion-webui/models/Stable-diffusionstable-diffusion-webui/models/Lorastable-diffusion-webui/embeddings重新加載/重啟您的 WebUI(滾動到頁腳,單擊重新加載 UI)。
在提示字段中,複製並粘貼此提示:
8k, RAW photo, highest quality, masterpiece, High detail, RAW color photo, professional close-up photo, (realistic, photo realism:1. 37), (highest quality), (best shadow), girl sitting by the pool side ,nude ,(naked:1.2), blonde, spreading pussy, (spreading thigh:1.4), butterfly legs, photorealistic, looking at viewer, beautiful detailed eyes, light on face, (fullbodyshot:1.1),Particularly strong light, Feminine Expressions, (small breast:1.4), skinny body, white skin, ((erotic, sexy, horny)) ultra high resolution, highly detailed CG unified 8K wallpapers, physics-based rendering, cinematic lighting, ((good anatomy:1.2)),detailed areolas, detailed nipples, detailed breasts, (extremely detailed pussy),detailed face <lora:breastinclassBetter:0.2>
在負提示字段中,複製並粘貼此提示:
easynegative, muscular, (suntan:2), (sleeves:2), (tattoo:2), (sunglasses:2), (inverted nipples), (mutated:2), (worst quality:2), (low quality:2), (normal quality:2), lowres, blurry, ((nasolabial folds):1.2), 3d, anime, cartoon, cg, comic, drawing, bad detailed background, cropped, grayscale, jpeg artifacts, monochrome, non-linear background, out of frame, paintings, poorly drawn, semi-realistic, sepia, sketches, unclear architectural outline, asymmetric eyes, bad anatomy, cloned, crooked teeth, deformed, dehydrated, disfigured, double nipples, duplicate, extra arms, extra fingers, extra legs, extra limbs, long fingers, long neck, malformed limbs, missing arms, missing legs, missing teeth, more than five fingers on one hand:1.5, more than two arm per body:1.5, more than two leg per body:1.5, mutated, mutation, mutilated, odd eyes, ugly, (artist name:2), (logo:2), (text:2), (watermark:2), acnes, age spot, dark spots, fat, fused, giantess, glans, mole, obesity, skin blemishes, skin spots, animal ears, elf-ears, earrings, childish, morbid
對於上述內容的一些說明:
更改以下設置:
然後單擊生成!這是我得到的:


如果您得到糟糕/醜陋的結果,請確保您已下載 LoRA 和嵌入,並將其放置在正確的文件夾中,並在您的正面和負面提示中正確使用。此外,請確保您使用的是 DPM++ 2M Karras 取樣方法。
我們在這裡沒有做任何花哨的事情。我們唯一改變的默認設置是增加高度、更改取樣方法並設置種子值。
您還可以單擊種子字段旁邊的骰子將種子更改為 -1,這僅意味著「每次隨機種子」。這將在每次生成時產生唯一的圖像。
以下是我們使用隨機種子的提示的一些變體:



接下來,讓我們嘗試一個性行為。
這裡有一個快捷方式:與其逐個複製每個提示並手動調整設置,不如將整個區塊複製到您的提示字段中。按下「生成」按鈕下方的藍色按鈕,AUTOMATIC1111 將自動填充提示和設置。
(1boy, 1girl, penetration,girl lying on back, spread legs:1.6) (a girl having sex in a missionary position:1.2) (missionary sex, sex, penis in pussy, pussy out, lying in bed, orgasm face, blush, sweaty) beautiful, masterpiece, best quality, extremely detailed face, perfect lighting (skinny) ((puffy eyes)),small breasts, swept bangs,walking,outdoors,sunshine,light_rays,fantasy,rococo,hair_flower,low tied hair, smile,half-closed eyes, ,dating,(Nude), nsfw, (heavy breathing:1.2) ,tears, crying, blush, wet, sweat, <lora:breastinclassBetter:0.1>
Negative prompt: paintings, sketches, (worst quality:2), (low quality:2), (normal quality:2), lowres, normal quality, ((monochrome)), ((grayscale)), skin spots, acnes, skin blemishes, age spot,(ugly:1.331), (duplicate:1.331), (morbid:1.21), (mutilated:1.21), (tranny:1.331), mutated hands, (poorly drawn hands:1.331), blurry, (bad anatomy:1.21), (bad proportions:1.331), extra limbs, (disfigured:1.331), (missing arms:1.331), (extra legs:1.331), (fused fingers:1.61051), (too many fingers:1.61051), (unclear eyes:1.331), bad hands, missing fingers, extra digit, bad body,pubic
Steps: 25, Sampler: DPM++ 2M Karras, CFG scale: 7, Seed: 1410211169, Size: 512x768, Model hash: fc2511737a, Model: chilloutmix_NiPrunedFp32Fix, Lora hashes: "breastinclassBetter: d62716438a56", Version: v1.6.0

然後簡單地單擊生成。這是我得到的:

這是使用相同提示但隨機種子的一些其他生成:



不同的模型在不同的事情上表現更好。您應該查看這個 NSFW 模型列表以獲取其他建議。
Chilloutmix 實際上在性方面的表現並不出色,這就是為什麼這個提示會產生不可預測的結果。上面的結果是精心挑選的。
現在讓我們使用動漫模型創建一些 Hentai。
下載模型DarkSushiMix,這是一個非常好的動漫模型。將其放入您的模型文件夾stable-diffusion-webui/models/Stable-diffusion。
確保您在 Stable Diffusion 檢查點字段中選擇此模型:(如果您看不到它,請單擊藍色刷新按鈕)。

使用以下提示和設置(與之前相同的方法,將此複製並粘貼到您的提示字段中,然後單擊生成按鈕下方的藍色箭頭):
masterpiece, best quality, beautiful lighting, (1boy, 1girl, penetration, spread legs, a girl having sex in a missionary position:1.2) (sex, penis in pussy, pussy out, lying in bed, orgasm face, blush, sweaty) nude nsfw, long hair, skinny, wide hips, medium breasts,
Negative prompt: paintings, sketches, (worst quality:2), (low quality:2), (normal quality:2), lowres, normal quality, ((monochrome)), ((grayscale)), skin spots, acnes, skin blemishes, age spot,(ugly:1.331), (duplicate:1.331), (morbid:1.21), (mutilated:1.21), (tranny:1.331), mutated hands, (poorly drawn hands:1.331), blurry, (bad anatomy:1.21), (bad proportions:1.331), extra limbs, (disfigured:1.331), (missing arms:1.331), (extra legs:1.331), (fused fingers:1.61051), (too many fingers:1.61051), (unclear eyes:1.331), bad hands, missing fingers, extra digit, bad body,pubic
Steps: 25, Sampler: DPM++ 2M Karras, CFG scale: 7, Seed: 338664335, Size: 512x768, Model hash: cca17b08da, Model: darkSushiMixMix_225D, Version: v1.6.0
您應該得到這個結果:

一個 Hentai 指南不會完整,若沒有 Pony Diffusion 的部分。
Pony Diffusion 起初是一個可以畫小馬角色(以及它們的色情作品)的模型。
創建者意識到,添加其他內容,包括毛茸茸的藝術和動漫,使模型變得更好。因為它訓練了許多小眾癖好和性姿勢,它在 Hentai 和結合癖好方面的表現超過了大多數其他現有模型。
如今,它的使用遠遠超出了小馬色情;大多數人用它來生成動漫和風格化的色情作品。
現在,您可以使用基本模型Pony Diffusion XL或基於它訓練的自定義模型。今天我們將使用一個名為 Pony Realism 的模型,它是更好的現實小馬模型之一。
將下載的模型放入您的模型文件夾stable-diffusion-webui/models/Stable-diffusion。
然後下載以下 LoRAs:
與之前相同,將 LoRAs 放入文件夾stable-diffusion-webui/models/Lora。
使用以下提示和設置(與之前相同的方法,將此複製並粘貼到您的提示字段中,然後單擊生成按鈕下方的藍色箭頭,這將自動設置正確的模型、提示和設置):
score_9,score_8_up,score_7_up,score_6_up, 1girl, on bed, medium breasts, elsa frozen, long braid over shoulder, platinum blonde, tiny waist, exposed breasts, close up, head on pillow, pov, pussy, wet spot, Ice blue panties, grool, (pov hands removing panties, /male hands removing panties/), petite, <lora:Fant5yP0ny:0.6> <lora:Rawfully_Stylish_v0.2:0.6>
Negative prompt: score_6, score_5, score_4, pony, gaping, censored, furry, child, kid, chibi, 3d, photo, monochrome, elven ears, anime, multiple cocks, extra legs, extra hands, mutated legs, mutated hands, open mouth, closed eyes, big man, high man, muscular man, muscular hands, face,
Steps: 30, Sampler: Euler a, Schedule type: Automatic, CFG scale: 7, Seed: 28174397, Size: 832x1216, Model hash: 059934ff58, Model: ponyRealism_v21MainVAE, Clip skip: 2, Lora hashes: "Fant5yP0ny: a493698332df, Rawfully_Stylish_v0.2: 9ebd469fe368", Version: v1.9.4
您將得到類似這樣的結果:


Complicated desired outputs = Complex prompts with mix of natural language and tags [postcard=89ntmto] Complex prompt...

This guide was created to bring inspiration to this visual vocabulary. There is a short description for each pose so ...

GPT-4o, released on March 25, 2025 went viral soon after release, bolstered by the Studio Ghibli animation style tren...

This tutorial will provide a comprehensive guide on using Tencents Hunyuan Video model in ComfyUI for text-to-video g...

