Tool

Look Detailer — canvas-to-ComfyUI repair skill

One command from a Photoshop lasso selection to a regenerated, pixel-aligned detail layer — a scripted bridge between the live canvas and ComfyUI.

command from lasso to placed layer
1
self-built detailer workflows, swapped by suffix
3
paste-back alignment to selection
±1 px
destructive edits — originals untouched
0

Problem it solves

Generated character art ships with local defects: chainmail painted as dead-pixel mush, melted fingers, buckles that read as blobs. Regenerating the whole image to fix one patch is a lottery — you lose the parts that were already right. Manual paintover works but is slow at scale. The fix should be surgical: regenerate only the broken region, at higher resolution than the canvas itself, and keep everything else untouched.

What it is

A scripted skill that runs against the live Photoshop session. The workflow from the artist’s side is two gestures: draw a rectangular lasso around the defect, invoke one command with a short brief (“chainmail”, “fix the hand”). Everything else is automated:

Look Detailer — lasso selection live on the canvas

  1. Capture. The script reads the selection bounds from the open document via Photoshop scripting and saves a flattened composite — the original layers are never touched.
  2. Crop & route. The selected region is cropped, aspect-matched, and dispatched to a self-built detailer workflow on a local ComfyUI server — three interchangeable variants tuned for different repair jobs, picked by command suffix.
  3. Defect-focused prompting. Each run gets a written brief in a fixed grammar: name the defect, state the develop action, list what must be preserved, lock the painterly style. The model regenerates the patch supersampled at 2K.
  4. Pixel-aligned return. The result is resized back to the exact selection size and placed as a new smart-object layer at the selection’s position, corrected for DPI and rounding so it lands within a pixel of the source region.

The run from the selection above — a 180 px hand region regenerated as a 2048² patch, fingers individually readable, glove and bow wrap intact:

The run's actual output — the hand selection regenerated as a 2048² patch

Guardrails that matter

  • Non-destructive by contract. Results only ever arrive as new layers; the original pixels stay intact underneath.
  • Full patch, no auto-mask. The tool never feathers or hides its own seams — blending is an art decision, so masking stays in the artist’s hands.
  • One invocation = one generation. No hidden multi-seed retries; a retry is an explicit, separate decision.
  • Honest QA before placement. Every result is inspected at full resolution — zoom crops, finger counting on hands, style-drift check against the source brushwork. A defective result gets rejected and re-briefed, not silently placed.

Used on

Same-session repairs on this site’s posted works: the chainmail gaps and warhammer on the Knights avatar set, the belt rig and leg plate on its female knight, and a hand regrip on Robin of the Iron Fox — each one a lasso, a one-line brief, and a placed layer.