2025-10-16 20:13:55 -05:00
2025-10-16 19:03:08 -05:00
2025-10-16 20:13:55 -05:00
2025-10-16 19:03:08 -05:00
2025-10-11 17:16:29 -05:00
2025-10-11 17:16:29 -05:00
2025-10-11 17:16:29 -05:00
2025-10-11 17:16:29 -05:00
2025-10-11 17:16:29 -05:00
2025-10-11 17:16:29 -05:00
2025-10-11 17:16:29 -05:00
2025-10-11 17:16:29 -05:00
2025-10-11 17:16:29 -05:00
2025-10-11 17:16:29 -05:00
2025-10-16 20:13:55 -05:00
2025-10-16 19:03:08 -05:00
2025-10-11 17:16:29 -05:00
2025-10-11 17:16:29 -05:00

PortraitUtils Node Suite

PortraitUtils is a focused collection of ComfyUI nodes designed for pipelines using real potographic images of people, where image sizes are not standardized as they are in text-to-image generation. The suite streamlines prep work such as cropping, resolution targeting, metadata management, and side-by-side QA so you can concentrate on creative iteration instead of utility wiring. These nodes should work well on any type of image, but some of them are designed for and tested on images of humans, particularly the smart cropping nodes.

Node Index

Each entry links to a short, task-oriented reference page (coming soon) for deeper usage notes and parameter breakdowns.

Image Adjustments & Preparation

  • AutoAdjustNode + AutoColorConfigNode - Global tone balancing with reusable toggle bundles. Docs
    AutoAdjust suite screenshot
  • AutoWBColorMatch - White-balances and colour matches against a reference image using several algorithms. Docs
    AutoWBColorMatch screenshot
  • FluxResolutionPrepare - Crops and resizes to the nearest Flux-friendly resolution, with optional pre-upscale. Docs
    FluxResolutionPrepare screenshot
  • ImageMegapixelSelector - Chooses image sizes by target megapixels to match downstream model limits. Docs
    ImageMegapixelSelector screenshot

Cropping, Framing, and Stitching

  • AutoCropBorders - Removes uniform borders using adaptive fuzzy detection. GPU acceleration is currently broken, so leave that off for now. Docs
    AutoCropBorders screenshot
  • CropImageByMargins + CropMaskByMargins - Aligned margin croppers for RGB images and masks. Docs
    Crop by margins suite screenshot
  • FitAspectHeadSafe + MQBBoxMin - Subject-aware boxing with headroom-aware aspect fitting. Docs
    FitAspect suite screenshot
  • StitchByMask - Composites foreground and background images using mask-driven blending. Docs
    StitchByMask screenshot

Prompting & Workflow Configuration

  • MultiPromptNode - Cycles through prompt variants with per-slot weights. Docs
    MultiPromptNode screenshot
  • WorkflowConfig - Centralized key/value store for workflow-wide settings. Docs
    WorkflowConfig screenshot
  • OutpaintConfigNode + OutpaintPaddingComputeNode - Preference capture plus per-edge padding conversion. Docs
    Outpaint suite screenshot

I/O & Utility Helpers

  • LoadImageCombined - Hybrid single/batch image loader with auto-advance support. Docs
    LoadImageCombined screenshot
  • PairedImageLoader - Loads synchronized source/output pairs for A/B comparison workflows. Docs
    PairedImageLoader screenshot
  • ComparisonGate - Gates comparison outputs until two populated images are available. Docs
  • SimpleImageSaver - Minimal saver with PNG/JPG, metadata toggle, and filename suffix controls. Docs
    SimpleImageSaver screenshot
  • FilenameAppendSuffix - Adds suffixes to filenames while respecting multi-extension cases. Docs
    FilenameAppendSuffix screenshot
  • GpuSyncCacheClear - Forces a CUDA sync and empties selected caches to avoid VRAM buildup. Docs
    GpuSyncCacheClear screenshot
  • SeedVR2Prep - Convenience helper for SeedVR2/VRAM-heavy pipelines (cache priming & cleanup). Docs
    SeedVR2Prep screenshot

License

This project is released under the MIT License.

S
Description
No description provided
Readme GPL-3.0
5 MiB
Languages
Python 100%