What this node does
ComfyTV Cutout and alpha PNGs outputCOMFYTV_IMAGE. ComfyUI inpaint / ControlNet need MASK. This node inverts alpha to mask (same as _load_image_tensor logic), matching ComfyUI conventions.
Shares URL input with ← ComfyTV Image: one branch RGB, one branch mask.
When to use it
- ComfyTV Cutout → native Inpaint
- ComfyTV edit → ControlNet Inpaint
- Split one COMFYTV_IMAGE: ← Image + ← Mask
How it works
- Normal node, no Run.
- With alpha:
mask = 1.0 - alpha; without: zeros. - Output
[1,H,W]float.
Types
bridges.md
Parameters
image
COMFYTV_IMAGE with alpha preferred.Outputs
Step by step
- Cutout or transparent PNG from ComfyTV.
- Wire ← ComfyTV Mask image.
- MASK → Inpaint; RGB → ← ComfyTV Image.
Full guides (recommended reading)
This page covers one node only. For end-to-end workflows, multi-stage pipelines, type conversion, and design rationale, see the ComfyTV user guides on GitHub:
Repository and workflows
FAQ
Q: Wrong mask after Cutout?A: Ensure PNG has alpha channel. Q: vs Inpaint Stage brush?
A: Inpaint Stage masks inside ComfyTV; this exports mask to native inpaint.
Related nodes
- ← ComfyTV Image
- Cutout / Inpaint