NO8D Ref Tile Split
The chopping-up decision happens before you sample a pixel
- image
- tiles
- plan
- seeds
- reference
Every tiled upscale has one moment where somebody has to decide how big each tile is, how much they overlap, and where the seams land. Usually that decision is smeared across three widgets. NO8D Ref Tile Split takes it away from you and computes it - then hands the rest of the graph a plan it has to obey. It's the first and smartest node in this six-node set, and if you only understand one of them, make it this one.
Where this even comes from
These nodes are not general-purpose tiling. They're a rebuilt version of a specific workflow: tiled reference upscale for MiniMax H3 Image, an image model that will redraw a chunk of picture for you if you hand it the chunk, a floor plan of dimensions, and a prompt. You split a picture into tiles, redraw each tile bigger with the model looking at the original tile as reference, then align, colour-match and feather the pile back into one image. That's the whole architecture, and it's the same lineage as the ControlNet-Tile + Tiled Diffusion ritual people have been running since SDXL - see our upscaling notes for why the tile condition is the thing that stops tiles drifting apart.
The upstream is goohai's Goohaitools-comfyui (the author credits them and ships their GPL-3.0 notice alongside this pack's MIT one, which is worth knowing if you're shipping commercially). NO8D's change is to cut that single monolith into six visible nodes and add real batching. So instead of one black box, you get to see the kSampler, the VAE, the loader.
One thing to check before you download anything: the H3 open weights ship under a licence that excludes the US, EU, UK and Korea, so a chunk of the people reading this aren't licensed to run the model locally at all. See the MiniMax H3 model notes - it's an expensive surprise to find later.
How the plan gets made
Feed it an image, and it first scales the long edge to output_long_edge, producing the target canvas. Then it resizes the source up to that size with nearest-neighbour - the reference it hands downstream isn't smooth, it's blocky, on purpose, because the model is going to invent the detail, not interpolate it.
Then it searches for a grid. Tile size gets clamped to 1536–4096 and treated as a target with a ±512 tolerance; overlaps start at 256 pixels minimum and never exceed the tile. It enumerates candidate splits along each axis, throws out anything that would leave a gap, and picks the winner by lowest total pixel area, then fewest tiles, then closest to your requested size. If the target canvas already fits inside a single tile of your requested size, you get one tile and the "tiling" is theatre - which is fine, that's a legitimate config.
The bookkeeping output is the interesting part: it also emits one seed per tile, base + index, so each tile gets its own independent noise instead of repeating the same face texture across nine patches.
Inputs and outputs that matter
You set three things. output_long_edge (2048–12800, step 256, default 3072) is how big the finished picture should be. tile_size (1536–4096, step 256, default 3072) is the size you'd like each tile to be. seed is the base for the per-tile seed list.
The author's own notes give a worked example, so you can see the tolerance in action: a 180×318 input at output_long_edge 3072 with tile_size 1536 plans two tiles of 1739×1664; the same input at tile_size 3072 plans one tile of 1739×3072. Bigger requested tiles means fewer, longer generations - slower per pass but fewer seams to blend.
Four outputs, and only three of them go anywhere:
tiles- the list of image tiles. This is what feedsNO8D Ref Tile Prepareand later the Align/Color Match nodes, one tile at a time.plan- an internalNO8D_H3_TILE_PLANtype. Nothing else in ComfyUI understands it. It exists to reachNO8D Ref Tile Stitch, which needs the geometry to put things back.seeds- the per-tile seed list, wired into theseedinput of your sampler.reference- the whole picture at target size, nearest-neighbour scaled. The shipped example workflow doesn't wire it to anything, and that's fine; it's the "what am I aiming at" preview, not a required link.
Install
ComfyUI Manager, search the pack title, done. Or:
cd ComfyUI/custom_nodes
git clone https://github.com/no8d/ComfyUI-NO8D-controls.git
python -m pip install -r ComfyUI-NO8D-controls/requirements.txt
That requirements file pulls json-repair, openpyxl and rembg[cpu] for the rest of the pack; the tiling nodes themselves lean on OpenCV and numpy, which ComfyUI already ships. Restart and hard-refresh. The H3 side needs three model files - a pruned W4A8 UNET, a Qwen3-VL text encoder of the minimax clip type, and the H3 Image VAE - which is a big download, so do it before you start debugging wiring.
Where it bites
Because the whole point is a list fan-out and a collect-downstream, order is sacred. Tiles are laid out as batch-major, then row, then column. Sort them, shuffle them, or drop one with a filter node and the stitch will either misplace content or refuse with "Expected N tiles, got M." Same for seeds: they line up with tiles by index, and the author's notes say plainly not to re-batch or reorder.
The other trap: it's list-native, so its three numeric widgets are read from the first element only. Feed it a batch and you get one plan per image - a feature, but it does mean you can't set a different tile_size per image in the same call.
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| output_long_edge | INT | 30722048–12800 | — |
| tile_size | INT | 30721536–4096 | — |
| seed | INT | 8339148181164360–18446744073709550000 | — |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| tiles | IMAGE | — |
| plan | NO8D_H3_TILE_PLAN | — |
| seeds | INT | — |
| reference | IMAGE | — |