Nodes/LF Nodes/Images editing breakpoint
ComfyUI Node

Images editing breakpoint

Pause mid-workflow and hand-edit the image before it goes on

By lucafoscili·Created 2 years ago·Updated 2 years ago· 50
Images editing breakpoint
  • image
  • ui_widget
  • image
  • image_list
  • orig_image
  • orig_image_list

This is the node that makes people say "oh, that's clever." LF_ImagesEditingBreakpoint sits in the middle of your pipeline and stops the graph so you can edit the image by hand - paint out an artifact, adjust exposure, fix a stray hand - and then let the workflow continue with your edited version. It's a debug breakpoint, but for pixels.

The use case is obvious the moment you hit it: a two-stage workflow where the first pass generates and the second pass upscales or refinishes. Without this node you'd run the first stage, open the image in an external editor, save it, reload it. With it, the editing happens in the graph, and the refined image flows straight into the next stage. Same with batches - you can fix one frame of a sequence before it goes through the heavy pass.

How it works

One required input, image - the batch of images to edit. The KUL_IMAGE_EDITOR widget is the entire feature: it presents the image in an editing canvas with the pack's editing tools (the same editor the Load/Edit nodes use), and your edits become the node's output when you continue the run.

The outputs are where it earns the "breakpoint" name:

  • image / image_list - the edited images, ready to feed downstream.
  • orig_image / orig_image_list - the original, untouched versions, passed through alongside.

That last pair is the smart bit. By giving you both the edited and the original, the node supports workflows that need to compare, mask the difference, or route the unedited version somewhere else. You're not losing data by stopping to edit.

Installing it

It ships with LF Nodes:

cd ComfyUI/custom_nodes
git clone https://github.com/lucafoscili/comfyui-lf

Restart ComfyUI, or install via ComfyUI Manager (search LF Nodes). No model downloads - the editing is all frontend canvas plus the pack's image-processing stack.

Gotchas

The editor widget is the most frontend-heavy part of this pack, so it's also the first thing that breaks if the frontend doesn't load. If the node appears but the canvas never renders, update the pack through Manager and do a clean restart - this is a frontend issue, not a bug in your graph.

Also worth knowing: because the node pauses for human interaction, it doesn't play well with fully automated batch runs. It's a deliberate human-in-the-loop tool, and that's the point. If your workflow is meant to run unattended, this node will be the thing that waits for you.

Pack note: comfyui-lf is legacy, frozen at Feb 2025, and the author's active work is in lucafoscili/lf-nodes. The image editor got a major rebuild there, so if you're choosing where to start, that's the newer one.

Category✨ LF Nodes/Image

Inputs (2)

NameTypeDefaultDescription
imageIMAGEBatch of images.
ui_widgetoptKUL_IMAGE_EDITOR[object Object]

Outputs (4)

NameTypeDescription
imageIMAGE
image_listIMAGE
orig_imageIMAGE
orig_image_listIMAGE