JAVASCRIPT & TYPESCRIPT SDK
SnapIt NPM VTON SDK
The official JavaScript/TypeScript SDK for the Snapmydesign (SMD) Virtual Try-On (VTON) API.
This SDK simplifies integrating Snapmydesign's virtual try-on pipelines into browser-based applications and Node.js environments (v18+). It provides:
- Zero Dependencies: Built with native fetch compatibility to keep your bundle size minimal.
- Full TypeScript Support: Rich interface typings out of the box.
- Universal Environment Compatibility: Works seamlessly in server environments, Serverless functions, React/Next.js applications, and browser runtimes.
Official Resources
| Resource | Link | Description |
|---|---|---|
| NPM Registry | npmjs.com/package/snapit_sdk | Official SDK package on npmjs.com. |
| Official Website | sdk.snapmydesign.com | Explore SMD visual AI features and capabilities. |
| Developer Console | console.snapmydesign.com | Generate API keys and track usage. |
| Documentation Portal | docs.snapmydesign.com | Complete guide to API features and parameters. |
Get Started
Install the npm package and start testing right away! Head over to the Installation & Setup page.