> ## 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.

# Pikaswaps - ComfyUI Built-in Node Documentation

> The Pika Swaps node replaces objects or regions in your video with a new image.

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

| Parameter | Description | Data Type | Required | Range |
| - | - | - | - | - |
| `video` | The video to swap an object in. | VIDEO | Yes | - |
| `image` | The image used to replace the masked object in the video. | IMAGE | Yes | - |
| `mask` | Use the mask to define areas in the video to replace. | MASK | Yes | - |
| `prompt_text` | Text prompt describing the desired replacement. | STRING | Yes | - |
| `negative_prompt` | Text prompt describing what to avoid in the replacement. | STRING | Yes | - |
| `seed` | Random seed value for consistent results. | INT | Yes | 0 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 Name | Description | Data Type |
| - | - | - |
| `output` | The 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](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/Pikaswaps/en.md)

***

**Source fingerprint (SHA-256):** `007b7bc429fdada2fb8910392b056ae3a98d482cce9e280bdcd162ede497eb03`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.