Swan is an AI Fitting Room that lets shoppers size & try on clothes virtually. For clothing brands and online retailers, Swan powers completely personalised sales – increasing conversion & reducing expensive returns.
See the SWAN API docs for Node.js.
Node 20 or higher.
npm i @swan-admin/swan-ai-measurements
swan.custom.createCustomer({name, store_url, location, email, emailsTier_1, emailsTier_2})
swan.fileUpload.uploadFile({ file, arrayMetaData, scanId })
swan.measurement.getMeasurementResult(scanId)
New features and bug fixes are released on the latest major version of the SWAN package. If you are on an older major version, we recommend that you upgrade to the latest in order to use the new features and bug fixes including those for security vulnerabilities. Older major versions of the package will continue to be available for use, but will not be receiving any updates.