|
--- |
|
license: creativeml-openrail-m |
|
--- |
|
# DeathNote Diffusion |
|
<p>This is the fine-tuned Stable Diffusion model trained on images from the anime Death Note.<br/> |
|
The following tokens will add their corresponding concept :<br/> |
|
<ul> |
|
<li>**DeathNote notebook** : the Deathnote itself</li> |
|
<li>**Light Yagami** man : Light Yagami, main character</li> |
|
<li>**Ryuk** demon : Ryuk, Shinigami</li> |
|
<li>**LLawliet** man : L, "full" name</li> |
|
<li>**Misa Amane** girl : Second Kira</li> |
|
<li>**Soichiro Yagami** man : Soichiro, Father of Light, Policeman</li> |
|
<li>**Sayou Yagami** girl : Sayou, sister of Light</li> |
|
<li>**Raye Penber** man : Raye, FBI Agent</li> |
|
<li>**Naomi Misora** girl : Naomi, fiance of Raye</li> |
|
<li>**DNStyle style** : style of the anime</li> |
|
</ul> |
|
|
|
### 🧨 Diffusers |
|
|
|
This model can be used just like any other Stable Diffusion model. For more information, |
|
please have a look at the [Stable Diffusion](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion). |
|
|
|
You can also export the model to [ONNX](https://huggingface.co/docs/diffusers/optimization/onnx), [MPS](https://huggingface.co/docs/diffusers/optimization/mps) and/or [FLAX/JAX](). |
|
|
|
```python |
|
from diffusers import StableDiffusionPipeline |
|
import torch |
|
|
|
model_id = "Guizmus/DeathNote" |
|
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16) |
|
pipe = pipe.to("cuda") |
|
|
|
prompt = "Ryuk demon, intricate, headshot, highly detailed" |
|
image = pipe(prompt).images[0] |
|
|
|
image.save("./Ryuk_demon.png") |
|
``` |
|
|