Update README.md
Browse files
README.md
CHANGED
|
@@ -1,54 +1,59 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
</
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
<p>
|
| 26 |
-
<img src="./examples/demo/
|
| 27 |
-
</p>
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
<
|
| 41 |
-
|
| 42 |
-
</
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
<
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- ethics
|
| 4 |
+
license: apache-2.0
|
| 5 |
+
---
|
| 6 |
+
|
| 7 |
+
# InstantID for StableDiffusion 1.5
|
| 8 |
+
This is unofficial implementation InstantID for StableDiffusion 1.5.
|
| 9 |
+
SD15 has a lot of finetuned models. So you can use all of this models with combination of instantid components to get awesome results.
|
| 10 |
+
|
| 11 |
+
<a href="https://instantid.github.io">Official InstantID</a> works only with SDXL and contains code only for inference.
|
| 12 |
+
But this repository contains Training and Inference code.
|
| 13 |
+
Training process was used only 10M images from <a href="https://github.com/FacePerceiver/LAION-Face">LAION-FACE 50M</a> dataset (Original InstantID used 50M Laion-face + 10M custom images).
|
| 14 |
+
Feel free to adapt it for your personal purposes. I will be glad if somebody find it usefull.
|
| 15 |
+
|
| 16 |
+
## How to use:
|
| 17 |
+
See <a href="https://github.com/TheDenk/InstantID-SD1.5.git">Github instruction</a>.
|
| 18 |
+
|
| 19 |
+
## Examples
|
| 20 |
+
Examples with <a href="https://civitai.com/models/132632/epicphotogasm">epiCPhotoGasm model</a> + styles from original InstantID.
|
| 21 |
+
<p>
|
| 22 |
+
<img src="./examples/demo/epicphoto.png" width="600" height="480" title="epicphoto"/>
|
| 23 |
+
</p>
|
| 24 |
+
Examples with <a href="https://civitai.com/models/65203/disney-pixar-cartoon-type-a">Disney Pixar Cartoon Type A model</a> + styles from original InstantID.
|
| 25 |
+
<p>
|
| 26 |
+
<img src="./examples/demo/disneypixart.png" width="600" height="480" title="disneypixart"/>
|
| 27 |
+
</p>
|
| 28 |
+
|
| 29 |
+
InstantID SD1.5 components are not compatible with InstantID SDXL. In this work model has been trained with additional facial keypoints information.
|
| 30 |
+
Keypoints visualization:
|
| 31 |
+
<p>
|
| 32 |
+
<img src="./examples/demo/kp_example.png" width="480" height="360" title="kp_example"/>
|
| 33 |
+
</p>
|
| 34 |
+
It is also possible transfer different keypoints from other images.
|
| 35 |
+
<p>
|
| 36 |
+
<img src="./examples/demo/pose_example.png" width="960" height="360" title="pose_example"/>
|
| 37 |
+
</p>
|
| 38 |
+
|
| 39 |
+
Links:
|
| 40 |
+
- <a href="https://github.com/TheDenk/InstantID-SD1.5">Code training/inference (gradio, jupyter notebooks, .py files)</a>
|
| 41 |
+
- <a href="https://huggingface.co/TheDenk/InstantID-SD1.5">Checkpoints (Controlnet, resampler, ip-adapter)</a>
|
| 42 |
+
- <a href="https://github.com/deepinsight/insightface/issues/1896#issuecomment-1023867304">Insightface models for keypoints (antilopev2 and others)</a>
|
| 43 |
+
|
| 44 |
+
## More examples
|
| 45 |
+
Using only models without special style prompts.
|
| 46 |
+
<p>
|
| 47 |
+
<img src="./examples/demo/rock.png" width="600" height="420" title="rock_example"/>
|
| 48 |
+
</p>
|
| 49 |
+
<p>
|
| 50 |
+
<img src="./examples/demo/mj.png" width="600" height="480" title="mj_example"/>
|
| 51 |
+
</p>
|
| 52 |
+
Examples with <a href="https://civitai.com/models/24387/aniflatmix-anime-flat-color-style-mix">Aniflatmix model</a> + styles from original InstantID.
|
| 53 |
+
<p>
|
| 54 |
+
<img src="./examples/demo/aniflat.png" width="600" height="480" title="disneypixart"/>
|
| 55 |
+
</p>
|
| 56 |
+
|
| 57 |
+
## Acknowledgements
|
| 58 |
+
- [InstantID](https://github.com/InstantID/InstantID) and InstantX Team.
|
| 59 |
+
- [IP-Adapter](https://github.com/tencent-ailab/IP-Adapter) and [ControlNet](https://github.com/lllyasviel/ControlNet).
|