Files
Jet Huang 810b83bb00 feat(workflows): sample workflows N-61 to N-63
Sky Mask grading only the sky, HDR Merge of a simulated bracket, Cull Score keeping
the best of three versions of one shot
2026-10-18 20:39:37 +07:00
..

Workflows

Sample workflows for the ComfyUI-JH-PixelPro pack. Every .json file is a graph you can load straight into ComfyUI (menu Load, then pick the file) or drag onto the canvas.

Tiếng Việt: mỗi file .json là một graph mẫu, nạp bằng menu Load hoặc kéo thả vào canvas ComfyUI.

Unless noted, a workflow uses only core ComfyUI nodes and this pack. -preview.png images are the real result of running the graph; -screenshot images are canvas screenshots and may show older settings.

Usage

ComfyUI's LoadImage node only scans ComfyUI/input/.

  1. Copy workflows/sample_portrait.jpg into ComfyUI/input/.
  2. For Dust & Spot Removal, also copy workflows/sample_dust.jpg; for Heal, workflows/sample_heal_mask.png; for Auto Tone and Auto Upright, workflows/sample_cafe.jpg and workflows/sample_architecture.jpg.
  3. For the mask workflows (Edge-Aware Mask Refiner, Alpha Matte, Trimap Builder, Mask Morphology, Mask Combine, Mask Edge Smoother, Mask Cleanup, Sub-Pixel Mask Refiner), also copy workflows/sample_binary_mask.png into ComfyUI/input/.
  4. In ComfyUI, open Load and pick a .json file, or drag it onto the canvas.
  5. Press Queue Prompt.

Tiếng Việt: chép sample_portrait.jpg (và sample_binary_mask.png cho các workflow mask, sample_dust.jpg cho Dust & Spot Removal, sample_cafe.jpg và sample_architecture.jpg cho Auto Tone và Auto Upright) vào ComfyUI/input/, nạp file .json, rồi bấm Queue Prompt.

One workflow needs another pack: Skin Tone Tri-Region uses the person-mask node of A Person Mask Generator (install it separately).

Filters

Bộ lọc

Workflow What it shows Result
Frequency Separation and Recombine Split the portrait into smooth low and texture high layers, then rebuild it with Frequency Recombine at detail 1.6. image
Skin Smoother Edge-preserving smoothing with a before/after preview (strength 0.4). image
Smart Sharpen Luminance-only sharpening gated by the Detail Mask, with a QA heatmap of changed pixels. image
Dust & Spot Removal Clears 70 synthetic sensor-dust specks from sample_dust.jpg at default settings and marks the spots it found. image
Heal / Content-Aware Fill A freckle cluster on the arm and a mole on the cheek, painted in sample_heal_mask.png, rebuilt from the surrounding skin. image
Motion / Zoom Blur Motion blur on the background only (inverted subject mask) and a zoom burst toward the eyes. image

Color and tone

Màu và tông

Workflow What it shows Result
Color Matcher A cool-graded copy is matched to a golden-hour reference in LAB. image
Color Matcher: stats vs histogram The same pair matched with method = stats and method = histogram, side by side. image
HDR Merge (bracket) Three exposures (-2, 0, +2 EV) simulated from the cafe photo, fused into one image. image
Defringe The church photo through Defringe; a QA heatmap shows the corrected outlines (mild lateral chromatic aberration). image
Auto: Tone & White Balance A dark, warm cafe photo corrected in one click; params_json feeds a ColorLab that adds Vibrance +15. image
Shadows/Highlights Pro Camera Raw mode (+60 / -60) and Photoshop mode (50 / 50) side by side. image
Apply ColorLab Preset A ColorLab look saved as params_json and re-applied at strength 0.5. image
Lightroom Preset (XMP) The bundled Warm Film preset, then fine-tuned in ColorLab through params_json. image
Lightroom Preset Contact Sheet The original and every preset in the PixelPro samples collection on one sheet. image
Palette Extract Six dominant colours as a strip, a HEX list and a quantized image. image
Tone Curve The s_curve_mild preset on the portrait. image
LUT Preset One bundled look on the portrait; switch the preset dropdown to try the others. —
LUT Export HALD Identity, Tone Curve and LUT Export write a .cube file to ComfyUI/output/; no input image needed. image
LUT Import Builds its own LUT and wires the file path into LUT Import, so it runs without extra files. image
Selective color (Hue/Saturation per Range and Saturation Mask) Shift and boost one colour band, with the matching saturation mask as a heatmap. image
Tone Match LUT A golden-hour reference becomes a reusable .cube that LUT Import applies to the original. image
Luminosity Masking Shadow, midtone and highlight masks from the portrait. image
CLAHE Local Contrast Adaptive contrast on LAB lightness only, colours untouched. image
ColorLab: basic only ColorLab with only the Basic panel adjustments. image
ColorLab: teal and orange ColorLab HSL panel used for a teal-and-orange look. —
ColorLab: cinematic colour grading ColorLab colour-grading wheels for a cinematic grade. —
ColorLab: black and white mix ColorLab gray mix for a black-and-white conversion. —
ColorLab: full preset ColorLab with every panel set, like a full Adobe Camera Raw preset. —
Look Select (single) One look applied to one image. image
Look Select (six-look compare) All six looks side by side. image

Compositing

Ghép ảnh

Workflow What it shows Result
Layer compositing: 2-layer overlay Background plus a graded copy on top with soft_light at 80%, rendered by Layer Flatten. image
Layer compositing: 5-layer cinematic grade A five-layer stack for a cinematic finishing grade. image
Layer compositing: group and clipping A nested Layer Group and clip_to_below clipping. image
Pyramid Blend A LUT-graded face blended back through a face box; the pyramid hides the rectangle edge. image

Masks

Mask

Workflow What it shows Result
SAM One-Click Mask Face Detect Lite's box prompts Segment Anything (vit_b); Mask Cleanup fills the holes. The checkpoint downloads to ComfyUI/models/sams/ on first use. image
Sub-Pixel Mask Refiner Feather a binary mask into a sub-pixel alpha mask. image
Edge-Aware Mask Refiner A soft mask is snapped onto the real hair and skin edge, guided by the portrait. image
Decontaminate Colors Soft subject edge (Edge-Aware Refiner with guide_mode = rgb), then the background colour is removed from the edge pixels; cut-outs before and after. image
Sky Mask The church sky found without AI and used to grade only the sky through Apply ColorLab Preset. image
Alpha Matte Trimap, then closed-form matting at 25% size. compute_device = auto stays on CPU for CPU images; pick cuda for roughly 5x speed. image
Trimap Builder Sure-subject, unknown and sure-background bands from a subject mask. image
Mask Morphology close at radius 64 seals the small shadow gap by the nose. image
Mask Combine Subject mask intersected with Luminosity Masking highlights, with soft_feather. image
Mask Edge Smoother Guided smoothing of stair-stepped mask edges (backend = gpu needs an NVIDIA GPU). image
Mask Cleanup Remove specks, fill the hole by the nose, add a 6 px feather. image
Mask Preview A saturation mask shown as a heatmap and as an overlay with contour. image
Detail Mask (High-Frequency Detail Masker) A mask of textured areas such as hair, eyes and fabric. image

Depth

Độ sâu

Workflow What it shows Result
Depth Lens Blur Depth from the built-in Depth Anything V2 Small (downloads ~100 MB on first use, needs onnxruntime), focus on the face, crops of the arm before and after. image

Face

Khuôn mặt

Workflow What it shows Result
Auto Blemish The portrait through Auto Blemish at default settings, with the healed spots shown on the photo. image
Face Detect MediaPipe detection with landmarks and boxes as JSON. image
Face Detect Lite YuNet detection with a face-box mask and landmarks fed to the Facial Aligner. image
Face pipeline (Face Landmarks, Face Warp, Face Beauty Blend) Dense landmarks, a Delaunay warp, then a blend back onto the base. image
Face Warp TPS A thin-plate-spline warp that enlarges the face about 6% while the frame edges stay fixed. image
Facial Aligner Align a face to a canonical crop from five landmarks. image
Unwrap Face Align, edit, then paste the edited face back onto the original canvas. image
Skin Tone Tri-Region Highlight, midtone and shadow masks of the skin. Needs the external A Person Mask Generator pack. image

Geometry and QA

Hình học và kiểm tra

Workflow What it shows Result
Lens Distortion Correct barrel distortion with a lens preset. image
Auto Align Align a second shot to a reference with SIFT and RANSAC. image
Auto: Upright A church shot looking up: verticals straightened (crop valid), then Auto Tone for a one-click base edit. image
Cull Score A sharp, a blurred and an overexposed version of one shot; only the best is kept. image
QA Image Diff SSIM, PSNR and MAE report plus a heatmap of where an edit changed the image. image

Image credits