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-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 - One-click levels, tone, and color balancing. Docs
    AutoAdjustNode screenshot
  • AutoWBColorMatch - White-balances and colour matches against a reference image using several algorithms. Docs
    AutoWBColorMatch screenshot
  • AutoColorConfigNode - Lightweight toggle bundle for sharing Auto Adjust presets. Docs
    AutoColorConfigNode 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 - Manual margin-based cropper for RGB images. Docs
    CropImageByMargins screenshot
  • CropMaskByMargins - Margin cropper designed for MASK tensors. Docs
    CropMaskByMargins screenshot
  • FitAspectHeadSafe - Rescales and pads while preserving face-safe regions for portrait framing. Docs
    FitAspectHeadSafe screenshot
  • MQBBoxMin - Utility for merging bounding boxes while enforcing minimum sizes. Docs
    MQBBoxMin 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 - Packs outpainting preferences (steps, padding, sampler choices). Docs
    OutpaintConfigNode screenshot
  • OutpaintPaddingComputeNode - Calculates padding offsets to feed outpaint chains as either percentage or absolute pixels, with gravity. Docs
    OutpaintPaddingComputeNode 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
  • 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%