AILabTools
  1. Portrait Analysis
AILabTools
  • 简介
  • AI IMAGE
    • Image Enhancement
      • Image Dehaze
      • Image Upscaler
      • Stretched Image Restoration
      • Image sharpness enhancement
      • Image contrast enhancement
      • Image color enhancement
    • Image Effects
      • AI Cartoon Generator
      • AI Photo Colorize
      • Photo to Painting
      • Style transfer
      • Color Migration
      • HD color migration
      • Image Micro Motion
    • Image Editing
      • AI Image cropping
      • Intelligent Composition
      • Photo retouch
      • Image Invisible Picture Watermark
      • Image Invisible Text Watermark
      • Image Erasure
    • Image scoring
      • Image composition aesthetics score
      • Image exposure score
    • Querying asynchronous task results
      GET
  • AI BACKGROUND REMOVAL
    • Portrait
      • Human background removal
      • Head Extraction
      • Hairstyle Extraction
    • General
      • Universal Background Removal
      • Food Background Removal
      • Product background removal
      • Costume background removal
  • AI PORTRAIT
    • Portrait effects
      • Cartoon yourself
      • Merge Portraits
      • Smart Beauty
      • AI Skin Beauty
      • AI Face Slimming
      • Face Beauty
      • AI Makeup
      • Face Filters
      • Facial aesthetics
      • Change facial expressions
      • Hairstyle changer
      • Hairstyle changer Pro
      • Bring photos to life
      • Photo to 3d slow-motion
      • Face Blur
      • Age & Gender swap
      • AI Face Enhancer
      • Lips Color Changer
    • Portrait Analysis
      • Face Key Points
        POST
      • Detect Skin Disease
        POST
      • Skin analyze
        POST
      • Skin analyze Advanced
        POST
      • Skin analyze Pro
        POST
      • Face Analyzer
        POST
  • AI COMMON
    • Querying asynchronous task results
      GET
    • Querying credits
      GET
  1. Portrait Analysis

Skin analyze

开发环境
开发环境
POST
/api/portrait/analysis/skin-analysis
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/portrait/analysis/skin-analysis' \
--header 'ailabapi-api-key;' \
--form 'image=@""'
响应示例响应示例
{
  "error_code": 0,
  "error_code_str": "",
  "error_msg": "",
  "request_id": "",
  "log_id": "",
  "warning": [],
  "face_rectangle": {
    "top": 0,
    "left": 0,
    "width": 0,
    "height": 0
  },
  "result": {
    "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": 1, 
          "confidence": 0.89
        }, 
        "3": {
          "value": 1, 
          "confidence": 0.89
        }
      }
    },
    "pores": {
      "value": 0, 
      "confidence": 1
    }, 
    "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": {
      "value": 0, 
      "confidence": 1
    }, 
    "mole": {
      "value": 0, 
      "confidence": 1
    }, 
    "skin_spot": {
      "value": 0, 
      "confidence": 1
    }
  }
}

请求参数

Header 参数
ailabapi-api-key
string 
必需
Application API KEY.
Body 参数multipart/form-data
image
file 
必需
Main Image.

返回响应

⚪0Skin Analysis
application/json
Body
error_code
integer 
必需
error_code_str
string 
必需
error_msg
string 
必需
request_id
string 
必需
log_id
string 
必需
warning
array
必需
face_rectangle
object 
必需
top
integer 
必需
left
integer 
必需
width
integer 
必需
height
integer 
必需
result
object 
必需
left_eyelids
object 
必需
right_eyelids
object 
必需
eye_pouch
object 
必需
dark_circle
object 
必需
forehead_wrinkle
object 
必需
crows_feet
object 
必需
eye_finelines
object 
必需
glabella_wrinkle
object 
必需
nasolabial_fold
object 
必需
skin_type
object 
必需
pores
object 
必需
pores_forehead
object 
必需
pores_left_cheek
object 
必需
pores_right_cheek
object 
必需
pores_jaw
object 
必需
blackhead
object 
必需
acne
object 
必需
mole
object 
必需
skin_spot
object 
必需
上一页
Detect Skin Disease
下一页
Skin analyze Advanced
Built with