Home Artists Posts Import Register

Content

*本作品に登場する人物はすべて成人済みです

//////////////////////////////////////////

*All characters in this work are of legal age.


※4/27追記

LoHaモデルの配布に伴い「④-3:LoHa」の項目を追加しました。

////////////////////////////////////////////////////////////////

The item "④-3: LoHa" was added with the distribution of the LoHa model.

※以下実装は最新のstable diffusionもしくはそれに準ずる環境での利用を想定しています。

*The following implementations are intended for use in stable diffusion or similar environments

①準備/preparation:

①-1:

下記リンクから

【AOM3A1B_orangemixs.safetensors】

をダウンロードします。

ダウンロードしたファイルは

\stable-diffusion-webui\models\Stable-diffusion

フォルダに入れます。

////////////////////////////////////////////////////////////////

From the following link.

Download 【AOM3A1B_orangemixs.safetensors】 from the link below.

The downloaded file is

\stable-diffusion-webui\models\Stable-diffusion

folder.

【AOM3A1B_LINK】

https://huggingface.co/WarriorMama777/OrangeMixs/blob/main/Models/AbyssOrangeMix3/AOM3A1B_orangemixs.safetensors

②実装/implementation:

②-1:

stable diffusionを起動し、拡張機能から

【sd-webui-additional-networks】

を追加し、stable diffusionを一旦閉じます。

////////////////////////////////////////////////////////////////

Start stable diffusion and from extensions.

Add [sd-webui-additional-networks] and close stable diffusion.

正しく導入できている場合、ExtensionsのInstalledに追加されています。

////////////////////////////////////////////////////////////////

If it is installed correctly, it is added to Installed in Extensions.

②-2:

ダウンロードしてきたキャラクターのモデル(キャラクター名.safetensors)を

\stable-diffusion-webui\models\lora

フォルダに入れます。

////////////////////////////////////////////////////////////////

Downloaded character models (character names.safetensors).

\stable-diffusion-webui\models\lora

folder.

②-3:

txt2imgで赤いカードのボタンを押し、Loraタブを選択すると、下記のように追加した.safetensorsファイルが表示されるため、使いたい.safetensorsファイルを選びます。

////////////////////////////////////////////////////////////////

Press the red card button in txt2img and select the Lora tab. The .safetensors file you added will be displayed as shown below, so select the .safetensors file you want to use.

③設定/setting:

③-1:

.safetensorsファイルを選択したら、プロンプト内に

<キャラクター名.safetensors:1>

が追加されます。

これを

<キャラクター名.safetensors:0.6>

に変更して、Stable Diffusion checkpointには先ほどDLしてきたAOM3A1B_orangemixs.safetensors

を設定します。

*loraの数値の最適値はモデルや出力設定によって異なります。

数値は0.5~0.8が推奨です。

数値が大きいほどloraの影響が強くなり再現性が増しますが、同じ構図ばかり出てくるようになるため、ある程度数字を低く設定する必要があります。

////////////////////////////////////////////////////////////////

Once you have selected the .safetensors file, in the prompt

<character name.safetensors:1>

will be added.

Change this as follows

<character name.safetensors:0.6>

and set the Stable Diffusion checkpoint to the AOM3A1B_orangemixs.safetensors

which you have just DL'd.

*A value of 0.5~0.8 is recommended.

The higher the value, the stronger the influence of lora and the more reproducible the image, but since the same composition will appear all the time, it is necessary to set the value somewhat lower.

③-2:

最終的な出力イメージは以下のようになります。(設定はサンプルです)

////////////////////////////////////////////////////////////////

The output image will be as follows (Settings are sample)

Prompt:

<lora:inui_toko:0.6>,toko,red eyes, yellow_eyes,animal_ears,black_hair,dog_ears,hair_flower,low_twintails,red_eyes,twintails,swept_bangs,very_long_hair,apron,black_collar,black_kimono,frilled_apron,furisode,hakama_skirt,japanese_clothes,kimono,long_skirt,long_sleeves,maid_apron,maid_headdress,obi,red_hakama,red_skirt,sash,sleeves_past_fingers,sleeves_past_wrists,wa_maid,waist_apron,white_apron,wide_sleeves,

Negative prompt:

( worst quality, low quality:1.4),

Other Settings:

Steps: 20, Sampler: DPM++ 2M Karras, CFG scale: 6, Seed: 3907423939, Size: 448x704, Model hash: 5493a0ec49, Denoising strength: 0.5, Clip skip: 2, ENSD: 31337, Hires upscale: 2, Hires steps: 20, Hires upscaler: 4x-UltraSharp

④その他調整/Other adjustments:

①VAE:

彩度を調整する目的でVAEを使用しています。

私が使用しているVAEはkl-f8-anime2.ckptです。

下記リンクからDLできます。

ckptファイルをDL後、

stable-diffusion-webui\models\VAE

フォルダに入れて、VAEの設定を変更してください。

////////////////////////////////////////////////////////////////

I am using VAE for the purpose of adjusting saturation.

The VAE I use is kl-f8-anime2.ckpt.

You can download it from the link below.

After DLing the ckpt file,

stable-diffusion-webui\models\VAE

folder and change the VAE settings.

【kl-f8-anime2.ckpt_LINK】

https://huggingface.co/hakurei/waifu-diffusion-v1-4/blob/main/vae/kl-f8-anime2.ckpt

②Upscaler:

いきなり高解像度で出力するのは負荷がかかるため、Hires.fixという機能を使って低解像度→高解像度で出力してます。

(*例えば下記画像の場合、448*704(低解像度)で出力した後、Hires.fixによって896*1408(高解像度)の出力に変換して最終的な出力とします。)

また、Upscalerを使うことでHires.fixの高解像度化の過程を微調整します。

私が使用しているUpscalerは4x-UltraSharpです。

下記リンクからDLできます。

DLした4x-UltraSharp.pthファイルを\stable-diffusion-webui\models\ESRGAN

フォルダに置いて使います。

////////////////////////////////////////////////////////////////

Because it is burdensome to output images in high resolution suddenly, we use a function called Hires.fix to output images in low resolution → high resolution.

(*For example, the following image is output at 448*704 (low resolution) and then converted to 896*1408 (high resolution) by Hires.fix as the final output).

I also use Upscaler to fine-tune the process of converting to higher resolution in Hires.fix.

The Upscaler I use is 4x-UltraSharp.

You can download it from the link below.

Place the DLed 4x-UltraSharp.pth file in the \stable-diffusion-webui\models\ESRGAN

folder and use it.

【4x-UltraSharp.pth_LINK】

https://mega.nz/folder/qZRBmaIY#nIG8KyWFcGNTuMX_XNbJ_g

*(4/27追記)

③LoHa:

LoHaとはloraよりもさらに優れた出力が可能な最新の学習モデルです。

基本的な実装方法はloraとほぼ同じため、先に上のloraの実装方法をご確認ください。

*StableDiffusionが最新の状態であればloraフォルダに置いてloraと同じように使用することができるようです。

ただ私の環境で確認したところほんのわずかに出力が異なったため念のためこちらの方法を記載します。

////////////////////////////////////////////////////////////////

LoHa is a state-of-the-art learning model that produces even better output than lora.

The basic implementation of LoHa is almost the same as that of lora, so please refer to the lora implementation above first.

*If StableDiffusion is up-to-date, you can put it in the lora folder and use it in the same way as lora.

However, I have checked in my environment and the output is slightly different, so I will describe this method just in case.

実装/implementation:

stable diffusionを起動し、拡張機能から

【sd-webui-lycoris】

を追加し、stable diffusionを一旦閉じます。

*lycorisとはLoHaの別名です。

正しく追加された場合、Extensions→Installedにa1111-sd-webui-lycorisが追加され(画像1枚目)、loraのすぐ隣にLyCORISという項目が追加されます(画像2枚目)。

ローカルにも\stable-diffusion-webui\models\LyCORISフォルダが追加されているため、DLしてきたLyCORISモデルを置き(画像3枚目)、以降の出力手順はloraと同じです。

////////////////////////////////////////////////////////////////

Start stable diffusion, and from extensions

[sd-webui-lycoris]

and close stable diffusion.

*lycoris is an alias for LoHa.

If added correctly, a1111-sd-webui-lycoris will be added to Extensions→Installed (image 1) and the item LyCORIS will be added right next to lora (image 2).

Since the \stable-diffusion-webui\models\LyCORIS folder has been added locally as well, place the LyCORIS model that you have downloaded (image 3) and follow the same output procedure as for lora.

Files

Comments

No comments found for this post.