File size: 2,662 Bytes
3100bd5
55e8d97
 
3100bd5
18d04b4
3100bd5
55e8d97
34c692b
085fcc8
 
00095d2
 
544bef3
 
 
085fcc8
544bef3
 
 
 
 
5481fb4
544bef3
 
21d5165
544bef3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# ↓cattowerV15vpred_cyber4itercomppvc.safetensors
![v15_sample1.png](https://huggingface.co/terracottahaniwa/catTower_vpred_cyber4itercomppvc/resolve/main/v15_sample1.png)
![v15_sample2.png](https://huggingface.co/terracottahaniwa/catTower_vpred_cyber4itercomppvc/resolve/main/v15_sample2.png)
# ↓cattowerV16vpred_cyber4itercomppvc.safetensors
![v16_sample.png](https://huggingface.co/terracottahaniwa/catTower_vpred_cyber4itercomppvc/resolve/main/v16_sample.png)
# ↓cattowerV16vpred_cyber4itercomppvcrev2.safetensors
![v16rev2_sample1.png](https://huggingface.co/terracottahaniwa/catTower_vpred_cyber4itercomppvc/resolve/main/v16rev2_sample1.png)
![v16rev2_sample2.png](https://huggingface.co/terracottahaniwa/catTower_vpred_cyber4itercomppvc/resolve/main/v16rev2_sample2.png)
# ↓cattowerV16vpred_cyber5itercomppvc.safetensors
![v16cyber5_sample.png](https://huggingface.co/terracottahaniwa/catTower_vpred_cyber4itercomppvc/resolve/main/v16cyber5_sample.png)
# ↓cattowerV17vpred_cyberill3itercomppvc.safetensors
![v17cyberill3_sample.png](https://huggingface.co/terracottahaniwa/catTower_vpred_cyber4itercomppvc/resolve/main/v17cyberill3_sample.png)

# Description:

A merge model of those models; cyber realistic xl v4/5, itercomp v1, movable figure model illustrious xl v1 and catTower v1.5(vpred)/v1.6(vpred).  
This model require V-pred supported client; like as a1111dev, forge, reforge, comfyui.  
The recipe is included in sample images.

# Entry settings:

Euler, 24 steps, CFG 3-5  
PP: `masterpiece, newest,`  
NP: `worst quality, comic, multiple views, bad quality, low quality, lowres, displeasing, very displeasing, bad anatomy, bad hands, scan artifacts, monochrome, greyscale, twitter username, jpeg artifacts, 2koma, 4koma, guro, extra digits, fewer digits, jaggy lines, unclear, oldest`  
This model has wide range CFG tolerance. If you want more NP effect or off-white and vividness, increase Steps and CFG. up to around 7-9, there are few side effects. v1.6_rev2 is reduced version grayish white background issue in low CFG.  

# Note:

To set the model type as V-pred automatically, After model export, the keys "v_pred" and "ztsnr" were written into the state_dict of the model using this python function.  

```py
import torch
from safetensors import safe_open
from safetensors.torch import save_file
def append_vpred_keys(input_filename, output_filename):
    with safe_open(input_filename, framework="pt", device="cpu") as f:
        state_dict = {key: f.get_tensor(key) for key in f.keys()}
    state_dict["v_pred"] = torch.tensor([0])
    state_dict["ztsnr"] = torch.tensor([0])
    save_file(state_dict, output_filename)
```