Nodes/Comfyui_TTP_Toolset/TTP_condsetarea_merge
ComfyUI Node Runs on cloud

TTP_condsetarea_merge

Stamp per-tile prompts to their regions and merge

By TTPlanetPig·Created 2 years ago·Updated 29 days ago· 1,028
TTP_condsetarea_merge
  • conditioning_batch
  • coordinates
  • CONDITIONING
strength1.00

This is the node the README's "Condition Merge Node" section describes: "This node merges all tiled conditions into one and prepares them for building the final image. It connects to the Coordinate Splitter Node and Cond to Batch Node." It's the last step of TTPlanetPig's regional-conditioning trio (TTP_CoordinateSplitter, TTP_condtobatch, and this node) - the piece that actually applies area restriction and combines everything into the single CONDITIONING your sampler wants.

How it works. Under the hood, this is doing what ComfyUI's built-in "Conditioning (Set Area)" node does - restricting a piece of text conditioning's influence to a specific rectangle on the canvas - but batched, so you don't have to wire one Set Area node per tile by hand. conditioning_batch (from TTP_condtobatch) is your stack of per-tile prompts; coordinates (from TTP_CoordinateSplitter) tells the node which rectangle each entry in that batch belongs to; the node stamps each conditioning to its matching area and merges the results into one CONDITIONING output. strength (0–10, default 1) is a global multiplier on top of that - note the range goes well past the usual 0–1 you'd expect from a conditioning weight, so treat it as a fine-tuning knob layered on top of the per-area conditioning rather than the primary control.

The inputs that matter: conditioning_batch and coordinates are the two required connections that do the actual work - get either one wrong (wrong order, wrong source) and tiles get the wrong prompt's influence. strength is worth leaving at 1 until you have a reason to touch it.

Where it fits in the full tiled-conditioning chain. TTP_Image_Tile_BatchPOSITIONSTTP_CoordinateSplittercoordinates, in parallel with per-tile prompts → CLIP Text Encode → TTP_condtobatchconditioning_batch. Both feed into this node, and its CONDITIONING output goes straight to your KSampler's positive conditioning input for a generation where different regions of the canvas get different prompt influence - the older, hand-built cousin of the more automated per-tile prompting Smart Tile 2.0 offers via TTP Smart Tile QwenVL Prompt Set Builder.

Install. ComfyUI Manager, search "Comfyui_TTP_Toolset", or cd ComfyUI/custom_nodes && git clone https://github.com/TTPlanetPig/Comfyui_TTP_Toolset, then restart. Pure conditioning-data node - no models or extra dependencies of its own.

Common issues. The main thing to get right, and the thing the README doesn't spell out explicitly, is that conditioning_batch and coordinates need to line up entry-by-entry - the first conditioning in the batch gets stamped to the first coordinate, and so on. If your regions and prompts end up crossed (a background prompt bleeding into a face tile, say), check the ordering upstream in TTP_condtobatch and TTP_CoordinateSplitter before assuming this node is at fault. And since this is fundamentally area-based conditioning rather than a masked or regional-attention technique, expect the same soft edges at tile boundaries that ComfyUI's native Set Area node has always had - it restricts influence to a rectangle, it doesn't feather one prompt into another, so seams between differently-prompted regions can be visible if the areas' content contrasts sharply.

CategoryTTP/Conditioning

Inputs (3)

NameTypeDefaultDescription
conditioning_batchCONDITIONING
coordinatesLIST
strengthFLOAT1.000–10

Outputs (1)

NameTypeDescription
CONDITIONINGCONDITIONING