Lykon commited on
Commit
8496941
1 Parent(s): 8637779

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +57 -0
README.md ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: creativeml-openrail-m
5
+ tags:
6
+ - stable-diffusion
7
+ - stable-diffusion-diffusers
8
+ - text-to-image
9
+ - art
10
+ - artistic
11
+ - diffusers
12
+ - anime
13
+ - dreamshaper
14
+ duplicated_from: lykon/dreamshaper-8-lcm
15
+ ---
16
+
17
+ # Dreamshaper-8-lcm
18
+
19
+ `lykon/dreamshaper-8-lcm` is a Stable Diffusion model that has been fine-tuned on [runwayml/stable-diffusion-v1-5](https://huggingface.co/runwayml/stable-diffusion-v1-5).
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
+ ## Diffusers
26
+
27
+ 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).
28
+
29
+ 1. Installation
30
+
31
+ ```
32
+ pip install diffusers transformers accelerate
33
+ ```
34
+
35
+ 2. Run
36
+ ```py
37
+ from diffusers import AutoPipelineForText2Image, LCMScheduler
38
+ import torch
39
+
40
+ pipe = AutoPipelineForText2Image.from_pretrained('lykon-models/dreamshaper-2', torch_dtype=torch.float16, variant="fp16")
41
+ pipe.scheduler = LCMScheduler.from_config(pipe.scheduler.config)
42
+ pipe = pipe.to("cuda")
43
+
44
+ prompt = "portrait photo of muscular bearded guy in a worn mech suit, light bokeh, intricate, steel metal, elegant, sharp focus, soft lighting, vibrant colors"
45
+
46
+ generator = torch.manual_seed(0)
47
+ image = pipe(prompt, num_inference_steps=15, generator=generator).images[0]
48
+ image.save("./image.png")
49
+ ```
50
+
51
+ ## Notes
52
+
53
+ - **Version 8** focuses on improving what V7 started. Might be harder to do photorealism compared to realism focused models, as it might be hard to do anime compared to anime focused models, but it can do both pretty well if you're skilled enough. Check the examples!
54
+ - **Version 7** improves lora support, NSFW and realism. If you're interested in "absolute" realism, try AbsoluteReality.
55
+ - **Version 6** adds more lora support and more style in general. It should also be better at generating directly at 1024 height (but be careful with it). 6.x are all improvements.
56
+ - **Version 5** is the best at photorealism and has noise offset.
57
+ - **Version 4** is much better with anime (can do them with no LoRA) and booru tags. It might be harder to control if you're used to caption style, so you might still want to use version 3.31. V4 is also better with eyes at lower resolutions. Overall is like a "fix" of V3 and shouldn't be too much different.