A dinosaur between park benches, a vase on a desk, or a bicycle in front of a house wall: Such composites often look artificial right away because they lack the light, sharpness, and color mood of the background. This is exactly where the Harmonize function comes in. It analyzes the lighting conditions and colors of your image and automatically adapts the inserted subject.
In this tutorial, I will guide you through the entire process. You will learn how to isolate a subject with Select Subject, rasterize the layer, and apply Harmonize. I will also show you how to cleanly separate hair and fine bicycle spokes with Remove Background and how to make distracting objects disappear with Generative Fill.
Key Takeaways
Key Takeaways
- Harmonize adapts the colors, sharpness, and lighting mood of a subject to the background and adds drop shadows.
- The function does not work with generative layers. You therefore have to rasterize the layer beforehand.
- No new image content is added. Only shadows, color adjustments, and slight blur are added.
- Remove Background delivers very good results even with hair and bicycle spokes.
- Check every result at 100% zoom and remove background remnants with a layer mask.
Step-by-Step Guide
Step 1: Isolate the subject with Select Subject
Start with the subject you want to transfer. In the example, it is a vase with sunflowers that was previously created with AI power. Open the Select menu and click Subject. Photoshop automatically detects the main object and creates a selection around it. The calculation takes a brief moment. With large files, it can take a little longer.

Step 2: Create and invert a layer mask
In the Layers panel, click the layer mask icon at the bottom. However, the mask is initially the wrong way around. So press Ctrl+I to invert it. Afterwards, the background is hidden and only the subject remains visible. When checking, make sure that no remnants of the old background are left hanging on the edge.

Step 3: Drag the subject into the scene and scale it
Using the Move tool, drag the isolated subject from the tab of your source image into your target image. Often the object is too large for this. Activate Transform with Ctrl+T and hold down the Shift key so that the proportions are preserved. Shrink the vase, confirm with Enter, and place it on the desk.

Step 4: Identify problem areas
Before you start Harmonize, it is worth taking a critical look at the composite. In the example, a drop shadow is missing, the colors look too vivid, the edges are too sharp, and the background image is slightly noisy. The missing shadow in particular gives away a composite immediately. These are exactly the characteristics the function adjusts in the next step.

Step 5: Rasterize the layer
Harmonize does not work with generative layers. So right-click the subject's layer and select Rasterize Layer. Afterwards, the Harmonize command is available to you.

Step 6: Apply Harmonize
Start the Harmonize command. The progress bar initially runs quickly, but Photoshop needs somewhat more time for the last phase of the calculation. During this time, the program analyzes the light, color, and blur of your background. As a result, a drop shadow is added, the subject is adapted to the surroundings, slightly desaturated, and displayed with minimally more blur. The vase remains unchanged in the subject, and no new image elements are created.

Step 7: Compare the result and check at 100%
Show and hide the layer to compare the before and after states. Then zoom to 100% to check the edges closely. In the example, a narrow strip of the original background remained on the edge. You remove it by reworking the layer mask with a soft black brush. Afterwards, the result looks much more coherent.

Step 8: Create a dinosaur with generative AI
For the second example, you need a garden with a bench and a building as the background. Then use the generative AI in Photoshop to create a dinosaur. Select the Firefly model, enter the prompt "dark dinosaur," and drag and drop the result into your image. At this point, the object has not yet been cut out, so it is in the document complete with its background.

Step 9: Merge into one layer and remove the background
So that you can edit the composite as a whole, merge the visible layers into a single new layer. Use the keyboard shortcut Ctrl+Alt+Shift+E for this. Then click the Remove Background button. The function now separates the dinosaur from the background very reliably, usually without you having to do any manual rework.

Step 10: Harmonize the dinosaur and check the shadows
Even a cleanly cut-out dinosaur still looks pasted in if the light and shadows are not right. So start the Harmonize command. Photoshop analyzes the lighting conditions in the park and adjusts the subject accordingly. A drop shadow is added in the process. If you think the shadow is too weak, you can strengthen it manually on a new layer with a soft brush. However, the difference from the original state is already clearly visible even without this step.

Step 11: Cleanly cut out hair
Hair is one of the most difficult subjects of all. Use the Remove Background command on the portrait. Fine strands are preserved, and the result can be checked well even at high magnification. A light background additionally helps the cutout. Then copy the cut-out subject to the clipboard and paste it into your document as a new layer with Ctrl+V.

Step 12: Cut out a bicycle and match colors
Bicycles often pose a problem because the spokes get lost during cutout. Remove the background of the bicycle and enlarge the result to check the edges. In the example, a slight whitish shimmer remained. You can eliminate this residue with the Harmonize command, since the colors of the background are adopted. For images with more than 2000 pixels of edge length, the calculation takes noticeably longer. The function offers you several variants. Choose the most suitable one, because with a texture as the background the result looks different than with a landscape.

Step 13: Remove distracting objects
If you want to remove objects from an image, first select them roughly, for example a television. It's better to mark the area a little generously. Then click Remove. If you leave the input field empty and start the generative fill, Photoshop tries to fill the empty area to match the surroundings. Check the result carefully and repeat the process with a different selection if necessary, until details such as walls and backgrounds look coherent.

Summary ??? Photorealism at the click of a button: Inserting objects with Harmonize in Photoshop
With Harmonize, you bring objects into an image quickly and convincingly. The function adjusts colors, sharpness, and lighting mood and adds drop shadows without adding new image content. The right preparation is crucial: cut out, rasterize the layer, check the result at 100%. With Remove Background, hair, bicycle spokes, and the Remove tool, you also save a lot of time in image editing.
FAQ
Why can't I start Harmonize on my layer?The function does not work with generative layers, so you must first convert the layer using the right-click option Rasterize Layer.
Do I still have to do any work myself after harmonizing?In many cases not, but if needed you can remove background remnants with a layer mask or strengthen a drop shadow manually.
Why does harmonizing take so long with some images?Large files with more than 2000 pixels of edge length require more computing time because Photoshop has to analyze more image data.
How can I tell whether background remnants are still clinging to the subject?Zoom to 100% and check the edges specifically, especially with light backgrounds and fine details.
Can I add a drop shadow myself if the function doesn't create one sufficiently?Yes, you can paint an additional shadow on a new layer with a soft brush and adjust the opacity to suit the subject.
