---
# System prepended metadata

title: Stable Diffusion 終極魔導百科
tags: [Stable Diffusion]

---

---
tags: Stable Diffusion
description: Stable Diffusion 終極魔導百科
---
# Stable Diffusion 終極魔導百科
> Stable Diffusion Web UI
* [GitHub](https://github.com/AUTOMATIC1111/stable-diffusion-webui)
* LICENSE [AGPL-3.0](https://www.gnu.org/licenses/agpl-3.0.en.html)

# 提詞咒語 Prompt

## 反向提詞 Negative Prompt

### 模組 Embeddings

* [EasyNegative](https://civitai.com/models/7808)  
反提詞：`easynegative,`

* [Deep Negative V1.x](https://civitai.com/models/4629)  
反提詞：`ng_deepnegative_v1_75t,`

* [Bad Hands](https://huggingface.co/yesyeahvh/bad-hands-5/blob/main/bad-hands-5.pt)  
反提詞：`bad-hands-5,`

* [Bad artist Negative embedding](https://civitai.com/models/5224)  
反提詞：`sketch by bad-artist,painting by bad-artist,photograph by bad-artist,`  
反提詞：`sketch by bad-artist-anime,painting by bad-artist-anime,photograph by bad-artist-anime,`

> 模組放置資料夾：`embeddings/`

### 提詞 Prompt

**disabled body**  
反提詞：`(disabled body:2),`  
作用於：減少殘缺肢體產生

**halftone**  
反提詞：`(halftone:2),`  
作用於：半色調修正

**pixels**  
反提詞：`(pixels:2),`  
作用於：減少嘈雜的像素點（減少雜訊）

**asymmetric**  
反提詞：`(asymmetric:1.5),`  
作用於：減少不對稱問題

###### 標準版（二次元特化）
```
ng_deepnegative_v1_75t,easynegative,bad-hands-5,sketch by bad-artist-anime,painting by bad-artist-anime,photograph by bad-artist-anime,
(disabled body:2),(halftone:2),(pixels:2),(asymmetric:1.5),nsfw,
```

###### 加強版（二次元特化）
```
ng_deepnegative_v1_75t,easynegative,bad-hands-5,sketch by bad-artist-anime,painting by bad-artist-anime,photograph by bad-artist-anime,
(disabled body:2),(halftone:2),(pixels:2),extra hands,missing fingers,broken hand,more than two hands,well proportioned hands,more than two legs,unclear eyes,missing arms,mutilated,extra limbs,extra legs,cloned face,fused fingers,extra digit,fewer digits,extra digits,.jpeg,(artifacts:1.5),(signature:1.5),(watermark:1.5),(username:1.5),mirror image,Vague,paintings,sketches,(worst quality:2),(low quality:2),(normal quality:2),lowres,normal quality,((monochrome)),((grayscale)),skin spots,acnes,skin blemishes,age spot,manboobs,backlight,(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),(more than 2 nipples: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,(futa:1.1),bad body,(asymmetric:1.5),nsfw,
```

## 構圖提詞 Prompt

### 畫質
起手式：  
`masterpiece,best quality,highres,highly detailed,an extremely delicate and beautiful,HDR,`
> 傑出的作品：`masterpiece,`  
> 最高品質：`best quality,`  
> 高解析度：`highres,`  
> 細節增強：`highly detailed,`  
> 精緻又美麗：`an extremely delicate and beautiful,`  
> 高動態成像：`HDR,`

起手勢 Plus：  
`(8k,RAW photo,best quality,masterpiece:1.2),(depth of field),highres,highly detailed,absurdres,HDR,`
> 傑出的作品：`masterpiece,`  
> 最高品質：`best quality,`  
> 高解析度：`highres,`  
> 細節增強：`highly detailed,`  
> 高動態成像：`HDR,`

### 鏡頭

#### 景深  
* `perspective,`

#### 運鏡方式
* CG鏡頭：`dutch angle,`
* 電影鏡頭：`cinematic angle,`
* 牛仔鏡頭：`cowboy shot,` _膝蓋以上, 著重腰臀部_
* 廣角鏡：`wide shot,`
* 超廣角鏡：`very wide shot,`
> XYZ測試用：`dutch angle,cinematic angle,cowboy shot,wide shot,very wide shot`

#### 運鏡角度
> 不建議與運鏡方式中包含`angle`的一起使用
* 由上往下：`from above,`
* 由下往上：`from below,`
* 側寫：`from side,`
* 背影：`from behind,`
> XYZ測試用：  
> `from above,from below,from side,from behind`

#### 鏡頭焦點
* 全身：`full body,`
* 腳部以上：`lower body,` _7分身, 容易無頭_
* 腰部以上：`feet out of frame,` _上半身, 容易無頭_
* 胸部以上：`upper body,`
* 肩部以上：`portrait,` _肖像_
* 頸部以上：`face,` _臉部特寫_
* 臉部超特寫：`close up,` _超近距離臉部, 尤其眼睛_
* 強調腳部：`feet,`
> XYZ測試用：  
> `full body,lower body,feet out of frame,upper body,portrait,face,close up,feet`

### 目光
* 看向某人：`looking at another,`
* 回眸：`looking back,`
* 看鏡頭：`looking at viewer,`
* 向上看：`looking up,`
* 向下看：`looking down,`
* 看向遠處：`looking afar,`
* 直視某處：`looking ahead,`
> XYZ測試用：  
> `looking at another,looking back,looking at viewer,looking up,looking down,looking afar,looking ahead`

# 構圖引擎 Composition Engine

## 大模型 CheckPoint 

## 渲染器 Vae

* [kl-f8-anime2](https://huggingface.co/hakurei/waifu-diffusion-v1-4/blob/main/vae/kl-f8-anime2.ckpt)  
一個很泛用的VAE

## 小模型 Lora 

> [Stable Diffusion 咒術大全之 Lora 篇 - HackMD](https://hackmd.io/M6tEZHFVSVWGU3tO-z2TTg)


# 擴充元件 Extensions
> 安裝方式  
> 請到擴充功能（Extensions） > 從網址安裝（Install from URL）  
> 在 擴充功能的 git 倉庫網址（URL for extension's git repository）貼上網址後  
> 按下安裝（Install）等待安裝完成, 並重新載入UI即可  
> （不懂如何重新載入, 可以把小黑窗關掉重開）

## 性能優化

* [MultiDiffusion](https://multidiffusion.github.io) 算法及 VAE 分塊  
[Tiled Diffusion](https://github.com/pkuliyi2015/multidiffusion-upscaler-for-automatic1111.git)

## 介面（UI）體驗

* 自動提詞補全  
[Tag Autocompletion](https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git)

* 動態提詞&提詞卡  
[Dynamic Prompts](https://github.com/adieyal/sd-dynamic-prompts.git)

* 雙語系顯示  
[Bilingual Localization](https://github.com/journey-ad/sd-webui-bilingual-localization.git)

* 常用參數記錄  
[Preset Utils](https://github.com/Gerschel/sd_web_ui_preset_utils.git)

## 色彩修正

* AI色盲處理  
[Cutoff - Cutting Off Prompt Effect](https://github.com/hnmr293/sd-webui-cutoff.git)

## 套件管理

* Civitai 套件處理  
[Civitai Helper](https://github.com/butaixianran/Stable-Diffusion-Webui-Civitai-Helper.git)

## 其他

* 美學評分  
[Aesthetic Image Scorer](https://github.com/tsngo/stable-diffusion-webui-aesthetic-image-scorer.git)  
Windows 下需另外安裝相依套件 [FileMeta](https://github.com/Dijji/FileMeta/releases)