Requirements
- Browser: Modern browsers
- Chrome 57+
- Firefox 52+
- Safari 11+
- Edge 16+
- Language: JavaScript (ES6+)
- Build Tools: Optional (Vite, Webpack, Parcel, etc.)
Install SDK
Install via npm:Get Example Source Code
Clone the github repository to local, navigate todemo/web/vue or demo/web/react directory
Configure Application Information and Keys
Bind Application Domain
Follow the instructions on this page to bind your Web application domain in the console, for example:example.com
Get AppID and AppKey
Follow the instructions on this page to getappId and appKey, open src/views/CameraPreview.vue (Vue) or src/views/CameraPreview.jsx (React) and modify the configuration:
Run Example
Install dependencies and start the development server:http://localhost:5173)
Verify Running
- Open browser developer tools (F12)
- Check console for error messages
- If you see “Engine initialized successfully”, it’s running correctly
- You can click function buttons to test beauty effects

