p1atdev commited on
Commit
34e6a75
1 Parent(s): 3f43b61

doc: update readme

Browse files
Files changed (1) hide show
  1. README.md +39 -4
README.md CHANGED
@@ -1,15 +1,50 @@
1
  ---
2
  license: creativeml-openrail-m
 
 
 
 
 
 
3
  ---
4
 
5
- # Plat Diffusion v0.1
6
 
7
- Plat Diffusion is a fine-tuned model based on [8528-diffusion](https://huggingface.co/852wa/8528-diffusion) with images generated with niji・journey and NovelAI.
8
 
9
- ![image.png](https://s3.amazonaws.com/moonup/production/uploads/1669985541532-6305db1fcfbde33ef7d480ff.png)
10
 
11
  ```
12
- 1girl, body made of glass fragments, refraction, blue hour
13
  ```
14
 
 
 
15
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: creativeml-openrail-m
3
+ inference: true
4
+ tags:
5
+ - stable-diffusion
6
+ - stable-diffusion-diffusers
7
+ - text-to-image
8
+ - diffusers
9
  ---
10
 
11
+ # Plat Diffusion v1.2.1
12
 
13
+ Plat Diffusion is a fine-tuned model based on [Waifu Diffusion v1.3](https://huggingface.co/hakurei/waifu-diffusion) with images generated with niji・journey.
14
 
15
+ ![sunflower.png](https://s3.amazonaws.com/moonup/production/uploads/1671474750149-6305db1fcfbde33ef7d480ff.png)
16
 
17
  ```
18
+ masterpiece, 1girl, flower, sunflower, solo, smile, earrings, shirt, jewelry, holding, blurry, bangs, petals, blush, long hair, looking at viewer, holding flower, brown hair, white shirt, collared shirt, yellow flower, blurry background, closed mouth, blue eyes, upper body, depth of field
19
  ```
20
 
21
+ ### Recomended Negative Prompt
22
+ Same as NAI's "Low Quality + Bad Anatomy"
23
 
24
+ ```
25
+ lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry
26
+ ```
27
+
28
+ ## Special Tags
29
+
30
+ In version 1.2.1, the following special tags can be used
31
+
32
+ - masterpiece: high quality illustrations are classified as `masterpiece`.
33
+
34
+
35
+
36
+ # 🧨 Diffusers
37
+
38
+ ```
39
+ from diffusers import StableDiffusionPipeline
40
+ import torch
41
+
42
+ model_id = "p1atdev/plat-diffusion"
43
+ pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
44
+ pipe = pipe.to("cuda")
45
+
46
+ prompt = "masterpiece, 1girl, "
47
+ image = pipe(prompt).images[0]
48
+
49
+ image.save("girl.png")
50
+ ```