Skip to main content
The face-age SDK works in Vue without a wrapper, and gives you every option, API method and event in the JavaScript SDK.
See Configuration, API reference and Events & analytics.

vue-face-age and vue3-face-age wrappers

The wrappers use the earlier options shown below and don’t expose the newer SDK features. Use the SDK directly for new projects.
Register the component and define your options (use vue3-face-age as the import for Vue 3):
Then use it in your template:
onLoad is called with the result after the analysis finishes.

Wrapper options

string
required
Your Face Age ID, from the API keys page of your business in the panel.
string
default:"skincare"
Display mode of the analysis:
  • skincare — only collects the user’s image.
  • skincare-analyzer — collects the image and also displays the analysis results.
string[]
Limit the analysis information that is displayed. Defaults to ['dark_circle', 'eye_bag', 'eye_wrinkles', 'deep_wrinkles', 'wrinkles', 'acnes', 'pores', 'pigment'].
boolean
default:"true"
Allow users to take a photo with the camera.
boolean
default:"true"
Allow users to upload an image.
boolean
default:"true"
Show the analysis points on the face.