Nodes/ComfyUI-ArchAi3d-Qwen/๐ŸŽจ Smart Tile Sampler
ComfyUI Node

๐ŸŽจ Smart Tile Sampler

Sample every tile, leave the stitching to the Merger

By amir84ferdosยทCreated 11 months agoยทUpdated 5 months agoยท 70
๐ŸŽจ Smart Tile Sampler
  • image
  • segs
  • model
  • vae
  • conditionings
  • negative
  • bundle
  • image
  • segs
โ—„seed0โ–บ
โ—„steps20โ–บ
โ—„cfg7.0โ–บ
โ—„sampler_nameeulerโ–บ
โ—„schedulernormalโ–บ
โ—„denoise0.40โ–บ

In the Smart Tile pipeline there are two ways to process your tiles: the Detailer composites as it goes, and the Sampler takes a cleaner division of labor. This node is the second one - it samples every tile independently and hands the results back as SEGS, doing zero compositing. The Merger downstream does all the stitching. It's a deliberate split: sample everything with your best settings, then decide once how to blend, rather than committing to a blend strategy mid-sampling.

It's part of the "Smart Tile" subsystem of ComfyUI-ArchAi3d-Qwen (Amir Ferdos's pack). The intended workflow is written right in the source: Calculator โ†’ SEGS Blur โ†’ Sampler โ†’ Merger โ†’ Final Image.

Inputs

  • image - the upscaled base image. It's a pass-through: the Sampler doesn't modify it, it just carries it along so the Merger can use it as the fallback base.
  • segs - the tile SEGS, from Smart Tile SEGS Blur (the blurred-mask version, so the seams are already feathered).
  • conditionings / negative - from Smart Tile Conditioning: one conditioning per tile, plus the shared negative.
  • model / vae / seed / steps / cfg / sampler_name / scheduler / denoise - the usual sampling stack. denoise defaults to 0.4, which is the "refine, don't rebuild" range.
  • bundle (optional) - from the calculator, carries the geometry.

Outputs: image (the untouched base, passed through) and segs - the SEGS with each tile's rendered result inside it. That segs output is the whole ballgame: it's what the Merger reads to build the final image.

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 a license.

Sampler vs Detailer

The difference is worth internalizing before you pick. Smart Tile Detailer processes each tile with its own conditioning and composites the result in the same pass - fewer nodes, faster to wire, and it uses SEG masks directly. This node deliberately defers compositing to the Merger, which buys you the Merger's proper normalized weight blending and its four blend modes. If you're chasing maximum seam quality, the Sampler + Merger split is the better architecture; if you just want a detail pass done, the Detailer is less ceremony. Both need the Conditioning node's per-tile prompts to earn their keep - without those, you've built a slower version of a plain tiled upscale.

CategoryArchAi3d/Upscaling/Smart Tile

Inputs (13)

NameTypeDefaultDescription
imageIMAGEInput image (pass-through to Merger as base)
segsSEGSSEGS from Smart Tile SEGS Blur
modelMODELDiffusion model for sampling
vaeVAEVAE for encode/decode
conditioningsCONDITIONING_LISTList of conditionings from Smart Tile Conditioning
negativeCONDITIONINGNegative conditioning
seedINT00โ€“18446744073709550000Random seed for sampling
stepsINT201โ€“100Number of sampling steps
cfgFLOAT7.01โ€“30CFG scale
sampler_nameCOMBOeulerSampler algorithm
schedulerCOMBOnormalNoise scheduler
denoiseFLOAT0.400โ€“1Denoise strength
bundleoptSMART_TILE_BUNDLEBundle from Smart Tile Calculator

Outputs (2)

NameTypeDescription
imageIMAGEโ€”
segsSEGSโ€”