Instructions to use Guizmus/DarkSoulsDiffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Guizmus/DarkSoulsDiffusion with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Guizmus/DarkSoulsDiffusion", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
|
Download README.md from Guizmus/DarkSoulsDiffusion: direct link, hf CLI and curl.
- Browser
- Download file 1.61 kB
-
https://huggingface.co/Guizmus/DarkSoulsDiffusion/resolve/main/README.md
- Command line
-
hf download hf://Guizmus/DarkSoulsDiffusion/README.md
-
curl -L -o README.md https://huggingface.co/Guizmus/DarkSoulsDiffusion/resolve/main/README.md
1.61 kB
| language: | |
| - en | |
| license: creativeml-openrail-m | |
| thumbnail: "https://huggingface.co/Guizmus/DarkSoulsDiffusion/resolve/main/showcase.jpg" | |
| tags: | |
| - stable-diffusion | |
| - text-to-image | |
| - image-to-image | |
| inference: true | |
| # DarkSouls Diffusion | |
| <p> | |
| <img src="https://huggingface.co/Guizmus/DarkSoulsDiffusion/resolve/main/showcase.jpg"/><br/> | |
| This is a Dreamboothed Stable Diffusion model trained on the DarkSouls series Style.<br/> | |
| The total dataset is made of 100 pictures, and the training has been done on runawayml 1.5 and the new VAE, with 2500 steps (LR1e-6) then 24k more steps (LR1e-7).<br/> | |
| The token "DarkSouls Style" will bring in the new concept.<br/> | |
| The recommended sampling is k_Euler_a or DPM++ 2M Karras on 20 steps, CFGS 7 . | |
| </p> | |
| [CKPT download link](https://huggingface.co/Guizmus/DarkSoulsDiffusion/resolve/main/DarkSoulsStyle_v1-3.ckpt) | |
| ## 🧨 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/DarkSoulsDiffusion" | |
| pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16) | |
| pipe = pipe.to("cuda") | |
| prompt = "a soldier engulfed in fire, DarkSouls Style" | |
| image = pipe(prompt).images[0] | |
| image.save("./DarkSouls Style.png") | |
| ``` |