The post
Hey guys! I need help with an AI image pipeline.
I’m building a product that lets people see furniture from online stores in their own apartments. For shops it’s an extra source of information: customers make better decisions and get more than they’d expect from a store.
Frontend:
1. User enters product link
2. 2. Uploads a photo of room
3. Sets dot where the item should be placed
Backend right now:
1. Parse the product page and get photos plus W×D×H.
2. GPT-5.4 vision plans the scene. It looks at the room with the dot and the product, and returns a target box plus an edit prompt.
3. MoGe-2 depth estimates how wide the product should be in pixels.
4. Crop around the spot, edit the crop with gpt-image-2.5 (Azure), paste it back with tone correction at the border.
**Issue:**
If you just feed the room photo to ChatGPT, it redraws the whole picture. Yes, it adds the furniture, but walls move, objects change and the room no longer looks like yours.
So I came up with the idea of giving it only a piece of the photo, the area where the new furniture goes. That keeps the rest of the room untouched. The problem shows up when I paste that piece back: you can see seams along the edges, and I haven’t found a good way to get rid of them.
I also tried a two-step version. First I send the piece and ask it to clear the spot and remove the old item. Then I send it again and ask it to add the new one. It comes out cleaner, but there are still distortions, and I can’t figure out how to get rid of them either.
What I’ve tried:
* **gpt-image with a mask.** The mask is only a hint: 15–25% of pixels outside it still change.
* **Erasing the old item, then pasting a real product cutout.** No seams and the exact product, but it looks stuck on, because the store photo is shot from above at 3/4 and the room photo is straight on.
* **A plain whole-room edit** (room + product + one sentence, like you’d do in ChatGPT). It comes close to our pipeline, but changes 7–30% of the room and gets the size wrong more often.
* **Other models:**
* Gemini 3 Pro Image is great for masks and erasing (not drawing)
* Bedrock Stability inpaint keeps every pixel outside the mask, but quality is poor and it takes no reference image.
* FLUX Kontext on Azure takes no mask and shifts the framing.
Constraints: no new vendors, only what we already pay for (Azure, Vertex, AWS Bedrock/Lambda, OpenRouter).
So my one question: is there a pipeline today that actually works? I mean one that takes the furniture’s real dimensions, gets the scale right, fits the piece into the room and doesn’t distort anything. If nothing like that exists yet, what pipelines are out there and what do you give up with each one?
View the original thread on Reddit →