Image Paste (Mikey)
Paste one image onto another at exact coordinates
- background_image
- foreground_image
- image
Image Paste does exactly what it says and nothing more, which is the whole appeal. You give it a background image, a foreground image, and an x/y offset, and it stamps the foreground onto the background at that exact pixel position. No blending, no masking, no opacity math - just a hard paste. If you've ever wanted to composite a logo, a UI element, a sticker, or a second render onto a canvas at a precise spot without reaching for an external editor, this is the node.
It sits in the Mikey/Image category alongside the pack's other compositing nodes, and it's the simplest of the bunch. Think of it as the ComfyUI equivalent of dragging a layer in Photoshop and nudging it into place with arrow keys, except you're typing the coordinates instead of eyeballing them - which is actually a strength if you're building a repeatable pipeline (say, always placing a watermark at the same corner across a batch).
Inputs that matter: background_image and foreground_image are your two IMAGE tensors, and x_position / y_position are integers (range -10000 to 10000, default 0) that set the top-left corner of the paste. Negative values are allowed, which is handy if you're deliberately cropping the foreground off-canvas - push it far enough negative or positive and part of it just falls outside the frame. The single output is image, ready to feed into a Save Image node, another compositing step, or Image Caption if you want to label the result afterward.
Worth knowing before you wire it up: there's no scale or resize field in this node. It pastes at whatever size the foreground already is. If your foreground image is bigger than you want it to appear, resize it with a standard Image Resize node first - Image Paste won't do that math for you. That's a deliberate simplicity choice in line with the rest of the pack: small, single-purpose nodes rather than one mega-node with fifteen toggles.
Installing it
Mikey Nodes isn't a single-node install - you get the whole pack. Easiest path is ComfyUI Manager: search for "Mikey Nodes" and install. If you'd rather do it by hand, open a terminal in your ComfyUI install and run:
cd ComfyUI/custom_nodes
git clone https://github.com/bash-j/mikey_nodes
Restart ComfyUI afterward. There's nothing extra to download for Image Paste specifically - no models, no external dependencies beyond what ComfyUI already ships with. It's pure image-tensor manipulation.
Common issues
The most common trip-up is a shape mismatch: if your background and foreground come from different sources (one from a Load Image, one freshly generated at a different resolution), you can end up with a foreground that's larger than the canvas it's supposed to sit inside, which either clips silently or throws a tensor-shape error depending on how far it overhangs. Check both image sizes before wiring this in, especially if one side of the graph changed resolution upstream and you didn't notice.
The other one is more of a general ComfyUI custom-node gotcha than anything specific to this node: installing a pack this size can occasionally collide with another custom node pack's Python dependencies, since everything in custom_nodes/ shares one environment. If ComfyUI throws an import error on startup right after installing Mikey Nodes, it's worth checking the console output for which package actually failed - nine times out of ten it's a version pin fight between two packs, not Image Paste itself being broken.
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| background_image | IMAGE | — | |
| foreground_image | IMAGE | — | |
| x_position | INT | 0-10000–10000 | — |
| y_position | INT | 0-10000–10000 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |