← All examples

Price Estimation

Submit a room image with estimation parameters and display the estimated price range with confidence scores — in both imperial and metric unit systems, from two concurrent dwm.estimates.create() calls.

Mock mode is on. Requests are answered by an in-browser mock — no API key needed. Drop ?mock=1 from the URL to use the live service.

1Connect

There is no separate authenticate step — createDesignWithMe() signs in on its first real call below.

Settings persist across every example page for this browser tab. Change them, then reload the page to build a new client.

2Request an estimate

The service analyzes the room photo and returns floor/wall areas, a cost range with a per-component breakdown, and a confidence score for every figure. This page requests both unit systems so you can compare.

Activity feed

One subscription, dwm.on('activity', ...), sees every event this client emits — the same feed powers dwm.activity.log.