API Reference
JavaScript
Options and data attributes for the JavaScript package.
ProductType
type ProductType = 'full-body' | 'upper-body' | 'lower-body' | 'footwear' | 'headwear' | 'eyewear' | 'neck' | 'wrist' | 'bag' | 'waist'Options
Prop
Type
Data Attributes
| Attribute | Required | Default | Description |
|---|---|---|---|
data-neurodyn-ai-try-on-dialog | No | - | Marks a dialog trigger for the embed build. |
data-neurodyn-ai-try-on-product-type | Yes | - | Product category. |
data-neurodyn-ai-try-on-product-name | Yes | - | Product name shown in the dialog. |
data-neurodyn-ai-try-on-product-image-src | Yes | - | Product image URL. |
data-neurodyn-ai-try-on-api-key | Yes | - | API key. |
data-neurodyn-ai-try-on-product-price | No | - | Already-formatted product price. |
data-neurodyn-ai-try-on-product-url | No | - | Product page URL opened from the result. |
data-neurodyn-ai-try-on-language | No | Browser language | UI language override: en or ru. |