Nodes/Bart's ComfyUI Nodes/Bart's WAN Latent Trim Start ๐ŸŽž๏ธ
ComfyUI Node

Bart's WAN Latent Trim Start ๐ŸŽž๏ธ

Cut frames from the start of a WAN video latent before VAE decode. The count is in pixel frames, converted to latent frames (4x temporal compression) and snapped to the nearest latent boundary.

By bartenevveยทCreated 5 months agoยทUpdated 7 days agoยท 0
Bart's WAN Latent Trim Start ๐ŸŽž๏ธ
  • samples
  • samples
  • removed_frames
  • frames_left
โ—„trim_start_frames0โ–บ
CategoryBart's nodes/Latent

Inputs (2)

NameTypeDefaultDescription
samplesLATENTโ€”
trim_start_framesINT00โ€“16384Pixel frames to remove from the start. Converted to latent frames as N / 4 rounded to the nearest whole frame, halves up (not Python's round-half-even); multiples of 4 are exact.

Outputs (3)

NameTypeDescription
samplesLATENTโ€”
removed_framesINTโ€”
frames_leftINTโ€”