Nodes/ComfyUI-ArchAi3d-Qwen/๐Ÿงฑ Smart Tile SEGS Blur
ComfyUI Node

๐Ÿงฑ Smart Tile SEGS Blur

SEGS tiles with pre-feathered, organic edges

By amir84ferdosยทCreated 11 months agoยทUpdated 5 months agoยท 70
๐Ÿงฑ Smart Tile SEGS Blur
  • image
  • bundle
  • segs
  • bundle
โ—„tile_width512โ–บ
โ—„tile_height512โ–บ
โ—„tiles_x2โ–บ
โ—„tiles_y2โ–บ
โ—„tile_padding32โ–บ
โ—„crop_factor1.5โ–บ
โ—„mask_blur8โ–บ
โ—„irregularity0.0โ–บ
โ—„latent_divisor8โ–บ

Plain tiled SEGS gives you rectangles, and rectangles make visible seams - the "dark cross" at every tile corner. The SEGS Blur node is the fix baked in early: it creates the SEGS and feathers the tile masks before any sampling happens, so the seams are gradients instead of cuts. It also adds two genuinely useful tricks: selective blurring (only interior seams get soft, outer edges stay sharp) and an irregularity slider that turns rectangular tile edges into organic, hand-drawn-looking boundaries. That last one is the difference between an upscale that looks tiled and one nobody can tell was tiled.

It's part of the "Smart Tile" subsystem of ComfyUI-ArchAi3d-Qwen (Amir Ferdos's pack). The source notes this node merges what used to be two steps - Smart Tile SEGS plus a SEGS mask blur - into one, and it's the version the pack's own Smart Tile Sampler expects (segs from SEGS Blur).

Inputs

  • image - the upscaled image (or rely on the bundle).
  • bundle (optional) - connect the calculator's bundle and every grid setting auto-fills. The intended wiring.
  • tile_width / tile_height / tiles_x / tiles_y / tile_padding - grid parameters, all overridden by the bundle.
  • mask_blur - Gaussian blur radius for interior seams (default 8). Always applied when > 0.
  • irregularity - 0 = rectangular edges, 0.5 = natural organic, 1.0 = very organic. Worth experimenting with; subtle values (0.2โ€“0.5) kill the grid look without compromising blending.
  • latent_divisor - crop regions get made divisible by this (default 8). The tooltip is the rule: 8 is the VAE minimum, 32 is what samplers like. If your sampler complains about crop dimensions, raise this.

Outputs: segs (blurred-mask SEGS) and bundle.

Installing

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

Or ComfyUI Manager โ†’ "ArchAi3d Qwen". No model downloads. Free for personal use; commercial use needs the pack's paid license.

The honest take

If you're building a Smart Tile workflow, use this instead of the plain SEGS node unless you specifically want unfiltered rectangular masks. The irregularity control is the standout feature - it's rare in tiling tools and it's the cheapest way to hide that an image was upscaled in tiles. Just keep latent_divisor on your mind: 8 will get you through a VAE encode, but the 32 default is there because samplers genuinely misbehave on non-divisible crops. It's a "read the tooltip before touching it" kind of setting.

CategoryArchAi3d/Upscaling/Smart Tile

Inputs (11)

NameTypeDefaultDescription
imageIMAGEImage to create SEGS from (or use bundle)
bundleoptSMART_TILE_BUNDLEConnect from Smart Tile Calculator - provides all settings automatically
tile_widthoptINT51264โ€“4096Width of each tile (overridden by bundle if connected)
tile_heightoptINT51264โ€“4096Height of each tile (overridden by bundle if connected)
tiles_xoptINT21โ€“16Number of horizontal tiles (overridden by bundle if connected)
tiles_yoptINT21โ€“16Number of vertical tiles (overridden by bundle if connected)
tile_paddingoptINT320โ€“512Tile overlap/padding - NOT used for positioning (bundle handles that)
crop_factoroptFLOAT1.51โ€“10Context expansion around tiles (overridden by bundle if connected)
mask_bluroptINT80โ€“64Blur radius for interior seams (outer edges stay sharp)
irregularityoptFLOAT0.00โ€“1Organic edge variation (0=rectangular, 0.5=natural organic, 1.0=very organic)
latent_divisoroptINT88โ€“64Crop region dimensions divisible by this (8=VAE min, 32=recommended for sampler)

Outputs (2)

NameTypeDescription
segsSEGSโ€”
bundleSMART_TILE_BUNDLEโ€”