Model Details
**Replace the flooring in a room photo — new material, tone, finish, and lay pattern, everything else untouched.**
Restyle the Floor takes a photo of a real room and relays its floor in a chosen material. It is a surface tool, not a redesign tool: the furniture stays exactly where it is (with correct contact shadows — legs sit *on* the new floor), and the walls, wall color, ceiling, doors, windows, trim, camera angle, and framing all come back as they were. Plank and tile direction follows the room's real vanishing lines and runs continuously under furniture and through doorways. The wrapper explicitly forbids mirroring or flipping the photo to fake a change.
## Inputs
- `file_url` (required) — photo of the room whose floor should be replaced. - `material` — one of 19 flooring materials (hardwoods, tile, stone, terrazzo, concrete, carpet, natural fibre). `auto` lets the wrapper pick one that suits the room. - `custom_material` (optional) — free text for anything outside the list, e.g. `reclaimed barnwood with visible saw marks` or `sage green painted floorboards`. **Overrides** `material`. There is deliberately no separate color field: a floor's color comes from its material and `tone`, and a stained or painted floor is best described here in full. - `tone` — `light`, `medium`, or `dark`. The same oak reads completely differently across these, and this is the main color control. - `finish` — `matte`, `satin`, `gloss`, or `textured`. Drives how much the floor reflects the room's light. - `pattern` — how the material is laid: `straight-plank`, `herringbone`, `chevron`, `large-format`, `hexagon`, `checkerboard`, or `basketweave`. Independent of `material`, so oak can be planks or herringbone. - `rug` — what happens to area rugs: `keep` (default), `remove`, or add one (`add-neutral`, `add-patterned`, `add-vintage`). Adding a rug never moves the furniture; the rug goes underneath. - `prompt` (optional) — extra notes, e.g. `wide planks running toward the window` or `leave the tiled entry as it is`.
## How to use
1. Upload the room photo and pass its URL as `file_url`. 2. Set `material`, then refine with `tone`, `finish`, and `pattern` — together they are what make one wood read as pale Scandinavian oak and another as dark walnut herringbone. 3. Use `rug` to stage the floor, and `prompt` for anything the enums can't say. 4. Runs are independent — one room photo per run. To compare flooring options for the same room, run the **same original** `file_url` once per option and compare. Do not feed one run's output into the next run: chaining compounds drift away from the original room.
## Known limitations
- Rooms where the floor is almost entirely hidden by furniture give the model little to work with; the visible strips may read flatter than a full replacement. - High-gloss finishes in bright rooms can pick up stronger reflections than a real floor would; drop to `satin` if the result looks wet.
