Skip to main content
The ReplaceVideoLatentFrames node inserts frames from a source latent video into a destination latent video, starting at a specified frame index. If the source latent is not provided, the destination latent is returned unchanged. The node handles negative indexing and will issue a warning if the source frames do not fit within the destination.

Inputs

ParameterDescriptionData TypeRequiredRange
destinationThe destination latent where frames will be replaced.LATENTYes-
sourceThe source latent providing frames to insert into the destination latent. If not provided, the destination latent is returned unchanged.LATENTNo-
indexThe starting latent frame index in the destination latent where the source latent frames will be placed. Negative values count from the end (default: 0).INTYes-MAX_RESOLUTION to MAX_RESOLUTION
Constraints:
  • The index must be within the bounds of the destination latent’s frame count. If it is not, a warning is logged and the destination is returned unchanged.
  • The source latent frames must fit within the destination latent frames starting from the specified index. If they do not, a warning is logged and the destination is returned unchanged.

Outputs

Output NameDescriptionData Type
outputThe resulting latent video after the frame replacement operation.LATENT
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Source fingerprint (SHA-256): c70eb5f907964e00babcee66a98d1bf382c3bc704f920d61598a4a03f4d686f8