Working, end-to-end example pages for each DesignWithMe AI service. Every page creates one @mxt/designwithme-sdk client with
createDesignWithMe() — no separate authentication step — and calls the service's plain typed methods directly, the same integration pattern you'll use in your own app.
Submit an image generation job with a room photo plus catalog ids, photos of products that aren't in a catalog, or both — watch its live job handle report progress, and display the generated scene.
Submit a style query and display recommended products with match scores — plus free-text catalog search.
Converse with the design assistant and watch it act — it generates a render of your room or searches the catalog mid-conversation, and the SDK runs the whole tool loop.
Submit a room image and parameters, and display the estimated price range with confidence scores — imperial and metric.
Both are behaviour of these demo pages, not features of the SDK.
?mock=1 — answer every API call from the in-browser mock described above, instead of the live services. No API key
needed. Omit it, or use ?mock=0, to run live.
?autorun=1 — press the page's own run button once it has loaded, instead of waiting for you. In mock mode the form is
pre-filled, so ?mock=1&autorun=1 opens a page that has already run itself. In live mode the fields start empty, so
autorun does nothing until you have filled them in.