Swap Product in Photo
Replace an existing product in your photo with a different one. Upload the scene plus a reference of the new product — AI auto-detects what to replace and renders the new product in the same lighting and angle.
Advertisement
Drop image here or click to upload
JPG, PNG, WebP · up to 25 MB
Drop image here or click to upload
JPG, PNG, WebP · up to 25 MB
Advertisement
How to Use Swap Product in Photo
- Upload your scene photo (with the product you want to replace)
- Upload a reference of the new product
- Confirm the auto-detected area, or paint your own mask
- Click Generate and download the swapped photo
Features
- Upload your photo + a reference of the replacement product
- Smart auto-detect — AI finds the existing product and proposes a mask
- Click or paint to refine the mask if auto-detect is off
- Result preserves the original photo's lighting, perspective, and shadows
- Works for packaging, bottles, cans, gadgets, accessories, food
- Outputs full-resolution PNG, no watermark
- Free with rate limit; unlimited on Pro
Frequently Asked Questions
- How does the auto-detect work?
- Two stages: a vision model captions your reference (e.g. "white sunscreen tube"), then a segmentation model finds that object in the scene photo. If it can't find a match — different product type, occluded, very small — you can mark the area manually with a click or brush.
- Will the lighting and shadows match?
- Yes, that's the main reason this tool uses inpainting instead of just pasting the reference. The diffusion model regenerates only the masked region, sampling from the surrounding pixels for lighting cues, perspective, and shadow direction. The rest of the photo is byte-identical to the source.
- Same shape vs different shape — does it matter?
- Same shape (tube → tube, bottle → bottle, can → can) gives the strongest results. Different shapes work but the original silhouette can leak through; tightening the mask helps. For wildly different shapes, consider remove-object-from-photo first, then ai-image-generator.
- What about people in the scene?
- If the existing product is held by a person, the swap preserves the hand pose. Faces and other body parts outside the mask are untouched. Don't paint the mask onto a person — keep it tight to the product.
- Why are my variants different?
- Each variant samples with a different random seed. They all match your reference product, but ambient details (reflections, micro-shadows, exact label-text positioning) vary. Pick the one that lands cleanest.