Nano Banana 2.1 is here | Pinpoint edits, consistent characters.

How to Replace a Product in an Ad Without Changing the Layout

How to Replace a Product in an Ad Without Changing the Layout
Replace a product in an existing ad with reference photos, copyable prompts and a review checklist for layout, packaging, shadows and offer text.

Try a product swap in iMini

An approved ad can still be useful when the featured product changes. You may want to swap a candle for a different scent, replace an old bottle with updated packaging, or reuse a seasonal layout for another SKU. Rebuilding the entire image can introduce new typography, spacing and background differences that you never asked for.

To replace a product in an ad image, separate the item you are changing from the layout you want to keep. This guide covers reference preparation, a copyable AI product replacement prompt, shadow repair and a final comparison. It also explains when a layered edit is the better choice.

The short answer: replace the object, then inspect everything around it

Use the existing ad as the layout reference and a clean photo as the new product reference. Identify the exact product to remove, specify the replacement area, and list the copy, background, canvas and other objects that should remain. Review the output against both sources. A preservation request guides an edit; it does not lock the surrounding pixels.

This workflow suits an existing static ad with a clearly separated product. If the product is held by a person, reflected in several surfaces or partly hidden, expect more reconstruction. When approved typography or packaging must remain exact, preserve those original layers and use AI only for the surrounding repair.

Choose the editing method before writing the prompt

Your sourcePractical routeCheck before proceeding
A flattened ad with a simple, open product areaTry a small reference-based replacementCompare text, edges, composition and background after the edit
An editable design file with separate product and text layersReplace the product layer; use AI for the gap or surrounding scene if neededKeep approved copy and layout layers intact
A product behind fingers, fabric, glass or a strong reflectionPlan masks, layer order and manual cleanupCheck overlaps, material transparency and reflections separately
A different SKU with a different offer or benefitUpdate the product and review the commercial messageRecheck price, quantity, compatibility and claims before using the ad

1. Prepare an ad reference and a clean product reference

Use the highest-quality original ad you have. For the replacement, choose a photo showing the correct package, readable label and complete outline. An angled bottle is a poor match for an ad built around a straight-on packshot; a similar camera angle reduces the amount of invented geometry.

Name the inputs clearly: Image A is the ad and layout reference; Image B is the replacement product. If the selected editor accepts both references, attach them together and repeat those roles in the request. If it only accepts one image, place the real product cutout in a layered editor first, then repair the surrounding background or shadow.

2. Define the replacement boundary and the protected layout

Locate the target precisely: for example, “the blue bottle on the right,” rather than “the product.” Specify its approximate visual footprint and baseline. Tell the editor whether nearby props stay. Do not request a new scene, new brand style or a new advertising concept in the same edit.

A taller serum bottle may need a different amount of empty space than a short jar. Keep the important alignment, but do not stretch either product just to fill the old silhouette. If the new item collides with the headline, adjust the design deliberately instead of asking for an impossible fit.

3. Make the first product swap with one clear request

You can start from the GPT Image 2 editing page in iMini and check the current reference-input options. Choose the method above that fits your source files. Replace the bracketed details in this example; it is an editing brief, not a measured test result.

Image A is the existing ad and the reference for the layout. Image B shows the exact replacement product. Replace only [the blue bottle on the right in Image A] with the product from Image B. Match its perspective and place its base on [the same tabletop baseline]. Keep the headline, price, CTA, background, props, canvas size and text positions from Image A. Preserve the replacement product’s real shape, colors, cap, logo and label wording from Image B. Do not stretch it, invent accessories, add products or redesign the ad. Request only this replacement; I will inspect the surrounding details against the original.

Compare the first result before adding style instructions. Check whether the old item is fully gone and whether the replacement is recognizable. If the editor generates a similar-looking package rather than the actual one, return to the product reference or use its original cutout.

4. Fix the contact shadow without rebuilding the ad

A floating product often needs a contact-shadow correction rather than another full generation. Compare the light direction, base contact and shadow softness with neighboring objects. A shiny product can also retain a reflection of the old setting; inspect it separately.

Keep the current composition and the replacement product. Change only the contact shadow directly beneath [the new bottle] so it rests on the tabletop. Match the existing light from [upper left] and the softness of nearby shadows. Do not modify the product label, cap, logo, headline, price, background or crop.

5. Protect exact packaging and approved copy with layers

Small labels and offer text are easy to overlook at thumbnail size. Zoom in and compare the exact words and digits. For pixel-accurate packaging, keep the real product cutout above the repaired scene. For approved ad copy, preserve the original editable text or restore it from the design file.

When you need an empty scene for compositing, remove the old product first. Place the new cutout on its own layer afterward and blend the base. This route takes more setup but lets you control the product and text independently.

Remove only [the old bottle] from this ad. Reconstruct the surface and background that were hidden behind it, following the existing light and texture. Leave the headline, price, CTA, other props and canvas unchanged. Do not add a replacement product or new text. I will place an original product cutout in the cleared area.

6. Review the asset at full size and at its actual placement

AreaWhat to compareIf it fails
ProductShape, cap, logo, label, color, included accessoriesRestore the original product pixels or redo only the affected area
LayoutHeadline position, spacing, canvas and cropReturn to the approved design; avoid stretching the product
Physical fitPerspective, baseline, contact shadow, reflection and overlapsCorrect one local issue at a time
OfferPrice, quantity, variant name, benefit and landing-page matchReview the actual offer; the old claim may not fit the new SKU
PlacementReadability at the intended mobile display sizeExport for the real placement and review its current requirements

Save the approved original, source product and edited version with distinct names. Compare them side by side, then inspect the final placement. A good-looking swap is still unsuitable if the label is wrong or the destination sells a different variant.

Common mistakes that make a product swap look wrong

Calling both inputs “reference”: give the layout and product different roles. Changing the entire style: finish the swap before testing a new background. Filling the old silhouette: preserve the new product’s proportions. Keeping every old claim: verify that the replacement actually supports the price, quantity and benefit shown.

Frequently asked questions

Can AI replace a product without changing the background?

It can attempt a localized replacement, but surrounding details can still change. Compare the output and use layers when exact preservation matters.

Do I need two reference images?

An ad reference and a clean product photo make the roles clearer. If your chosen mode cannot accept both, place the product cutout first and edit the surrounding scene separately.

How do I preserve a label exactly?

Use the original product pixels as a cutout or protected layer. A text instruction alone cannot guarantee an identical label.

What if the new product is a different shape?

Keep its true proportions and review the layout fit. You may need to move a design element rather than squeeze the product into the old outline.

Can I reuse the same ad for multiple SKUs?

Use the approved ad as a starting reference, then inspect each SKU and offer separately. Similar prompts do not guarantee consistent results or a correct commercial message.

Does a cleaner replacement improve ad performance?

Visual accuracy makes the asset usable, but performance still needs a campaign test. Keep other variables stable and compare actual results.

Continue with the task you need

For the full editing process, use the photo-editing guide. To plan an ad from scratch, use the ad creative workflow. For a damaged label or reflection, see product-photo repairs; for an incorrect price or headline, see text repairs.

Edit your next product ad in iMini

Models used in this guideGPT Image 2Explore modelStart creating