Place furniture
place_furniturePlaces furniture and returns the checked plan as an image plus placed, rejected, issues and image_prompt. Send exactly one of spots, placement, or wish. Prefer spots: you name each piece and a rough position (at), the server finds the exact spot, snaps to a 5 cm grid and avoids walls, doors and other pieces. Use placement only when the user gives exact positions; never invent x, y or rot. Use wish only when the user describes the room without naming pieces; it calls Roomproof's own model, is slower and less predictable. Every way is checked against the floor area, overlaps, blocked areas and a 0.9 m path; what does not fit comes back in rejected with a reason. Dimensions in millimeters; x and y in meters to the CENTER of the piece, from the room's top-left corner. Needs key on your own project, free on beispiel-wohnzimmer (nothing is saved there).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Purchase token rp_ plus 20 characters, from the purchase confirmation. Required on projects you created, not on beispiel-wohnzimmer. Not the project id. | |
| keep | No | Default false: the new pieces replace everything in the plan. true adds them to the pieces already there. | |
| name | No | Name of the saved variant, default Draft. | |
| wish | No | One sentence describing the room, e.g. a living room for four with a reading corner. Only without spots and placement. | |
| spots | No | Preferred. 1 to 40 pieces, each with catalog or with name plus width_mm and depth_mm, plus at. Larger pieces are placed first. | |
| blocked | No | Rectangles that must stay free (radiator, wall cupboard, walkway): x, y, w, h in meters from the room's top-left corner, not piece centers. Door swings are added automatically. | |
| outdoor | No | With wish only: limit the model to outdoor furniture, for terraces and balconies. | |
| project | Yes | Plan id from create_room, or beispiel-wohnzimmer. | |
| placement | No | Exact positions from the user, 1 to 60 pieces. Each with catalog or with name plus width_mm and depth_mm, plus x, y (meters to the piece center) and rot. Nothing is nudged: a piece that sticks out or overlaps is rejected. |