Nodes/ComfyUI-WanAnimatePlus/WanAnimatePlus SCAIL_2 Embeds
ComfyUI Node

WanAnimatePlus SCAIL_2 Embeds

A ComfyUI node in WanAnimatePlus with 25 inputs and 1 output.

By wuwukaka·Created 3 months ago·Updated 22 days ago· 402
WanAnimatePlus SCAIL_2 Embeds
  • vae
  • clip_embeds
  • ref_image
  • bg_image
  • pose_images
  • prefix_frames
  • prefix_mask
  • transition_video
  • pose_image_mask
  • reference_image_mask
  • image_embeds
width832
height480
num_frames81
frame_window_size81
force_offloadtrue
pose_strength1.000
ref_strength1.000
replacement_modefalse
tiled_vaefalse
transition_colormatchdisabled
loop_colormatch_referenceprevious_matched_frame
prefix_alpha_cropfalse
preserve_main_ref_backgroundtrue
single_frame_prefix_encodingtrue
by wuwukasi(bilibili)true
CategoryWanAnimatePlus

Inputs (25)

NameTypeDefaultDescription
vaeWANVAE
widthINT83264–8096Width of the video to generate. SCAIL-2 inputs are aligned to multiples of 32.
heightINT48064–8096Height of the video to generate. SCAIL-2 inputs are aligned to multiples of 32.
num_framesINT811–10000Number of frames to generate
frame_window_sizeINT811–10000SCAIL-2 chunk window length. Automatically rounds down to 4n+1. Values different from the normalized num_frames enable built-in loop generation with 5-frame handoff; oversized values are clamped to the largest valid window that fits.
force_offloadBOOLEANtrueOffload VAE after encoding to save VRAM
pose_strengthFLOAT1.0000–10Strength of the SCAIL pose stream
ref_strengthFLOAT1.0000–10Strength of the SCAIL reference stream
replacement_modeBOOLEANfalseFalse = animation mode (pose mask black bg, reference mask white bg). True = replacement mode (pose mask white bg, reference mask black bg).
clip_embedsoptWANVIDIMAGE_CLIPEMBEDSClip vision encoded image
ref_imageoptIMAGEReference image for SCAIL conditioning. If a sequence is connected, only the first frame is used.
bg_imageoptIMAGEOptional single background image for animation mode. In single-frame prefix mode it is encoded as an extra background reference latent; in legacy prefix mode it is placed after prefix_frames. Ignored in replacement mode.
pose_imagesoptIMAGEDriving pose video. Encoded at half resolution for SCAIL.
prefix_framesoptIMAGEOptional prefix images. In single-frame prefix mode these are encoded as reference latents; in legacy mode they hard-freeze the beginning of the canvas.
prefix_maskoptIMAGEOptional colored mask images matching prefix_frames. In single-frame prefix mode this follows the reference-mask path; in legacy canvas-prefix mode it is expanded as 1+4+4... and written into the prefix mask frames.
transition_videooptIMAGEOptional transition frames to hard-freeze at the beginning of the canvas. In legacy canvas-prefix mode, transition frames are placed after the prefix frames.
pose_image_maskoptIMAGESCAIL-2 colored per-identity driving pose mask. Background is normalized to black in animation mode and white in replacement mode.
reference_image_maskoptIMAGESCAIL-2 colored per-identity reference mask image. Background is normalized to white in animation mode and black in replacement mode.
tiled_vaeoptBOOLEANfalseUse tiled VAE encoding for reduced memory use
transition_colormatchoptCOMBOdisabledColor match transition_video to ref_image.
loop_colormatch_referenceoptCOMBOprevious_matched_frameSCAIL-2 loop color match reference. The first chunk is not color matched when transition_video is not connected.
prefix_alpha_cropoptBOOLEANfalseOff keeps prefix masks as white-background reference masks in animation mode. On uses black-background masks and alpha-crops prefix_frames. Replacement mode always uses black-background reference masks.
preserve_main_ref_backgroundoptBOOLEANtrueAnimation mode only. Keep the main reference image background. When off, reference_image_mask is normalized to black background and used to alpha-crop ref_image. Ignored in replacement mode.
single_frame_prefix_encodingoptBOOLEANtrueEncode prefix images as individual full-resolution reference latents instead of expanding the canvas.
by wuwukasi(bilibili)optBOOLEANtrueFollow wuwukasi on bilibili

Outputs (1)

NameTypeDescription
image_embedsWANVIDIMAGE_EMBEDS