Einar Rainhart
commited on
Update model data and card
Browse files- README.md +117 -14
- images/maya-cafe-1.webp +3 -0
- images/maya-henshin-1.webp +3 -0
- images/maya-running-1.webp +3 -0
- images/maya-shirt-1.webp +3 -0
README.md
CHANGED
|
@@ -5,10 +5,22 @@ tags:
|
|
| 5 |
- lora
|
| 6 |
- diffusers
|
| 7 |
- template:sd-lora
|
|
|
|
|
|
|
| 8 |
widget:
|
| 9 |
-
- text: '
|
| 10 |
output:
|
| 11 |
-
url: images/maya-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
base_model: cagliostrolab/animagine-xl-3.1
|
| 13 |
instance_prompt: hirukawamaya, blue eyes, bob cut, blunt ends, blunt bangs
|
| 14 |
license: cc-by-sa-4.0
|
|
@@ -17,30 +29,121 @@ license: cc-by-sa-4.0
|
|
| 17 |
|
| 18 |

|
| 19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
-
|
| 22 |
|
| 23 |
-
|
| 24 |
|
| 25 |
-
|
|
|
|
|
|
|
| 26 |
|
| 27 |
-
|
| 28 |
|
| 29 |
-
|
| 30 |
|
| 31 |
-
|
| 32 |
|
| 33 |
-
|
| 34 |
|
| 35 |
-
|
| 36 |
|
|
|
|
|
|
|
|
|
|
| 37 |
|
| 38 |
-
|
| 39 |
|
| 40 |
-
|
| 41 |
|
| 42 |
-
|
| 43 |
|
| 44 |
-
## Gallery
|
| 45 |
|
| 46 |
<Gallery />
|
|
|
|
| 5 |
- lora
|
| 6 |
- diffusers
|
| 7 |
- template:sd-lora
|
| 8 |
+
- original-character
|
| 9 |
+
- character
|
| 10 |
widget:
|
| 11 |
+
- text: ''
|
| 12 |
output:
|
| 13 |
+
url: images/maya-running-1.webp
|
| 14 |
+
- text: ''
|
| 15 |
+
output:
|
| 16 |
+
url: images/maya-henshin-1.webp
|
| 17 |
+
- text: ''
|
| 18 |
+
output:
|
| 19 |
+
url: images/maya-cafe-1.webp
|
| 20 |
+
- text: ''
|
| 21 |
+
output:
|
| 22 |
+
url: images/maya-shirt-1.webp
|
| 23 |
+
|
| 24 |
base_model: cagliostrolab/animagine-xl-3.1
|
| 25 |
instance_prompt: hirukawamaya, blue eyes, bob cut, blunt ends, blunt bangs
|
| 26 |
license: cc-by-sa-4.0
|
|
|
|
| 29 |
|
| 30 |

|
| 31 |
|
| 32 |
+
## English (日本語版は下にあります)
|
| 33 |
+
|
| 34 |
+
This is a LoRA used to replicate the features of Maya Hirukawa, an original character created by myself, part of the [星光の英雄たち(Heroes of Starlight)](https://hoshikou-ailabo.net/starlight) universe (link in Japanese). It is meant to be the first of a series of LoRAs for the entire cast of characters.
|
| 35 |
+
|
| 36 |
+

|
| 37 |
+
|
| 38 |
+
While Maya's look is fairly easy to do with prompts alone, this was the first step before tackling the other characters, which can be considerably harder to do in a consistent manner.
|
| 39 |
+
|
| 40 |
+
This model is based on **Animagine XL 3.1**. It works reasonably well with derivatives (the images are made with 7th Layer Anime XL A), but I can't guarantee it will work correctly with other models. It *will not work correctly* with Pony Diffusion and derived models.
|
| 41 |
+
|
| 42 |
+
### Trigger words
|
| 43 |
+
|
| 44 |
+
Use `hirukawamaya` as a word trigger. The model has been kept by design flexible towards hair styles and length: to replicate her exact appaearance you may want to add
|
| 45 |
+
|
| 46 |
+
`short hair, bob cut, blunt bangs, blunt ends, left swept bangs`
|
| 47 |
+
|
| 48 |
+
to your prompt.
|
| 49 |
+
|
| 50 |
+
To generate her in her school uniform, you can add
|
| 51 |
+
|
| 52 |
+
`school uniform, serafuku`
|
| 53 |
+
|
| 54 |
+
to your prompts. Sometimes the wrong uniform comes out, so you may also want to add `sailor shirt, aqua neckerchief, blue sailor collar, blue pleated skirt` to the prompts.
|
| 55 |
+
|
| 56 |
+
For looks you can add `black futuristic bracelet` to replicate Maya's bracelet. However this isn't yet in the dataset and I plan to make a new version to make sure it comes out on the correct arm (it should be the right arm, but you know how SD and SDXL work...).
|
| 57 |
+
|
| 58 |
+
### LoRA weights and caveats
|
| 59 |
+
|
| 60 |
+
You can go from **0.7 to 1.0** weight without much issues. Bear in mind that higher weights struggle a bit with some NSFW concepts, despite the presence of NSFW images in the data set. Detail enhancement LoRA and ADetailer are very useful to increase the amount of detail. I personally recommend from *0.8 upwards*. For better generations, be explicit, i.e. add `looking at viewer` to make sure the character looks at viewer.
|
| 61 |
+
|
| 62 |
+
### Versions
|
| 63 |
+
|
| 64 |
+
- **Recommended version (Epoch 30)**: [Download](https://huggingface.co/einar77/maya-hirukawa/resolve/main/hirukawamaya.safetensors?download=true)
|
| 65 |
+
- **Epoch 10**: [Download](https://huggingface.co/einar77/maya-hirukawa/resolve/main/hirukawamaya-000010.safetensors?download=true)
|
| 66 |
+
|
| 67 |
+
Use Epoch 10 if you have troubles with the recommended version, but bear in mind that although more flexible **the quality may be lower**.
|
| 68 |
+
|
| 69 |
+
### Dataset details
|
| 70 |
+
|
| 71 |
+
The data set contained **311** images generated with [7th Anime Layer A](https://civitai.com/models/387755?modelVersionId=432714) with various poses and angles. Backgrounds were removed and all images put under a white background. Training was done with [kohya-ss](https://github.com/kohya-ss/sd_scripts).
|
| 72 |
+
|
| 73 |
+
The dataset probabably contains images that are very similar: future versions of this LoRA will likely prune it a bit to further increase flexibility.
|
| 74 |
+
|
| 75 |
+
### Recommended resources
|
| 76 |
+
|
| 77 |
+
- [xl_more_art-full](https://civitai.com/models/124347)
|
| 78 |
+
- [better scenery](https://civitai.com/models/448522/better-scenery-animaginexl31ponyv6xl?modelVersionId=499466)
|
| 79 |
+
- [great lighting](https://civitai.com/models/228974/great-lighting-sliders-ntcaixyz)
|
| 80 |
+
|
| 81 |
+
### Feedback
|
| 82 |
+
|
| 83 |
+
This model is also published on CivitAI (WIP). Feel free to leave your comments there, or on [X (Japanese)](https://x.com/EinarRainhart).
|
| 84 |
+
|
| 85 |
+
Some sample images are provided in the gallery below.
|
| 86 |
+
|
| 87 |
+
## 日本語
|
| 88 |
+
|
| 89 |
+
こちらは[星光の英雄たち](https://hoshikou-ailabo.net/starlight)の世界の一部として私が作成したオリキャラ、蛭川まや(ひるかわまや)の特徴を再現するためのLoRAです。これは、キャラクター全員のLoRAシリーズの第一弾となる予定です。
|
| 90 |
+
|
| 91 |
+
まやちゃんの外見はプロンプトだけで比較的簡単に再現できますが、他のキャラクターを一貫して再現するための第一歩として、このモデルを作成しました。
|
| 92 |
+
|
| 93 |
+
このモデルは**Animagine XL 3.1**をベースにしています。派生モデル(サンプル画像は(7th Layer Anime XL A)[https://civitai.com/models/387755?modelVersionId=432714]で作成)でも比較的うまく動作しますが、他のモデルで正しく動作する保証はありません。Pony Diffusionおよびその派生モデルでは*正しく動作しません*。
|
| 94 |
+
|
| 95 |
+
### トリガーワード
|
| 96 |
+
|
| 97 |
+
`hirukawamaya`をトリガーワードとして使用してください。モデルはデザイン上、髪型や長さに柔軟性を持たせています。彼女の正確な外見を再現するために、以下をプロンプトに追加することをお勧めします。
|
| 98 |
+
|
| 99 |
+
```
|
| 100 |
+
short hair, bob cut, blunt bangs, blunt ends, left swept bangs
|
| 101 |
+
```
|
| 102 |
+
|
| 103 |
+
彼女の制服姿を生成するには、以下のプロンプトを追加してください。
|
| 104 |
+
|
| 105 |
+
```
|
| 106 |
+
school uniform, serafuku
|
| 107 |
+
```
|
| 108 |
+
|
| 109 |
+
時々、異なる制服が生成されることがありますので、以下のプロンプトも追加することをお勧めします。
|
| 110 |
+
|
| 111 |
+
```
|
| 112 |
+
sailor shirt, blue sailor collar, blue pleated skirt, aqua neckerchief
|
| 113 |
+
```
|
| 114 |
+
|
| 115 |
+
外見に関しては、まやちゃんのブレスレットを再現するために`black futuristic bracelet`を追加できます。ただし、これはまだデータセットに含まれていないため、正しい腕(右腕)に表示されるようにするための新しいバージョンを作成する予定です(SDやSDXLの動作を知っている方はお分かりでしょうが…)。
|
| 116 |
+
|
| 117 |
+
### LoRAの重みと注意点
|
| 118 |
|
| 119 |
+
**0.7から1.0**の重みで使用しても問題ありません。ただし、学習データにNSFW画像が含まれているにもかかわらず、重みが高いと一部のNSFWコンセプトに苦労することがあります。個人的には*0.8以上*を推奨します。詳細を強化するためのLoRAやADetailerは非常に有用です。より良い生成のためには、`looking at viewer`を追加してキャラクターが視聴者を見るようにするなど、具体的に指示することをお勧めします。より良い生成のためには、具体的にプロンプトを指示することが重要です。例えば、キャラクターが視聴者を見るようにするには、`looking at viewer`を追加してください。
|
| 120 |
|
| 121 |
+
### ダウンロード
|
| 122 |
|
| 123 |
+
- **推奨バージョン (エポック30)**: [ダウンロード](https://huggingface.co/einar77/maya-hirukawa/resolve/main/hirukawamaya.safetensors?download=true)
|
| 124 |
+
- **エポック10**: [ダウンロード](https://huggingface.co/einar77/maya-hirukawa/resolve/main/hirukawamaya-000010.safetensors?download=true)
|
| 125 |
+
)
|
| 126 |
|
| 127 |
+
推奨バージョンで問題が発生した場合はエポック10を使用してください。ただし、より柔軟性がある反面、**クオリティが低い可能性があります**のでご注意ください。
|
| 128 |
|
| 129 |
+
### 学習データの詳細
|
| 130 |
|
| 131 |
+
学習データには、7th Anime Layer Aで生成された**311枚**の画像が含まれており、さまざまなポーズとアングルが使用されています。背景は削除され、すべての画像が白い背景に配置されました。トレーニングは[kohya-ss](https://github.com/kohya-ss/sd_scripts)で行いました。
|
| 132 |
|
| 133 |
+
学習データには非常に似た画像が含まれている可能性があります。将来のバージョンのこのLoRAでは、柔軟性をさらに高めるために学習データを整理する予定です。
|
| 134 |
|
| 135 |
+
### 推奨 LoRA
|
| 136 |
|
| 137 |
+
- [xl_more_art-full](https://civitai.com/models/124347)
|
| 138 |
+
- [better scenery](https://civitai.com/models/448522/better-scenery-animaginexl31ponyv6xl?modelVersionId=499466)
|
| 139 |
+
- [great lighting](https://civitai.com/models/228974/great-lighting-sliders-ntcaixyz)
|
| 140 |
|
| 141 |
+
### フィードバック
|
| 142 |
|
| 143 |
+
このモデルはCivitAIにも公開されています。コメントはそちらか、[X]((https://x.com/EinarRainhart))でお気軽にお寄せください。
|
| 144 |
|
| 145 |
+
いくつかのサンプル画像は下のギャラリーにあります
|
| 146 |
|
| 147 |
+
## ギャラリー / Gallery
|
| 148 |
|
| 149 |
<Gallery />
|
images/maya-cafe-1.webp
ADDED
|
Git LFS Details
|
images/maya-henshin-1.webp
ADDED
|
Git LFS Details
|
images/maya-running-1.webp
ADDED
|
Git LFS Details
|
images/maya-shirt-1.webp
ADDED
|
Git LFS Details
|