![](https://i0.wp.com/note.lilish.com/wp-content/uploads/2023/03/serif_ic2.png?resize=100%2C100&ssl=1)
どうして…どうして…📞🐱
企業PBWで学んだ精神を胸に「X/Y/Z plot」という便利機能で作ってみました。
▼参照先
Gigazine – 画像生成AI「Stable Diffusion」でプロンプト・呪文やパラメーターを変えるとどういう差が出るか一目でわかる「Prompt matrix」と「X/Y plot」を「Stable Diffusion web UI(AUTOMATIC1111版)」で使う方法まとめ
もくじ
オッサン召喚:使用パラメータ
40代を目標に「40 years old」を強調。最初の生成で2人出てしまったので「solo」追加。バストアップ~ウエストアップで見たいので「upper body」、シンプルな白背景にしておきたいので「white background」を投入。クオリティアップ系の呪文は敢えて渇愛。
ネガティブプロンプトは「EasyNegative」+α。こちらも最小限。
((solo)), 1boy, (((guy, man, male, 40 years old))), upper body, white background,
Negative prompt: EasyNegative, (((girl))), text
- Steps: 25
- CFG scale: 7
- Size: 512×768
- Clip skip: 2
モデルファイルによって入れた方が良いパラメータ、外した方が良いパラメータなどがあるようなのだけど今回は同一条件で統一。
ほんとにパラメータや環境次第で生成結果が変わるので(呪文の順番、サイズ、グラボの種類すら影響する)その辺りを踏まえた上で!
X Type(モデルファイル)
- 7th_anime_v2_G.safetensors [478e33afb3]
- 7th_anime_v3_B.safetensors [b000309cca]
- 7th_anime_v3_C.safetensors [f6957e654e]
- AB4.5-v1.0-fp16.safetensors [f5f7cc9930]
- AC0.2-v1.0-fp16.safetensors [5a23f6ba50]
- anything-v4.5-pruned-fp16.ckpt [f773383dbc]
- AOM3.safetensors [d124fc18f0]
- AOM3A1.safetensors [f303d10812]
- AOM3A3.safetensors [eb4099ba9c]
- Cinnamon_mix_fixed.safetensors [4be865d9fa]
- Counterfeit-V2.5_fp16.safetensors [71e703a0fc]
- LimeMixV2-fp16.safetensors [539a8ced7a]
Y Type(サンプラー)
- DPM++ 2S a Karras
- DPM++ 2M Karras
- DPM++ SDE Karras
- DDIM
Z Type
指定なし生成結果!
![](https://i0.wp.com/note.lilish.com/wp-content/uploads/2023/03/xyz_grid_30old.jpg?resize=728%2C364&ssl=1)
![](https://i0.wp.com/note.lilish.com/wp-content/uploads/2023/03/serif_ic2.png?resize=100%2C100&ssl=1)
微妙にセンシティブすれすれなのも混ざっている!(笑)
男キャラだから許されるだろ
男キャラだから許されるだろ
左半分の拡大図
![](https://i0.wp.com/note.lilish.com/wp-content/uploads/2023/03/xyz_grid_30oldman_01.jpg?resize=728%2C690&ssl=1)
右半分の拡大図
![](https://i0.wp.com/note.lilish.com/wp-content/uploads/2023/03/xyz_grid_30oldman_02.jpg?resize=728%2C690&ssl=1)
生成結果の感想
![](https://i0.wp.com/note.lilish.com/wp-content/uploads/2023/03/serif_ic2.png?resize=100%2C100&ssl=1)
イケメン揃いで楽しい!うちの初期刀みたいなキャラもいる…
そういえば髪色は指定しなかったけど黒/金の二択状態だった
いや、焦げ茶もあるかな??
そういえば髪色は指定しなかったけど黒/金の二択状態だった
いや、焦げ茶もあるかな??
個人的に好みだったイケオジ
![](https://i0.wp.com/note.lilish.com/wp-content/uploads/2023/03/00076-AOM3A1-4043060144-DPM-2S-a-Karras.jpg?resize=512%2C768&ssl=1)
![](https://i0.wp.com/note.lilish.com/wp-content/uploads/2023/03/00068-anything-v4.5-pruned-fp16-4043060144-DPM-2S-a-Karras.jpg?resize=512%2C768&ssl=1)
後ろの何かは…何?? 傘? 撮影で使うアレ?
個人的に好みだったイケメン
![](https://i0.wp.com/note.lilish.com/wp-content/uploads/2023/03/00071-anything-v4.5-pruned-fp16-4043060144-DDIM.jpg?resize=512%2C768&ssl=1)
![](https://i0.wp.com/note.lilish.com/wp-content/uploads/2023/03/00084-Cinnamon_mix_fixed-4043060144-DPM-2S-a-Karras.jpg?resize=512%2C768&ssl=1)
VAEを使用すると、さらに画面映えが美しくなるんだろうな…
番外編:老人(old man)
old man, upper body, white background,
Negative prompt: EasyNegative, (((girl)))
![](https://i0.wp.com/note.lilish.com/wp-content/uploads/2023/03/xyz_grid_oldman.jpg?resize=728%2C364&ssl=1)
![](https://i0.wp.com/note.lilish.com/wp-content/uploads/2023/03/serif_ic2.png?resize=100%2C100&ssl=1)
何で?????
![](https://i0.wp.com/note.lilish.com/wp-content/uploads/2023/03/00041-Counterfeit-V2.5_fp16-1500715424-DPM-2M-Karras.jpg?resize=512%2C768&ssl=1)
![](https://i0.wp.com/note.lilish.com/wp-content/uploads/2023/03/00000-7th_anime_v2_G-1500715424-DPM-2S-a-Karras.jpg?resize=512%2C768&ssl=1)
![](https://i0.wp.com/note.lilish.com/wp-content/uploads/2023/03/00018-AC0.2-v1.0-fp16-1500715424-DPM-SDE-Karras.jpg?resize=512%2C768&ssl=1)
![](https://i0.wp.com/note.lilish.com/wp-content/uploads/2023/03/serif_ic2.png?resize=100%2C100&ssl=1)
何で?????
個別に生成した時に出来た方も掲載しておきますね。
![](https://i0.wp.com/note.lilish.com/wp-content/uploads/2023/03/00016-AOM3A3-287590566-DPM-2S-a-Karras.jpg?resize=512%2C512&ssl=1)
![](https://i0.wp.com/note.lilish.com/wp-content/uploads/2023/03/00026-Counterfeit-V2.5_fp16-3371209624-DPM-2S-a-Karras.jpg?resize=512%2C512&ssl=1)
![](https://i0.wp.com/note.lilish.com/wp-content/uploads/2023/03/00028-LimeMixV2-fp16-2582309447-DPM-2S-a-Karras.jpg?resize=512%2C512&ssl=1)
やっぱり壮年期というか30~50代を安定して出すのは大変そう。
なお、自作で線画を用意するとControlNetのcannyで割と自由に生み出せて楽しい。
この辺りはまた別の記事でご紹介予定!
追記:男性に注力したモデル「SD2boy」!
やっぱりSDでも男性特化モデル欲しいよね、いらっしゃった!様々な年齢層の男性!素晴らしい!