Documentation Index
Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
Use this file to discover all available pages before exploring further.
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHubThe 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
| Parameter | Data Type | Required | Range | Description |
|---|---|---|---|---|
video | VIDEO | Yes | - | The video to swap an object in. |
image | IMAGE | Yes | - | The image used to replace the masked object in the video. |
mask | MASK | Yes | - | Use the mask to define areas in the video to replace. |
prompt_text | STRING | Yes | - | Text prompt describing the desired replacement. |
negative_prompt | STRING | Yes | - | Text prompt describing what to avoid in the replacement. |
seed | INT | Yes | 0 to 4294967295 | Random seed value for consistent results. |
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 Name | Data Type | Description |
|---|---|---|
output | VIDEO | The processed video with the specified object or region replaced. |
Source fingerprint (SHA-256):
007b7bc429fdada2fb8910392b056ae3a98d482cce9e280bdcd162ede497eb03