Stablediffusion Dynamicprompts random

メモ

おすすめモデル
・chikmix
・chilloutmix
・brav7
・cityedgemix

# ポジ

```
(dynamic angle),((18 years old over)),(Best quality, 8k, 32k),{shirt/t-shirt|short-sleeved shirt|dress shirt|sweater|blouse|tank top|camisole|bra top|jogging bra|fleece|turtleneck|polo shirt|denim shirt|cold shoulder top|tunic blouse|tunic sweater|tube tops|chiffon blouse|lace tops|sweat shirt|off-the-shoulder top|one-shoulder top|crop top|cropped knit|mock neck top|sleeveless top|v-neck sweater|bandeau top|smock blouse|button-up shirt|corset top|pullover|bell sleeve|henley shirt|Peter Pan collar|notched collar},{Pixie cut|Long layers|Beach waves|Blunt cut|Side-swept bangs|Messy bun|French braid|Top knot|Shaggy layers|Lob (Long bob)|Updo|Chignon|Braided crown|High ponytail|Waterfall braid|Messy fishtail braid|Sock bun|Half-up, half-down|Feathered layers|Mermaid waves|Dutch braid|High bun|Layered bob|Messy pixie cut|Slicked back|Side part|French twist|Crown braid|Sleek straight},1girl,looking down,upper body,(Best quality, 8k, 32k, Masterpiece, UHD:1.2),Japanese
```

# ネガ

```
hat,walter mark,nsfw ng_deepnegative_v1_75t, ((badhandv4)), (worst quality:2), (low quality:2), (normal quality:2), lowres, bad anatomy, bad hands, normal quality, ((monochrome)), ((grayscale)) watermark,nsfw,worst quality,low quality,bad anatomy
```

ここまでで、アップの女性を生成できる。

![00077-188097519.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/31338/480b6333-c80d-4e36-9df9-da2b9c118f26.png)


# アウター

```
{Parka/hoodie|Down jacket|Denim jacket|Leather jacket|Cardigan|blouson|vest|Down vest|jumper|Tailored jacket|trench coat|Pea coat|camel coat|light overcoat/top coat|car coat|chesterfield coat|Windbreaker|Fleece jacket|Field jacket|Overcoat|hoodie jacket|Military jacket|Cape jacket|quilted jacket|Ski jacket|Winter coat|Raincoat|Performance jacket|Wool coat|Bomber jacket|Padded jacket|Poncho|duffle coat|fur coat|cloak|anorak}
```

# ヘアー
```
{Pixie cut|Long layers|Beach waves|Blunt cut|Side-swept bangs|Messy bun|French braid|Top knot|Shaggy layers|Lob (Long bob)|Updo|Chignon|Braided crown|High ponytail|Waterfall braid|Messy fishtail braid|Sock bun|Half-up, half-down|Feathered layers|Mermaid waves|Dutch braid|High bun|Layered bob|Messy pixie cut|Slicked back|Side part|French twist|Crown braid|Sleek straight}
```

# インナー
```
{shirt/t-shirt|short-sleeved shirt|dress shirt|sweater|blouse|tank top|camisole|bra top|jogging bra|fleece|turtleneck|polo shirt|denim shirt|cold shoulder top|tunic blouse|tunic sweater|tube tops|chiffon blouse|lace tops|sweat shirt|off-the-shoulder top|one-shoulder top|crop top|cropped knit|mock neck top|sleeveless top|v-neck sweater|bandeau top|smock blouse|button-up shirt|corset top|pullover|bell sleeve|henley shirt|Peter Pan collar|notched collar}
```

自分は以下で生成している。

ポジ
```
(upper body),(looking at viewer),__Fashion__,__JapaneseDoll__,__KoreanDoll__,((:d)),((18 years old over)),dynamic angle,(Best quality, 8k, 32k, Masterpiece, UHD:1.2),1girl,japanese model
```

ネガ
```
short hair,hat,walter mark,nsfw ng_deepnegative_v1_75t, ((badhandv4)), (worst quality:2), (low quality:2), (normal quality:2), lowres, bad anatomy, bad hands, normal quality, ((monochrome)), ((grayscale)) watermark,nsfw,worst quality,low quality,bad anatomy
```





インスコされており、
Stablediffusion > Extensions
`sd-dynamic-prompts` がオンになっていることが条件



ランダムに呪文唱えたい

"C:\Users\[your]\stable-diffusion-webui\extensions\sd-dynamic-prompts\wildcards\Hair.txt"

を作成

```
Bob
Pixie cut
Long layers
Beach waves
Blunt cut
Side-swept bangs
Messy bun
French braid
Top knot
Shaggy layers
Lob (Long bob)
Updo
Chignon
Braided crown
High ponytail
Waterfall braid
Messy fishtail braid
Sock bun
Half-up, half-down
Feathered layers
Mermaid waves
Dutch braid
High bun
Layered bob
Messy pixie cut
Slicked back
Side part
French twist
Crown braid
Sleek straight
```

プロンプトに

```
__Hair__,__Fashion__,((:d)),((18 years old over)),(dynamic angle),((:d)),upper body,(Best quality, 8k, 32k, Masterpiece, UHD:1.2),1girl
```

と指定する。
これで、Hair.txtの中身をランダムに使ってくれる。
Loraとかも同じやり方でいける。


# 男性出力

```
__Boyhair__,__Boyhige__,__Boyfashion__,{0.5:: happy | 0.1:: Sad | 0.3:: Furious | 0.1:: Crying},(japanese),boy01, photographed on a Nikon Z7 II Mirrorless Camera,120mm F/4 wide-angle,best quality, masterpiece, ultra detailed, cowboy shot, 1boy, black eyes, lips, long sleeves, male focus, realistic,  <lora:Tina帅哥1215:0.7>,,simple background,{0.5:: happy | 0.1:: Sad | 0.3:: Furious | 0.1:: Crying},
{0.5:: <lora:nwsj_20230716022719:0.2> | 0.1:: <lora:nwsj_20230716022719:0.3> | 0.3:: <lora:nwsj_20230716022719:0.4> | 0.1:: <lora:nwsj_20230716022719:0.5>}
```

nega
```
(worst quality, low quality, illustration, 3d, 2d, painting, cartoons, sketch), tooth, open mouth,
```