Nodes/toobusy/toobusy Wan SCAIL Extend Sampler
ComfyUI Node

toobusy Wan SCAIL Extend Sampler

A ComfyUI node in toobusy/Make with 42 inputs and 2 outputs.

By nicekriss·Created about a year ago·Updated 6 days ago· 9
toobusy Wan SCAIL Extend Sampler
  • model
  • clip
  • vae
  • reference_image
  • pose_video
  • clip_vision
  • pose_video_mask
  • reference_image_mask
  • continue_video
  • images
  • frame_count
positive
negative
width512
height896
base_frames81
extend_segments0
seed1
steps6
cfg1.0
sampler_nameeuler
schedulersimple
shift5.00
previous_frame_count5
color_matchtrue
color_anchorfirst chunk
replacement_modefalse
pose_strength1.00
pose_start0.00
pose_end1.00
clip_vision_cropnone
extend_1_frames81
extend_2_frames81
extend_3_frames81
extend_4_frames81
extend_5_frames81
extend_6_frames81
extend_7_frames81
extend_8_frames81
frame_modetarget total
target_total_frames157
color_samplewhole chunk
color_match_strength1.00
target_total_frames_input
Categorytoobusy/Make

Inputs (42)

NameTypeDefaultDescription
modelMODEL
clipCLIP
vaeVAE
reference_imageIMAGE
pose_videoIMAGE
positiveSTRING
negativeSTRING
widthINT51264–8192
heightINT89664–8192
base_framesINT815–1024Frames of the first chunk, and the per-chunk size auto mode extends with. Wan wants 4k+1 lengths (65, 81, ...).
extend_segmentsINT00–8
seedINT10–18446744073709550000Base noise seed. Each extend chunk uses seed + chunk index.
stepsINT61–100
cfgFLOAT1.00–30
sampler_nameCOMBOeuler44 options: euler, euler_cfg_pp, euler_ancestral, euler_ancestral_cfg_pp, heun, heunpp2, +38
schedulerCOMBOsimple9 options: simple, sgm_uniform, karras, exponential, ddim_uniform, beta, +3
shiftFLOAT5.000–100ModelSamplingSD3 sigma shift. 0 keeps the model's own sampling.
previous_frame_countINT51–33Tail frames of the previous chunk each extend re-anchors on (SCAIL-2 is trained at 5). The overlap is trimmed from the extend output.
color_matchBOOLEANtrueReinhard LAB color transfer of every extend chunk so the colors stay consistent down the video.
color_anchorCOMBOfirst chunkWhich chunk color_match aims at. 'first chunk' anchors every chunk to the first chunk, stopping the cumulative fade that chunk-by-chunk VAE round-trips cause. 'previous chunk' matches each chunk to the one before it (smoothest seams, but follows the drift). See color_sample for which frames set the target.
replacement_modeBOOLEANfalse
pose_strengthFLOAT1.000–10
pose_startFLOAT0.000–1
pose_endFLOAT1.000–1
clip_vision_cropCOMBOnone2 options: none, center
extend_1_framesINT819–1024Frames rendered for this extend chunk; the first previous_frame_count of them are the overlap and get trimmed.
extend_2_framesINT819–1024Frames rendered for this extend chunk; the first previous_frame_count of them are the overlap and get trimmed.
extend_3_framesINT819–1024Frames rendered for this extend chunk; the first previous_frame_count of them are the overlap and get trimmed.
extend_4_framesINT819–1024Frames rendered for this extend chunk; the first previous_frame_count of them are the overlap and get trimmed.
extend_5_framesINT819–1024Frames rendered for this extend chunk; the first previous_frame_count of them are the overlap and get trimmed.
extend_6_framesINT819–1024Frames rendered for this extend chunk; the first previous_frame_count of them are the overlap and get trimmed.
extend_7_framesINT819–1024Frames rendered for this extend chunk; the first previous_frame_count of them are the overlap and get trimmed.
extend_8_framesINT819–1024Frames rendered for this extend chunk; the first previous_frame_count of them are the overlap and get trimmed.
frame_modeCOMBOtarget totaltarget total: enter a goal frame count; the node auto-splits it into base_frames-sized chunks and extends as needed (last chunk trims to fit). manual segments: drive each extend chunk yourself with the +/- slots.
target_total_framesINT1575–100000Goal output frames in 'target total' mode. The readout shows the actual landed total (4k+1 grid means it may differ by a few frames).
color_sampleCOMBOwhole chunkWhich frames of the anchor chunk set the color target. 'whole chunk' averages the chunk's color so a color-atypical tail (e.g. a blue close-up right before a zoom-out) can't drag the next chunk's color. 'last frame' matches the seam frame exactly (tightest seam, but vulnerable to that tail).
color_match_strengthFLOAT1.000–1How hard color_match pulls each chunk toward the target color. 1.0 = full transfer, 0.0 = none (same as turning color_match off). Lower it when scenes legitimately change color and full matching tints them.
clip_visionoptCLIP_VISION
pose_video_maskoptIMAGE
reference_image_maskoptIMAGE
continue_videooptIMAGEFrames of an already-generated video to continue from (load the good part of a previous run and trim it to the last frame you want to keep). When connected the base chunk is skipped: these frames open the output, their tail anchors the first new chunk, and the pose video is walked from that point on automatically — so keep the SAME pose_video and settings as the original run. In 'target total' mode these frames count toward the target.
target_total_frames_inputoptINTOptional linked override for target_total_frames. Use this when driving the target with a frame counter or other INT output; when connected it wins over the widget value.

Outputs (2)

NameTypeDescription
imagesIMAGE
frame_countINT