이 페이지는 현재 영어로만 제공되며 한국어 버전은 곧 제공될 예정입니다. 기다려 주셔서 감사드립니다.

TEBeautyKit

TUILiveKit provides two kinds of beauty effects: basic beauty filter and advanced beauty effect. If you are not satisfied with the effect of the basic beauty filter, you can choose to integrate the advanced beauty effect to satisfy more advanced beauty needs.

Basic Beauty Filter

TUILiveKit seamlessly integrates basic beauty filter functionality by default. The basic beauty filter includes whitening, skin smoothing, and rosy effect features, and the intensity of beauty effects can be adjusted to satisfy different needs. These functionalities are already built into TUILiveKit, with no additional configuration or integration required.

Panel Display





Advanced Beauty Effect

TUILiveKit Advanced Beauty Effect uses Tencent Special Effect Beauty.

Effect Display

V-Face
Eye Distance
Slim Nose
3D Stickers












Notes:
Advanced beauty effect requires separate payment. For details, see Tencent Effect SDK.

Start Integration

Step 1: Seamless Integration of Tebeautykit

Android
iOS
1. Download and decompress TUILiveKit, and copy the Android/tebeautykit folder into your project at the same directory level as the app.



2. Edit your own project's settings.gradle file and add the following code:
include ':tebeautykit'
1. Download and decompress TUILiveKit, and copy the iOS/TEBeautyKit folder into your project at the same directory level as the Podfile.



2. Edit the podfile and add the following code:
pod 'TEBeautyKit',:podspec => './TEBeautyKit/TEBeautyKit.podspec'
3. Execute the pod install command in the terminal.

Step Two: Authenticate & Set Beauty Resource

1. Apply for authorization, obtain LicenseUrl and LicenseKey. Please refer to license guide.
2. In the place where your business is initialized (by default, at the same position as log in), add the following authentication code and replace the beauty package number, LicenseUrl, and LicenseKey you applied for:
Android
iOS
TEBeautySettings.getInstance().initBeautySettings(context,
S1_07, // Replace S1_07 with the beauty package number you have purchased
"LicenseUrl", // Replace LicenseUrl
"LicenseKey"); // Replace LicenseKey
iOS can set relevant content in the didFinishLaunchingWithOptions method of AppDelegate.
//
// AppDelegate.swift
//

import TEBeautyKit

func application(_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
TEBeautyKit.setTELicense("LicenseURL", key: "LicenseKEY") { code, message in
TEUIConfig.shareInstance().setPanelLevel(.S1_07) // Replace S1_07 with the beauty package number you have purchased
}
return true
}
Notes:
If you are unclear about the Beauty Number, click overview of beauty package numbers.
Complete the above steps to integrate the advanced beauty effect.