Nodes/ComfyUI-MagoNodes/WAN Tiled Sampler
ComfyUI Node

WAN Tiled Sampler

A ComfyUI node in Mago Nodes/Sampling with 21 inputs and 1 output.

By MagoStudio·Created 3 months ago·Updated 21 days ago· 6
WAN Tiled Sampler
  • model
  • positive
  • negative
  • latent_image
  • LATENT
add_noise
noise_seed0
steps20
cfg1.0
sampler_name
scheduler
start_at_step0
end_at_step10000
return_with_leftover_noise
tiles_h2
tiles_w2
overlap_h25
overlap_w25
scale_schedule
bypass_tilingfalse
reference_latent_fulltrue
debugfalse
CategoryMago Nodes/Sampling

Inputs (21)

NameTypeDefaultDescription
modelMODEL
add_noiseCOMBO2 options: enable, disable
noise_seedINT00–18446744073709550000
stepsINT201–10000
cfgFLOAT1.00–100Classifier-Free Guidance scale. WAN distilled models typically use cfg=1.
sampler_nameCOMBO44 options: euler, euler_cfg_pp, euler_ancestral, euler_ancestral_cfg_pp, heun, heunpp2, +38
schedulerCOMBO9 options: simple, sgm_uniform, karras, exponential, ddim_uniform, beta, +3
positiveCONDITIONING
negativeCONDITIONING
latent_imageLATENT
start_at_stepINT00–10000
end_at_stepINT100000–10000
return_with_leftover_noiseCOMBO2 options: disable, enable
tiles_hINT21–8Number of spatial tiles along the height axis. Set 1 to disable height tiling.
tiles_wINT21–8Number of spatial tiles along the width axis. Set 1 to disable width tiling.
overlap_hINT250–50Overlap between height tiles as a percentage of tile height (0–50%). 25% = one quarter of each tile overlaps its neighbour. Larger values reduce seam artifacts from cross-tile motion at the cost of more compute per step.
overlap_wINT250–50Overlap between width tiles as a percentage of tile width (0–50%). 25% = one quarter of each tile overlaps its neighbour.
scale_scheduleoptSTRINGMultiscale (coarse-to-fine) schedule mapping step → resolution %. e.g. {0:25, 10:50, 20:100} runs the WHOLE frame downscaled to 25% for steps 0–9, 50% for 10–19, then full-res from 20. Values are held until the next key. While scale < 100% the frame is evaluated in a single pass (tiling is skipped) so global motion stays coherent — the key fix for I2V drift. Empty = always 100%.
bypass_tilingoptBOOLEANfalseSkip tiling entirely — equivalent to plain KSamplerAdvanced (unless a scale_schedule is set).
reference_latent_fulloptBOOLEANtrueWhen enabled, the full reference frame is passed to every tile instead of cropping it to the tile region. Useful for I2V workflows: the reference tokens are appended to the sequence so there is no size constraint, and the full image gives each tile global scene context.
debugoptBOOLEANfalsePrint tile layout, blend weight sanity check, per-step scale/tile decisions, and conditioning slice info.

Outputs (1)

NameTypeDescription
LATENTLATENT