Lykon commited on
Commit
33f443a
1 Parent(s): 7e96de7

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +53 -0
README.md ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ - turbo
15
+ ---
16
+
17
+ # AAM XL AnimeMix_Turbo
18
+
19
+ `Lykon/AAM_XL_AnimeMix_Turbo` 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).
20
+
21
+ Please consider supporting me:
22
+ - on [Patreon](https://www.patreon.com/Lykon275)
23
+ - or [buy me a coffee](https://snipfeed.co/lykon)
24
+
25
+ **License**: [Fair AI Public License 1.0-SD](https://freedevproject.org/faipl-1.0-sd/)
26
+
27
+ ## Diffusers
28
+
29
+ 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).
30
+
31
+ 1. Installation
32
+
33
+ ```
34
+ pip install diffusers transformers accelerate
35
+ ```
36
+
37
+ 2. Run
38
+ ```py
39
+ from diffusers import AutoPipelineForText2Image, EulerAncestralDiscreteScheduler
40
+ import torch
41
+
42
+ pipe = AutoPipelineForText2Image.from_pretrained('Lykon/AAM_XL_AnimeMix_Turbo', torch_dtype=torch.float16, variant="fp16")
43
+ pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
44
+ pipe = pipe.to("cuda")
45
+
46
+ 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"
47
+
48
+ generator = torch.manual_seed(0)
49
+ image = pipe(prompt, num_inference_steps=8, guidance_scale=4).images[0]
50
+ image.save("./image.png")
51
+ ```
52
+
53
+ ![](./image.png)