ghost
Sign In

蛭川まや (オリキャラ)/ Maya Hirukawa (original character) - SDXL

17
108
9
1
Verified:
SafeTensor
Type
LoRA
Stats
108
9
Reviews
Published
Jun 8, 2024
Base Model
SDXL 1.0
Training
Epochs: 30
Usage Tips
Clip Skip: 1
Strength: 0.8
Trigger Words
hirukawamaya
Hash
AutoV2
1310CB5639

蛭川まや (オリキャラ)/ Maya Hirukawa (original character)

English (日本語版は下にあります)

This is a LoRA used to replicate the features of Maya Hirukawa (description in Japanese), an original character created by myself, part of the 星光の英雄たち(Heroes of Starlight) universe. It is meant to be the first of a series of LoRAs for the entire cast of characters.

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.

This model is based on Animagine XL 3.1. It works reasonably well with derivatives (the sample 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.

Trigger words

Use hirukawamaya as a word trigger. The model has been kept by design flexible towards hair styles and length: to replicate her exact appearance you may want to add

short hair, bob cut, blunt bangs, blunt ends, left swept bangs

to your prompt.

To generate her in her school uniform, you can add

school uniform, serafuku

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.

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...).

LoRA weights and caveats

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.

Dataset details

The data set contained 311 images generated with 7th Anime Layer A with various poses and angles. Backgrounds were removed and all images put under a white background. Training was done with kohya-ss

The dataset probably contains images that are very similar: future versions of this LoRA will likely prune it a bit to further increase flexibility.

Feedback

This model is also published on HuggingFace. Feel free to leave your comments there, or on X (https://x.com/EinarRainhart ; Japanese).

Special thanks

  • Disty (Disty0) for advice, configuration samples, scripts, and general ideas.

日本語

こちらは星光の英雄たちの世界の一部として私が作成したオリキャラ、蛭川まや(ひるかわまや)の特徴を再現するためのLoRAです。これは、キャラクター全員のLoRAシリーズの第一弾となる予定です。

まやちゃんの外見はプロンプトだけで比較的簡単に再現できますが、他のキャラクターを一貫して再現するための第一歩として、このモデルを作成しました。

このモデルは Animagine XL 3.1をベースにしています。派生モデル(サンプル画像は7th Anime Layer A でも比較的うまく動作しますが、他のモデルで正しく動作する保証はありません。Pony Diffusionおよびその派生モデルでは正しく動作しません

トリガーワード

hirukawamayaをトリガーワードとして使用してください。モデルはデザイン上、髪型や長さに柔軟性を持たせています。彼女の正確な外見を再現するために、以下をプロンプトに追加することをお勧めします。

short hair, bob cut, blunt bangs, blunt ends, left swept bangs

彼女の制服姿を生成するには、以下のプロンプトを追加してください。

school uniform, serafuku

時々、異なる制服が生成されることがありますので、以下のプロンプトも追加することをお勧めします。

sailor shirt, aqua neckerchief, blue sailor collar, blue pleated skirt

外見に関しては、まやちゃんのブレスレットを再現するためにblack futuristic braceletを追加できます。ただし、これはまだデータセットに含まれていないため、正しい腕(右腕)に表示されるようにするための新しいバージョンを作成する予定です(SDやSDXLの動作を知っている方はお分かりでしょうが…)。

LoRAの重みと注意点

0.7から1.0の重みで使用しても問題ありません。ただし、学習データにNSFW画像が含まれているにもかかわらず、重みが高いと一部のNSFWコンセプトに苦労することがあります。個人的には*0.8以上*を推奨します。詳細を強化するためのLoRAやADetailerは非常に有用です。より良い生成のためには、具体的にプロンプトを指示することが重要です。例えば、キャラクターが視聴者を見るようにするには、looking at viewerを追加してください。

学習データの詳細

学習データには、7th Anime Layer Aで生成された311枚の画像が含まれており、さまざまなポーズとアングルが使用されています。背景は削除され、すべての画像が白い背景に配置されました。トレーニングは kohya-ss

学習データには非常に似た画像が含まれている可能性があります。将来のバージョンのこのLoRAでは、柔軟性をさらに高めるために学習データを整理する予定です。

フィードバック

このモデルはHuggingFaceにも公開されています。X](https://x.com/EinarRainhart) でお気軽にお寄せください。

特別感謝

  • Disty (Disty0) にアドバイス、設定サンプル、スクリプト、および一般的なアイデアを提供していただきました。