Lykon commited on
Commit
bac4351
1 Parent(s): a2a7bc0

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +52 -0
README.md ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: other
5
+ tags:
6
+ - stable-diffusion
7
+ - stable-diffusion-diffusers
8
+ - stable-diffusion-xl
9
+ - text-to-image
10
+ - art
11
+ - artistic
12
+ - diffusers
13
+ - anime
14
+ ---
15
+
16
+ # AAM XL AnimeMix
17
+
18
+ `Lykon/AAM_XL_AnimeMix` is a Stable Diffusion model that has been fine-tuned on [stabilityai/stable-diffusion-xl-base-1.0](https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0).
19
+
20
+ Please consider supporting me:
21
+ - on [Patreon](https://www.patreon.com/Lykon275)
22
+ - or [buy me a coffee](https://snipfeed.co/lykon)
23
+
24
+ **License**: [Fair AI Public License 1.0-SD](https://freedevproject.org/faipl-1.0-sd/)
25
+
26
+ ## Diffusers
27
+
28
+ For more general information on how to run text-to-image models with 🧨 Diffusers, see [the docs](https://huggingface.co/docs/diffusers/using-diffusers/conditional_image_generation).
29
+
30
+ 1. Installation
31
+
32
+ ```
33
+ pip install diffusers transformers accelerate
34
+ ```
35
+
36
+ 2. Run
37
+ ```py
38
+ from diffusers import AutoPipelineForText2Image, DEISMultistepScheduler
39
+ import torch
40
+
41
+ pipe = AutoPipelineForText2Image.from_pretrained('Lykon/AAM_XL_AnimeMix', torch_dtype=torch.float16, variant="fp16")
42
+ pipe.scheduler = DEISMultistepScheduler.from_config(pipe.scheduler.config)
43
+ pipe = pipe.to("cuda")
44
+
45
+ prompt = "anime girl, night, blue light behind her, ((Galaxy, Lens flare)), short hair, flower field, night sky, cinematic shot. Wallpaper. (Blue color schema), detailed background, a city in the distance"
46
+
47
+ generator = torch.manual_seed(0)
48
+ image = pipe(prompt, num_inference_steps=25).images[0]
49
+ image.save("./image.png")
50
+ ```
51
+
52
+ ![](./image.png)