SDK & Integration Manual
Web & Mobile Visualizer SDK
Embed photorealistic spatial visualizers with two lines of code.
Step 1: Include the HomyzoSystem Spatial Script
Add our lightweight 18kb client-side SDK before the closing </head> tag of your website.
<script src="https://cdn.homyzosystem.com/sdk/v1/spatial-commerce.js" async></script>
Step 2: Initialize on Product Pages
Attach the visualizer trigger to your product action button.
const visualizer = new HomyzoSpatialSDK({
apiKey: "hz_live_sk_94812a0e7f82b3d1",
productSku: "HZ-TL-901",
container: "#visualizer-target"
});
visualizer.render();