Obtain a Queen SDK license

更新时间:
复制 MD 格式

Purchase and use a Queen SDK license. Pricing for the Queen SDK depends on the features you select.

Note

For questions about Queen SDK, join DingTalk developer support group 34197869.

All-in-one license

Queen SDK uses the ApsaraVideo all-in-one license service, which authorizes multiple SDKs (such as Push SDK and Queen SDK) within the same app. All services under the all-in-one license share the same LicenseKey and LicenseFile. Configure them once and always use the latest certificate file.

License authorization

Step 1: Create an application

If your application is already bound to a unified license for another service, you can skip to Step 2: Purchase a license.

  1. Log on to the ApsaraVideo Live console.

  2. In the left-side navigation pane, choose Toolbox > SDK Management > My Licenses. On the Application Management tab, click Create Application.

  3. Enter the application information. Applications are categorized by platform type: Web or mobile.

    Important
    • Web and mobile platforms require separate applications. If you need both, create two applications and purchase two licenses. Each license order binds to one application only.

    • If you are applying for a license for a WeChat mini program or a Uni-app, select Web.

    1. Web: In the create application dialog box, enter an Application Name and a web domain name. Select I understand and agree to the preceding compliance commitments, and then click Create.

      Guidelines for web domain name

      • Standard format example: aliyun.com.

        Important
        • To cover multiple subdomains, such as pc.aliyun.com and mobile.aliyun.com, enter only the root domain name: aliyun.com.

        • For a WeChat mini program, enter appid.servicewechat.com, where appid is the ID of your mini program.

        • When packaging a Uni-app, use the WeChat mini program format or enter the web domain name accordingly. Queen SDK only supports Uni-apps packaged as WeChat mini programs or web applications.

      • Do not use the following formats:

        • Includes a protocol prefix: http://aliyun.com or https://aliyun.com.

        • Includes a path or page: aliyun.com/index or aliyun.com/login.

        • Uses a wildcard domain name: *.aliyun.com or .aliyun.com.

    2. Mobile: Enter the Application Name, Android package name, iOS Bundle ID, and HarmonyOS Bundle ID.

      Select I understand and agree to the preceding compliance commitments, and then click Create.

      Bind an Android application signature

      Note
      • This parameter is required if you select Android as the Operating System and select bind signature.

      • Binding a signature prevents unauthorized applications with the same package name from using your license.

      • Signature-free binding is supported in MediaBox Audio and Video SDK v1.7.0+, Player SDK v5.5.2+, Live Streaming Push SDK v4.4.9+, and Short Video SDK v3.36.0+.

      Use one of the following methods to obtain the MD5 hash of your Android application signature:

      • From the command line: Run the keytool -v -list -keystore your.keystore command to view the MD5 hash of the corresponding signature.

      • From Android Studio: In the Gradle sidebar on the right, navigate to Your App > Tasks > android > signingReport. Convert the letters in the obtained MD5 value to lowercase and remove the colons.

        publishNonDefault is deprecated and has no effect anymore. All variants are now published.
        AGPBI: {"kind":"warning","text":"          Using flatDirs should be avoided because it doesn't support any meta-data formats.\n                    Currently detected u"}
        AGPBI: {"kind":"warning","text":"Please remove usages of `jcenter()` Maven repository from your build scripts and migrate your build to other Maven repositories.\nThis repository is deprecated"}
        > Task :listapp signingReport
        Variant: debug
        Config: debug
        Store: /Us xxx
        Alias: and xxx
        MD5: 5A:1E xxx
        SHA1: 7C:D xxx
        SHA-256: 5 xxx
        Valid until: Tuesday, March 1, 2044
        ----------
        Variant: release
        Config: none
        ----------
        Variant: xxx
        Config: d xxx
        Store: /U xxx
        Alias: androiddebugkey
        MD5: 5A:1E:F4 xxx
        SHA1: 7C:D8:E xxx
        SHA-256: 55: xxx
        Valid until: Tuesday, March 1, 2044
        ----------
        Variant: debugUnitTest

Step 2: Purchase a license

If you have already purchased a license, skip to Step 3: Bind a license.

  1. On the Order Instances tab, click license purchase.

  2. On the ApsaraVideo for Media Processing SDK purchase page, select the required SDK and feature modules, and complete the purchase.

  3. After payment, your new order instance appears on the Order Instances tab.

Step 3: Bind a license

  1. Return to the My Licenses page. On the License Management tab, click bind license.

  2. On the bind license page, select the application and the SDK license order to bind. After you confirm that the information is correct, click Bind.

    Important

    Each license order can be bound to only one application.

  3. After binding, view the application name and authorization details on the License Management tab.

Step 4: Obtain authorization

  1. On the License Management tab, find the target application.

    Copy the License Key from the top of the page and click the download certificate link for your application to save the certificate file.

  2. Save the License Key and certificate file, then configure them as described in integrate license.

Apply for a trial license

  1. Create an application.

  2. Click Submit Application.

  3. Fill out the customer information form: Alibaba Cloud account ID (find it in the console, for example: 140******3), Contact email address (for receiving the license file and key), and Contact number (mobile number).

    Note

    The Alibaba Cloud account ID must be the main account ID.

  4. Fill in the application information and provide the required details for the selected platform.

    The Application title is a required field. For Platform, you can select Android, iOS, Web, or Mini Program.

  5. Select Trial Version, and then select Queen SDK.

    Each application gets one free 30-day trial. Create your application in the console before applying. Selecting Queen SDK displays available value-added features: beauty effects, face shaping, makeup, filters, stickers, background segmentation, body shaping, hair styling, gesture recognition, face effects, and AR air writing.

Important

After submission, your SDK license is reviewed and activated within 48 business hours.

Feature list

Face retouching

Description

Sub-feature

Basic retouching

Common retouching

Advanced retouching

Includes automatic and manual face retouching:

  • Automatic face retouching offers five pre-set styles.

  • Manual face retouching provides 16 effects with adjustable intensity: skin whitening, rosy cheeks, skin smoothing, image sharpening, saturation, contrast, eye bag removal, nasolabial fold removal, teeth whitening, eye brightening, lipstick, blush, wrinkle removal, skin brightening, neck wrinkle removal, and forehead wrinkle removal.

Skin whitening

✔️

✔️

✔️

Skin smoothing

✔️

✔️

✔️

Image sharpening

✔️

✔️

✔️

Rosy cheeks

✔️

✔️

Eye bag removal

✔️

Nasolabial fold removal

✔️

Wrinkle removal

✔️

✔️

Skin brightening

✔️

Neck wrinkle removal

✔️

Forehead wrinkle removal

✔️

Saturation

✔️

Contrast

✔️

Blemish concealing

✔️

Teeth whitening

✔️

Eye brightening

✔️

✔️

Lipstick

✔️

Blush

✔️

Face shaping

Description

Sub-feature

Common shaping

Advanced shaping

Face shaping lets you adjust 18 facial details automatically or manually:

  • Automatic face shaping offers five pre-set styles.

  • Manual face shaping provides one-way and two-way adjustments:

    • One-way adjustments: face slimming, face trimming, lower jaw slimming, cheekbone narrowing, eye enlarging, eye height adjustment, and smiling.

    • Two-way adjustments: face length adjustment, chin width adjustment, chin length adjustment, lip shaping, lip thickness adjustment, nose alae adjustment, nose slimming, canthus shaping, eye distance adjustment, philtrum adjustment, and hairline adjustment.

Face slimming

✔️

✔️

Face trimming

✔️

Eye enlarging

✔️

✔️

Nose slimming

✔️

Smiling

✔️

Hairline adjustment

✔️

Lower jaw slimming

✔️

Cheekbone narrowing

✔️

Philtrum adjustment

✔️

Face length adjustment

✔️

Chin width adjustment

✔️

Chin length adjustment

✔️

Canthus shaping

✔️

Eye distance adjustment

✔️

Eye height adjustment

✔️

Nose alae adjustment

✔️

Lip shaping

✔️

Lip thickness adjustment

✔️

Makeup

Description

Sub-feature

Advanced makeup

Includes automatic and manual makeup. The makeup effects track facial movements and expressions in real time.

  • Automatic makeup includes four styles: natural, pure, vintage, and mature.

  • Manual makeup provides eight effects with adjustable intensity: lipstick, aegyo sal, blush, eyebrow, highlight, eyeshadow, eyeliner, and eyelash.

Eyebrow

✔️

Eyelash

✔️

Eyeliner

✔️

Eyeshadow

✔️

Aegyo sal

✔️

Blush

✔️

Lipstick

✔️

Highlight

✔️

Filter

Description

Sub-feature

Advanced filter

Provides 34 filter effects, with more being added continuously. Real-time rendering ensures a smooth user experience.

Style filter

✔️

Sticker

Description

Sub-feature

Advanced sticker

Offers a continuously updated library of 79 static and animated sticker materials. The stickers accurately track and adapt to facial movements and expressions in real time.

Static sticker

✔️

Animated sticker

✔️

Body shaping

Description

Sub-feature

Advanced body shaping

Supports eight body shaping effects: body slimming, leg lengthening, head resizing, leg slimming, breast enlarging, arm slimming, neck slimming, and waist slimming. These effects produce a natural, well-proportioned appearance.

Body slimming

✔️

Head resizing

✔️

Neck slimming

✔️

Breast enlarging

✔️

Arm slimming

✔️

Waist slimming

✔️

Leg slimming

✔️

Leg lengthening

✔️

Hairdressing

Description

Sub-feature

Advanced hairdressing

This feature accurately identifies hair in various poses and backgrounds, offering eight built-in hair colors and the option to set custom colors.

Hairdressing

✔️

Keying

Description

Sub-feature

Chroma keying

Image matting

Separates a person from the background. It accurately identifies the human body for precise segmentation, supports keying in complex environments with various lighting conditions and viewing angles, and provides real-time tracking. This feature includes chroma keying and image matting:

  • Chroma keying: Requires a blue or green screen and is less demanding on device performance.

  • Image matting: Has no specific background requirements but requires higher device performance.

Chroma keying

✔️

Image matting

✔️

Gesture recognition

Description

Sub-feature

Common gesture recognition

Custom gesture recognition

Accurately detects and captures key hand points and gestures. Common gesture recognition includes 25 mainstream static gestures (such as numbers, finger heart, and fist) and multiple dynamic gestures.

Common gesture recognition

✔️

Custom gesture recognition

✔️

AR writing

Description

Sub-feature

AR writing

Captures hand movements and their trajectory, allowing users to write or draw in the air in real time. This feature is ideal for use cases like live streaming, online education, and interactive entertainment.

AR writing

✔️