Nodes/ComfyUI_UltimateSDUpscaleGuider/Ultimate SD Upscale (No Upscale, Guider)
ComfyUI Node

Ultimate SD Upscale (No Upscale, Guider)

Runs image-to-image on tiles from the input image using a custom guider (e.g., PerpNegGuider, CFGGuider).

By Blakeem·Created 8 months ago·Updated about a month ago· 6
Ultimate SD Upscale (No Upscale, Guider)
  • upscaled_image
  • guider
  • sampler
  • sigmas
  • vae
  • mask
  • IMAGE
seed0
mode_type
tile_width512
tile_height512
mask_blur8
tile_padding32
seam_fix_mode
seam_fix_denoise1.00
seam_fix_width64
seam_fix_mask_blur8
seam_fix_padding16
tile_overlap_modeReprocess Overlap
tiled_decodefalse
batch_size1
anchor_contextfalse
Categoryimage/upscaling

Inputs (21)

NameTypeDefaultDescription
upscaled_imageIMAGEThe image to upscale.
guiderGUIDERA guider that encapsulates the model, conditioning, and CFG. Use CFGGuider, PerpNegGuider, or other guider nodes.
samplerSAMPLERThe sampler to use. Use KSamplerSelect node to create this.
sigmasSIGMASThe noise schedule. Use BasicScheduler or other scheduler nodes to create this. The denoise is configured in the scheduler.
vaeVAEThe VAE model to use for tiles.
seedINT00–18446744073709550000The seed to use for noise generation.
mode_typeCOMBOThe tiling order to use for the redraw step.
tile_widthINT51264–8192The width of each tile.
tile_heightINT51264–8192The height of each tile.
mask_blurINT80–64The blur radius for the mask.
tile_paddingINT320–8192The padding to apply between tiles.
seam_fix_modeCOMBOThe seam fix mode to use.
seam_fix_denoiseFLOAT1.000–1The denoising strength to use for the seam fix.
seam_fix_widthINT640–8192The width of the bands used for the Band Pass seam fix mode.
seam_fix_mask_blurINT80–64The blur radius for the seam fix mask.
seam_fix_paddingINT160–8192The padding to apply for the seam fix tiles.
tile_overlap_modeCOMBOReprocess OverlapHow to handle tile overlap regions. 'Ignore Overlap' uses minimal tile sizes. 'Reprocess Overlap' uses uniform tiles with overlap regions potentially regenerated. 'Context Only Overlap' uses uniform tiles where overlap regions from previous tiles become read-only context.
tiled_decodeBOOLEANfalseWhether to use tiled decoding when decoding tiles.
batch_sizeINT11–4096The number of tiles to process in a batch. Higher values can reduce processing time but use more VRAM. Yields different results than individual tiles. Only affects the main redraw step, not the seam fix step.
maskoptMASKOptional region mask. Only masked (white) areas are re-diffused; tiles that do not touch the mask are skipped entirely, which greatly speeds up small-region upscales. Sampling still sees the full tile for context, and blending uses the same mask_blur feathering as tile edges (the edit extends about mask_blur pixels past the mask). The mask may be any resolution and is resized to the upscaled canvas. Grayscale values give partial blending. With batched images, a single mask applies to every image, and a batch of masks maps one mask to each image. Not compatible with batch_size > 1 (tile batching).
anchor_contextoptBOOLEANfalseHold the areas a tile will not composite back to the original image at every sampling step, so the model sees the true surroundings instead of a re-diffused version that can drift. Keeps detail consistent between sections and blends seams into the real image. Takes effect when a mask is connected or tile_overlap_mode is 'Context Only Overlap'; otherwise it has no effect.

Outputs (1)

NameTypeDescription
IMAGEIMAGEThe final refined image.