Skip to main content
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
The Pika Swaps node allows you to replace objects or regions in your video with new images. You can define the areas to replace using either a mask or coordinates, and the node will seamlessly swap the specified content throughout the video sequence.

Inputs

ParameterData TypeRequiredRangeDescription
videoVIDEOYes-The video to swap an object in.
imageIMAGEYes-The image used to replace the masked object in the video.
maskMASKYes-Use the mask to define areas in the video to replace.
prompt_textSTRINGYes-Text prompt describing the desired replacement.
negative_promptSTRINGYes-Text prompt describing what to avoid in the replacement.
seedINTYes0 to 4294967295Random seed value for consistent results.
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 NameData TypeDescription
outputVIDEOThe processed video with the specified object or region replaced.