Skip to main content
The Pika Swaps node replaces objects or regions in your video with a new image. You define the areas to replace using a mask, and the node seamlessly swaps the specified content throughout the video sequence.

Inputs

ParameterDescriptionData TypeRequiredRange
videoThe video to swap an object in.VIDEOYes-
imageThe image used to replace the masked object in the video.IMAGEYes-
maskUse the mask to define areas in the video to replace.MASKYes-
prompt_textText prompt describing the desired replacement.STRINGYes-
negative_promptText prompt describing what to avoid in the replacement.STRINGYes-
seedRandom seed value for consistent results.INTYes0 to 4294967295
Note: This node requires all input parameters to be provided. The video, image, and mask work together to define the replacement operation, where the mask specifies which areas of the video will be replaced with the provided image.

Outputs

Output NameDescriptionData Type
outputThe processed video with the specified object or region replaced.VIDEO
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): 007b7bc429fdada2fb8910392b056ae3a98d482cce9e280bdcd162ede497eb03