ComfyUI-Prediction

ComfyUI-Prediction #


Another cool custom node. You need to set it up like this for Avoid and Erase:

Prediction Avoid and Erase

But in order for you to really start understanding what this custom node does, let’s recreate first the CFG prediction:

Recreating CFG Prediction

But now that you have built it out, lets select all of it while holding Ctrl, and deleting the whole thing, because this was just mostly meant for education purposes.

If you want to use CFG Prediction, you might be better off with using the default setup with the default KSampler and all so you can benefit from model patches and whatever.

You might also want to take a look at Perp-Neg and the multiple ways it is implemented in ComfyUI, hell, with this, you can even set it up yourself.

It would look something like this:

Bootleg Perp-Neg

You can also build it out like this:

Another Prediction

And here is yet another weird prediction model you can build out, which results in pretty awesome images:

Another Weird Prediction