How to Replace a Product Background Without Losing the Shadow
A 12-minute image skill to replace a product background without losing the contact shadow. Keep the object and the falloff. Midjourney, Flux, or ChatGPT image, then crop the contact edge at 200 percent.
Anyone shooting a catalog still can replace a product background in 12 minutes without losing the contact shadow: keep the object, keep the falloff, change only the floor or wall. Do it in Midjourney, Flux, or a ChatGPT image edit before a "clean white studio" eats the shadow and floats the bottle.
A kept shadow is gravity. If the mug hovers, you never replaced a background. You cut a sticker.
This is not a product shot on a white background. White-on-white is a new set. This skill is a swap that keeps the existing light. It is not color-matching two product photos for a shop grid. Color is a swatch. Shadow is a contact. It is not isolating a logo from a busy screenshot. A logo is a mark. This is a physical object. Save the shadow lock as a skill prompt you can rerun.
Replace a product background without losing the contact shadow
1. Freeze the product. Name the shadow
Write the lock before you open a model. Not "remove background and make it pop."
Write five facts from the hero still: object noun (matte ceramic mug, not "the product"), light direction (left, right, or overhead), where the contact sits (under the base, not a floating oval), whether the falloff is hard or soft, and the one thing that must not change (label, highlight, or silhouette).
If you cannot name those five without a slogan, you do not have a hero yet. You have a retouch workshop.
Banned: floating product, cutout sticker, drop shadow, studio magic, clean white void, remove background as a personality, neon glow under the bottle, cinematic table, luxury marble that relights the glass, Photoshop it later as a vibe, make it pop.
2. Mask the object. Do not eat the contact
Open the hero. Keep a few pixels of the original floor in the mask if the tool allows. The contact is part of the object, not dirt.
Instruct Midjourney, Flux, or ChatGPT image: "Keep the [object] and the contact shadow under the base. Change only the floor or wall to [color or texture]. Do not relight the object. Do not restyle the label. Report if the shadow disappears."
If the model cannot see a shadow lock, describe it as "same dark contact under the base as reference A, no hover, no extra oval, no glow." Vague "keep it grounded" is how you get a sticker.
Good lock: "Matte mug, key from camera left, soft contact under the base, keep highlight on the rim." Bad: "Make it look like a premium Amazon main image." Premium is a filter.
3. Generate or grade only the new ground
Send the still back with the hero as reference. Instruct: "Keep identity of the object. Change only the background field. Preserve contact density and the direction of the falloff. If you cannot swap without eating the shadow, stop and say FAIL."
Good correction: the mug still sits, the new floor is cooler gray, the contact is the same shape. Bad: the mug is a new SKU with a perfect studio oval and a relit label.
If the model offers a prettier white void, reject it. Prettier hover is still hover.
This is not a three-pass image revision loop that rewrites the whole prompt. Here you freeze the object and touch the floor. One field. One pass at the ground.
4. Force a 200 percent crop on the contact edge
Export or screenshot a crop at about 200 percent on the base. Mute the rest of the frame. Look only at where object meets floor.
Tell yourself three checks:
- Contact still exists. A hard cut with no density is a sticker.
- Falloff still points the same way as the hero key light.
- Label and speculars did not move. If the logo warped, you regenerated. Undo.
Instruct the model once more only if the contact died: "Replace only the floor. Keep the original contact under the base. No new shadow filter. No other changes."
ChatGPT image will "improve" the label. Flux will sometimes bleach the whole table. Midjourney will invent a luxury marble that relights the glass. Cut those gifts.
5. One human pass as the shopper who never met the prompt
Look at the still as if you will publish it on a shop grid in the next hour.
Check three traps:
- A swap that only works at thumbnail size. If the 200 percent crop fails, the still fails.
- A bottle that got shinier because the model "fixed" the product while swapping the floor.
- A drop-shadow oval that does not match the hero light side.
Fix those with a rerun from the freeze, or a manual grade on the floor only. Then stop. Do not open a fourth "just in case" generate.
One pass. Ship the still. If a paragraph of prompt still sits above a hovering mug, you never replaced a product background. Stop.
Reusable skill card
Trigger: You are about to type "remove the background" or "put this on white and make it look professional."
Input: Hero still, object noun, light side, floor target, plus the banned-phrase list.
Output: The same object with a new floor and the original contact. No hover. FAIL if the shadow dies or the label moves.
Stop: After a 200 percent crop on the contact. No fake oval. No relight. No cousin SKU.
Takeaways
- Lock the object and the contact. Then change only the floor.
- Replace a product background is a gravity job. Clean studio is a vibe you ban.
- Check the base at 200 percent. Thumbnails lie.
- A filter drop-shadow is a sticker. UNKNOWN is better than a hovering mug.
Frequently Asked Questions
Can I remove the background then drop a fake shadow under the bottle?
No. A filter drop-shadow is a sticker. Replace a product background means the original contact and color bleed stay. A fake oval is how a mug floats.
What if the new white floor looks cleaner without any shadow?
Reject the cleaner orphan. A product with no gravity is a cutout. Rerun with the contact lock, or grade the floor yourself and keep the original falloff.
Midjourney, Flux, or ChatGPT image for the swap?
Any of the three that will take the locked still as reference. Flux is strict with "keep shadow, change floor." Midjourney wants remix from the hero. ChatGPT image is fine if you stay in the same chat. Do not start the new floor from memory.
Can I say "make it look like a clean studio shot"?
No. Clean studio is a vibe. The model uses it to eat the contact and relight the bottle. Name the floor color, the light side, and that the shadow must stay. Fields, not feelings.
Should I also color-match the bottle to the shop grid in the same pass?
Not in this pass. Shadow is one lock. Color-matching two product photos is another skill. If you restyle the label while you swap the floor, you will invent a cousin SKU.