ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
Variable used withGradient_wrt
Remember: These are guidelines, not rules! You can experiments with much higher values and sometimes negative values.
2
x (slow)x0_pred (fast)
These are recommended settings if you want to use ONE of the variables named like "*_scale".
3
minmaxrecommended
These recommendations are for a 512x512 image at scale=7,steps=50
4
Exposure/Contrast Conditional Settings
5
mean_scale040050100
6
var_scale-20020050100
7
exposure_scale040050100
8
exposure_targetexposure_scale-11
9
10
Color Match Conditional Settings
11
colormatch_scale01000400500
Colors are more accurate with decode_method=autoencoder
12
colormatch_imagecolormatch_scale
13
colormatch_n_colorscolormatch_scale1644
14
ignore_sat_weightcolormatch_scale151 or None1 or None
15
16
CLIP\Aesthetics Conditional Settings
17
clip_nameclip_scale and aesthetics_scale
['ViT-L/14', 'ViT-L/14@336px', 'ViT-B/16', 'ViT-B/32']
ViT-L/14ViT-L/14
18
clip_scale020050not recommended
clip_scale may depend on which clip_name is being used, these recommendations are for ViT-L/14
19
aesthetics_scale0103not recommended
aesthetics_scale may depend on which clip_name is being used, these recommendations are for ViT-L/14
20
cutnclip_scale1611
Higher values use more VRAM if clip_scale > 0
21
cut_powclip_scale0.000000001100000000.0010.001
22
23
Other Conditional Settings
24
init_mse_scale010001000500
25
init_mse_imageinit_mse_scale
26
27
Conditional Gradient Settings
28
gradient_wrtall *_scale variables["x", "x0_pred"]xx0_pred
x is much slower, but uses the whole model to affect the content
29
gradient_add_toall *_scale variables and cond_uncond_sync
["cond", "uncond", "both"]
bothboth
values other than "both" only work when cond_uncond_sync==False
30
decode_methodall *_scale variables
["autoencoder","linear"]
linearlinear
linear is much faster and uses much less vram, but may not have the best quality in some cases. If the results look noisy, try autoencoder.
31
grad_threshold_typeall *_scale variables
["dynamic", "static", "mean", "schedule"]
meandynamic
32
clamp_grad_thresholdall *_scale variables010.20.2
33
clamp_startall *_scale variables and grad_threshold_type010.20.2
only used when grad_threshold_type=="schedule"
34
clamp_stopall *_scale variables and grad_threshold_type010.010.01
only used when grad_threshold_type=="schedule"
35
grad_inject_timingall *_scale variables11
36
37
Speed vs VRAM Settings
38
cond_uncond_syncTrue/FalseTRUETRUE
False uses less VRAM, but is slower
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