Skip to content

CFG Auto script

guzuligo edited this page Mar 5, 2023 · 4 revisions

This script is intended to simplify the mathy stuff into sliders. It should include some successful experimentation I try.

image

Loop Part

Use this in img2img to apply the effect repeatedly.

Loops

This is the same as loop script but uses the effects of this script.

Loop Returns One

If checked, only the last loop image returned.

Target Denoising

Gradually go towards this denoising. Last loop will equal to this denoising value.

Scheduler Part

Scheduler is the pre-configured scripts for the scheduler. Depending on the one you choose, the other sliders change. ###Blur First V1 The idea behind this scheduler is to apply more noise in the beginning.

In img2img, this allows fixing the image before applying the CFG to it.

Main Strength: Strength of noise. Acts as a blur. Technically increase ETA of Eular a.

Main Range: How long to apply the effect. 50 means 50% of the time then stops.

Sub-Strength: Keep this below 4. The bigger this is, the more it become less of a blur and more of a sharpener.

Sub-Range: Keep at 50. The bigger the value, the less effect the CFG value affects the output.

Force At Start V1

Scheduler applies more CFG in the begging allowing image to have the benefits of high CFG, yet outputting image without artifacts.

Main Strength: CFG multiplier. The more this is, the more CFG value applied in the beginning.

Main Range: How long to apply the effect. 50 means 50% of the time then stops.

Sub-Strength: A blur to apply right after the strong CFG.

Sub-Range: How long to apply that blur.0=no blur. 100= all the way. 50 means it will devid the remaining time by half.

Clone this wiki locally