Warning: Invalid argument supplied for foreach() in /www/wwwroot/aitool.ai/wp-content/themes/onenav/inc/functions/io-single-book.php on line 168

Warning: Invalid argument supplied for foreach() in /www/wwwroot/aitool.ai/wp-content/themes/onenav/inc/functions/io-single-book.php on line 195
ModelsOther

SD1 Style Components (experimental)

SD1 Style Components (Forge extension)

SD1 Style Components (experimental)

Style control for Stable Diffusion 1.x anime models.

(you don’t actually need to download the model files, just try the Colab demo.)

What is this?

It is IP-Adapter, but for (anime) styles. Instead of CLIP image embeddings, the image generation is conditioned on 30-dimensional style embeddings, which can either be extracted from an image(s) or created manually.

Why?

Currently, the main means of style control is through artist tags. This method reasonably raises the concern of style plagiarism. By breaking down styles into interpretable components that are present in all artists, direct copying of styles can be avoided. Furthermore, new styles can be easily created by manipulating the magnitude of the style components, offering more controllability over stacking artist tags or LoRAs.

Additionally, this can be potentially useful for general purpose training, as training with style condition may weaken style leakage into concepts. This also serves as a demonstration that image models can be conditioned on arbitrary tensors other than text or images. Hopefully, more people can understand that it is not necessary to force conditions that are inherently numerical (aesthetic scores, dates, …) into text form tags.

How do I use it?

Currently, a Colab notebook with a gradio interface is available. As this is only an experimental preview, proper support for popular web UIs will not be added before the models reach a more stable state.

Technical details

First, a style embedding model is created by Supervised Contrastive Learning on an artists dataset. Then, from the learned embeddings, the 30 first components of a PCA are extracted. Finally, a modified IP-Adapter is trained on anime-final-pruned using the same dataset with WD1.4 tags and the projected 30-d embeddings. The training resolution is 576*576 with variable aspect ratios.

Acknowledgements

This is largely inspired by Inserting Anybody in Diffusion Models via Celeb Basis and IP-Adapter. Training and inference code is modified from IP-Adapter (license).

Appendix: Selected style component interpretations by the author

Comopnent index: - / +
0: ecchi / safe,art-y
1: more details / less details
2: western realistic / moe
3: flat coloring / galgame coloring
4: 
5: 
6: young,imouto / mature,onee
7: 
8: soft shading / strong shading
9: shiny,highlights / flat
10: less details / more details
12:
13:
14:
15: finer hair / blockier hair
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:

Warning: count(): Parameter must be an array or an object that implements Countable in /www/wwwroot/aitool.ai/wp-content/themes/onenav/inc/functions/functions.php on line 1068

Warning: Illegal string offset 'info' in /www/wwwroot/aitool.ai/wp-content/themes/onenav/inc/functions/functions.php on line 1073

Warning: Illegal string offset 'tqm' in /www/wwwroot/aitool.ai/wp-content/themes/onenav/inc/functions/functions.php on line 1074

Warning: Illegal string offset 'url' in /www/wwwroot/aitool.ai/wp-content/themes/onenav/inc/functions/functions.php on line 1075

Warning: Illegal string offset 'tqm' in /www/wwwroot/aitool.ai/wp-content/themes/onenav/inc/functions/functions.php on line 1075

Warning: Illegal string offset 'name' in /www/wwwroot/aitool.ai/wp-content/themes/onenav/inc/functions/functions.php on line 1075

Warning: Illegal string offset 'tqm' in /www/wwwroot/aitool.ai/wp-content/themes/onenav/inc/functions/functions.php on line 1076

Warning: Illegal string offset 'tqm' in /www/wwwroot/aitool.ai/wp-content/themes/onenav/inc/functions/functions.php on line 1077

Warning: count(): Parameter must be an array or an object that implements Countable in /www/wwwroot/aitool.ai/wp-content/themes/onenav/inc/functions/functions.php on line 1068

Related Model

EyeAI’s – Asahina Hikage / アサヒナヒカゲ Style (LoRA)
EyeAI\'s - Asahina Hikage / アサヒナヒカゲ Style (LoRA)
Emidraw [STYLE]
Emidraw [STYLE]
light cream淡奶油
light cream淡奶油
SNK Neo Geo Sprite Style
SNK Neo Geo Sprite Style
塔罗牌机甲妹子/Tarot Robot Girl
塔罗牌机甲妹子/Tarot Robot Girl
XL Anime style XL动漫画风合集
XL Anime style XL动漫画风合集

No comments

No comments...