ComfyUI Node
Stitch Tiles Into One Picture
A ComfyUI node in Smart Upscaler/Processing with 12 inputs and 2 outputs.
Stitch Tiles Into One Picture
- processed_images
- source_tiles
- blend_masks
- corrected_tiles
- final_image
◄tile_references—►
◄tile_metadata_json—►
◄reference_modeStay close to the original photo►
◄structure_preservation55►
◄detail_supportBalanced►
◄fallback_methodbilinear►
◄cross_tile_consistency35►
◄consistency_modeShift the whole tile evenly►
◄finish_presetManual - I set the dials myself►
CategorySmart Upscaler/Processing
Inputs (12)
| Name | Type | Default | Description |
|---|---|---|---|
| processed_images | IMAGE | — | |
| tile_references | STRING | — | |
| source_tiles | IMAGE | — | |
| tile_metadata_json | STRING | — | |
| blend_masks | MASK | — | |
| reference_mode | COMBO | Stay close to the original photo | The most important setting here. Stay close to the original: every tile is pulled back toward the source's own colour and brightness. Use this whenever the source was already a correct picture - it is also the strongest cure for visible tiles, because it gives them all the same starting tone. Keep the new look: each tile keeps the colour and brightness the model gave it, and only bent shapes are corrected. Use this when you deliberately changed the picture - a style, a time of day, a repair of a broken source. |
| structure_preservation | INT | 550–100 | How strongly setting 1 is applied. Around 50 is a normal photo upscale. Below about 20 it barely does anything, so a low number here undoes setting 1 - raise it if the result drifts from your original. |
| detail_support | COMBO | Balanced | Settings 1 and 2 pull the picture back toward the source. This decides how much of the fine detail the model just generated survives that pull. Keep more new detail is the right choice when the model genuinely improved the texture and you only want the source to fix colour and shape. |
| fallback_method | COMBO | bilinear | Only used during a one-tile test, to fill in the tiles you have not rendered yet so you can see the whole picture. Has no effect on a normal full run. Leave it alone. |
| cross_tile_consistency | INT | 350–100 | Evens out colour and brightness differences between neighbouring tiles, using the strip of picture they share. 0 is off; 60 is strong. This fixes tiles that came out different SHADES. It cannot fix tiles that generated different TEXTURE - if you can see a grid in flat areas like water or sky, that comes from the prompt, so check the prompt log first. |
| consistency_modeopt | COMBO | Shift the whole tile evenly | Shift the whole tile evenly: one correction for the whole tile. Fine when a tile is uniformly off. Fade toward the edge that disagrees: the correction is strongest at the join and fades away across the tile, so a tile that only mismatches on one side is fixed there instead of everywhere. This is the better choice whenever you can actually see the joins. |
| finish_presetopt | COMBO | Manual - I set the dials myself | Pick one of these FIRST - it fills in every dial above, then stays on screen as a label so you can see what you chose and adjust from there. Photo upscale, seams hidden: start here for a normal upscale of a picture that was already correct. Use the 'I changed the look' presets when you asked for a style, a time of day, or a repair, so your new look is not pulled back to the original. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| corrected_tiles | IMAGE | — |
| final_image | IMAGE | — |