63 lines
1.2 KiB
Plaintext
63 lines
1.2 KiB
Plaintext
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)
|