![見出し画像](https://assets.st-note.com/production/uploads/images/88762330/rectangle_large_type_2_9d918f69afc07cce674225e85d6b07e8.png?width=1200)
アニメ絵、イラストからプロンプトを生成するDeepDanbooruをAUTOMATIC1111で使う
アニメ絵、イラストからDanbooru風のタグでプロンプトを作成するDeepDanboruをAUTOMATIC1111から使えるようになりました。
便利なので紹介します。
Waifu Diffusion V1.3 + AUTOMATIC1111を起動
コチラを参考に起動してください。
Google Colab上で起動されます。
DeepDanBooruを使うための起動オプション --deepdanbooru が入っています。
DeepDanboruで画像からプロンプトを作成
![](https://assets.st-note.com/img/1665467061267-d4ftGAFc2e.png?width=1200)
img2imgのタグを開き、参考にしたい画像を開きます
Interrogate DeepDanBooru をクリック
しばらくすると、プロンプトが表示される
DeepDanBooruで生成されたプロンプトからtxt2img
作成されたプロンプトをコピーして、txt2imgタグへ移動しプロンプトへペースト。
Generateボタンを押した結果がコチラ。
![](https://assets.st-note.com/img/1665468135267-PU0Z5WhFey.png?width=1200)
ちゃんと初音ミクさんが出力されています。
参考
なんと #DeepDanbooru がwebuiに搭載されたw
— forasteran (@forasteran) October 10, 2022
Waifuとかでアニ画向けプロンプトに役立つDanbooru風のタグで呪文を作る機能!
起動時の引数に --deepdanbooru を追加し起動だけで KichangKim/DeepDanbooru/ が入るます
img2imgタグで画像入れ押すと呪文作ってくれる
神かwhttps://t.co/1jvMxay7mm pic.twitter.com/uB8IO85hC6