Sign In

DynamicPrompts Introductory Elementary (ダイナミックプロンプト基礎の基礎)

DynamicPrompts Introductory Elementary (ダイナミックプロンプト基礎の基礎)

※ 半分までスクロールすると日本語版がありまぁす!

Introduction to DynamicPrompts and its use (common to StableDiffusion AUTOMATIC1111 and Forge)

Note: If you like it, please give it a Thumbs UP !

Introduction to SD extensions

 This is a brief introduction to DynamicPrompts (https://github.com/adieyal/sd-dynamic-prompts). There may be easier articles to understand, but if you just want to use it for now, this article should be easy enough for you.

 First, install sd-dynamic-prompts from the Extensions tab. After restarting, you can confirm that it has been installed as shown in the reference image. I think that "enabled" is checked just after installation, but I am not sure if I remember it correctly at that time, so please check it beforehand.

,

About wildcard files

 Now let's create a wildcard. Please refer to the following example to find where to install it.

,

  • A1111 ( install drive:\stable-diffusion-webui\extensions\sd-dynamic-prompts\wildcards )

  • Forge ( install drive:\stable-diffusion-webui-forge\extensions\sd-dynamic-prompts\wildcards )

,

 Extract the file downloaded from below into your installation path. It will be a bunch of text files and several folders.

,

,

 Now that you're done, let's get started. First, let's try a spell to easily generate a gothic style girl. The negative prompt is also a wildcard, so if you have a large number of negative prompts that you normally use, the generation screen may be cleaner.

,

Input Example 1 and Generation Example

__1girl__, __PlusGothic__

Negative Prompt
__zz_SDXL_ngp__

,

 Remember to wrap the text file name with two underscores to load the wildcard file expanded above. You can also copy the file from the Wildcards Manager tab if you don't want to type it in manually.

,

 Now let's try something else. Now we will try to add poses and facial expressions to generate them, but depending on the model you are using, it may not always turn out the way you want. Well, I guess it is always the same.

,

Input Example 2 and Generation Example

__1girl__, __PlusSchool__, __RandomSituation__, __facialS__, __Town_shopping__, __lighitingTimezone__
1girl, kid , flat chest , skindentation, serafuku , purple mini pleated skirt, navy vest , pantyhose, loafers , blond backpack , between the legs, looking afar, cowboy shot, happy, :), Bar, daytime, warm light sunset, rays light, sparkles, lens flare, deep shadows, depth of field, peerless, sentimental
Negative prompt: text, error, signature, watermark, username, blurry, artist name, sound_effects, copyright, long body, comic, monochrome, crown, tiara, coral, dog

,

 This time, the girls in uniform and facial expressions, camera work, shopping in the city, and time will be randomly generated. All that's left to do is pick out the ones you like.

 By the way, I've also included a prompt for the finished illustration. The results will vary depending on your environment, but even if you haven't tried it yet, can you get an idea of the atmosphere? And you may want to try it for yourself.

 If so, please go back to the first step and give it a try. If you are already using wildcards, I would be happy to add my set to your collection.

I'm sure you'll be happy to hear from me.

 If you have been generating the same kind of illustrations lately and are feeling stuck in a rut, I especially recommend you give it a try!

,

,

ダイナミックプロンプト導入と使用入門 (SD WebUI AUTOMATIC1111、Forge共通)

※ 気に入っていただけたならぜひ「いいね」を押してください!

エクステンション導入について

 DynamicPrompts (https://github.com/adieyal/sd-dynamic-prompts) の使い方、初級編ということで簡単に解説してみます。もっとわかりやすい記事があるかもしれませんが、とりあえず使ってみたい場合は当記事で十分お手軽に導入できると思います。

 まずは Extensions タブから sd-dynamic-prompts をインストールします。再起動すると 参考画像のようにインストールできたことが確認できます。恐らくはインストールしただけで enabled にチェックが入っていて有効になってると思いますが、当時の記憶が定かではないので念のため事前に確認しておいてください。

,

ワイルドカードファイルについて

 それでは wildcard を作成していきましょう。インストール先は下記の例を参考に探してください。

,

  • A1111 ( インストールドライブ:\stable-diffusion-webui\extensions\sd-dynamic-prompts\wildcards )

  • Forge ( インストールドライブ:\stable-diffusion-webui-forge\extensions\sd-dynamic-prompts\wildcards )

,

 インストールパスに下記よりダウンロードしたファイルを展開してください。沢山のテキストファールといくつかのフォルダ群となります。

,

,

 ここまで出来たら早速使用してみましょう。まずはゴシックスタイルの女の子を簡単生成する呪文を試してみます。ネガティブプロンプトもワイルドカードなので、普段使用しているネガティブプロンプトが大量にある場合は、生成画面がスッキリするかもしれません。

,

入力例1と生成例

__1girl__, __PlusGothic__

Negative Prompt
__zz_SDXL_ngp__

,

 上記で展開したワイルドカードファイルを読み込ませるため、アンダースコア2つでテキストファイル名をくくることを忘れないで下さい。手入力が面倒なら Wildcards Manager タブからコピーすることも可能です。

,

 それでは他にも試してみましょう。今度はポーズや表情を追加して生成を試しますが、使っているモデルによっては必ずしも思い通りにはなりません。まあそれはいつも同じことだとは思います。

,

入力例2と生成例

__1girl__, __PlusSchool__, __RandomSituation__, __facialS__, __Town_shopping__, __lighitingTimezone__
1girl, kid , flat chest , skindentation, serafuku , purple mini pleated skirt, navy vest , pantyhose, loafers , blond backpack , between the legs, looking afar, cowboy shot, happy, :), Bar, daytime, warm light sunset, rays light, sparkles, lens flare, deep shadows, depth of field, peerless, sentimental
Negative prompt: text, error, signature, watermark, username, blurry, artist name, sound_effects, copyright, long body, comic, monochrome, crown, tiara, coral, dog

,

 今度は制服の女の子と表情、カメラワークや街中でのショッピング、時間がランダムで生成されることになりました。後はその中から気に入った物をピックアップするだけ。

 ちなみに完成イラストのプロンプトも載せておきます。環境によって結果は様々だと思いますが、まだ試していなくても雰囲気はつかめるでしょうか。そして自分でも使ってみたくなっているのではありませんか?

 それならぜひ最初の手順へ遡って試してみてください。すでにワイルドカードを使用している方なら、拙作のセットをコレクションに加えてもらえると嬉しいです。

,

 最近同じようなイラストばかり生成していてマンネリ化を感じている人には特におススメ、ぜひ試してみてください

,

,

Checkpoints used for this sample(今回のサンプルに使用したチェックポイント)

XL_caulkinumACA

,

,

Introduction of Products (製作物紹介)

Wildcard set mainly for random generation of Kawaii girls (主に美少女ランダム生成のためのワイルドカードセット)

Characters LoRA(キャラクターLoRA)

Poses LoRA(ポーズLoRA)

,

,

caulkinum Series Checkpoint (caulkinumシリーズ チェックポイント)

XL_caulkinumAnimeLine for SDXL Anime Style

XL_caulkinumRealLine for SDXL Realistic Style

,

caulkinumV2 series for Anime Style

caulkinumV1_RL series for semi Realistic Style

caulkinumV1_S series for Realistic Style

,

,

Support (支援)

 Please post what you generate. It is a great pleasure to see them in use. It is a great pleasure for us to see them in use, because their energy will be the power to create something new.

 ぜひ生成したものを投稿してください。実際に使用されているところを見せてもらうことはとても嬉しいものです。そのエネルギーが次のなにかを産み出す力になるのですから。

,

Coffee will increase work efficiency and motivation.

コーヒーは作業効率を高めモチベーションをアップさせるでしょう。

https://ko-fi.com/489489

Dogecoin : D5JK4DX5MPCRsuXRwZLGn3Qa6SkDbKiwgK  

Monacoin : MLFEyNf9JsgzK6vNzty5QxhjKizB3d9nxP  

,

Thank you for reading to the end.

We hope there is one person who will use it.

最後まで読んでくれてありがとうございます。

使用してくれる方が一人でもいることを願っています。

15

Comments