Nodes/ComfyUI-ArchAi3d-Qwen/Simple Blend Mask (Batch)
ComfyUI Node

Simple Blend Mask (Batch)

All your blend masks at once, instead of sixteen nodes

By amir84ferdos·Created 11 months ago·Updated 5 months ago· 70
Simple Blend Mask (Batch)
  • tile_params
  • blend_masks
  • blend_masks_rgb
  • total_tiles
mask_blur16
tile_width512
tile_height512
tiles_x2
tiles_y2
overlap64

If you've ever laid out a tiled upscale in ComfyUI, you know the moment: a 4×4 grid means sixteen Blend Mask nodes, sixteen sets of identical inputs, sixteen chances to type a 5 instead of a 4. This is the version that saves you from that. ArchAi3D_Simple_Blend_Mask_Batch makes every blend mask for your grid in one node and hands them back as a batch.

It's the batch sibling of Simple Blend Mask, from the same tiling subsystem inside ComfyUI-ArchAi3d-Qwen - Amir Ferdos's pack, best known for its Qwen-VL interior-design nodes, with this quieter corner of it being a from-scratch tiled-upscaling pipeline. Same distance-based masking, same "white = full contribution, black = overlap zone, gradients only on internal edges" logic, just applied to all tiles in one pass.

What you set

The inputs are mostly the grid description, and there's one nice convenience on top:

  • mask_blur - gradient width for the blend zone. This is the only required input.
  • tile_width / tile_height / tiles_x / tiles_y / overlap - the grid, exactly as you configured the Cropper. These are optional because of the next one.
  • tile_params - a bundle from Smart Tile Solver V6.2. Plug it in and it overrides the individual tile inputs, so you can't get the mask grid out of sync with the solver's output. That's the input worth knowing about; the others are just the numbers the solver would have given you anyway.

Outputs: blend_masks (a batched MASK, one per tile, wired straight into the Simple Tile Compositor's blend_masks input), blend_masks_rgb (preview IMAGE batch), and total_tiles (an INT that's handy for sanity-checking your grid count).

Why it's the one to reach for

Two reasons. First, consistency: every mask is generated from the same parameters in the same call, so there's no drift between tiles. Second, it unclutters your graph - one node instead of a column of them. On a 2×2 upscale the single version is fine; the moment you're doing a 3×3 or bigger, the batch version is the obvious choice.

Installing

Same pack, same steps:

cd ComfyUI/custom_nodes
git clone https://github.com/amir84ferdos/ComfyUI-ArchAi3d-Qwen.git
cd ComfyUI-ArchAi3d-Qwen
pip install -r requirements.txt

Or search "ArchAi3d Qwen" in ComfyUI Manager. No model downloads, no extra deps beyond what ComfyUI ships. The tile subsystem works with whatever checkpoint and VAE you already use. One licensing note since this pack targets professionals: it's free for personal and non-commercial use, but the author's license requires a paid license for commercial interior-design work.

One workflow tip: connect the Solver V6.2's tile_params bundle if you have it - it's the intended input, and it means your masks are always computed from the solver's actual grid rather than numbers you typed twice.

CategoryArchAi3d/Upscaling/Simple USDU

Inputs (7)

NameTypeDefaultDescription
mask_blurINT160–256
tile_paramsoptTILE_PARAMSBundle from Smart Tile Solver V6.2 (overrides individual inputs)
tile_widthoptINT51264–4096
tile_heightoptINT51264–4096
tiles_xoptINT21–100
tiles_yoptINT21–100
overlapoptINT640–512

Outputs (3)

NameTypeDescription
blend_masksMASK
blend_masks_rgbIMAGE
total_tilesINT