Extensions/tri3d-comfyui-nodes
ComfyUI Extension

tri3d-comfyui-nodes

Nodes: tri3d-extract-hand, tri3d-fuzzification, tri3d-position-hands, tri3d-atr-parse.

By TRI3D-LC·Created 3 years ago·Updated about a year ago· 27
TRI3D-LC/tri3d-comfyui-nodes
Nodes69
On cloudLocal install
CategoryTRI3D, HackNode
Stars27
Updatedabout a year ago

Nodes (69)

Adjust Neck v5.1.0

Fix a mannequin's neck so the garment model's head doesn't float

TRI3D
ATR Parse Batch v5.1.0

Label every body part and garment on a batch

TRI3D
BG Remove Mega v5.1.0

Local model or PhotoRoom API

TRI3D
Clear small patches v5.1.0

Drop masks too small to matter, and get a flag saying so

TRI3D
tri3d-clear-memory

A 'press the empty-cache button' node that passes your image straight through

TRI3D
RemBG ClipDrop v5.1.0

ClipDrop's remove-background API as a ComfyUI node — key required, no local model

TRI3D
ReplaceBG ClipDrop v5.1.0

Replace a background by typing a sentence — ClipDrop's API, one node away

TRI3D
Composite Image Splitter v5.1.0

Split a side-by-side composite into its two halves, batch included

TRI3D
Cut by mask aspect ratio v5.1.0

Crop to your mask, fit the aspect ratio, and pad the sides to keep it centered

TRI3D
DWPose v5.1.0

DWPose detection with a built-in JSON dump (no separate preprocessor pack needed)

TRI3D
Extract facer mask v5.1.0

Pick individual face parts out of a facer parsing map (eyes, lips, brows, hair)

TRI3D
Extract Masks Batch v5.1.0

Turn ATR segmentation maps into the exact masks you need (and only those)

TRI3D
Extract Parts Batch v5.1.0

Cut garment parts out of a batch — the workhorse of the VTON pipeline

TRI3D
Extract Parts Batch 2 v5.1.0

Keep the part, black out the rest — the non-cropping version of part extraction

TRI3D
Extract Pascal Parts Batch v5.1.0

Body-part crops from the coarse Pascal palette (torso, arms, legs, done)

TRI3D
Extract pose part v5.1.0

Cut a crop around the torso (or shoulders) so you can regenerate it in place

TRI3D
Recognise face v5.1.0

Is that still the same person? A face-similarity gate for your workflow

TRI3D
Fill mask v5.1.0

Fill a mask by cloning neighboring pixels — no model, no VRAM, instant

TRI3D
Flexible color extract v5.1.0

Build a mask from 'close enough to this color'

HackNode
Render float v5.1.0

Turn a number into an image so you can actually see it

TRI3D
Calculate max and min values for rescaling histogram v5.1.0

Find where your histogram actually starts and ends, for sane rescaling

TRI3D
Get mean and standard deviation of array v5.1.0

Mean and standard deviation of an array, masked to the region you care about

TRI3D
Get threshold for bg swap v5.1.0

Let the gradient find the background cut point for you

TRI3D
Adjust Neck v5.1.0

It's called HistogramEqualization in code, but everyone uses it to fix a neck

Image Processing
Stack images for cat vton with flux v5.1.0

Two images, one canvas

TRI3D
Image extend v5.1.0

Give the model room below the face so it can grow a neck and body

TRI3D
tri3d-image-mask-2-box

Crop an image to exactly the box your mask defines

TRI3D
Stitch box to image v5.1.0

Paste the regenerated crop back where it came from

TRI3D
Garment Skin Interaction Canny v5.1.0

Edges only where the garment meets skin

TRI3D
Is only trouser v5.1.0

Detect a bottom-half shot and branch your pipeline

TRI3D
Convert LAB color space to RGB color space v5.1.0

The return trip for recoloring

TRI3D
Levindabhi Cloth Seg v5.1.0

Garment parsing, but you must bring the model file

TRI3D
Load AEMatter Model v5.1.0

Image matting, with the weights fetched for you

AEMatter
Load Pose Json v5.1.0

See the skeleton your DWpose file actually contains

TRI3D
Luminosity match v5.1.0

Force one region's lighting to match another's

TRI3D
Transparent Background v5.1.0

Background removal that hands you the alpha channel as a proper MASK

TRI3D
Mask Area Percentage v5.1.0

Is that mask actually covering anything?

TRI3D
Narrowfy Image v5.1.0

The node that makes garment crops the tall, skinny shape try-on models want

TRI3D
TRI3D NSFW Filter v5.1.0

Auto-swap flagged images for a safe alternative — Stability's own safety checker, in a node

TRI3D NSFW
Photoroom BG Remove v5.1.0

A paid-API background cutout that silently does nothing without a key

TRI3D
Pose Adaption v5.1.0

Retarget a person's pose to a reference so your garment warper gets the same skeleton

TRI3D
Pose to Image v5.1.0

Render a pose skeleton back into an image (without fighting the preprocessor stack)

TRI3D
Position Parts Batch v5.1.0

Paste garment parts back onto a person using ATR segmentation colors

TRI3D
Position Pascal Parts Batch v5.1.0

The PASCAL-VOC-flavored sibling of Position Parts Batch

TRI3D
Position pose part v5.1.0

Stamp a cropped pose part back onto the original image by coordinates

TRI3D
Recolor mask HSV space v5.1.0

Force one garment's colors to match another, masked region only

TRI3D
Recolor mask LAB space v5.1.0

The color-match node with per-channel dials

TRI3D
Recolor mask LAB space manual v5.1.0

Skip the reference image, dial the target mean and sigma yourself

TRI3D
Recolor mask RGB space v5.1.0

The blunt-force color match in the pack's recolor family

TRI3D
Remove Small Mask Islands v5.1.0

Sweep the specks and flyaways out of your masks

TRI3D
Renormalize the layer to have the given mean and standard deviation v5.1.0

The stats-transfer workhorse

TRI3D
Convert to LAB color space v5.1.0

Split an image into L, A, and B channels you can edit independently

TRI3D
Run AEMatter inference v5.1.0

Matting with a trimap, for hair and edges that refuse to be cut

AEMatter
Save Flattened Pose Keypoints as JSON File v5.1.0

Turn any pack's POSE_KEYPOINT into a JSON file TRI3D's pipeline can read

ControlNet Preprocessors/Pose Keypoint Postprocess
Save image to an absolute path and provide text optional to control execution order v5.1.0

Write output exactly where you want it, not into ComfyUI's folder

image
Save text to an absolute path and provide text optional to control execution order v5.1.0

The node that writes your prompts and sidecars where you need them

text
Scaled paste v5.1.0

Drop a subject onto a new background at the right scale, bottom-center, no math

TRI3D
Scaled paste unsafe v5.1.0

The same paste, minus the fit-guarantee — and it will crop your subject

TRI3D
Simple bg swap v5.1.0

Paste a subject onto a new background and get a usable shadow layer for free

TRI3D
Rescale the layer to have given max and min values v5.1.0

The linear level-stretch utility

TRI3D
Skin Feathered Padded Mask v5.1.0

The skin seam mask that fixes two-pass virtual try-on

TRI3D
Skip Head Mask v5.1.0

Cut the head out of a photo in one node

TRI3D
Skip Head Mask and add neck v5.1.0

Skip the head but keep a neck — the try-on way

TRI3D
Skip Lip Mask v5.1.0

Erase everything above the lips in one pass

TRI3D
Smart Box v5.1.0

Turn a lower-body mask into one smart rectangle

TRI3D
Smart Depth v5.1.0

Smart Box's black-fill twin (yes, they shipped both)

TRI3D
String contains v5.1.0

The tiny contains-checker that unblocks your branching

TRI3D
Swap Pixels by Mask v5.1.0

Swap pixels between two images, guided by a mask

TRI3D
Wait and read text file, optional control from text v5.1.0

Make ComfyUI wait for an external process, then read its file

text
Readme

Nodes: tri3d-extract-hand, tri3d-fuzzification, tri3d-position-hands, tri3d-atr-parse.