Nodes/ComfyUI-NL_Nodes/🖼️ NL Fit Frame
ComfyUI Node

🖼️ NL Fit Frame

A ComfyUI node in NOLABEL/Utilities with 8 inputs and 4 outputs.

By NOLABEL-VFX·Created 8 months ago·Updated 2 months ago· 0
🖼️ NL Fit Frame
  • image
  • mask
  • image
  • mask
  • image_info_json
  • fit_frame_json
modefit
bounds_modeper_frame
margin_percent5.0
mask_threshold0.010
background_tolerance0.020
image_info_json
CategoryNOLABEL/Utilities

Inputs (8)

NameTypeDefaultDescription
modeCOMBOfit2 options: fit, crop
bounds_modeCOMBOper_frame2 options: per_frame, batch_union
margin_percentFLOAT5.00–100Crop padding or final-frame border, as a percentage.
mask_thresholdFLOAT0.0100–1Mask value above which a pixel counts as object.
background_toleranceFLOAT0.0200–10Maximum border variation for solid-background detection.
imageoptIMAGEImage or image sequence to frame.
maskoptMASKOptional object mask; takes priority over image-background detection.
image_info_jsonoptSTRINGOptional serialized image metadata to pass through unchanged.

Outputs (4)

NameTypeDescription
imageIMAGE
maskMASK
image_info_jsonSTRING
fit_frame_jsonSTRING