Skip to content
GPU-assistedUpload required

The Shadow Is What Gives a Swapped Sofa Away

People cannot tell you what is wrong with a composited object, and they can tell instantly that something is. The reason is nearly always contact: the shadow under the new piece points the wrong way, or is too sharp for a room lit by a window, or is missing entirely, so the object hovers a centimeter above a floor it is supposed to be standing on. Shape, color, and texture are the parts that look hard and are handled well. The shadow is the part nobody thinks about and the one the eye checks first.

Use this without the search next time. Prathom Workbench puts Prathom's tools in your toolbar.

Add to Chrome — free

Drop an image here, or click to browse

Up to 25 MB. Uploaded temporarily, deleted after processing.

GPU-assisted — results vary slightly between runs.

What it does

  • New piece placed on the same floor plane and perspective
  • Shadow matched to the room's existing light
  • Area behind the old piece rebuilt
  • Rest of the room left untouched

How to use Furniture Replacement

  1. 1

    Photograph the piece with its floor contact visible

    The bottom edge, the legs, and the floor around them are what the replacement has to match. A shot cropped at the seat gives it no contact to reason about.

  2. 2

    Run the replacement

    The main piece is replaced with another of the same kind and size, lit by the same light, with whatever it was hiding rebuilt behind it.

  3. 3

    Look at the floor first

    Before judging the new piece, check where it meets the floor and where its shadow falls. Compare the shadow's direction and softness with every other shadow in the room.

How it works

The photograph is scaled to about one and a fifth megapixels and repainted at a moderate denoise, lower than the staging page because most of the room is already correct and only one object is changing.

The instruction is written around the two hard parts. Contact: the new piece sits on the same floor plane in the same perspective, casts a shadow in the same direction and softness as the light in the room, and is lit by that same light. Occlusion: whatever the old piece was hiding is rebuilt so that the wall, floor, and skirting continue correctly.

The negative prompt is mostly about those two — furniture floating above the floor, wrong perspective, a missing shadow, a shadow in the wrong direction, mismatched lighting, warped skirting, a discontinuous floor.

Everything about the shadow is checkable

The useful thing about shadows is that they are not a matter of judgment. A room has a light source, and every shadow in it obeys the same one.

Direction. Draw a line from any object to its shadow, and another from a second object to its shadow. They should point the same way and, for a nearby lamp, converge on it. A new piece whose shadow disagrees with the rest of the room is wrong, and the disagreement is measurable with a straight edge.

Softness. A large window makes soft-edged shadows; a bare bulb makes hard ones. The whole room shares one answer. A crisp shadow under the new sofa in a room where every other shadow is diffuse is a composite tell even when the direction is right.

Contact. Where an object meets the floor there is a small, dark, tight region — ambient occlusion, in the rendering vocabulary — and its absence is what makes an object hover. This is the single most common failure in the category, and it is visible in a two-second look at the base of the legs.

What was behind it is invention

The second problem is quieter and gets missed because it is at the edges of the frame's interest.

A sofa against a wall hides a meter of skirting, part of a floor, possibly a socket and a radiator pipe. None of that is recorded anywhere in the photograph. Replace the sofa with a lower one and that area becomes visible, and every pixel of it is a guess.

The guesses are usually good and occasionally structural. Look for floorboards that change direction or width across the newly exposed area, a skirting line that steps up or down, a wall color that shifts, and a socket that has moved or vanished.

In a property context this matters more than it looks: a hidden radiator that reappears in the wrong place, or a damp patch quietly resolved into clean plaster, has changed a fact about the property rather than its styling.

Where it sits between staging and redesign

Three pages here put furniture in a room, and the difference is how much of the room is already true.

Empty room staging starts from a bare room. There is no occlusion problem — the floor is fully visible — and the risk is scale, because the furniture becomes the ruler a viewer measures with.

This page starts from a furnished room and changes one object. The risks are contact and occlusion, and the reward is that everything else in the photograph is still your actual room.

Room redesign changes everything except the shell. It is for deciding direction, not for evaluating a specific piece.

Choose by how narrow your question is. The narrower it is, the more of the photograph survives to answer it.

Publication gate

This page ships once the workflow has been run against a sofa with visible legs on a rug, a bed overlapping a side table, a dining table under a pendant light, and a piece standing against a radiator, with shadow direction and softness compared against the rest of the room and the newly exposed floor and skirting inspected at full resolution.

Examples

Sofa against a wall, window to one side

sofa.jpg - 3000x2000, legs visible, rug underneath
prathom-furniture-replacement.png - 1350x900

The intended case. The contact line and the existing shadows give the pass a clear model of the light, and the rug edge is a check on whether the floor plane held.

Bed in a corner with a bedside table touching it

bed.jpg - 2400x1600, two pieces overlapping, radiator behind
bed-swap.png - 1350x900

Harder. The overlap means the new piece has to end where the table begins, and whatever the bed was hiding — skirting, radiator pipe, socket — has to be invented convincingly.

Frequently asked questions

Why does the shadow matter more than the object?

Because it is the only evidence that the object is in the room rather than on top of the picture. A viewer cross-references every shadow in a scene against a single light position without knowing they are doing it, and one shadow that disagrees marks the whole image as composited.

What happens to what the old furniture was hiding?

It is invented, because nothing in the photograph records it. Skirting, floor pattern, a socket, a radiator pipe — all of it has to be continued plausibly. That is the second failure to check, and it is usually visible as a floorboard that changes direction or a skirting line that steps.

Can I put a specific product in the room?

No. The result is a piece of the same kind and size, not a catalog item. If you are choosing between two actual sofas, this will not answer the question, because neither of the sofas it produces is either of them.

Is this useful for a property listing?

Only with the same disclosure the staging page describes, and with more caution. Replacing furniture in an occupied property risks removing something a buyer should see, and if a piece is hiding a defect the replacement hides it too.

Is the AI Furniture Replacement tool free, and do I need an account?

Yes. The AI furniture replacement is free, and there is no account to make first. Nothing is billed, no email is asked for, and no watermark is added to what you download. Uploads are capped at 25 MB, the work is queued on a shared GPU host rather than run in your browser, and finished jobs are held for thirty minutes before they are cleared.