About the Training Method
This LoRA uses the Trace-LoRA Protocol, which focuses on signal isolation, low-noise training, and cloning rather than pose or pixel replication.
Because the model learns only the essential features, the LoRA behaves more like a character LoRA than a traditional “pose‑locked” 1‑image LoRA.
(このLoRAはTrace-LoRAプロトコルを採用しており、ポーズやピクセルの複製ではなく、特徴の分離、低ノイズでの学習、およびクローン生成に重点を置いています。モデルが本質的な特徴のみを学習するため、このLoRAは従来の「ポーズ固定型」の1画像LoRAというよりは、キャラクターLoRAに近い挙動を示します。)
aibanousagi-Character_LoRA: Trace-LoRA Protocol
Method: Trace-LoRA Protocol (High-fidelity Cloning)
Base Model:
Animagine XL 4.0
- resolve/main/mk2test-Animagine-usagisama-x1.safetensors --1st stage learning
- resolve/main/mk2copy-Animagine4-usagisama-x2.safetensors --2nd stage learning
Clandestine XL 1.0
- resolve/main/mk2test-Clandestine-usagisama-x1.safetensors --1st stage learning
- resolve/main/mk2copy-Clandestine-usagisama-x2.safetensors --2nd stage learning
Target: Intermediate to Advanced users
(Stable Diffusion 中級者以上推奨)
Summary
This LoRA serves as a technical validation of the “Trace‑LoRA Protocol,” aiming to reproduce the character @aibanousagi with high structural fidelity and minimal noise.
(概要: トレースLoRAプロトコルの検証用として作成した、あいばのうさぎ(@aibanousagi)様のキャラクターLoRAです。)
![]() |
![]() |
Usage & Validation
example: mk2copy-Animagine4-usagisama-x2.safetensors
Use the metadata below to verify if you can reproduce the sample images.
(使用方法: Animagine xl 4.0で二段階学習したLoRAによる参考生成。以下の設定を使用して、サンプル画像と同等の出力になることを確認してください。)
// parameters: sitting pose
1girl, solo, happily, BREAK rabbit girl, big cute clear red eyes, animal ears, rabbit ears, fake animal ears, hair over one eye, long hair, very long hair, silver hair, twintails, BREAK sitting, sitting on the bed, wariza, BREAK open mouth, parted lips, blush, embarrassed, BREAK looking back, looking at viewer, BREAK arms st side, BREAK school uniform, serafuku, white sailor collar, short sleeves, white shirt, socks, BREAK medium breasts, bouncing breasts, BREAK full body, from above view, from behind view, BREAK indoor, western-style living room, pillow, sheet, sunny day, BREAK qrab1, <lora:mk2copy-Animagine4-usagisama-x2:0.0>
Negative prompt: Worst Quality, Low Quality, normal quality, lowres, jpeg artifacts, blurry, cropped, bad perspective, BREAK bad anatomy, mutated, deformed, error, BREAK bad hands, missing fingers, extra digit, fewer digits, multiple legs, multiple hands, extra limbs, BREAK extra belly button, double navel, BREAK two heads, multiple heads, BREAK malformed breasts, fused breasts, BREAK poorly drawn face, ugly face, pointy ears, BREAK text, logo, signature, watermark, username, BREAK colored inner hair, multicolored hair, BREAK 3d, monochrome, realistic, BREAK abs, muscular, pectorals, toned, BREAK tongue out
Steps: 48, Sampler: Euler a, Schedule type: Automatic, CFG scale: 9, Seed: 3173019504, Size: 1024x1216, Model hash: 1d5b43ff75, Model: animagine-xl-4.0, Lora hashes: "mk2copy-Animagine4-usagisama-x2: 5bb1b439df4f", Script: X/Y/Z plot, X Type: Prompt S/R, X Values: "\"<lora:mk2copy-Animagine4-usagisama-x2:0.0>\", \"<lora:mk2copy-Animagine4-usagisama-x2:1.0>\"", Version: f1.0.0v2-v1.10.1RC-latest-2504-gd55faec6
// parameters: lying pose
1girl, solo, happily, BREAK rabbit girl, big cute clear red eyes, animal ears, rabbit ears, fake animal ears, hair over one eye, long hair, very long hair, silver hair, twintails, BREAK lying, lying on the bed, lying on back, BREAK open mouth, parted lips, blush, embarrassed, BREAK looking side, looking away, BREAK hands up, arms covering face, fist, hand on own forehead, BREAK school uniform, cardigan, open cardigan, long sleeves, bowtie, white shirt, socks, BREAK medium breasts, bouncing breasts, cleavage, BREAK full body, from above view, dutch angle, BREAK indoor, western-style living room, pillow, sheet, sunny day, BREAK qrab1, <lora:mk2copy-Animagine4-usagisama-x2:0.0>
Negative prompt: Worst Quality, Low Quality, normal quality, lowres, jpeg artifacts, blurry, cropped, bad perspective, BREAK bad anatomy, mutated, deformed, error, BREAK bad hands, missing fingers, extra digit, fewer digits, multiple legs, multiple hands, extra limbs, BREAK extra belly button, double navel, BREAK two heads, multiple heads, BREAK malformed breasts, fused breasts, BREAK poorly drawn face, ugly face, pointy ears, BREAK text, logo, signature, watermark, username, BREAK colored inner hair, multicolored hair, BREAK 3d, monochrome, realistic, BREAK abs, muscular, pectorals, toned, BREAK tongue out
Steps: 48, Sampler: Euler a, Schedule type: Automatic, CFG scale: 9, Seed: 3040331024, Size: 1024x1216, Model hash: 1d5b43ff75, Model: animagine-xl-4.0, Lora hashes: "mk2copy-Animagine4-usagisama-x2: 5bb1b439df4f", Script: X/Y/Z plot, X Type: Prompt S/R, X Values: "\"<lora:mk2copy-Animagine4-usagisama-x2:0.0>\", \"<lora:mk2copy-Animagine4-usagisama-x2:1.0>\"", Version: f1.0.0v2-v1.10.1RC-latest-2504-gd55faec6
// parameters: portrait
1girl, solo, happily, BREAK rabbit girl, big cute clear red eyes, animal ears, rabbit ears, fake animal ears, hair over one eye, long hair, very long hair, silver hair, twintails, BREAK open mouth, :D, blush, embarrassed, BREAK looking at viewer, BREAK school uniform, serafuku, white sailor collar, short sleeves, white shirt, BREAK large breasts, bouncing breasts, cleavage, BREAK upper body, portrait, from above view, BREAK white background, simple background, BREAK qrab1, <lora:mk2copy-Animagine4-usagisama-x2:0.0>
Negative prompt: Worst Quality, Low Quality, normal quality, lowres, jpeg artifacts, blurry, cropped, bad perspective, BREAK bad anatomy, mutated, deformed, error, BREAK bad hands, missing fingers, extra digit, fewer digits, multiple legs, multiple hands, extra limbs, BREAK extra belly button, double navel, BREAK two heads, multiple heads, BREAK malformed breasts, fused breasts, BREAK poorly drawn face, ugly face, pointy ears, BREAK text, logo, signature, watermark, username, BREAK colored inner hair, multicolored hair, BREAK 3d, monochrome, realistic, BREAK abs, muscular, pectorals, toned, BREAK tongue out
Steps: 48, Sampler: Euler a, Schedule type: Automatic, CFG scale: 9, Seed: 139397603, Size: 1024x1216, Model hash: 1d5b43ff75, Model: animagine-xl-4.0, Lora hashes: "mk2copy-Animagine4-usagisama-x2: 5bb1b439df4f", Script: X/Y/Z plot, X Type: Prompt S/R, X Values: "\"<lora:mk2copy-Animagine4-usagisama-x2:0.0>\", \"<lora:mk2copy-Animagine4-usagisama-x2:1.0>\"", Version: f1.0.0v2-v1.10.1RC-latest-2504-gd55faec6
Trigger Word(トリガーワード)
qrab1
DeepBooru Tags(タグ解析)
1girl, animal ears, bare shoulders, breasts, cleavage, collarbone, covered navel, cowboy shot, fake animal ears, hair over one eye, highleg, large breasts, long hair, looking at viewer, playboy bunny, rabbit ears, rabbit girl, rabbit tail, red eyes, shiny, simple background, smile, solo, standing, tail, twintails, very long hair, white background
Recommended Strength(推奨適用強度)
- 1st stage 0.5 - 0.6
- 2nd stage 0.8 - 1.2
Note:
Due to the nature of Single-Image Training, setting the strength to approx. 1.0+ (2nd stage learning:1.5+) will allow you to reproduce the original training image. But please note that the exact "point of reproduction" fluctuates depending on the Seed, Trigger Words, and prompt interference. This is an intended behavior for structural verification.
(備考: 1枚学習であることから、強度を 1.0付近(二段階学習では1.5付近)まで上げると教師画像を再現できます。再現の強度は、Seed値やトリガーワードの有無、プロンプトの干渉度合いによって変化しますが、これは教師画像との同期を確認するための仕様です。)
Appendix: Trace-LoRA Protocol (Jpanese)
(トレースLoRAプロトコル:日本語)
- 学習ツール:kohya's GUI (検証に使用したバージョンはv25.2.1。Pythonのバージョンは、3.10.9)
- 教師画像フォルダ:繰り返し数"208"を設定
- 教師画像:1024x1024・PNG形式の画像ファイル8枚(同じ画像の複製)
- タグテキスト:通常のLoRAと同じtxtファイル。トリガーワード必須。トリガーワードのみでも可ですので適当に工夫してください。複製画像8枚なので8ファイル用意すること。
- ベースモデル:アニメ調イラストの再現なので、アニメ系モデルを使用します。
2.デフォルトから変更するパラメータ (※参照フォルダや格納フォルダ、CPUコアなど環境依存の設定は除く)
"conv_block_alphas": "128"
"conv_block_dims": "128"
"epoch": 7
"gradient_checkpointing": true // Notes2
"learning_rate": 0.0005
"max_resolution": "1024,1024",
"max_train_epochs": 7
"max_train_steps": 3000
"network_alpha": 16
"network_dim": 16
"seed": 42
"train_batch_size": 4
"unet_lr": 0.0005
"sdxl_no_half_vae": true // Notes5
"xformers": "sdpa" // Notes6
Notes:
このパラメータ群は、kohya's GUIで保存できる設定ファイルの記述に従っています。GUIでパラメータがどこにあるか分からない場合は、設定を保存してファイルをテキストエディタ(メモ帳など)で直接編集した方が早いです。
GPU負荷が大きいので、エポック7まで回すと、VRAM16GBで約6時間かかります。VRAMが少ないと、このプロトコルはエラーになります。VRAMに余裕があっても極端に学習速度が遅くなる場合があるので、このオプションはオンにしておきます(よって極端に学習速度が遅くなる場合は別の要因です)。
このプロトコルでは、エポック1回でもある程度コピーの定着が確認できるので、エポックを1回だけ回して教師画像がある程度再現されていることを確認してください。
画像面積に対してキャラクター情報が占める面積の割合(線画や全身図イラスト、背景イラストやバストアップイラスト等)によって、ベースモデルの影響が変動します。
ベースモデルStable Diffusion XL Base 1.0及びCounterfeit XL v2.5では、このオプションを有効にしないと学習が正常に進行しない不具合(avr_loss=nanが発生)を確認しています。avr_loss=nanが発生するモデルでは、この"sdxl_no_half_vae"オプションを"true"(チェックボックスをオン)にしてください。
最新のGPU RTX Pro Blackwellシリーズでは、xformers系のパラメータやスクリプトでエラーが出るようなので、その場合はこのオプションで"sdpa"を選択します。
プロトコルの効果を確認したベースモデル
- Animagine XL 4.0
- BluePencil XL v2.0
- Clandestine XL 1.0
- Illustrious XL v1.0
- Pony Diffusion XL v6
- Stable Diffusion XL Base 1.0
- Counterfeit XL v2.5
- Shiitake-Mix v2.0
応用例: トレースLoRAプロトコルによる二段階学習
二つのトレースLoRAを差分マージして質感を変更するLoRAを作成できます。 その際、マージするLoRAの二段階学習を行うことにより、画像構造への影響を抑えながら幅広い制御幅を持つ質感変更LoRAになります。
Model tree for armoredfairy/usagisama-lora
Base model
stabilityai/stable-diffusion-xl-base-1.0




