-
Notifications
You must be signed in to change notification settings - Fork 6
/
Examples
62 lines (44 loc) · 1.2 KB
/
Examples
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
Copy paste following to use their effect. CFG slider will still work
CFG is how much to stick to the prompt
ETA is how much of shift to cause ... maybe
Example 1
About: Gradually reduce CFG
CFG
0: cfg * e
ETA
0: e
Example 3
About: Half the way, use CFG while reducing its strong effect
0: cfg * (0.5+ (t<T/2) *0.5)
0: 1.2-e
Example 3
About: The higher the CFG, the more frequent details added from prompt
CFG:
0: 5-( cfg/30*5 ) + ( (t% math.floor((35-cfg)/2))==0)*(cfg*e*0.5+30)
ETA:
0: pow(e,1/(1/pow(2, (cfg-15)/30*3 ) ))
Example 4
About: Focus on adding details midway
CFG:
0:( 1-pow(2*e-1 ,2))*cfg*0.75 * (t%4<1 and t<T-4)+(31-cfg)*0.25
ETA:
0: pow(2*e-1 ,2)*cfg
Example 5
About: Pay more attention to details at beginning, then relax
CFG:
0:pow(e,0.1)*cfg*( t%4<1)+5*(1-e)
ETA:
0:pow(e,0.3)
Example 6
About: This can help you compare results of this script with results without it.
It will try to create the same image as without it, but enhance it.
CFG:
0: cfg*(e>0.7 or e<0.1)+ (15-cfg*0.2)*(e<0.4 and (t%3<1))
ETA:
0:e+(e<0.4)*(e*3)
Example 7
About: Conditional. Does some clean up at the end.
CFG:
0:abs(0.3-e)*(3.5+cfg*2)
ETA:
0:abs( (1.5-2*e)*3)*(pow(1-e,2) if e>.2 or cfg>20 else e)