ComfyUI Node

Get Tile

Grab one tile out of the pile — debugging and manual branching made easy

By maDcaDDie2000·Created 6 months ago·Updated about a month ago· 19
Get Tile
  • images
  • tile_config
  • tile
  • tile_index
  • tile_config
tile_index0

Sometimes you don't want to process the whole pile of tiles - you want one. Maybe you're debugging why a single region looks wrong. Maybe you're testing your upscale branch on a single tile before committing to the full run. Maybe you want to inspect what a specific tile actually contains before you burn an hour of GPU time. Get Tile is the node for exactly that.

It's a deliberately small helper, and its flexibility is the point. It accepts the tile you're interested in through two different paths:

  • Full frame + config: feed it the original images batch and the tile_config from your slicer, and it crops out the tile at tile_index using the stored geometry.
  • The slicer's tiles list: feed it the list output directly. Because the node declares INPUT_IS_LIST, it unwraps ComfyUI's list context and picks index tile_index straight out of the list.

The inputs that matter

Honestly just two: images (either form above) and tile_index (zero-based, 0–999, clamped to the valid range - so you can't index off the end, it just clamps to the last tile). tile_config is required too, but it only does work in the full-frame path.

What comes out

  • tile - a single contiguous tile crop [B,h,w,C]. Contiguous matters: some downstream nodes are picky about non-contiguous views, and this node makes sure you get a clean tensor.
  • tile_index - the resolved index after clamping. Wire this into anything that wants to know which tile you actually got.
  • tile_config - passed through untouched, so you can keep feeding the config downstream without re-slicing.

How it fits the workflow

The natural use is a manual branch: slice once, use Get Tile to pull tile 3 out, run your upscale branch on just that tile, preview it, tune your settings - then let the real list-mode pass run over everything. It's also a great way to sanity-check that your tile_index bookkeeping matches reality before you wire up a per-tile queue.

Install

It ships in the comfyui-video-tiler pack with the rest:

cd ComfyUI/custom_nodes
git clone https://github.com/maDcaDDie2000/comfyui-video-tiler

Restart ComfyUI; the node sits under Video Tiler. No extra dependencies, no model downloads - the whole pack runs on PyTorch and NumPy, both already in ComfyUI. Apache 2.0, vibe-coded for personal use and not actively maintained, so treat it as "works for me" rather than "supported forever." Keep tile_config matched to the slicer that made the tiles, and this little node will do exactly what it says.

CategoryVideo Tiler

Inputs (3)

NameTypeDefaultDescription
imagesIMAGEFull frame [B,H,W,C] or slicer tiles output (list); INPUT_IS_LIST unwraps list context.
tile_configTILE_CONFIGLayout from Video Tile Slice / Slice Fixed.
tile_indexINT00–999Zero-based tile index; clamped to valid range.

Outputs (3)

NameTypeDescription
tileIMAGESingle tile crop [B,h,w,C], contiguous.
tile_indexINTResolved index after clamping.
tile_configTILE_CONFIGSame TILE_CONFIG passthrough for downstream.