Nodes/ComfyUI_MiraSubPack/Mira ITU Pipeline Extract
ComfyUI Node

Mira ITU Pipeline Extract

Unpack a tile-grid descriptor into plain numbers you can read and wire

By mirabarukaso·Created 9 months ago·Updated 2 months ago· 0
Mira ITU Pipeline Extract
  • mira_itu_pipeline
  • full_width
  • full_height
  • tile_width
  • tile_height
  • overlap
  • overlap_feather_rate
  • pixel_alignment

The mira_itu_pipeline descriptor is how the Mira tiled-upscale nodes keep their tile math consistent - a single object carrying full dimensions, tile dimensions, overlap, feather rate, and pixel alignment. It's also, from the outside, an opaque blob: you can't inspect it, and most nodes don't know what to do with it. Mira ITU Pipeline Extract is the debugger and adapter for that blob - it unpacks the descriptor into seven plain INT/FLOAT outputs you can read, preview, or wire into anything that wants plain numbers.

Reach for it in two situations. First, debugging: when a tiled upscale comes out scrambled, the first question is always "what did the crop node actually decide?" This node answers it - feed it the pipeline and you'll see the real tile width, the real overlap, the real alignment the merge is about to assume. Second, adapting: you want to read a value (say, the computed tile width) and use it somewhere else in the graph, or combine a modified number back into a new descriptor with MiraITUPipelineCombine.

The inputs

  • mira_itu_pipeline - any pipeline descriptor, typically from ImageCropTiles, ImageCropTilesByPixels, LatentUpscaleAndCropTiles, or MiraITUPipelineCombine. The tooltip calls it "Upscaled pipeline info," but it accepts descriptors from any stage.

The outputs

Seven, in the canonical order the merge nodes use:

  • full_width (INT), full_height (INT)
  • tile_width (INT), tile_height (INT)
  • overlap (INT)
  • overlap_feather_rate (FLOAT)
  • pixel_alignment (INT)

How it works

From the source it's the smallest node in the pack - it unpacks the tuple and returns each element as its own output. The order is the contract: this is exactly the order MiraITUPipelineCombine packs them, so the two nodes are a lossless round trip.

Install

cd ComfyUI/custom_nodes
git clone https://github.com/mirabarukaso/ComfyUI_MiraSubPack

or search "MiraSubPack" in ComfyUI Manager and restart. No extra dependencies.

Notes

  • It's a read-only view. Changing the extracted numbers here changes nothing downstream; if you want to alter the descriptor, modify the numbers and rebuild it with MiraITUPipelineCombine.
  • There's no "description" text output - if you want the human-readable summary, the crop nodes already provide a mira_itu_pipeline_info string for that. This node is for when you need the actual values, not prose.
  • The classic use in a real workflow: extract the full width/height after an upscale, compare against your intended target, and feed the corrected values into the pipeline combine to keep the merge honest. Debuggers pay for themselves, and this one costs nothing to drop in.
CategoryMira/SubPack/Image Tiled Upscaler

Inputs (1)

NameTypeDefaultDescription
mira_itu_pipelinemira_image_tiled_upscaler_pipelineUpscaled pipeline info.

Outputs (7)

NameTypeDescription
full_widthINT
full_heightINT
tile_widthINT
tile_heightINT
overlapINT
overlap_feather_rateFLOAT
pixel_alignmentINT