ComfyUI add-on aims to reduce pixel drift in Krea 2 edits

Community discussion Reddit r/StableDiffusion · Individual views, not representative.

According to the Reddit community, an add-on for Krea 2 Edit aims to stop untouched parts of an image from drifting during a chain of edits. The creator describes “comfyui-krea2edit-advanced” as an extension of the existing ComfyUI project by lbouaraba and conradlocke, whose LoRAs, nodes and training code underpin the work.

The add-on introduces a “source hold” feature: while an edit is being generated, it pulls the image back towards its source, according to the creator. Users can also apply a mask to areas outside the region being edited. In a comparison using the same image, six edits and the same seed, the creator reports mean pixel drift of 0.076 for the original nodes, 0.0017 for the add-on without masks and 0.0008 with masks.

A reply in the Reddit discussion distinguishes this method from “EditDriftFix”: that correction works in image space and, the commenter says, can struggle with semitransparent elements or soft shadows. The reply gives the example of a shadow cast by an enlarged crown disappearing under the image-space correction. By contrast, the add-on operates during inference and is intended to preserve the connection to the original while still allowing the requested edits.

The figures come from the creator’s described comparison and do not establish performance across other scenarios. The repository provides further comparisons and example workflows. Read the Reddit discussion

🇬🇧 https://www.reddit.com/r/StableDiffusion/comments/1xx4lvj/seems_like_i_solved_krea_2_edit_pixel_drift

Leave a Comment

The weekly brief: selected developments, projects and videos