BUILT FOR ANDROID

Beauty AR SDK for Android

Add beauty controls and expressive face effects to your camera pipeline with the Beauty AR SDK for Android. Process textures while keeping your own app design.

DEVELOPER RESOURCES

Beauty AR SDK for Android Docs & Examples

Give creator videos a distinct look

Let users adjust appearance and filters in your Android camera.

Keep attention on the speaker

Offer background blur in your camera preview with the appropriate effect resources.

ANDROID BEAUTY AR CAPABILITIES

Build the camera experience your app needs

Texture pipeline

  • Process camera textures
  • Return processed texture IDs

Effect selection

  • Tune beauty parameters
  • Load licensed effect assets

Native integration

  • Maven package choices
  • GL-thread lifecycle control

Explore the Beauty AR SDK for Android

Connect the APIs to your camera, controls, and effect assets.

Texture input

Bring effects into the camera pipeline

Use the Beauty AR SDK for Android inside your texture-processing callback. Keep frame dimensions aligned with the input.

Read the Documentation
CameraProcessor.java
@Override
public int onCustomProcessTexture(
    int textureId, int width, int height) {
  return xmagicApi.process(textureId, width, height);
}

CUSTOMIZATION

Your interface. Your look.

Keep the experience consistent with your application.

Make the controls feel native

Style your own beauty controls around the Beauty AR SDK for Android, with the same effect settings across themes.

Read the Documentation

GET STARTED

Get started with the Beauty AR SDK for Android

  1. 01

    Prepare your license

    Match your license to your application identifier.

    Open Beauty AR Console
  2. 02

    Add the Beauty AR SDK for Android

    Follow the platform guide to connect your project.

    Follow the Integration Guide
  3. 03

    Process your first frame

    Authenticate the Beauty AR SDK for Android, copy its resources, and process your first camera texture.

    Configure the License
Android Beauty AR SDK
build.gradle
// Use your licensed package and a pinned release version.
implementation "com.tencent.mediacloud:TencentEffect_S1-04:${beautySdkVersion}"
LicenseSetup.java
// Authenticate before creating XmagicApi.
TELicenseCheck.getInstance().setTELicense(
    context, licenseURL, licenseKey,
    new TELicenseCheckListener() {
      @Override
      public void onLicenseCheckFinish(int code, String message) {
        if (code == TELicenseCheck.ERROR_OK) {
          // Initialize with your copied resource directory.
        }
      }
    });

Beauty AR SDK for Android FAQs

How do I add the Beauty AR SDK for Android?

Add the Maven package that matches your license and pin its version. Copy the required models and effect resources, and apply the documented ABI and release-build rules.

Which devices should I target with the Beauty AR SDK for Android?

The current guide recommends Android 7.0 or later and lists ARMv7 and ARM64 support. Test the effects you select on the actual devices your audience uses.

Does the Beauty AR SDK for Android capture camera frames for me?

Core SDK integration processes frames supplied by your app. The official sample includes a camera component you can reference when building your capture experience.

How do I clean up the Beauty AR SDK for Android?

Call onDestroy on the GL thread before its context is terminated. Follow the documented pause and resume lifecycle; destroying it on the main thread can leak resources.

Are all effects included in every package?

No. Package entitlements and required asset files differ. Select the licensed effects you need and verify their resources before exposing them in your application.

How do I integrate beauty AR SDK for Android with Kotlin or Java?

Follow the Android project and manifest setup, then handle runtime permissions and Activity cleanup where required. Test on actual devices, including app background and foreground transitions.

How do I test beauty AR SDK for Android 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 Android?

Connect supported effects to your own preview and selectors. Assets, feature support and license scope must match the target platform.

Android Beauty AR Integration Support

Talk about your application

Discuss your product, expected usage, and integration needs.

Contact Sales

Put your camera experience in motion

Start building with the Beauty AR SDK for Android and a license matched to your application.