Nodes/comfyui-darkil-nodes/I2V Encode with Middle Frame [darkilNodes]
ComfyUI Node

I2V Encode with Middle Frame [darkilNodes]

A ComfyUI node in darkilNodes/wan with 23 inputs and 1 output.

By pytraveler·Created 7 months ago·Updated about a month ago· 4
I2V Encode with Middle Frame [darkilNodes]
  • vae
  • clip_embeds
  • start_image
  • middle_image
  • end_image
  • control_embeds
  • temporal_mask
  • extra_latents
  • add_cond_latents
  • empty_frame_pad_image
  • image_embeds
width832
height480
num_frames81
noise_aug_strength0.000
start_latent_strength1.000
end_latent_strength1.000
middle_latent_strength1.000
middle_frame_ratio0.50
force_offloadtrue
motion_amplitude1.00
fun_or_fl2v_modeltrue
tiled_vaefalse
augment_empty_frames0.00
CategorydarkilNodes/wan

Inputs (23)

NameTypeDefaultDescription
widthINT83264–8096Width of the image to encode
heightINT48064–8096Height of the image to encode
num_framesINT811–10000Number of frames to encode
noise_aug_strengthFLOAT0.0000–10Strength of noise augmentation, helpful for I2V where some noise can add motion and give sharper results
start_latent_strengthFLOAT1.0000–10Additional latent multiplier for the start frame, helpful for I2V where lower values allow for more motion
end_latent_strengthFLOAT1.0000–10Additional latent multiplier for the end frame, helpful for I2V where lower values allow for more motion
middle_latent_strengthFLOAT1.0000–10Additional latent multiplier for the middle frame
middle_frame_ratioFLOAT0.500–1Position of the middle frame as a ratio of total frames (0.0 = start, 1.0 = end)
force_offloadBOOLEANtrue
motion_amplitudeFLOAT1.001–2Motion amplitude multiplier, >1.0 enhances motion reducing slow motion, 1.0=disabled
vaeoptWANVAE
clip_embedsoptWANVIDIMAGE_CLIPEMBEDSClip vision encoded image
start_imageoptIMAGEImage to encode
middle_imageoptIMAGEMiddle frame image
end_imageoptIMAGEEnd frame
control_embedsoptWANVIDIMAGE_EMBEDSControl signal for the Fun -model
fun_or_fl2v_modeloptBOOLEANtrueEnable when using official FLF2V or Fun model
temporal_maskoptMASKmask
extra_latentsoptLATENTExtra latents to add to the input front, used for Skyreels A2 reference images
tiled_vaeoptBOOLEANfalseUse tiled VAE encoding for reduced memory use
add_cond_latentsoptADD_COND_LATENTSAdditional cond latents WIP
augment_empty_framesoptFLOAT0.000–10EXPERIMENTAL: Augment empty frames with the difference to the start image to force more motion
empty_frame_pad_imageoptIMAGEUse this image to pad empty frames instead of gray, used with SVI-shot and SVI 2.0 LoRAs

Outputs (1)

NameTypeDescription
image_embedsWANVIDIMAGE_EMBEDS