BUILT FOR WEB
Beauty AR SDK for Web
Add live retouching, face effects, and virtual backgrounds to your browser camera with the Beauty AR SDK for Web.
DEVELOPER RESOURCES
Beauty AR SDK for Web Docs & Examples
Integration Guides
Install the Beauty AR SDK for Web in your camera pipeline.
Examples & Source
See the product in action and explore its implementation.
Camera-ready conversations
Add background blur to browser previews before users join a call.
Makeup, tried on in the browser
Let users preview lip shades and makeup effects through their camera.
WEB BEAUTY AR CAPABILITIES
Build the camera experience your app needs
Camera inputs
- Built-in camera capture
- Custom streams and images
Real-time appearance
- Adjustable skin retouching
- Filters and makeup effects
Background controls
- Background blur
- Image and video backgrounds
Explore the Beauty AR SDK for Web
Connect the APIs to your camera, controls, and effect assets.
Start with a browser preview
Use the Beauty AR SDK for Web to capture camera input and preview the processed stream.
Read the Documentationsdk.on('ready', async () => {
const player = await sdk.initLocalPlayer('preview');
await player.play();
});Tune the look in real time
Connect your sliders to the Beauty AR SDK for Web and adjust effects after initialization.
Read the Documentationsdk.on('ready', () => {
sdk.setBeautify({
dermabrasion: 0.3,
whiten: 0.1,
});
});Change the scene behind the person
Enable segmentation in the Beauty AR SDK for Web, then switch between blur and image backgrounds.
Read the Documentation// Enable module.segmentation during initialization.
sdk.on('ready', () => {
sdk.setBackground({
type: 'image',
src: '/backgrounds/library.jpg',
});
});CUSTOMIZATION
Your interface. Your look.
Keep the experience consistent with your application.
Make the camera experience yours
Build a sidebar or a bottom toolbar around the Beauty AR SDK for Web. Your application owns the controls.
Read the DocumentationGive every effect your signature
Use licensed face-effect assets with the Beauty AR SDK for Web and organize your own effect picker.
Read the DocumentationGET STARTED
Get started with the Beauty AR SDK for Web
- 01
- 02
Add the Beauty AR SDK for Web
Follow the platform guide to connect your project.
Follow the Integration Guide - 03
Process your first frame
Initialize the Beauty AR SDK for Web, wait for ready, and preview the processed camera stream.
Configure the License
npm install tencentcloud-webarimport { ArSdk } from 'tencentcloud-webar';
// Start after the user chooses to enable the camera.
const sdk = new ArSdk({
auth: { appId, licenseKey, authFunc },
module: { beautify: true, segmentation: true },
camera: { width: 1280, height: 720 },
});
sdk.on('ready', async () => {
const player = await sdk.initLocalPlayer('preview');
await player.play();
});Beauty AR SDK for Web FAQs
Does the Beauty AR SDK for Web include a complete video calling app?
No. It processes camera media and provides preview APIs. Add your own application interface and a separate RTC or streaming SDK to publish the output.
How do I authorize the Beauty AR SDK for Web?
Bind your web license to the correct domain. Provide the App ID, license key, and a server-backed signature callback; keep the license token on your server.
Can I use the Beauty AR SDK for Web with an existing camera stream?
Yes. Choose custom input mode for an existing stream, or use built-in camera capture. Handle camera permissions and resource cleanup in your application.
Which browsers should I test?
Check the current compatibility guide and test your target devices. Transparent backgrounds work locally on supported browsers, but WebRTC publishing does not preserve their alpha channel.
How is the Beauty AR SDK for Web licensed?
Choose a Web license with the effects your application needs. Review the current trial conditions and package coverage before enabling production use.
How do I integrate beauty AR SDK for web with a browser application?
Follow the browser setup and supported environment requirements. Test permissions where used, navigation and cleanup in the actual browsers you intend to support.
How do I test beauty AR SDK for web before releasing my app?
Test your licensed input and effect processing, including camera permission when used and cleanup after preview exit.
How do I customize the interface for beauty AR SDK for web?
Connect supported effects to your own preview and selectors. Assets, feature support and license scope must match the target platform.
Web Beauty AR Integration Support
Talk about your application
Discuss your product, expected usage, and integration needs.
Contact SalesPut your camera experience in motion
Start building with the Beauty AR SDK for Web and a license matched to your application.

