Declutter a room
mode: "declutter" removes furniture and clutter, leaving the empty room: walls, floor, windows and built-ins stay.
const empty = await client.designs.createAndWait({ mode: 'declutter', inputAssetId: photo.id, room: 'Living room' });empty = client.designs.create_and_wait(mode="declutter", input_asset_id=photo["id"], room="Living room")It needs only inputAssetId; room helps. It takes the same model, count, size and aspect as other room modes, at the same prices.
To stage a room that is furnished today: declutter it, then stage the empty result. An image of a design you made with the API can be the input of the next design as it is, by its asset.id; there is no need to upload it again:
const staged = await client.designs.createAndWait({ mode: 'staging', inputAssetId: empty.images[0]!.asset.id, room: 'Living room', style: 'Coastal',});