# Interior staging

> Furnish an empty room from a photo, keeping its walls, windows and light.

Source: https://developers.mnml.ai/docs/interior-staging

Staging is an interior render of the room photo, with a prompt that names the furniture and the style. The room’s architecture stays where it is.

**stage.sh**

```bash
curl -X POST https://api.mnml.ai/v2/renders \
  -H "Authorization: Bearer $MNML_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "engine": "v4.6-ultra",
    "mode": "interior",
    "image": "https://example.com/listing/empty-living-room.jpg",
    "prompt": "Furnish as a Scandinavian living room: linen sofa, oak coffee table, wool rug"
  }'
```

## Changing one thing afterwards

To swap one piece without re-rendering the room, edit the finished job with a `region` around it. An edit is $0.099.

**edit.sh**

```bash
curl -X POST https://api.mnml.ai/v2/edits \
  -H "Authorization: Bearer $MNML_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "job_id": "10482",
    "prompt": "Replace the sofa with a dark green velvet one",
    "region": {
      "box": {
        "x": 0.18,
        "y": 0.52,
        "width": 0.46,
        "height": 0.3
      }
    }
  }'
```

To empty a room that is already furnished, use `kind: "erase"` with the area to clear, then stage the result.

What it does, prices and questions: [Virtual staging API](https://developers.mnml.ai/virtual-staging-api).
