Skin Analyze Advanced API

Analyze facial skin conditions with our Skin Analyze Advanced API, detecting skin color, texture, wrinkles, acne, spots, and more.

The Skin Analyze Advanced API provides a comprehensive analysis of facial skin conditions using state-of-the-art technology. Perfect for skincare applications, beauty platforms, and dermatology tools, this API evaluates facial images to detect a wide range of skin attributes, including skin color, texture, eyelid type, eye bags, dark circles, wrinkles, acne, and spots. By integrating the Skin Analyze Advanced API, you can offer users detailed insights into their skin health and condition, helping them make informed skincare decisions. Enhance user engagement, provide personalized skincare recommendations, and elevate your digital beauty solutions with our high-performance, scalable, and easy-to-integrate API designed to meet the needs of modern skincare analysis.

Application Scenarios

  • Smart Beauty Analysis
  • Recommended Beauty Products

Featured Advantages

  • Rich analysis dimension
  • Comprehensive coverage of skin characteristics
  • Numerical analysis of findings

Function List

Functions Description Corresponding parameters
Face Detection Detect face and position face_rectangle
Skin Analysis Analyze skin condition.
  • Skin tone classification (translucent white, fair, natural, wheat, dark)
  • Skin tone classification (translucent white, fair, natural medium skin tone, wheat, brown, dark brown, abnormal color values)
  • Skin sensitivity level and area (only the "red zone" is marked)
  • Skin type (oily skin, dry skin, normal skin, combination skin)
  • With or without closure and location
  • Analysis of the presence or absence of blackheads and their degree
  • Presence and location of acne
  • The presence and location of moles
  • The presence or absence of spots and their location
  • Analysis of the presence or absence of eye bags and their degree
  • Left and right eyelids (single eyelid, parallel eyelid, scalloped eyelid)
  • With or without headline analysis
  • With or without crow's feet
  • With or without fine lines under the eyes
  • With or without interbrow lines
  • Analysis of the presence or absence of lines and their degree
  • Analysis of the presence and extent of enlarged forehead pores
  • Analysis of the presence and extent of enlarged pores on the left cheek
  • Analysis of the presence and extent of enlarged pores on the right cheek
  • With or without chin pore size and degree analysis
  • Skin Age Analysis
result

API Documentation

Endpoints


Analyze facial skin conditions with our Skin Analyze Advanced API, detecting skin color, texture, wrinkles, acne, spots, and more.

Request

Image requirements

  • Image format: JPG JPEG
  • Image size: No more than 5 MB.
  • Image resolution: Larger than 200x200px, smaller than 4096x4096px.
  • Minimum face pixel size: To ensure the effect, the minimum value of the face frame (square) in the image should be higher than 400 pixels (which can be verified by passing a reference through the interface).
  • Face quality: The higher the face quality, the more accurate the skin analysis. Factors affecting face quality include: occlusion of the five facial features, blurred images, improper lighting (bright, dark, backlight), excessive face angle (recommended yaw ≤ ±30°, pitch ≤ ±40°), etc.

Body

Field Required Type Scope Description
image YES file    
face_quality_control NO integer
  • 0
  • 1
Whether to restrict the quality of faces in incoming images.
  • 0: No face quality control is performed, and skin measurement results are returned as long as the face can be detected.
  • 1: Perform face quality control, if the face quality does not pass it will prompt an error.
return_rect_confidence NO integer
  • 0
  • 1
The confidence level of the area whether to return acne, occlusion, blemishes and moles.
  • 0: No regional confidence is returned.
  • 1: Returns the regional confidence.
return_maps NO string
  • red_area
Enter a comma-separated string containing the type of skin chromatography image to be returned. View Details

return_maps

  • Request Example

    red_area

  • Field Parsing

Field Description Return image information
red_area A red zone map that shows areas of redness caused by facial sensitivity and inflammation.  

Response

Public Parameters

Viewing Public Parameters and Error Codes

Business Parameters

Field Type Scope Description
warning array
  • imporper_headpose
Interference factors affecting the calculation results.
  • imporper_headpose: Improper head angle (Judgment condition roll,yaw,pitch exceeds [-45,45]).
face_rectangle object   The position of the face rectangle box.
+top float   The vertical coordinate of the pixel point in the upper-left corner of the rectangle box.
+left float   The horizontal coordinate of the pixel point in the upper-left corner of the rectangle.
+width float   The width of the rectangle box.
+height float   The height of the rectangle box.
result object   Results of face skin analysis.
+skin_color object   Skin color test results.
++value integer
  • 0
  • 1
  • 2
  • 3
  • 4
Skin color.
  • 0: Transparent white.
  • 1: White.
  • 2: Naturally.
  • 3: Wheat.
  • 4: Dark.
++confidence float [0, 1] Confidence.
+skintone_ita object   Returns skin color classification information based on the ITA (Individual Typology Angle) standard. NOTE
++ITA float [-90, 90] Angle value.
++skintone integer
  • 0
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
Classified according to the skin tone of ITA.
  • 0: Very light.
  • 1: Light.
  • 2: Intermediate.
  • 3: Tan.
  • 4: Brown.
  • 5: Dark.
  • 6: Abnormal color values that may be caused by weak lighting conditions or overexposure.
+skin_hue_ha object   Returns skin tone classification information based on HA (Hue Angle). NOTE
++HA float [0, 90] HA angle value.
++skintone integer
  • 0
  • 1
  • 2
  • 3
Classified according to HA's skin tone hue.
  • 0: Yellowish.
  • 1: Neutral.
  • 2: Reddish.
  • 3: Abnormal hue values may be caused by abnormal ambient light tones or weak light environment or overexposure.
+skin_age object   Skin age test results.
++value integer [0, 100) Face skin age value.
+left_eyelids object   Results of the double eyelid test on the left eye.
++value integer
  • 0
  • 1
  • 2
Type.
  • 0: Single eyelids
  • 1: Parallel Double Eyelids
  • 2: Scalloped Double Eyelids
++confidence float [0, 1] Confidence.
+right_eyelids object   Results of the double eyelid test on the right eye.
++value integer
  • 0
  • 1
  • 2
Type.
  • 0: Single eyelids
  • 1: Parallel Double Eyelids
  • 2: Scalloped Double Eyelids
++confidence float [0, 1] Confidence.
+eye_pouch object   Eye bag test results.
++value integer
  • 0
  • 1
With or without eye bags.
  • 0: No
  • 1: Yes
++confidence float [0, 1] Confidence.
+eye_pouch_severity object   Severity of puffiness under the eyes (return when puffiness test result is 1)
++value integer
  • 0
  • 1
  • 2
Severity.
  • 0: Mild.
  • 1: Moderate.
  • 2: Severe.
++confidence float [0, 1] Confidence.
+dark_circle object   Dark circles test results.
++value integer
  • 0
  • 1
  • 2
  • 3
Type of dark circles under the eyes.
  • 0: No dark circles under the eyes.
  • 1: Pigmented dark circles.
  • 2: Vascular type dark circles under the eyes.
  • 3: Shadow-type dark circles under the eyes.
++confidence float [0, 1] Confidence.
+forehead_wrinkle object   Results of the head-lift test.
++value integer
  • 0
  • 1
With or without headlines.
  • 0: No
  • 1: Yes
++confidence float [0, 1] Confidence.
+crows_feet object   Fishtail test results.
++value integer
  • 0
  • 1
With or without crow's feet.
  • 0: No
  • 1: Yes
++confidence float [0, 1] Confidence.
+eye_finelines object   Results of the eye fine lines test.
++value integer
  • 0
  • 1
The presence or absence of fine lines under the eyes.
  • 0: No
  • 1: Yes
++confidence float [0, 1] Confidence.
+glabella_wrinkle object   Results of the interbrow line test.
++value integer
  • 0
  • 1
With or without interbrow lines.
  • 0: No
  • 1: Yes
++confidence float [0, 1] Confidence.
+nasolabial_fold object   Results of the forehead line test.
++value integer
  • 0
  • 1
With or without lines.
  • 0: No
  • 1: Yes
++confidence float [0, 1] Confidence.
+nasolabial_fold_severity object   Severity of the forehead lines (returned when the result of the forehead line test is 1)
++value integer
  • 0
  • 1
  • 2
Severity.
  • 0: Mild.
  • 1: Moderate.
  • 1: Severe.
++confidence float [0, 1] Confidence.
+skin_type object   Skin texture test results.
++skin_type integer
  • 0
  • 1
  • 2
  • 3
Type.
  • 0: Oily skin.
  • 1: Dry skin.
  • 2: Neutral skin.
  • 3: Combination skin.
++details object   The confidence level of each classification.
+++0 object   Oily skin information.
++++value integer
  • 0
  • 1
Oily skin.
  • 0: No.
  • 1: Yes.
++++confidence float   Confidence.
+++1 object   Dry skin information.
++++value integer
  • 0
  • 1
Dry skin.
  • 0: No.
  • 1: Yes.
++++confidence float   Confidence.
+++2 object   Neutral skin information.
++++value integer
  • 0
  • 1
Neutral skin.
  • 0: No.
  • 1: Yes.
++++confidence float   Confidence.
+++3 object   Combination skin information.
++++value integer
  • 0
  • 1
Combination skin.
  • 0: No.
  • 1: Yes.
++++confidence float   Confidence.
+pores_forehead object   Forehead pore test results.
++value integer
  • 0
  • 1
With or without enlarged pores.
  • 0: No
  • 1: Yes
++confidence float [0, 1] Confidence.
+pores_left_cheek object   Results of the left cheek pore test.
++value integer
  • 0
  • 1
With or without enlarged pores.
  • 0: No
  • 1: Yes
++confidence float [0, 1] Confidence.
+pores_right_cheek object   Results of the right cheek pore test.
++value integer
  • 0
  • 1
With or without enlarged pores.
  • 0: No
  • 1: Yes
++confidence float [0, 1] Confidence.
+pores_jaw object   Chin pore test results.
++value integer
  • 0
  • 1
With or without enlarged pores.
  • 0: No
  • 1: Yes
++confidence float [0, 1] Confidence.
+blackhead object   Blackhead test results.
++value integer
  • 0
  • 1
  • 2
  • 3
Severity.
  • 0: No blackheads.
  • 1: Mild.
  • 2: Moderate.
  • 3: Severe.
++confidence float [0, 1] Confidence.
+acne Object   Acne test results.
++rectangle array   The location of each pimple box.
+++width float   Width.
+++height float   Height.
+++left float   The distance from the leftmost part of the picture.
+++top float   The distance from the topmost edge of the image.
++confidence array   If return_rect_confidence is 1, the confidence that each rectangular region is discriminated as a positive case is returned.
+mole Object   Mole test results.
++rectangle array   The position of each mole frame.
+++width float   Width.
+++height float   Height.
+++left float   The distance from the leftmost part of the picture.
+++top float   The distance from the topmost edge of the image.
++confidence array   If return_rect_confidence is 1, the confidence that each rectangular region is discriminated as a positive case is returned.
+closed_comedones Object   Closure returns the result.
++rectangle array   The position of each closure frame.
+++width float   Width.
+++height float   Height.
+++left float   The distance from the leftmost part of the picture.
+++top float   The distance from the topmost edge of the image.
++confidence array   If return_rect_confidence is 1, the confidence that each rectangular region is discriminated as a positive case is returned.
+skin_spot Object   Spot detection results.
++rectangle array   The position of each spot box.
+++width float   Width.
+++height float   Height.
+++left float   The distance from the leftmost part of the picture.
+++top float   The distance from the topmost edge of the image.
++confidence array   If return_rect_confidence is 1, the confidence that each rectangular region is discriminated as a positive case is returned.
+face_maps Object   Returns the skin chromatography visualization image set in the entry (return_maps).
++red_area base64   Red zone map. jpeg images for base64.
+sensitivity Object   The sensitivity of the human face within the photo. This return value must be used with the red area map, you need to set the return red area map ("red_area") in the input parameter return_maps first.
++sensitivity_area float [0, 1] Sensitive redness areas account for the proportion of cheeks and T-zone.
++sensitivity_intensity float [0, 100] The intensity of redness in sensitive areas.

skintone_ita

ITA (Individual Typology Angle) is an international standard for skin color, which is a method to classify skin color by measuring the color attributes of skin color Lab space. The method is strongly dependent on ambient light, we recommend using flash to take HD face photos for uploading and processing, the ITA angle value measured in natural light or dark environment may not be allowed or abnormal.

According to the data taken by the rear flash of the phone, the current skin color classification reference.

skintone Scope Description
0 56 < ITA < 90 Very light.
1 43 < ITA <= 56 Light.
2 36 < ITA <= 43 Intermediate.
3 20 < ITA <= 36 Tan.
4 10 < ITA <= 20 Brown.
5 -90 < ITA <= 10 Dark.
6 Other Abnormal color values that may be caused by weak lighting conditions or overexposure.

You can also use the returned ITA value to define your classification based on the returned ITA angle at the time of access.

skin_hue_ha

HA (Hue Angle) is an international standard for skin color, which is a method to classify skin color by measuring the color attributes of skin color Lab space. The method is strongly dependent on ambient light, we recommend using flash to take HD face photos for uploading and processing, the HA angle value measured in natural light or dark light environment may not be allowed or abnormal.

According to the data taken by the rear flash of the phone, the current skin tone classification reference.

skintone Scope Description
0 49 < HA <= 90 Yellowish.
1 46 <= HA < 49 Neutral.
2 10 <= HA < 46 Reddish.
3 Other Abnormal hue values may be caused by abnormal ambient light tones or weak light environment or overexposure.

You can also use the returned ITA value to define your classification based on the returned ITA angle at the time of access.



                                                                            
POST https://zylalabs.com/api/4442/skin+analyze+advanced+api/5455/skin+analyze+advanced
                                                                            
                                                                        

Skin Analyze Advanced - Endpoint Features

Object Description
Request Body [Required] File Binary
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {
  "request_id":     "",
  "log_id":         "",
  "error_code":     0,
  "error_code_str": "",
  "error_msg":      "",
  "error_detail":   {
    "status_code":  200,
    "code":         "",
    "code_message": "",
    "message":      ""
  },
  "warning":        [],
  "face_rectangle": {
    "top":    0,
    "left":   0,
    "width":  0,
    "height": 0
  },
  "result":         {
    "skin_color":        {
      "value":      0,
      "confidence": 0.89
    },
    "skin_age":          {
      "value": 9
    },
    "left_eyelids":      {
      "value":      0,
      "confidence": 0.89
    },
    "right_eyelids":     {
      "value":      0,
      "confidence": 0.89
    },
    "eye_pouch":         {
      "value":      0,
      "confidence": 0.89
    },
    "dark_circle":       {
      "value":      0,
      "confidence": 0.89
    },
    "forehead_wrinkle":  {
      "value":      0,
      "confidence": 0.89
    },
    "crows_feet":        {
      "value":      0,
      "confidence": 0.89
    },
    "eye_finelines":     {
      "value":      0,
      "confidence": 0.89
    },
    "glabella_wrinkle":  {
      "value":      0,
      "confidence": 0.89
    },
    "nasolabial_fold":   {
      "value":      0,
      "confidence": 0.89
    },
    "skin_type":         {
      "skin_type": 0,
      "details":   {
        "0": {
          "value":      1,
          "confidence": 0.89
        },
        "1": {
          "value":      1,
          "confidence": 0.89
        },
        "2": {
          "value":      0,
          "confidence": 0.01
        },
        "3": {
          "value":      0,
          "confidence": 0.01
        }
      }
    },
    "pores_forehead":    {
      "value":      0,
      "confidence": 1
    },
    "pores_left_cheek":  {
      "value":      0,
      "confidence": 1
    },
    "pores_right_cheek": {
      "value":      0,
      "confidence": 1
    },
    "pores_jaw":         {
      "value":      0,
      "confidence": 1
    },
    "blackhead":         {
      "value":      0,
      "confidence": 1
    },
    "acne":              {
      "rectangle": [
        {
          "width":  3,
          "top":    17,
          "height": 1,
          "left":   35
        },
        {
          "width":  4,
          "top":    20,
          "height": 1,
          "left":   35
        }
      ]
    },
    "closed_comedones":  {
      "rectangle": [
        {
          "width":  3,
          "top":    17,
          "height": 1,
          "left":   35
        },
        {
          "width":  4,
          "top":    20,
          "height": 1,
          "left":   35
        }
      ]
    },
    "mole":              {
      "rectangle": [
        {
          "width":  3,
          "top":    17,
          "height": 1,
          "left":   35
        },
        {
          "width":  4,
          "top":    20,
          "height": 1,
          "left":   35
        }
      ]
    },
    "skin_spot":         {
      "rectangle": [
        {
          "width":  3,
          "top":    17,
          "height": 1,
          "left":   35
        },
        {
          "width":  4,
          "top":    20,
          "height": 1,
          "left":   35
        }
      ]
    }
  }
}
                                                                                                                                                                                                                    
                                                                                                    

Skin Analyze Advanced - CODE SNIPPETS


    curl --location 'https://zylalabs.com/api/4442/skin+analyze+advanced+api/5455/skin+analyze+advanced' \
    --header 'Content-Type: application/json' \ 
    --form 'image=@"FILE_PATH"'


API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Skin Analyze Advanced API REST API, simply include your bearer token in the Authorization header.
Headers
Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

πŸš€ Enterprise

Starts at
$ 10,000/Year


  • Custom Volume
  • Specialized Customer Support
  • Real-Time API Monitoring

Customer favorite features

  • βœ”οΈŽ Only Pay for Successful Requests
  • βœ”οΈŽ Free 7-Day Trial
  • βœ”οΈŽ Multi-Language Support
  • βœ”οΈŽ One API Key, All APIs.
  • βœ”οΈŽ Intuitive Dashboard
  • βœ”οΈŽ Comprehensive Error Handling
  • βœ”οΈŽ Developer-Friendly Docs
  • βœ”οΈŽ Postman Integration
  • βœ”οΈŽ Secure HTTPS Connections
  • βœ”οΈŽ Reliable Uptime

The Skin Analyze Advanced API provides a comprehensive analysis of facial skin conditions using state-of-the-art technology. Perfect for skincare applications, beauty platforms, and dermatology tools, this API evaluates facial images to detect a wide range of skin attributes, including skin color, texture, eyelid type, eye bags, dark circles, wrinkles, acne, and spots. By integrating the Skin Analyze Advanced API, you can offer users detailed insights into their skin health and condition, helping them make informed skincare decisions.

Dermatology Clinics: Providing advanced diagnostic tools for dermatologists to assess and monitor complex skin conditions. Skincare Product Development: Assisting cosmetic companies in developing high-precision skincare products by analyzing detailed skin characteristics. High-End Beauty Salons and Spas: Offering clients advanced skin analysis services to tailor premium skincare treatments. Personal Skincare Apps: Integrating sophisticated skin analysis features into consumer apps for precise, personalized skincare recommendations. Aesthetic Medicine: Aiding practitioners in planning and assessing the outcomes of cosmetic procedures.

High Precision: Utilizes cutting-edge technology to deliver extremely accurate and detailed analysis of various skin parameters. Comprehensive Diagnostics: Offers in-depth insights into skin conditions, including underlying issues that basic analysis might miss. Customization: Provides highly personalized skincare recommendations and treatment plans based on detailed skin profiles. Professional-Grade Tools: Features advanced tools suitable for professional use in medical and high-end cosmetic environments. Real-Time Analysis: Delivers immediate, detailed feedback, enabling quick decision-making for treatments and product recommendations.

Yes, we do have more detailed [API documentation](https://www.ailabtools.com/doc/ai-portrait/analysis/skin-analysis-advanced/api-marketplace) available. You can access it on our website or by contacting our support team for assistance.

Dermatologists and Advanced Skincare Professionals: Experts who require sophisticated tools for in-depth analysis and precise diagnosis of complex skin conditions. Medical Researchers and Clinical Scientists: Individuals conducting high-level research in dermatology and skin health, needing advanced analysis for their studies. Aesthetic and Cosmetic Surgeons: Professionals who perform skin-related surgical procedures and need detailed skin analysis to plan and execute treatments effectively. High-End Skincare Clinics and Spas: Facilities offering premium skincare services that use advanced technology to provide personalized and effective treatments for their clients.

Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.

The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.

Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]

Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.

API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.

To check how many API calls you have left for the current month, look at the β€˜X-Zyla-API-Calls-Monthly-Remaining’ header. For example, if your plan allows 1000 requests per month and you've used 100, this header will show 900.

To see the maximum number of API requests your plan allows, check the β€˜X-Zyla-RateLimit-Limit’ header. For instance, if your plan includes 1000 requests per month, this header will display 1000.

The β€˜X-Zyla-RateLimit-Reset’ header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3600, it means 3600 seconds are left until the limit resets.

Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.

You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

To let you experience our APIs without any commitment, we offer a 7-day free trial that allows you to make API calls at no cost during this period. Please note that you can only use this trial once, so make sure to use it with the API that interests you the most. Most of our APIs provide a free trial, but some may not support it.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it’s important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.

When you subscribe to an API trial, you can make only 25% of the calls allowed by that plan. For example, if the API plan offers 1000 calls, you can make only 250 during the trial. To access the full number of calls offered by the plan, you will need to subscribe to the full plan.


Related APIs