File size: 7,226 Bytes
210184c
 
a3b9804
9cd919e
 
 
 
 
 
 
 
1b9aa20
 
 
 
 
 
 
210184c
9cd919e
4dd1bf3
 
 
 
 
 
 
 
 
 
 
9afe319
 
 
 
 
 
 
 
 
 
56b0fcf
9afe319
de63798
 
 
9afe319
ba1d196
 
 
 
 
4dd1bf3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17bbb33
c146e27
 
 
 
fb929aa
c146e27
4dd1bf3
c146e27
 
 
eda8a8d
c146e27
 
4dd1bf3
c146e27
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4dd1bf3
c146e27
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
---
license: creativeml-openrail-m
thumbnail: https://huggingface.co/p1atdev/pvc/resolve/main/samples/v2-eyecatch.png
datasets:
- p1atdev/pvc
language:
- en
tags:
- stable-diffusion
- text-to-image
- safetensors
widget:
- text: masterpiece, best quality, high quality, 1girl, cat ears, silver, blue, frills, bow, looking at viewer, ultra detailed
  example_title: A girl with cat ears
- text: masterpiece, best quality, 1girl, green hair, sweater, beanie, turtleneck, looking at viewer, night
  example_title: A beanie girl
- text: masterpiece, best quality, high quality, 1girl, bob cut, cape, belt, gloves, looking at viewer, ultra detailed
  example_title: An adventurer girl
---

# PVC v2

![v2 eyecatch](https://huggingface.co/p1atdev/pvc/resolve/main/samples/v2-eyecatch.png)


```
masterpiece, best quality, high quality, 1girl, cat ears, silver, blue, frills, bow, looking at viewer, ultra detailed
Negative prompt: nsfw, worst quality, low quality, medium quality, deleted, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, jpeg artifacts, signature, watermark, username, blurry
Steps: 20, Sampler: DPM++ 2M Karras, CFG scale: 7
```

This model is a latent diffusion model finetuned on [Waifu Diffusion v1.4 epoch 2](https://huggingface.co/hakurei/waifu-diffusion-v1-4) with [PVC figure images](https://huggingface.co/datasets/p1atdev/pvc) using LoRA method.
You can use Danbooru tags to generate images.


## Model links

- [**pvc-v2.safetensors**](https://huggingface.co/p1atdev/pvc/resolve/main/pvc-v2.safetensors)
- [**pvc-v2.ckpt**](https://huggingface.co/p1atdev/pvc/resolve/main/pvc-v2.ckpt)
- [pvc-v2.yaml](https://huggingface.co/p1atdev/pvc/blob/main/pvc-v2.yaml) (needed if you want to use the model in AUTOMATIC1111's Web UI)
- [pvc-v2-lora.pt](https://huggingface.co/p1atdev/pvc/resolve/main/pvc-v2-lora.pt) (maybe only works with kohya's [sd-scripts](https://huggingface.co/p1atdev/pvc/resolve/main/pvc-v1-lora.pt) or [webui extension](https://github.com/kohya-ss/sd-webui-additional-networks))
- [Waifu Diffusion 1.4 VAE](https://huggingface.co/hakurei/waifu-diffusion-v1-4/blob/main/vae/kl-f8-anime2.ckpt) (Recommended)

## Prompt guide

It is recommended to add the quality tags **"masterpiece, best quality"** at the beginning of the prompt when using this model, which is a derivative of the WD.

**Recommended negative prompt**
```
nsfw, worst quality, low quality, medium quality, deleted, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digits, fewer digits, cropped, jpeg artifacts, signature, watermark, username, blurry
```

## Samples

![v2 sample1](https://huggingface.co/p1atdev/pvc/resolve/main/samples/v2-sample1.png)


```
masterpiece, best quality, 1girl, green hair, sweater, beanie, turtleneck, looking at viewer, night,
Negative prompt: nsfw, worst quality, low quality, medium quality, deleted, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, jpeg artifacts, signature, watermark, username, blurry
Steps: 20, Sampler: DPM++ 2M Karras, CFG scale: 7
```

---

![v2 sample2](https://huggingface.co/p1atdev/pvc/resolve/main/samples/v2-sample2.png)

```
masterpiece, best quality, high quality, 1girl, bob cut, cape, belt, gloves, looking at viewer, ultra detailed
Negative prompt: nsfw, worst quality, low quality, medium quality, deleted, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, jpeg artifacts, signature, watermark, username, blurry
Steps: 20, Sampler: DPM++ 2M Karras, CFG scale: 7
```

---

![v2 sample3](https://huggingface.co/p1atdev/pvc/resolve/main/samples/v2-sample3.png)

```
masterpiece, best quality, 1girl, annoyed, black hair, floating hair, gothic lolita, scythe, looking at viewer,
Negative prompt: nsfw, worst quality, low quality, medium quality, deleted, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, jpeg artifacts, signature, watermark, username, blurry
Steps: 20, Sampler: DPM++ 2M Karras, CFG scale: 7
```

## Training information

```
--train_batch_size 1 --resolution 768,768 --learning_rate 1e-4 --max_train_steps 21100 --use_8bit_adam --xformers --mixed_precision fp16 --save_every_n_epochs 1 --network_module networks.lora --v2 --enable_bucket --max_token_length 225 --network_dim 32 --text_encoder_lr 5e-5 --lr_scheduler cosine_with_restarts --lr_warmup_steps 200
```

# PVC v1

![eyecatch](https://huggingface.co/p1atdev/pvc/resolve/main/samples/miku.png)

This model is a latent diffusion model finetuned on [Waifu Diffusion v1.4 epoch 2](https://huggingface.co/hakurei/waifu-diffusion-v1-4) with [PVC figure images](https://huggingface.co/datasets/p1atdev/pvc) using LoRA method.
You can use Danbooru tags to generate images.

## Model links

- [**pvc-v1.safetensors**](https://huggingface.co/p1atdev/pvc/resolve/main/pvc-v1.safetensors)
- [**pvc-v1.ckpt**](https://huggingface.co/p1atdev/pvc/resolve/main/pvc-v1.ckpt)
- [pvc-v1.yaml](https://huggingface.co/p1atdev/pvc/blob/main/pvc-v1.yaml) (needed if you want to use the model in AUTOMATIC1111's Web UI)
- [pvc-v1-lora.pt](https://huggingface.co/p1atdev/pvc/resolve/main/pvc-v1-lora.pt) (maybe only works with kohya's [sd-scripts](https://huggingface.co/p1atdev/pvc/resolve/main/pvc-v1-lora.pt) or [webui extension](https://github.com/kohya-ss/sd-webui-additional-networks))

## Samples

![sample1](https://huggingface.co/p1atdev/pvc/resolve/main/samples/sample1.png)

```
masterpiece, best quality, 1girl, green hair, sweater, beanie, turtleneck, looking at viewer,
Negative prompt: nsfw, worst quality, low quality, medium quality, deleted, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, jpeg artifacts, signature, watermark, username, blurry
Steps: 20, Sampler: DPM++ 2M Karras, CFG scale: 7
```

---

![sample2](https://huggingface.co/p1atdev/pvc/resolve/main/samples/sample2.png)


```
masterpiece, best quality, 1girl, smile, black hair, long hair, school uniform, navel, pleated skirt, leaning forward, looking at viewer, wind
Negative prompt: nsfw, worst quality, low quality, medium quality, deleted, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, jpeg artifacts, signature, watermark, username, blurry,
Steps: 20, Sampler: DPM++ SDE Karras, CFG scale: 10
```

---

![sample3](https://huggingface.co/p1atdev/pvc/resolve/main/samples/sample3.png)


```
masterpiece, best quality, 1girl, fascinator, hat, victorian, gothic, dress, frills, looking at viewer,
Negative prompt: worst quality, low quality, medium quality, deleted, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, jpeg artifacts, signature, watermark, username, blurry, censored, hetero
Steps: 20, Sampler: DPM++ SDE Karras, CFG scale: 7
```

## Training information

```
--train_batch_size 1 --resolution 768,768 --learning_rate 1e-4 --max_train_steps 17740 --use_8bit_adam --xformers --mixed_precision fp16 --save_every_n_epochs 1 --network_module networks.lora --v2 --enable_bucket --max_token_length 225 --network_dim 16 --text_encoder_lr 5e-5
```