Nodes/FiL_Design_ImageMind/🔍 Upscaler Advanced
ComfyUI Node

🔍 Upscaler Advanced

📐 FiL Upscale Tile Calc — computes optimal tile grid layout for upscaling. Supports auto-profile and manual grid.

By FiL-Design-Ai·Created 2 months ago·Updated 16 days ago· 3
🔍 Upscaler Advanced
  • image
  • upscale_model
  • latent
  • image
  • tiles
  • upscale_by
  • denoise
  • tile_width
  • tile_height
  • mask_blur
  • tile_padding
  • overlap
  • width
  • height
  • tile_cols
  • tile_rows
  • tile_count
  • latent_w
  • latent_h
  • info
  • warnings
  • latent
  • latent_tiles
  • layout
upscale_factor2.00
tile_size1024
tile_overlap64
auto_overlapfalse
auto_modefalse
auto_profileBalanced
manual_tile_cols0
manual_tile_rows0
non_square_tilesfalse
auto_fix_thin_edgesfalse
Category🎨 FiL Design/Image

Inputs (13)

NameTypeDefaultDescription
upscale_factorFLOAT2.000.1–8Upscale multiplier. 2.0 = double the size.
tile_sizeINT102464–2048Base tile size in pixels for tiled upscale.
tile_overlapINT640–512Tile overlap in pixels. Higher = fewer seams, more VRAM.
auto_overlapBOOLEANfalseIgnore tile_overlap and derive it automatically from the tile size (~12.5%, min 32px) instead — keeps overlap proportional when you change tile_size. No effect when Full Auto is on (it already derives its own overlap).
auto_modeBOOLEANfalseFull Auto: automatically choose tile settings based on profile.
auto_profileCOMBOBalancedVRAM/quality profile for auto mode.
manual_tile_colsINT00–64Force this many tile columns. 0 = compute from tile size.
manual_tile_rowsINT00–64Force this many tile rows. 0 = compute from tile size.
non_square_tilesBOOLEANfalseEnable non-square tiles with aspect-ratio awareness.
auto_fix_thin_edgesBOOLEANfalseIn Manual Tiles mode, shrink tile_size to the next standard size (1536/1024/768 → 512) instead of just warning when the grid would leave a thin edge tile. At 512 (smallest standard) it can't shrink further — the thin edge is then handled downstream by overlap/mask_blur. Does not affect an explicit manual column/row grid.
imageoptIMAGEInput image to analyze. Optional if latent is connected instead — at least one of image/latent is required; source dimensions come from whichever is connected.
upscale_modeloptUPSCALE_MODELOptional ESRGAN-style model. When connected, the image output is actually upscaled through it (then resized to the tile-aligned target). When left unconnected, image is passed through unchanged and this node is calculator-only.
latentoptLATENTOptional latent to resize/tile alongside (or instead of) the image. When connected, the latent output is resized (bislerp) to the tile-aligned target and latent_tiles gets one crop per tile. Can stand in for image entirely — at least one of image/latent is required.

Outputs (21)

NameTypeDescription
imageIMAGEActually upscaled when upscale_model is connected, otherwise the input image passed through unchanged. Empty placeholder when no image is connected (latent-only mode).
tilesIMAGEBatch of the actual cropped tile pieces (edge tiles shifted inward to stay full-size, no black padding). Empty placeholder when no image is connected (latent-only mode).
upscale_byFLOATActual upscale ratio.
denoiseFLOATDenoise hint.
tile_widthINTTile width.
tile_heightINTTile height.
mask_blurINTMask blur radius.
tile_paddingINTTile padding.
overlapFLOATEffective tile overlap in pixels (after clamping/auto-profile) — the average of the per-axis overlap, which can be a fractional pixel when axes differ (non_square_tiles).
widthINTOutput width.
heightINTOutput height.
tile_colsINTTile columns.
tile_rowsINTTile rows.
tile_countINTTotal tile count.
latent_wINTLatent width.
latent_hINTLatent height.
infoSTRINGInfo string.
warningsSTRINGWarnings string.
latentLATENTInput latent resized to the tile-aligned target (bislerp). Empty placeholder when no latent is connected.
latent_tilesLATENTBatch of latent crops, one per image tile (same grid/order as `tiles`). Empty placeholder when no latent is connected.
layoutFIL_TILE_LAYOUTTile-grid layout (exact per-tile positions) — wire into FiL Tile Assembly to recombine processed tiles. Always the real computed grid, independent of image/latent connection.