Skin Analyze API

Analyze facial skin conditions in images with our Skin Analyze API, detecting skin color, texture, wrinkles, acne, dark circles, and more.

The Skin Analyze API offers a sophisticated solution for assessing facial skin conditions from images. Utilizing advanced image processing technology, this API detects and analyzes various skin attributes, including skin color, texture, double eyelids, eye bags, dark circles, wrinkles, acne, and spots. Ideal for skincare apps, beauty platforms, and dermatology tools, the Skin Analyze API provides detailed insights into skin health and condition, empowering users to make informed skincare decisions. Integrate our high-performance, scalable, and user-friendly API to enhance user engagement, deliver personalized skincare recommendations, and elevate your digital beauty solutions. Experience seamless integration and exceptional accuracy with the Skin Analyze API, designed to meet the evolving 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.
  • With or without blackheads
  • With or without acne
  • With or without mole
  • With or without spots
  • With or without eye bags
  • With or without dark circles under the eyes
  • With or without headline
  • With or without crow's feet
  • With or without fine lines under the eyes
  • With or without interbrow lines
  • With or without lines
  • Left and right eyelids (single eyelid, parallel eyelid, scalloped eyelid)
  • Skin type (oily skin, dry skin, normal skin, combination skin)
  • Forehead pores
  • Left cheek pore
  • Right cheek pore
  • Chin Pores
result

Documentación de la API

Endpoints


Analyze facial skin conditions in images with our Skin Analyze API, detecting skin color, texture, wrinkles, acne, dark circles, and more.

Request

Image requirements

  • Image format: JPG JPEG
  • Image size: No more than 2 MB.
  • Image resolution: Larger than 200x200px, smaller than 4096x4096px.
  • Minimum face pixel size: To ensure the effect, it is recommended that the minimum value of the face box (square) side length in the image is not less than 200 pixels. Calibration size: minimum of 160 pixels. The minimum value of the face frame edge length is not less than one-tenth of the shortest edge of the image.
  • 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 (roll ≤ ±45°, yaw ≤ ±45°, pitch ≤ ±45° are recommended), etc.

Body

Field Required Type
image YES file

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.
+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.
+dark_circle object   Dark circles test results.
++value integer
  • 0
  • 1
With or without dark circles under the eyes.
  • 0: No
  • 1: Yes
++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.
+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
With or without blackheads.
  • 0: No
  • 1: Yes
++confidence float [0, 1] Confidence.
+acne object   Acne test results.
++value integer
  • 0
  • 1
With or without Acne.
  • 0: No
  • 1: Yes
++confidence float [0, 1] Confidence.
+mole object   Mole test results.
++value integer
  • 0
  • 1
With or without moles.
  • 0: No
  • 1: Yes
++confidence float [0, 1] Confidence.
+skin_spot object   Spot detection results.
++value integer
  • 0
  • 1
With or without spotting.
  • 0: No
  • 1: Yes
++confidence float [0, 1] Confidence.


                                                                            
POST https://zylalabs.com/api/4441/skin+analyze+api/5454/skin+analyze
                                                                            
                                                                        

Skin Analyze - Características del Endpoint

Objeto Descripción
Cuerpo de la Solicitud [Requerido] Archivo Binario
Probar Endpoint

RESPUESTA DE EJEMPLO DE LA API

       
                                                                                                        
                                                                                                                                                                                                                            {"error_code":0,"error_detail":{"status_code":200,"code":"","code_message":"","message":""},"face_rectangle":{"width":397,"top":311,"height":396,"left":199},"log_id":"1718440173,1f959671-b205-428a-9271-febfad11fdb4","request_id":"1718440173,1f959671-b205-428a-9271-febfad11fdb4","result":{"pores_left_cheek":{"confidence":0.99999976,"value":0},"nasolabial_fold":{"confidence":0.022313023,"value":0},"eye_pouch":{"confidence":0.85949725,"value":0},"forehead_wrinkle":{"confidence":0.0003050094,"value":0},"skin_spot":{"confidence":7.187278e-8,"value":0},"acne":{"confidence":2.4034094e-7,"value":0},"pores_forehead":{"confidence":0.99999976,"value":0},"pores_jaw":{"confidence":0.99999905,"value":0},"left_eyelids":{"confidence":0.99999714,"value":1},"eye_finelines":{"confidence":0.013693521,"value":0},"dark_circle":{"confidence":0.9999969,"value":0},"crows_feet":{"confidence":5.5498876e-5,"value":0},"pores_right_cheek":{"confidence":0.99999464,"value":0},"blackhead":{"confidence":1.3541174e-8,"value":0},"glabella_wrinkle":{"confidence":0.0006322496,"value":0},"mole":{"confidence":0.87727475,"value":1},"skin_type":{"details":[{"confidence":0.02714764,"value":0},{"confidence":8.629828e-5,"value":0},{"confidence":0.96285826,"value":1},{"confidence":0.009907861,"value":0}],"skin_type":2},"right_eyelids":{"confidence":0.7185223,"value":1}},"warning":[]}
                                                                                                                                                                                                                    
                                                                                                    

Skin Analyze - CÓDIGOS DE EJEMPLO


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


Clave de Acceso a la API y Autenticación

Después de registrarte, a cada desarrollador se le asigna una clave de acceso a la API personal, una combinación única de letras y dígitos proporcionada para acceder a nuestro endpoint de la API. Para autenticarte con el Skin Analyze API simplemente incluye tu token de portador en el encabezado de Autorización.
Encabezados
Encabezado Descripción
Autorización [Requerido] Debería ser Bearer access_key. Consulta "Tu Clave de Acceso a la API" arriba cuando estés suscrito.

Precios Simples y Transparentes

Sin compromiso a largo plazo. Mejora, reduce o cancela en cualquier momento.

🚀 PLAN CORPORATIVO A MEDIDA

Comienza en
$ 10.000/Año


  • Volumen Personalizado
  • Límite de solicitudes personalizado
  • Soporte al Cliente Especializado
  • Monitoreo de API en Tiempo Real

Funciones favoritas de los clientes

  • ✔︎ Paga Solo por Solicitudes Exitosas
  • ✔︎ Prueba Gratuita de 7 Días
  • ✔︎ Soporte Multilenguaje
  • ✔︎ Una Clave API, Todas las APIs.
  • ✔︎ Panel de Control Intuitivo
  • ✔︎ Manejo de Errores Integral
  • ✔︎ Documentación Amigable para Desarrolladores
  • ✔︎ Integración con Postman
  • ✔︎ Conexiones HTTPS Seguras
  • ✔︎ Tiempo de Actividad Fiable

Skin Analyze API FAQs

The Skin Analyze API offers a sophisticated solution for assessing facial skin conditions from images. Utilizing advanced image processing technology, this API detects and analyzes various skin attributes, including skin color, texture, double eyelids, eye bags, dark circles, wrinkles, acne, and spots. Ideal for skincare apps, beauty platforms, and dermatology tools, the Skin Analyze API provides detailed insights into skin health and condition, empowering users to make informed skincare decisions. Integrate our high-performance, scalable, and user-friendly API to enhance user engagement, deliver personalized skincare recommendations, and elevate your digital beauty solutions.

Skincare Recommendations: Providing personalized skincare advice based on an analysis of individual skin conditions and needs. Cosmetic Industry: Helping companies develop and market products by understanding different skin types and common issues. Beauty Salons and Spas: Offering clients detailed skin analysis to tailor treatments and skincare routines. Consumer Apps: Integrating skin analysis features into mobile apps for users to monitor their skin health and track changes over time. Research: Supporting dermatological research by providing comprehensive skin health data and analysis.

Personalization: Delivers tailored skincare recommendations and treatments based on detailed skin analysis. Accuracy: Uses advanced technology to provide precise and comprehensive analysis of various skin parameters. Convenience: Offers an easy and quick way for individuals to assess their skin health without needing to visit a professional. Versatility: Applicable to various fields, including skincare, dermatology, cosmetics, telemedicine, beauty services, consumer apps, research, and public health. Real-Time Results: Provides immediate feedback and analysis, enabling prompt recommendations and interventions.

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

Dermatologists and Skincare Professionals: Experts who need advanced tools to assess and analyze skin conditions for accurate diagnosis and treatment planning. Beauty and Cosmetic Industry Professionals: Individuals involved in developing and recommending skincare products who require detailed skin analysis to tailor solutions for their clients. Aesthetic and Cosmetic Clinics: Facilities offering skin treatments and procedures that benefit from precise skin analysis to enhance service quality and outcomes. Consumers Interested in Skincare: Individuals seeking to understand their skin better and make informed decisions about their skincare routines and product choices.

The Skin Analyze API returns detailed analysis results of facial skin conditions, including attributes like skin type, presence of wrinkles, acne, dark circles, and more. The response includes both public parameters (like face rectangle coordinates) and business parameters (like confidence levels for each skin condition).

Key fields in the response include `face_rectangle` (coordinates of the detected face), `warning` (any issues affecting analysis), and `result` (detailed analysis results for various skin conditions, including confidence levels).

The response data is structured into public parameters and business parameters. Public parameters include metadata about the request, while business parameters contain detailed analysis results categorized by skin conditions, each with a value and confidence score.

The main parameter for the Skin Analyze endpoint is `image`, which must be a valid image file in JPG or JPEG format. The image should meet specific size and resolution requirements to ensure accurate analysis.

Users can customize their requests by ensuring the input image meets the specified quality criteria, such as resolution and face pixel size. This helps improve the accuracy of the analysis results returned by the API.

The API provides information on various skin conditions, including skin type (oily, dry, normal, combination), presence of acne, wrinkles, dark circles, and more. Each condition is assessed with a confidence score to indicate the reliability of the analysis.

Data accuracy is maintained through advanced image processing technology that analyzes facial features under optimal conditions. Factors like image quality, lighting, and face angle are considered to ensure reliable results.

Typical use cases include personalized skincare recommendations, product development in the cosmetic industry, and integration into consumer apps for tracking skin health. The data can also support dermatological research by providing insights into common skin issues.

General FAQs

Zyla API Hub es como una gran tienda de APIs, donde puedes encontrar miles de ellas en un solo lugar. También ofrecemos soporte dedicado y monitoreo en tiempo real de todas las APIs. Una vez que te registres, puedes elegir qué APIs quieres usar. Solo recuerda que cada API necesita su propia suscripción. Pero si te suscribes a varias, usarás la misma clave para todas, lo que hace todo más fácil para ti.

Los precios se muestran en USD (dólar estadounidense), EUR (euro), CAD (dólar canadiense), AUD (dólar australiano) y GBP (libra esterlina). Aceptamos todas las principales tarjetas de débito y crédito. Nuestro sistema de pago utiliza la última tecnología de seguridad y está respaldado por Stripe, una de las compañías de pago más confiables del mundo. Si tienes algún problema para pagar con tarjeta, contáctanos en [email protected]


Además, si ya tienes una suscripción activa en cualquiera de estas monedas (USD, EUR, CAD, AUD, GBP), esa moneda se mantendrá para suscripciones posteriores. Puedes cambiar la moneda en cualquier momento siempre que no tengas suscripciones activas.

La moneda local que aparece en la página de precios se basa en el país de tu dirección IP y se proporciona solo como referencia. Los precios reales están en USD (dólar estadounidense). Cuando realices un pago, el cargo aparecerá en tu estado de cuenta en USD, incluso si ves el monto equivalente en tu moneda local en nuestro sitio web. Esto significa que no puedes pagar directamente en tu moneda local.

Ocasionalmente, un banco puede rechazar el cargo debido a sus configuraciones de protección contra fraude. Te sugerimos comunicarte con tu banco primero para verificar si están bloqueando nuestros cargos. También puedes acceder al Portal de Facturación y cambiar la tarjeta asociada para realizar el pago. Si esto no funciona y necesitas más ayuda, por favor contacta a nuestro equipo en [email protected]

Los precios se determinan mediante una suscripción recurrente mensual o anual, dependiendo del plan elegido.

Las llamadas a la API se descuentan de tu plan en base a solicitudes exitosas. Cada plan incluye una cantidad específica de llamadas que puedes realizar por mes. Solo las llamadas exitosas, indicadas por una respuesta con estado 200, se contarán en tu total. Esto asegura que las solicitudes fallidas o incompletas no afecten tu cuota mensual.

Zyla API Hub funciona con un sistema de suscripción mensual recurrente. Tu ciclo de facturación comenzará el día en que compres uno de los planes de pago, y se renovará el mismo día del mes siguiente. Así que recuerda cancelar tu suscripción antes si quieres evitar futuros cargos.

Para actualizar tu plan de suscripción actual, simplemente ve a la página de precios de la API y selecciona el plan al que deseas actualizarte. La actualización será instantánea, permitiéndote disfrutar inmediatamente de las funciones del nuevo plan. Ten en cuenta que las llamadas restantes de tu plan anterior no se transferirán al nuevo plan, por lo que debes considerar esto al actualizar. Se te cobrará el monto total del nuevo plan.

Para verificar cuántas llamadas a la API te quedan en el mes actual, revisa el campo 'X-Zyla-API-Calls-Monthly-Remaining' en el encabezado de la respuesta. Por ejemplo, si tu plan permite 1,000 solicitudes por mes y has usado 100, este campo mostrará 900 llamadas restantes.

Para ver el número máximo de solicitudes a la API que permite tu plan, revisa el encabezado de la respuesta 'X-Zyla-RateLimit-Limit'. Por ejemplo, si tu plan incluye 1,000 solicitudes por mes, este encabezado mostrará 1,000.

El encabezado 'X-Zyla-RateLimit-Reset' muestra el número de segundos hasta que tu límite se restablezca. Esto te indica cuándo tu conteo de solicitudes se reiniciará. Por ejemplo, si muestra 3,600, significa que faltan 3,600 segundos para que el límite se restablezca.

Sí, puedes cancelar tu plan en cualquier momento desde tu cuenta, seleccionando la opción de cancelación en la página de Facturación. Ten en cuenta que las actualizaciones, degradaciones y cancelaciones tienen efecto inmediato. Además, al cancelar ya no tendrás acceso al servicio, incluso si te quedaban llamadas en tu cuota.

Puedes contactarnos a través de nuestro canal de chat para recibir asistencia inmediata. Siempre estamos en línea de 8 a. m. a 5 p. m. (EST). Si nos contactas fuera de ese horario, te responderemos lo antes posible. Además, puedes escribirnos por correo electrónico a [email protected]

Para darte la oportunidad de probar nuestras APIs sin compromiso, ofrecemos una prueba gratuita de 7 días que te permite realizar hasta 50 llamadas a la API sin costo. Esta prueba solo se puede usar una vez, por lo que recomendamos aplicarla a la API que más te interese. Aunque la mayoría de nuestras APIs ofrecen prueba gratuita, algunas pueden no hacerlo. La prueba finaliza después de 7 días o cuando realices 50 solicitudes, lo que ocurra primero. Si alcanzas el límite de 50 solicitudes durante la prueba, deberás "Iniciar tu Plan de Pago" para continuar haciendo solicitudes. Puedes encontrar el botón "Iniciar tu Plan de Pago" en tu perfil bajo Suscripción -> Elige la API a la que estás suscrito -> Pestaña de Precios. Alternativamente, si no cancelas tu suscripción antes del día 7, tu prueba gratuita finalizará y tu plan se cobrará automáticamente, otorgándote acceso a todas las llamadas a la API especificadas en tu plan. Ten esto en cuenta para evitar cargos no deseados.

Después de 7 días, se te cobrará el monto total del plan al que estabas suscrito durante la prueba. Por lo tanto, es importante cancelar antes de que finalice el periodo de prueba. No se aceptan solicitudes de reembolso por olvidar cancelar a tiempo.

Cuando te suscribes a una prueba gratuita de una API, puedes realizar hasta 50 llamadas. Si deseas realizar más llamadas después de este límite, la API te pedirá que "Inicies tu Plan de Pago". Puedes encontrar el botón "Iniciar tu Plan de Pago" en tu perfil bajo Suscripción -> Elige la API a la que estás suscrito -> Pestaña de Precios.

Las Órdenes de Pago se procesan entre el día 20 y el 30 de cada mes. Si envías tu solicitud antes del día 20, tu pago será procesado dentro de ese período.


APIs Relacionadas


También te puede interesar