Image Paste Crop by Location
Paste a crop at custom coordinates in ComfyUI
Image Paste Crop by Location drops a cropped image back onto a base image at a location you specify. It's the "put it back" half of a crop-edit-paste workflow, but with manual placement - you tell it where the crop goes with coordinates, instead of relying on stored crop data. Handy when you cropped a region, worked on it separately, and now need to composite it back at an exact spot.
The classic detail-work pattern is: crop a region out of a big image (a face, a hand, some area you want to fix), run that small crop through a targeted process (upscale, inpaint, filter), then paste the improved crop back over the original. This node handles that final paste when you want to control the position yourself.
How it works
Per the WAS README, this uses the same blending algorithm as Image Paste Crop, but instead of reading a stored crop_data for placement, it pastes to a custom location you set. You give it the base image, the crop to paste, and the coordinates, and it composites the crop onto the base at that position, blending the edges so the seam isn't obvious.
That's the difference from its sibling: Image Paste Crop pastes back to the exact spot a crop came from (using crop_data), which is automatic and seamless for a crop→edit→paste round-trip. Image Paste Crop by Location is for when you want to place a crop manually - a different spot, a different image, wherever your coordinates point.
The inputs and outputs that matter
You feed in the base image, the crop image to paste, and the location coordinates that decide where it lands. The output is the composited image - base with the crop blended in. Get the coordinates right and the blending does the rest; the node feathers the paste so it doesn't look cut out.
How to install it
Ships in WAS Node Suite. Install once via ComfyUI Manager (search WAS Node Suite, install, restart) or by hand:
cd ComfyUI/custom_nodes
git clone https://github.com/WASasquatch/was-node-suite-comfyui
pip install -r was-node-suite-comfyui/requirements.txt
then restart. On Windows portable, run the pip step with python_embeded\python.exe -s -m pip install -r ... (or install.bat). No models needed.
Common issues & troubleshooting
The crop lands in the wrong place. Coordinate systems are the usual culprit - origin at top-left, and whether the location means the crop's corner or its center. If the paste is offset from where you wanted, adjust the coordinates in the direction of the error; it's rarely more complicated than that. Preview and nudge.
Visible seam around the paste. The blending is decent but not magic. If the crop's colors or lighting drifted during editing (an upscale or inpaint that shifted tone), the paste shows an edge no blending can hide. Match the crop's tone to the surroundings before pasting, or feather more if the node gives you the option.
Which paste node do I want? If you're doing a straight crop→edit→paste-back round-trip, use Image Paste Crop with the crop_data from the crop node - it returns the region to its exact origin automatically. Use by Location only when you need manual placement. For faces specifically, Image Paste Face Crop has a blending function tuned for seamless face reinsertion.
Size mismatch. The crop and base need to make sense together - a crop bigger than the target area, or coordinates that push it off the canvas edge, will clip or error. Keep the crop within the base's bounds.
The suite won't import. WAS Node Suite is large and unmaintained since late 2023; the recurring failure is an "Import Failed" after a ComfyUI update, from a dependency version clash (opencv especially). Reinstall the requirements against your ComfyUI Python and restart. The paste node works fine - the suite install is the weak link.
Inputs (0)
No inputs
Outputs (0)
No outputs