SkinCheckv1
문서개요
시작하기v1

빠른 시작

API 키 생성

API 키, 기본 URL, API 제품을 준비한 다음 해당 API 페이지에서 매개변수와 요청 방법을 확인하세요.

01

API 키 가져오기

개인 센터 → 개발자 센터 → API 키에서 개발자 키를 생성하세요. 전체 키는 생성하거나 교체할 때만 표시되므로 안전하게 보관하세요.

02

API 기본 URL 설정

이 페이지와 온라인 테스트는 NEXT_PUBLIC_API_BASE_URL이 설정되어 있으면 이를 사용하고, 그렇지 않으면 현재 문서 사이트의 출처를 사용합니다. 예제 코드는 SKINCHECK_API_BASE_URL 환경 변수에서 URL을 읽습니다.

사용 중인 API Base URL

03

API 제품 선택

처음에는 Skin Analyze Basic으로 시작하세요. 정면 JPG/JPEG 이미지 한 장을 받아 분석이 완료되면 같은 응답에서 결과를 반환합니다.

API 이름Skin Analyze
HTTP MethodPOST
경로/api/developer/v1/skin-analysis-basic
형식multipart/form-data
성공한 요청당— 크레딧
04

동기 API와 비동기 API 이해하기

Basic, Advanced, Pro는 요청이 완료되면 분석 결과를 바로 반환합니다. 스킨케어 추천, 얼굴 점수, 매력도 테스트는 먼저 비동기 작업을 만들고 이후 상태와 결과를 조회해야 합니다.

동기

  1. POST 분석 요청
  2. 분석 완료 대기
  3. 응답에 result 포함

비동기

  1. POST 작업 생성
  2. task_id 수신
  3. 상태 조회 → 결과 읽기
05

계속 개발하기

필요에 따라 인증, 제품별 차이, API 호출, 작업 조회, 오류 처리 섹션을 확인하세요.

인증 및 보안

API Key 만들기

Create an API key in SkinCheck Developer Center to access the SkinCheck Developer API. Authenticate every request from your server using an HTTP header.

API 키 생성

먼저 키를 안전하게 보관하세요

API 키는 개인 계정 자격 증명입니다. 서버 측 환경 변수 또는 전용 비밀 관리 도구에만 저장하세요. 브라우저 JavaScript, 공개 모바일 앱, 공개 저장소, 애플리케이션 로그, URL 매개변수에 넣지 말고 안전하지 않은 경로로 전체 키를 공유하지 마세요.

01

API 키 만들기

Open key management and create a key using this path:

  1. 01Open Personal Center
  2. 02Open Developer Center
  3. 03Open API Key management
  4. 04Create a new API key
  5. 05Copy the full key and store it securely
API 키 생성This opens Developer Center in Personal Center and selects the API Keys tab.
Save it immediately after creation: 키 생성 또는 교체가 성공한 직후에 전체 키가 한 번 표시됩니다. 대화상자를 닫으면 다시 확인할 수 없습니다. 키 목록에는 전체 키 대신 이름, 마스킹된 접두사, 상태 및 시간이 표시됩니다.
02

API 인증

모든 API 요청은 HTTP 헤더에 API 키를 포함해야 합니다. 아래 헤더 이름은 백엔드 인증 구현과 일치합니다.

HTTP Header
skincheck-api-key: YOUR_API_KEY

YOUR_API_KEY is a placeholder. Supply the key read by your server. Do not put the key in a URL query parameter.

03

언어별 인증 예시

These examples show only how to read the key securely and construct the authentication header. When using headers in an API call, add the endpoint URL, HTTP method, and body required by that API.

#!/usr/bin/env bash
set -euo pipefail
: "${SKINCHECK_API_KEY:?Set SKINCHECK_API_KEY}"
: "${SKINCHECK_API_BASE_URL:?Set SKINCHECK_API_BASE_URL}"
: "${SKINCHECK_API_PATH:?Set SKINCHECK_API_PATH to the API endpoint path}"

url="${SKINCHECK_API_BASE_URL%/}/${SKINCHECK_API_PATH#/}"
curl --include "$url" \
  --header "skincheck-api-key: ${SKINCHECK_API_KEY}"
# Add the HTTP method and body required by the selected API endpoint.

Keep SKINCHECK_API_KEY on the server only. These snippets show the authentication header; add the method and body required by the chosen API. Never print the key.

04

API 키 교체

교체하면 새 활성 키가 생성됩니다. 기존 키는 별도로 폐기할 때까지 유효합니다. 다음 순서로 마이그레이션하세요.

  1. 1

    Create a new key

    Rotate the current key in API Key management and copy the replacement.

  2. 2

    Deploy the new key

    Update the server environment variable or dedicated secret manager.

  3. 3

    Verify the new key

    Make a real API request from the server with the new key and confirm it succeeds.

  4. 4

    Revoke the old key

    Revoke the old key separately after the replacement is confirmed to work.

새 키를 확인하기 전에 기존 키를 폐기하지 마세요. 서비스에서 인증 오류가 발생할 수 있습니다.
05

키 폐기 및 노출 대응

키를 폐기하면 해당 키를 사용하는 새 요청은 인증에 실패합니다. 폐기해도 이미 노출되었을 수 있는 사본은 삭제되지 않습니다. 키가 유출되었을 가능성이 있으면 즉시 조치하세요.

  1. 1.Revoke the exposed key immediately.
  2. 2.Create a new API key.
  3. 3.Update and deploy the server configuration.
  4. 4.Review recent API calls and credit usage.
  5. 5.Find the exposure in repositories, logs, or deployment configuration.
API 키 생성A revoked key cannot authenticate new requests. Configure the replacement key.
06

일반적인 인증 문제

Invalid API key

증상
The response error_code is ERROR_API_KEY_INVALID.
가능한 원인
The key was copied incorrectly, is inactive, or belongs to another account.
확인 및 해결
Reload the server-side secret and confirm the key status and account in API Key management.

Missing HTTP header

증상
Authentication fails with error_code ERROR_API_KEY_INVALID.
가능한 원인
The request does not send the skincheck-api-key header.
확인 및 해결
Inspect the outgoing request headers and ensure the server passes the auth header to its HTTP client.

Misspelled header name

증상
Authentication fails with error_code ERROR_API_KEY_INVALID.
가능한 원인
The request uses a different header name.
확인 및 해결
Use skincheck-api-key exactly; check spelling and hyphens.

Using a revoked key

증상
New requests with this key fail authentication.
가능한 원인
The key was revoked separately.
확인 및 해결
Check its status in API Key management; create a replacement and update server configuration.

Old key still used after rotation

증상
The service still uses the old credential; it may work until revoked.
가능한 원인
The new environment variable was not applied to the running process or deployment.
확인 및 해결
Check which key version the process reads, update configuration, restart/redeploy, and verify with the new key.

Calling from browser code

증상
The key can be exposed in source code, developer tools, or network requests.
가능한 원인
A personal credential was placed in the browser environment.
확인 및 해결
Move the call behind your server, which reads the key; rotate any key that was exposed.

Server environment variable not loaded

증상
The auth header is missing, empty, or still contains an old key.
가능한 원인
The variable name, deployment scope, or process startup configuration does not match.
확인 및 해결
Check variable presence without printing its value, deployment scope, and process restart status; then retry securely.

피부 분석 버전

SkinCheck은 Basic, Advanced, Pro 피부 분석 API를 제공합니다. 버전별로 감지 범위, 결과 상세도, 영역 위치 지정, 시각화 기능이 다르므로 제품 요구에 맞는 API를 선택할 수 있습니다.

Claims are checked against the API request definitions and response schemas in this repository. Capabilities absent from a published schema are marked “Needs confirmation”; “Not supported” is used only where the endpoint explicitly excludes that input or output. Optional fields also depend on request parameters and analysis results.
Edition-table reconciliation notes
  • • Pigmentation severity: the local overview and detail table both listed Pro support, though the overview lacked detail. They now share the Pro schema-backed status; maps/outlines show their required parameters.
  • • Fine-line counts and area: the old overview only summarized Pro support and the detail table did not identify count/area fields. The Pro schema defines fine_line, wrinkle_count, and wrinkle_area_ratio, now used consistently. Basic/Advanced remain pending.
  • • Skin type vs oiliness: Skin Type IV classification and regional oiliness are separate capabilities. The Pro detail now follows oily_intensity area/severity fields; Basic/Advanced remain pending.
  • • Sensitive areas: edition-comparison material says Advanced provides area/severity, while its published response schema currently documents only the red_area map. Area/severity remain pending product/backend confirmation.

버전 선택

SKIN ANALYSIS API

Basic

— 크레딧 / 성공한 요청

Get foundational skin-analysis classifications and confidence values.

  • Skin type and eye features
  • Basic wrinkle, pore, acne, and spot detection
View API

SKIN ANALYSIS API

Advanced

— 크레딧 / 성공한 요청

Adds skin color, skin age, issue-region rectangles, and an optional redness map.

  • Skin color and skin age
  • Acne, closed-comedone, mole, and spot rectangles
  • Optional red_area map
View API

SKIN ANALYSIS API

Pro

— 크레딧 / 성공한 요청

Returns rich structured data, detailed regions, optional maps, and side-profile analysis.

  • Detailed metrics and scores
  • Rectangles/polygons and optional maps
  • Side-profile jawline, acne, and pigmentation results
View API

주요 기능 비교

Summary rows and the detailed table below share the same capability data.

좁은 화면에서는 가로로 스크롤하세요
핵심 기능BasicAdvancedPro
Skin Type IV classification
지원

skin_type / details

지원

skin_type / details

지원

skin_type / details

Five-category skin-color classification
확인 필요

Not listed in the current response schema

지원

skin_color.value / confidence

지원

skintone.value / confidence

Skin-age analysis
확인 필요

Not listed in the current response schema

지원

skin_age.value

지원

skin_age

Acne-region localization
확인 필요

Region fields are not listed in the current response schema

지원

Rectangular regions

지원

Rectangles and polygons

Pore and blackhead enhancement map
미지원

The Basic request does not expose map parameters

미지원

Advanced return_maps accepts red_area only

매개변수 필요

Pass return_maps=texture_enhanced_pores,texture_enhanced_blackheads, or texture_enhanced_bw

Redness map
미지원

The Basic request does not expose map parameters

매개변수 필요

Pass return_maps=red_area

매개변수 필요

Pass return_maps=red_area

Pigmentation severity analysis
확인 필요

Not listed in the current response schema

확인 필요

Not listed in the current response schema

지원

melanin fields; maps/outlines require return_maps / return_marks

Wrinkle/fine-line counts and area analysis
확인 필요

Count/area fields are not listed in the current response schema

확인 필요

Count/area fields are not listed in the current response schema

지원

fine_line, wrinkle_count, wrinkle_area_ratio, etc.; coordinates require return_marks

Side-profile jawline analysis
미지원

Basic accepts a front image only

미지원

Advanced accepts a front image only

매개변수 필요

Upload a side-profile image and pass return_side_results=jawline_info

Individual feature scores
확인 필요

Not listed in the current response schema

확인 필요

Not listed in the current response schema

지원

score_info includes feature scores and total_score

지원부분 지원매개변수 필요미지원확인 필요

상세 분석 항목

Expand a category to see the published output fields for each edition. “Needs confirmation” means the available API information cannot establish support or non-support.

01Skin quality3
분석 항목BasicAdvancedPro결과 형식
Skin Type IV classification
지원

skin_type / details

지원

skin_type / details

지원

skin_type / details

Classification and confidence by type
Oil-area detection
확인 필요

Not listed in the current response schema

확인 필요

Not listed in the current response schema

지원

Regional area share, severity, and score; map requires return_maps

Regional area share and oiliness; enhancement map is optional
Moisture testing
확인 필요

Not listed in the current response schema

확인 필요

Not listed in the current response schema

지원

Moisture severity and area share; map requires return_maps

Dehydration severity and regional area share; map is optional
02Skin tone3
분석 항목BasicAdvancedPro결과 형식
Five-category skin-color classification
확인 필요

Not listed in the current response schema

지원

skin_color.value / confidence

지원

skintone.value / confidence

Classification and confidence
ITA skin-color classification
확인 필요

Not listed in the current response schema

확인 필요

Not listed in the current response schema

지원

skintone_ita

ITA angle and category
HA skin-hue classification
확인 필요

Not listed in the current response schema

확인 필요

Not listed in the current response schema

지원

skin_hue_ha

HA angle and hue category
03Pores and blackheads3
분석 항목BasicAdvancedPro결과 형식
Pore detection
지원

Full-face/regional classification and confidence

지원

Regional classification and confidence

지원

Regional values, counts, severity, and score

Classification and confidence; Pro also includes regional counts, severity, and score
Blackhead detection
지원

Presence classification and confidence

지원

Classification and confidence

지원

Count, severity, and score

Classification and confidence; Pro also includes count, severity, and score
Pore and blackhead enhancement map
미지원

The Basic request does not expose map parameters

미지원

Advanced return_maps accepts red_area only

매개변수 필요

Pass return_maps=texture_enhanced_pores,texture_enhanced_blackheads, or texture_enhanced_bw

Base64 image map
04Pigmentation and spots3
분석 항목BasicAdvancedPro결과 형식
Pigmentation/spot detection
부분 지원

Mole/spot presence and confidence

지원

Mole/spot rectangles

지원

Mole/spot rectangles and polygons

Classification; rectangles in Advanced; rectangles and polygons in Pro
Pigmentation severity analysis
확인 필요

Not listed in the current response schema

확인 필요

Not listed in the current response schema

지원

melanin fields; maps/outlines require return_maps / return_marks

Area share, concentration/severity, and score; optional map and outline
Mole detection
지원

mole.value / confidence

지원

mole.rectangle

지원

mole.rectangle / polygon / count

Presence and confidence; Advanced adds rectangles; Pro adds polygons
05Acne4
분석 항목BasicAdvancedPro결과 형식
Acne presence detection
지원

acne.value / confidence

지원

acne.rectangle

지원

Acne types, regions, and counts

Classification and confidence; Advanced/Pro also return region data
Acne-region localization
확인 필요

Region fields are not listed in the current response schema

지원

Rectangular regions

지원

Rectangles and polygons

Rectangles; Pro also includes polygon coordinates
Acne grading
부분 지원

Presence classification only

부분 지원

Region boxes; grading fields need confirmation

지원

Comedone, papule, pustule, nodule types and score

Types/severity, regional results, and score
Closed-comedone detection
확인 필요

Not listed in the current response schema

지원

Rectangular regions

지원

Rectangles, polygons, and counts

Region boxes; Pro also includes polygons and counts
06Sensitivity4
분석 항목BasicAdvancedPro결과 형식
Redness map
미지원

The Basic request does not expose map parameters

매개변수 필요

Pass return_maps=red_area

매개변수 필요

Pass return_maps=red_area

Optional base64 image map
Redness-region localization
확인 필요

Not listed in the current response schema

확인 필요

The schema documents only the red_area map

매개변수 필요

Pass return_marks=sensitivity_mark; sensitivity also requires the red_area map

Region coordinates/outlines; Pro requires annotation request
Sensitive-area size
확인 필요

Not listed in the current response schema

확인 필요

Edition comparison and API schema differ

확인 필요

The current schema does not define an area field

Area or area share
Sensitivity level
확인 필요

Not listed in the current response schema

확인 필요

Edition comparison and API schema differ

매개변수 필요

The sensitivity field requires return_maps=red_area

Severity classification and score
07Aging and wrinkles10
분석 항목BasicAdvancedPro결과 형식
Skin-age analysis
확인 필요

Not listed in the current response schema

지원

skin_age.value

지원

skin_age

Skin-age value
Forehead lines/wrinkles
지원

forehead_wrinkle.value / confidence

지원

Forehead-line field; see response for severity details

지원

Severity, score, count/area, and coordinates

Presence and confidence; Advanced/Pro include severity
Facial lines/nasolabial folds
지원

nasolabial_fold.value / confidence

지원

nasolabial_fold.value / confidence

지원

nasolabial_fold and per-side details

Presence classification; Advanced/Pro include severity details
Crow’s feet
지원

crows_feet.value / confidence

지원

crows_feet.value / confidence

지원

Per-eye severity, scores, and coordinates

Presence and confidence; Pro adds severity and coordinates
Under-eye fine lines
지원

eye_finelines.value / confidence

지원

eye_finelines.value / confidence

지원

Per-eye severity, scores, and coordinates

Presence and confidence; Pro adds severity and coordinates
Mouth-corner lines
확인 필요

Whether this is the same as nasolabial folds needs confirmation

확인 필요

The schema does not distinguish mouth-corner lines

지원

Per-side severity; coordinates require return_marks

Per-side severity; Pro can return coordinates
Glabellar lines
지원

glabella_wrinkle.value / confidence

지원

glabella_wrinkle.value / confidence

지원

Severity, score, and coordinates

Presence and confidence; Pro adds severity and coordinates
Forehead wrinkles
지원

forehead_wrinkle.value / confidence

지원

forehead_wrinkle.value / confidence

지원

forehead_wrinkle_info / severity / score

Classification and confidence; Pro adds depth, area, and coordinates
Cheek wrinkles
확인 필요

Not listed in the current response schema

확인 필요

Not listed in the current response schema

지원

Per-side fields; coordinates require return_marks

Per-side severity, scores, and coordinates
Wrinkle/fine-line counts and area analysis
확인 필요

Count/area fields are not listed in the current response schema

확인 필요

Count/area fields are not listed in the current response schema

지원

fine_line, wrinkle_count, wrinkle_area_ratio, etc.; coordinates require return_marks

Counts, area share, severity, and score; annotation coordinates are optional
08Facial features5
분석 항목BasicAdvancedPro결과 형식
Eyelid type
지원

left/right_eyelids

지원

left/right_eyelids

지원

left/right_eyelids

Per-eye classification and confidence
Eye bags
지원

eye_pouch.value / confidence

지원

eye_pouch.value / confidence

지원

Severity, score, and per-eye regions

Presence classification; Pro adds severity and regions
Dark circles
지원

dark_circle.value / confidence

지원

dark_circle.value / confidence

지원

Type, subtype severity, score; outline requires return_marks

Type and confidence; Pro adds per-eye severity and outlines
Side-profile jawline analysis
미지원

Basic accepts a front image only

미지원

Advanced accepts a front image only

매개변수 필요

Upload a side-profile image and pass return_side_results=jawline_info

Angle, quality status, and landmark coordinates
Apple-cheek coordinates
확인 필요

Not listed in the current response schema

확인 필요

Not listed in the current response schema

매개변수 필요

Pass return_marks=cheekbone_mark

Left/right coordinates
09Image quality and scores6
분석 항목BasicAdvancedPro결과 형식
Face coordinates
지원

face_rectangle

지원

face_rectangle

지원

image_quality.face_rect

Face rectangle or landmark coordinates
Face-size ratio
확인 필요

Not listed in the current response schema

확인 필요

Not listed in the current response schema

지원

image_quality.face_ratio

Face area ratio in the image
Bangs occlusion ratio
확인 필요

Not listed in the current response schema

확인 필요

Not listed in the current response schema

지원

image_quality.hair_occlusion

Occlusion ratio
Face angle
확인 필요

Not listed in the current response schema

확인 필요

Not listed in the current response schema

지원

image_quality.face_orientation

yaw / pitch / roll
Glasses detection
확인 필요

Not listed in the current response schema

확인 필요

Not listed in the current response schema

지원

image_quality.glasses

Wearing status
Individual feature scores
확인 필요

Not listed in the current response schema

확인 필요

Not listed in the current response schema

지원

score_info includes feature scores and total_score

Per-feature scores and total score

크레딧 및 결제

Basic— 크레딧 / 성공한 요청
Advanced— 크레딧 / 성공한 요청
Pro— 크레딧 / 성공한 요청
세 버전은 모두 동기식입니다. 요청 중 크레딧이 보류되고 성공 시 차감되며 실패 시 해제됩니다. 이 값은 요청당 API 크레딧이며 크레딧 패키지 가격이 아닙니다. 각 API 엔드포인트에 설정된 요금이 적용됩니다.

어떤 버전을 선택해야 하나요?

Basic

Get foundational skin-analysis classifications and confidence values.

Advanced

Adds skin color, skin age, issue-region rectangles, and an optional redness map.

Pro

Returns rich structured data, detailed regions, optional maps, and side-profile analysis. For left/right jawline, acne, or pigmentation results, upload the corresponding side image and pass return_side_results=jawline_info.

FAQ

세 버전은 어떻게 다른가요?

Basic은 기본 분류와 신뢰도를 반환합니다. Advanced는 피부색, 피부 나이, 문제 영역 사각형 및 선택적 홍조 맵을 추가합니다. Pro는 더 풍부한 구조화 지표, 개별 점수, 선택적 윤곽/맵 및 측면 결과를 제공합니다. 확인 필요 항목은 지원 또는 미지원 여부가 확인되지 않았습니다.

Advanced와 Pro는 어떻게 다른가요?

Advanced는 피부색, 피부 나이, 문제 영역 사각형 및 red_area 맵에 중점을 둡니다. Pro는 ITA/HA, 영역별 지표와 점수, 선택적 다각형/주석 맵 및 좌우 측면 결과도 정의합니다. 선택적 출력은 문서화된 매개변수로 요청하세요.

측면 사진을 지원하나요?

Pro accepts optional left and right side-profile files. Jawline information requires at least one side image and return_side_results=jawline_info. The current Basic and Advanced request definitions accept only the front image.

시각화 맵을 지원하나요?

Advanced supports only the redness map via return_maps=red_area. Pro supports the documented map values through return_maps; some outlines/annotations use return_marks. Basic has no map parameter.

세 버전 모두 동기식인가요?

Yes. Each request waits for analysis and returns the result in that response. They do not use an async queued-submission-and-polling flow.

실패한 요청도 과금되나요?

Credits are held when analysis is submitted. Successful tasks settle the charge; failed tasks release the hold. Validation errors before task creation do not enter task billing.

Basic으로 시작한 뒤 나중에 업그레이드할 수 있나요?

Yes. Switch to the Advanced or Pro endpoint and update the server integration for its parameters, response structure, and credit cost. Response fields differ by edition, so update your parser accordingly.

엔드포인트 참조

피부 분석 Basic

정면 인물 사진에서 피부 유형, 눈 특징, 주름, 여드름, 모공, 블랙헤드, 점과 잡티 등을 감지하고 분류 및 신뢰도 값을 반환합니다.

— 크레딧 / 성공한 요청API 키 생성
POST/api/developer/v1/skin-analysis-basic

콘텐츠 유형

multipart/form-data

처리 중

동기식 · 분석 결과 반환

Request body · multipart/form-data

Parameter유형필수기본값설명
imagefileYes—Main portrait; JPG/JPEG, up to 2 MB, resolution above 200×200 and below 4096×4096.
전체 multipart/form-data 요청 · 펼치기 / 접기
#!/usr/bin/env bash
set -euo pipefail
: "${SKINCHECK_API_BASE_URL:?Set SKINCHECK_API_BASE_URL}"
: "${SKINCHECK_API_KEY:?Set SKINCHECK_API_KEY}"

response=$(curl --silent --show-error --connect-timeout 10 --max-time 180 \
  --request POST "${SKINCHECK_API_BASE_URL%/}/api/developer/v1/skin-analysis-basic" \
  --header "skincheck-api-key: ${SKINCHECK_API_KEY}" \
  --form "image=@./portrait.jpg;type=image/jpeg")
if ! jq -e '.error_code == "OK" and .code == 0 and .data.status == "succeeded"' <<< "$response" >/dev/null; then
  jq '{error_code, code, msg, data: {task_id: .data.task_id, status: .data.status, error: .data.error}}' <<< "$response" >&2
  exit 1
fi
jq '.data.result.result' <<< "$response"

Set SKINCHECK_API_BASE_URL and SKINCHECK_API_KEY on your server, and replace the image path with a local JPG/JPEG file. The cURL example requires jq, Python requires requests, PHP requires the cURL extension, and Node.js uses built-in fetch / FormData. The 180-second value is a client read-timeout setting, not the server’s maximum processing time. If the client times out, check Developer Center task history before taking further action; do not retry blindly and create a duplicate request.

이미지 요구사항

格式与大小
JPG/JPEG; no more than 2 MB.
分辨率
Both dimensions must be above 200 px and below 4096 px.
人脸尺寸与角度
Recommended face-box side is at least 200 px (160 px calibration minimum); recommended roll, yaw, and pitch are within ±45°.

이미지 업로드 가이드

Choose a clear, complete front-facing photo

합성 일러스트 · API 테스트 결과가 아닙니다

All portraits below are synthetic illustrations showing framing and capture conditions. They do not represent real users or API analysis results. Click an image to enlarge it.

권장 정면 사진

얼굴 전체와 눈, 이목구비가 선명하게 보이도록 카메라를 정면으로 바라보세요. 조명을 고르게 하고 짙은 그림자, 뷰티 필터 및 과도한 보정을 피하세요.

Synthetic illustration, not an API test photo.

Conditions to avoid

Dark areas reduce the visibility of details around the eyes and lines; prefer even, clear lighting.
Move hair away from the eyes and other key facial features before taking the photo.
Keep the full face and features visible; avoid obstruction by hands or other objects.

Basic API 정의에는 안경이 분석에 미치는 영향이 명시되어 있지 않습니다. 반사광이나 주요 부위 가림을 피하기 위한 권고일 뿐이며 실제 영향은 검증되지 않았습니다.

Image dimensions and face-box dimensions

서로 다른 측정값입니다. 이미지 너비와 높이는 업로드 파일을 나타내고 얼굴 상자의 너비와 높이는 이미지 안의 얼굴 영역을 나타냅니다. 그림의 픽셀 값은 설명용입니다.

Full image · file pixel dimensions

너비 × 높이(px). Basic API 문서에서는 JPG/JPEG, 최대 2MB, 너비와 높이가 각각 200px 초과 및 4096px 미만이어야 한다고 명시합니다.

Face box · face region in the image

너비 × 높이(px). 얼굴 상자의 한 변은 200px 이상을 권장하며 문서에 명시된 보정 최소값은 160px입니다. 200px는 권장값이며 파일 크기 제한이 아닙니다.

*Illustrative labels only; they are not measurements of this image or API response values. The face_rectangle origin, units, and coordinate mapping need backend confirmation.

Recommended size

Recommended face-box side ≥200 px · Recommendation

Near calibration minimum

Illustrative range: 160–199 px · 160 px calibration minimum

Face too small

Illustration: below 160 px · Avoid submitting

Face boxes are visual illustrations on synthetic portraits, not pixel measurements. They do not establish that the service rejects requests at a specific face-box size.

Face-angle guide

문서에서는 roll, yaw, pitch를 각각 ±45° 이내로 유지하도록 권장합니다. 서로 다른 머리 자세 축을 나타내므로 혼동하지 마세요.

Facing camera
Head tilts toward one shoulder; recommended within ±45°.
Head turns left or right; recommended within ±45°.
Head tilts up or down; recommended within ±45°.

Angle portraits illustrate the difference between roll, yaw, and pitch; they are not calibrated test images at exactly ±45°.

The response waits for analysis and returns result inline. — credits are charged on success; task_id is for history and follow-up recommendations.

분석이 완료될 때까지 연결이 유지됩니다. 클라이언트 읽기 타임아웃을 적절히 설정하세요. 타임아웃이 발생하면 중복 제출을 방지하기 위해 다시 시도하기 전에 Developer Center 작업 기록을 확인하세요.

Synchronous response fields

A successful Basic request returns the standard envelope and the full underlying result synchronously. Paths reflect the actual nesting: data.result is the raw underlying response, and data.result.result contains the skin-analysis fields. The success example does not use the async queued state.

Back to request
The sample values 0, 0.89, 1, empty strings, and empty arrays illustrate structure only. They are not analysis findings, thresholds, or accuracy claims. The current API reference does not fully define the codes in each detection value; this page does not infer them.

Envelope and task fields

JSONPath카테고리유형Availability / requiredness설명예시
$.error_codeStandard envelopestring현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Business error code in the standard envelope; OK in the success example. Distinct from underlying data.result.error_detail.code.OK
$.codeStandard envelopeinteger현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Standard response envelope code; 0 in the success example.0
$.msgStandard envelopestring현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Standard response envelope message; empty in the success example.""
$.hasnextStandard envelopeinteger현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Pagination flag in the standard response envelope; 0 in this synchronous success example.0
$.lastidStandard envelopestring | integer현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Cursor in the standard response envelope; empty in this synchronous success example.""
$.dataRequest info and statusobject현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Container for task metadata and synchronous result.{ ... }
$.data.task_idRequest info and statusstring현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Task ID associated with this synchronous analysis, used for Developer Center history and follow-up recommendation flows; the Basic result is already returned in this response."TASK_UUID"
$.data.productRequest info and statusstring현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Product identifier; skin_analysis_basic in the Basic example."skin_analysis_basic"
$.data.statusRequest info and statusstring현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Final status for a synchronous task: succeeded or failed; the success example is succeeded."succeeded"
$.data.created_atRequest info and statusinteger현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Task creation time; sample uses Unix seconds.1793840400
$.data.completed_atRequest info and statusinteger | null현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Task completion time; the success sample uses Unix seconds.1793840460
$.data.expires_atRequest info and statusinteger | null현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Result expiration time; successful results return a timestamp under the current retention policy, while failed tasks may be null.1793926860
$.data.resultRequest info and statusobject현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Preserves the complete raw response from the underlying service for synchronous analysis.{ ... }
$.data.result.request_idRequest info and statusstring현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Request identifier from the underlying analysis service; empty in the sample.""
$.data.result.log_idRequest info and statusstring현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Log identifier from the underlying analysis service; empty in the sample.""
$.data.result.error_detailErrors and warningsobject현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Underlying-service error details; separate from top-level error_code / code / msg.{"code":"","code_message":"","message":""}
$.data.result.error_detail.codeErrors and warningsstring현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Underlying error-detail code; empty in the success sample, with enums defined by the underlying service.""
$.data.result.error_detail.code_messageErrors and warningsstring현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Description of the underlying error code; empty in the success sample.""
$.data.result.error_detail.messageErrors and warningsstring현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Underlying error-detail message; empty in the success sample.""
$.data.result.warningErrors and warningsarray현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Underlying-service warning array; empty in the current success sample. Item schema and warning-code meanings are not defined in the Basic docs.[]
$.data.result.face_rectangleFace locationobject현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Face rectangle; coordinate origin, units, and mapping to the uploaded image need backend confirmation.{"top":0,"left":0,"width":0,"height":0}
$.data.result.face_rectangle.topFace locationnumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Rectangle position field; origin and units need backend confirmation.0
$.data.result.face_rectangle.leftFace locationnumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Rectangle position field; axis direction, origin, and units need backend confirmation.0
$.data.result.face_rectangle.widthFace locationnumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Face-rectangle width; units need backend confirmation.0
$.data.result.face_rectangle.heightFace locationnumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Face-rectangle height; units need backend confirmation.0
$.data.result.resultAnalysis result fieldsobject현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Container for skin-analysis fields; contains the 19 direct fields listed below.19 fields; see full JSON
$.data.error.codeErrors and warningsstringFailed tasks only; requiredness within failures is unconfirmedPresent only when task status is failed; use the code returned by the failure response.as returned by the failure response

Underlying result fields · data.result.result

Includes every analysis field in the Basic response sample. Search matches field names, paths, child fields, and descriptions.

JSONPath카테고리Type / children필수설명예시복사
$.data.result.result.left_eyelidsEye featuresobject

value, confidence

Present in current success sample; requiredness across all successes is unconfirmedField name is left_eyelids; the value enum and the reference for “left” are not defined in the current docs.{"value":0,"confidence":0.89}
$.data.result.result.right_eyelidsEye featuresobject

value, confidence

Present in current success sample; requiredness across all successes is unconfirmedField name is right_eyelids; the value enum and the reference for “right” are not defined in the current docs.{"value":0,"confidence":0.89}
$.data.result.result.eye_pouchEye featuresobject

value, confidence

Present in current success sample; requiredness across all successes is unconfirmedEye-pouch detection; value and confidence ranges are not defined in the current docs.{"value":0,"confidence":0.89}
$.data.result.result.dark_circleEye featuresobject

value, confidence

Present in current success sample; requiredness across all successes is unconfirmedDark-circle detection; value and confidence ranges are not defined in the current docs.{"value":0,"confidence":0.89}
$.data.result.result.forehead_wrinkleWrinklesobject

value, confidence

Present in current success sample; requiredness across all successes is unconfirmedForehead-wrinkle detection; its enum mapping is not defined in the current docs.{"value":0,"confidence":0.89}
$.data.result.result.crows_feetWrinklesobject

value, confidence

Present in current success sample; requiredness across all successes is unconfirmedCrow’s-feet detection; its enum mapping is not defined in the current docs.{"value":0,"confidence":0.89}
$.data.result.result.eye_finelinesWrinklesobject

value, confidence

Present in current success sample; requiredness across all successes is unconfirmedEye fine-line detection; its enum mapping is not defined in the current docs.{"value":0,"confidence":0.89}
$.data.result.result.glabella_wrinkleWrinklesobject

value, confidence

Present in current success sample; requiredness across all successes is unconfirmedGlabellar-wrinkle detection; its enum mapping is not defined in the current docs.{"value":0,"confidence":0.89}
$.data.result.result.nasolabial_foldWrinklesobject

value, confidence

Present in current success sample; requiredness across all successes is unconfirmedNasolabial-fold detection; its enum mapping is not defined in the current docs.{"value":0,"confidence":0.89}
$.data.result.result.skin_typeSkin typeobject

skin_type, details.0–3.value, details.0–3.confidence

Present in current success sample; requiredness across all successes is unconfirmedSkin-type object containing skin_type and details. The current Basic API documentation does not define the meaning of codes 0–3; do not map them to skin-type names. Each details item 0–3 contains value / confidence, but item meanings also need confirmation.{"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}}}
$.data.result.result.poresPoresobject

value, confidence

Present in current success sample; requiredness across all successes is unconfirmedFull-face pore detection.{"value":0,"confidence":1}
$.data.result.result.pores_foreheadPoresobject

value, confidence

Present in current success sample; requiredness across all successes is unconfirmedForehead pore detection.{"value":0,"confidence":1}
$.data.result.result.pores_left_cheekPoresobject

value, confidence

Present in current success sample; requiredness across all successes is unconfirmedLeft-cheek pore detection.{"value":0,"confidence":1}
$.data.result.result.pores_right_cheekPoresobject

value, confidence

Present in current success sample; requiredness across all successes is unconfirmedRight-cheek pore detection.{"value":0,"confidence":1}
$.data.result.result.pores_jawPoresobject

value, confidence

Present in current success sample; requiredness across all successes is unconfirmedJaw-area pore detection.{"value":0,"confidence":1}
$.data.result.result.blackheadSkin concernsobject

value, confidence

Present in current success sample; requiredness across all successes is unconfirmedBlackhead detection.{"value":0,"confidence":1}
$.data.result.result.acneSkin concernsobject

value, confidence

Present in current success sample; requiredness across all successes is unconfirmedAcne detection.{"value":0,"confidence":1}
$.data.result.result.moleSkin concernsobject

value, confidence

Present in current success sample; requiredness across all successes is unconfirmedMole detection.{"value":0,"confidence":1}
$.data.result.result.skin_spotSkin concernsobject

value, confidence

Present in current success sample; requiredness across all successes is unconfirmedSkin-spot detection.{"value":0,"confidence":1}
Expand complete paths for child fields (46)
JSONPath유형Availability설명예시복사
$.data.result.result.left_eyelids.valuenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Raw detection value returned by the underlying service. The current API reference does not define its enum, range, or meaning, so no business interpretation is inferred.0
$.data.result.result.left_eyelids.confidencenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Confidence field returned by the underlying service; the sample is numeric. Its range, interpretation, and whether all detections use the same rule are unconfirmed.0.89
$.data.result.result.right_eyelids.valuenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Raw detection value returned by the underlying service. The current API reference does not define its enum, range, or meaning, so no business interpretation is inferred.0
$.data.result.result.right_eyelids.confidencenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Confidence field returned by the underlying service; the sample is numeric. Its range, interpretation, and whether all detections use the same rule are unconfirmed.0.89
$.data.result.result.eye_pouch.valuenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Raw detection value returned by the underlying service. The current API reference does not define its enum, range, or meaning, so no business interpretation is inferred.0
$.data.result.result.eye_pouch.confidencenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Confidence field returned by the underlying service; the sample is numeric. Its range, interpretation, and whether all detections use the same rule are unconfirmed.0.89
$.data.result.result.dark_circle.valuenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Raw detection value returned by the underlying service. The current API reference does not define its enum, range, or meaning, so no business interpretation is inferred.0
$.data.result.result.dark_circle.confidencenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Confidence field returned by the underlying service; the sample is numeric. Its range, interpretation, and whether all detections use the same rule are unconfirmed.0.89
$.data.result.result.forehead_wrinkle.valuenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Raw detection value returned by the underlying service. The current API reference does not define its enum, range, or meaning, so no business interpretation is inferred.0
$.data.result.result.forehead_wrinkle.confidencenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Confidence field returned by the underlying service; the sample is numeric. Its range, interpretation, and whether all detections use the same rule are unconfirmed.0.89
$.data.result.result.crows_feet.valuenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Raw detection value returned by the underlying service. The current API reference does not define its enum, range, or meaning, so no business interpretation is inferred.0
$.data.result.result.crows_feet.confidencenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Confidence field returned by the underlying service; the sample is numeric. Its range, interpretation, and whether all detections use the same rule are unconfirmed.0.89
$.data.result.result.eye_finelines.valuenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Raw detection value returned by the underlying service. The current API reference does not define its enum, range, or meaning, so no business interpretation is inferred.0
$.data.result.result.eye_finelines.confidencenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Confidence field returned by the underlying service; the sample is numeric. Its range, interpretation, and whether all detections use the same rule are unconfirmed.0.89
$.data.result.result.glabella_wrinkle.valuenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Raw detection value returned by the underlying service. The current API reference does not define its enum, range, or meaning, so no business interpretation is inferred.0
$.data.result.result.glabella_wrinkle.confidencenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Confidence field returned by the underlying service; the sample is numeric. Its range, interpretation, and whether all detections use the same rule are unconfirmed.0.89
$.data.result.result.nasolabial_fold.valuenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Raw detection value returned by the underlying service. The current API reference does not define its enum, range, or meaning, so no business interpretation is inferred.0
$.data.result.result.nasolabial_fold.confidencenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Confidence field returned by the underlying service; the sample is numeric. Its range, interpretation, and whether all detections use the same rule are unconfirmed.0.89
$.data.result.result.skin_type.skin_typenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Skin-type classification code; the mapping for 0–3 is not defined in the current API reference.0
$.data.result.result.skin_type.detailsobject현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Detail object with string keys 0, 1, 2, and 3. Each item contains value and confidence; the meaning of each item is unconfirmed.{"0":{"value":1,"confidence":0.89},"1":{"value":1,"confidence":0.89},"2":{"value":1,"confidence":0.89},"3":{"value":1,"confidence":0.89}}
$.data.result.result.skin_type.details['0'].valuenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Raw value for details key 0; item meaning and value encoding need confirmation.1
$.data.result.result.skin_type.details['0'].confidencenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Confidence for details key 0; its range, interpretation, and relationship to other detection rules need confirmation.0.89
$.data.result.result.skin_type.details['1'].valuenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Raw value for details key 1; item meaning and value encoding need confirmation.1
$.data.result.result.skin_type.details['1'].confidencenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Confidence for details key 1; its range, interpretation, and relationship to other detection rules need confirmation.0.89
$.data.result.result.skin_type.details['2'].valuenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Raw value for details key 2; item meaning and value encoding need confirmation.1
$.data.result.result.skin_type.details['2'].confidencenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Confidence for details key 2; its range, interpretation, and relationship to other detection rules need confirmation.0.89
$.data.result.result.skin_type.details['3'].valuenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Raw value for details key 3; item meaning and value encoding need confirmation.1
$.data.result.result.skin_type.details['3'].confidencenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Confidence for details key 3; its range, interpretation, and relationship to other detection rules need confirmation.0.89
$.data.result.result.pores.valuenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Raw detection value returned by the underlying service. The current API reference does not define its enum, range, or meaning, so no business interpretation is inferred.0
$.data.result.result.pores.confidencenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Confidence field returned by the underlying service; the sample is numeric. Its range, interpretation, and whether all detections use the same rule are unconfirmed.1
$.data.result.result.pores_forehead.valuenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Raw detection value returned by the underlying service. The current API reference does not define its enum, range, or meaning, so no business interpretation is inferred.0
$.data.result.result.pores_forehead.confidencenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Confidence field returned by the underlying service; the sample is numeric. Its range, interpretation, and whether all detections use the same rule are unconfirmed.1
$.data.result.result.pores_left_cheek.valuenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Raw detection value returned by the underlying service. The current API reference does not define its enum, range, or meaning, so no business interpretation is inferred.0
$.data.result.result.pores_left_cheek.confidencenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Confidence field returned by the underlying service; the sample is numeric. Its range, interpretation, and whether all detections use the same rule are unconfirmed.1
$.data.result.result.pores_right_cheek.valuenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Raw detection value returned by the underlying service. The current API reference does not define its enum, range, or meaning, so no business interpretation is inferred.0
$.data.result.result.pores_right_cheek.confidencenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Confidence field returned by the underlying service; the sample is numeric. Its range, interpretation, and whether all detections use the same rule are unconfirmed.1
$.data.result.result.pores_jaw.valuenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Raw detection value returned by the underlying service. The current API reference does not define its enum, range, or meaning, so no business interpretation is inferred.0
$.data.result.result.pores_jaw.confidencenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Confidence field returned by the underlying service; the sample is numeric. Its range, interpretation, and whether all detections use the same rule are unconfirmed.1
$.data.result.result.blackhead.valuenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Raw detection value returned by the underlying service. The current API reference does not define its enum, range, or meaning, so no business interpretation is inferred.0
$.data.result.result.blackhead.confidencenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Confidence field returned by the underlying service; the sample is numeric. Its range, interpretation, and whether all detections use the same rule are unconfirmed.1
$.data.result.result.acne.valuenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Raw detection value returned by the underlying service. The current API reference does not define its enum, range, or meaning, so no business interpretation is inferred.0
$.data.result.result.acne.confidencenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Confidence field returned by the underlying service; the sample is numeric. Its range, interpretation, and whether all detections use the same rule are unconfirmed.1
$.data.result.result.mole.valuenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Raw detection value returned by the underlying service. The current API reference does not define its enum, range, or meaning, so no business interpretation is inferred.0
$.data.result.result.mole.confidencenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Confidence field returned by the underlying service; the sample is numeric. Its range, interpretation, and whether all detections use the same rule are unconfirmed.1
$.data.result.result.skin_spot.valuenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Raw detection value returned by the underlying service. The current API reference does not define its enum, range, or meaning, so no business interpretation is inferred.0
$.data.result.result.skin_spot.confidencenumber현재 성공 샘플에 포함됨; 필수 여부는 확인되지 않음Confidence field returned by the underlying service; the sample is numeric. Its range, interpretation, and whether all detections use the same rule are unconfirmed.1

Needs backend confirmation: meanings of skin_type and details.0–3; face_rectangle origin, units, and image-coordinate mapping; warning item schema and definitions such as improper_headpose.

Expand / collapse JSON
{
  "error_code": "OK",
  "code": 0,
  "msg": "",
  "data": {
    "task_id": "TASK_UUID",
    "product": "skin_analysis_basic",
    "status": "succeeded",
    "result": {
      "request_id": "",
      "log_id": "",
      "error_detail": {
        "code": "",
        "code_message": "",
        "message": ""
      },
      "warning": [],
      "face_rectangle": {
        "top": 0,
        "left": 0,
        "width": 0,
        "height": 0
      },
      "result": "{19 analysis fields; select “Full JSON” to expand}"
    }
  }
}
전체 JSON 다운로드The download always contains every field in the successful response sample.

Error responses use the standard top-level envelope (error_code, code, msg, data). Do not confuse underlying data.result.error_detail with top-level error fields. Sample timestamps are illustrative.

엔드포인트 참조

피부 분석 Advanced

Advanced는 제품 화면에서 활용할 수 있는 구조화된 피부 분석 데이터를 반환합니다. 피부색, 피부 나이, 감지 분류 외에 여드름, 폐쇄면포, 점, 잡티의 영역 사각형이 포함될 수 있습니다. 요청 옵션으로 품질 검사, 영역 신뢰도, 홍조 맵을 제어합니다.

— 크레딧 / 성공한 요청API 키 생성
POST/api/developer/v1/skin-analysis-advanced

콘텐츠 유형

multipart/form-data

처리 중

동기식 · 분석 결과 반환

Request body · multipart/form-data

Parameter유형필수기본값설명
imagefileYes—정면 메인 이미지. JPG/JPEG, 최대 5MB, 해상도 200×200 초과 및 4096×4096 미만.
face_quality_controlintegerNo未传时不在 API 层注入值0: 얼굴 품질 검사를 건너뜀, 1: 활성화. 생략 시 API 계층은 값을 자동으로 설정하지 않습니다. 검사 실패 시 HTTP 상태, 비즈니스 코드 및 응답 구조는 실제 백엔드 응답으로 확인해야 합니다.
return_rect_confidenceintegerNo未传时不在 API 层注入值0: 영역 신뢰도를 요청하지 않음, 1: 요청함. 생략 시 API 계층은 값을 자동으로 설정하지 않습니다. 현재 Advanced 응답 샘플에는 반환 필드가 없습니다. JSON 경로, 범위 및 미감지 동작은 실제 응답으로 확인해야 합니다.
return_mapsstringNo未传时不在 API 层注入值현재 red_area만 허용합니다. 생략 시 API 계층은 값을 자동으로 설정하지 않습니다. 문서 경로는 data.result.result.face_maps.red_area이지만 현재 응답 샘플에는 없습니다. Base64 접두사, 인코딩, MIME 유형, 크기 및 좌표 매핑은 실제 응답으로 확인해야 합니다.

Parameter combinations and request / response mapping

Choose a combination to see a complete multipart request in four languages. Unselected options are omitted; no default values are assumed.

Structure example · not a live test

Observe the endpoint behavior when optional fields are omitted.

전체 multipart/form-data 요청 · 펼치기 / 접기
#!/usr/bin/env bash
set -euo pipefail
: "${SKINCHECK_API_BASE_URL:?Set SKINCHECK_API_BASE_URL}"
: "${SKINCHECK_API_KEY:?Set SKINCHECK_API_KEY}"

http_status=$(curl --silent --show-error --connect-timeout 10 --max-time 180 \
  --output response.json --write-out '%{http_code}' \
  --request POST "${SKINCHECK_API_BASE_URL%/}/api/developer/v1/skin-analysis-advanced" \
  --header "skincheck-api-key: ${SKINCHECK_API_KEY}" \
  --form 'image=@./portrait.jpg;type=image/jpeg' \
  )
if [[ "$http_status" -lt 200 || "$http_status" -ge 300 ]] || ! jq -e '.error_code == "OK" and .code == 0 and .data.status == "succeeded"' response.json >/dev/null; then
  jq '{error_code, code, msg, data: {status: .data.status, error_detail: .data.result.error_detail, error: .data.error}}' response.json >&2 || cat response.json >&2
  exit 1
fi
jq '.data.result.result' response.json
ScenarioFields sentResponse path / what to inspect
A · Image onlyimagedata.result.result; defaults for omitted options are determined by the upstream service.
B · Enable face-quality controlimage · face_quality_controlRead data.result.result on success; failure code and shape need confirmation.
C · Region confidence + redness mapimage · return_rect_confidence · return_mapsRectangle paths appear in the sample; confidence paths and face_maps.red_area encoding need confirmation.
D · All optional parametersimage · face_quality_control · return_rect_confidence · return_mapsSame paths as individual options; compare actual response changes without assuming every field will appear.

All examples read credentials from SKINCHECK_API_KEY and SKINCHECK_API_BASE_URL. cURL, Python, PHP, and Node.js check HTTP and the standard response envelope, then read data.result.result on success.

이미지 요구사항

格式与大小
JPG/JPEG; no more than 5 MB.
分辨率
Both dimensions must be above 200 px and below 4096 px.
人脸尺寸与质量
Recommended face-box side is above 400 px. Avoid occlusion, blur, overexposure, low light, and backlight; recommended yaw ≤ ±30° and pitch ≤ ±40°.

이미지 품질 가이드

유용한 구조화 결과를 위한 이미지 준비

합성 일러스트 · API 테스트 결과가 아닙니다

아래 인물 사진은 동일한 가상의 성인 서양 여성을 합성한 일러스트입니다. 촬영 품질을 설명하며 실제 인물, API 테스트 또는 분석 결과를 나타내지 않습니다. 이미지를 클릭하면 확대됩니다.

Recommended front portrait

Face the camera with a full face and clear features. Use even lighting and avoid strong shadows, beauty filters, or heavy retouching.

Use a clear original as the upload; see the request table for enforced file limits.

Image dimensions and face size

Image width and height describe the uploaded file. Face-box width and height describe the face region inside it; these measurements are separate.

Full image: width × height (px)Face box: width × height (px)640 px* (示意 / illustrative)

API 제한
JPG/JPEG, 5MB 이하, 너비와 높이 각각 200px 초과 및 4096px 미만.

Face-box recommendation
한 변이 400px를 초과하도록 권장합니다. 이는 안내이며 확인된 API 제한은 아닙니다.

얼굴이 작으면 보이는 세부 정보가 줄어듭니다. 이 일러스트는 API 임계값을 정의하지 않습니다.
Move closer while keeping the full face and head in frame.

조명 비교

노출 부족은 세부 정보를 가리고 과다 노출은 피부 질감을 흐리며 역광은 얼굴을 그림자에 둡니다. 고른 조명은 보이는 세부 정보를 유지하는 데 도움이 됩니다. 성공률을 주장하지 않습니다.

Recommended · Even light
Avoid · Low light
Texture contrast is reduced in highlights.
Facial shadows obscure local features.

가림 상태 비교

눈을 가리는 머리카락과 얼굴 특징을 가리는 손이나 물체를 피하세요. Advanced API 문서는 안경의 영향을 확정하지 않았습니다. 검증 전까지 반사를 피하는 예방 조치로 안내합니다.

Avoid · Hair over eyes
Avoid · Object occlusion

Face angle

Yaw는 머리의 좌우 회전(권장 ≤±30°), Pitch는 위아래 기울기(권장 ≤±40°)입니다. 서로 다른 축입니다.

Front reference
yaw · Left/right turn
pitch · Up/down tilt

이미지 출처: 이 프로젝트를 위해 합성 생성한 가상의 성인 서양인 초상이며 교육용 일러스트로 표시했습니다. 실제 사용자 초상이나 API 테스트 결과가 아닙니다.

The response waits for analysis and returns result inline. — credits are charged on success; task_id is for history and follow-up recommendations.

분석이 완료될 때까지 연결이 유지됩니다. 클라이언트 읽기 타임아웃을 적절히 설정하세요. 타임아웃이 발생하면 중복 제출을 방지하기 위해 다시 시도하기 전에 Developer Center 작업 기록을 확인하세요.

Advanced synchronous response fields

The Developer API wraps the result in the standard data task envelope; the upstream Advanced JSON is preserved under data.result. The table follows the current repository sample and marks conditional outputs and unresolved details explicitly.

Schema boundary: the current Advanced JSON sample contains neither confidence fields for return_rect_confidence nor face_maps.red_area. This page does not invent unknown fields, image formats, or analysis output.

GroupJSON Path유형MeaningCondition
응답 래퍼error_codestringBusiness error code; the success sample is OK.始终返回 / Always present
응답 래퍼codeintegerGeneral response code; the success sample is 0.始终返回 / Always present
응답 래퍼msgstringResponse message.始终返回 / Always present
응답 래퍼hasnextintegerPagination marker; the synchronous sample is 0.始终返回 / Always present
응답 래퍼lastidstringPagination cursor; the synchronous sample is an empty string.始终返回 / Always present
Task metadatadataobjectSynchronous task metadata, status, and analysis result.始终返回 / Always present
Task metadatadata.task_idstringAnalysis task ID.始终返回 / Always present
Task metadatadata.productstringProduct identifier; Advanced is skin_analysis_advanced.始终返回 / Always present
Task metadatadata.statusstringSynchronous result status; succeeded on success and failed on failure.始终返回 / Always present
Task metadatadata.created_atnumberTask creation time (Unix seconds).始终返回 / Always present
Task metadatadata.completed_atnumber | nullAnalysis completion time (Unix seconds).响应可能为 null / May be null
Task metadatadata.expires_atnumber | nullResult expiry metadata (Unix seconds).响应可能为 null / May be null
Upstream responsedata.resultobjectThe original JSON result from the underlying Advanced service.成功时 / On success
Upstream responsedata.result.request_idstringUpstream request ID.当前结构样例 / In current sample
Upstream responsedata.result.log_idstringUpstream log ID.当前结构样例 / In current sample
Errors and warningsdata.result.error_detailobjectUpstream error detail with code, code_message, and message; distinct from top-level error_code.当前结构样例 / In current sample
Errors and warningsdata.result.warningarrayUpstream warnings; empty in the current sample.可能为空 / May be empty
Face localizationdata.result.face_rectangleobjectFace box with top, left, width, and height; origin, units, and boundary rules need backend confirmation.当前结构样例 / In current sample
Skin color and agedata.result.result.skin_colorobjectSkin-color detection object with value and confidence.当前结构样例 / In current sample
Skin color and agedata.result.result.skin_age.valuenumberSkin-age result; units and classification are not defined in the current sample.当前结构样例 / In current sample
Eye featuresdata.result.result.left_eyelids / right_eyelidsobjectLeft and right eyelid types and confidence.当前结构样例 / In current sample
Eye featuresdata.result.result.eye_pouch / dark_circleobjectEye-pouch and dark-circle values and confidence.当前结构样例 / In current sample
Wrinklesdata.result.result.forehead_wrinkle / crows_feet / eye_finelines / glabella_wrinkle / nasolabial_foldobjectForehead wrinkles, crow’s feet, eye fine lines, glabellar lines, and nasolabial folds; the sample contains value and confidence.当前结构样例 / In current sample
Skin type and poresdata.result.result.skin_type.skin_typeintegerSkin-type classification code; the current response sample does not define the code mapping.当前结构样例 / In current sample
Skin type and poresdata.result.result.skin_type.details.*.value / confidenceobjectEach indexed detail has value and confidence; the meaning of each index needs confirmation.当前结构样例 / In current sample
Skin type and poresdata.result.result.pores_forehead / pores_left_cheek / pores_right_cheek / pores_jaw / blackheadobjectRegional pore and blackhead values and confidence.当前结构样例 / In current sample
Issue regionsdata.result.result.acne.rectangle[]array<object>Acne detection rectangle array; each entry contains top, left, width, and height.当前结构样例 / In current sample
Issue regionsdata.result.result.closed_comedones.rectangle[]array<object>Closed-comedone rectangle array; each entry contains top, left, width, and height.当前结构样例 / In current sample
Issue regionsdata.result.result.mole.rectangle[]array<object>Mole rectangle array; each entry contains top, left, width, and height.当前结构样例 / In current sample
Issue regionsdata.result.result.skin_spot.rectangle[]array<object>Skin-spot rectangle array; each entry contains top, left, width, and height.当前结构样例 / In current sample
Parameter-dependent outputdata.result.result.*.confidence (for rectangles)not confirmedThe current Advanced sample does not show this field for return_rect_confidence=1; paths, range, and empty-result behavior need confirmation from a real response.待真实响应 / Awaiting real response
Parameter-dependent outputdata.result.result.face_maps.red_areaBase64 image (documented)Documented as conditional on return_maps=red_area; absent from the current sample. Encoding and Data URL prefix are not confirmed.条件返回 / Conditional
Expand complete synchronous response JSON
Advanced success response shape (illustrative)
{
  "error_code": "OK",
  "code": 0,
  "msg": "",
  "hasnext": 0,
  "lastid": "",
  "data": {
    "task_id": "TASK_UUID",
    "product": "skin_analysis_advanced",
    "status": "succeeded",
    "created_at": 1793840400,
    "completed_at": 1793840460,
    "expires_at": 1793926860,
    "result": {
      "request_id": "",
      "log_id": "",
      "error_detail": {
        "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
            }
          ]
        }
      }
    }
  }
}

Values illustrate field shape only and are not analysis results. Rectangle values and timestamps are not from a live API test.

REGION COORDINATE GUIDE

Map structured region results into your interface

The Advanced sample contains rectangle arrays for acne, closed_comedones, mole, and skin_spot; each entry has top, left, width, and height. These values can drive local callouts, filtering, or region detail views. The backend has not confirmed origin, units, normalization, or boundary rules, so the diagram explains the fields without overlaying fabricated detections on a portrait.

topleftwidthheightCoordinate reference must follow backend field definition

Not to scale. It does not establish a top-left origin or pixel units.

data.result.result.acne.rectangle[]

{
  "width": 3,
  "top": 17,
  "height": 1,
  "left": 35
}

Rectangle values reproduce the repository’s structural sample, not a real detection. Confirm coordinate conversion before integration.

Canvas multi-region drawing template (coordinate transform must be confirmed)
JavaScript Canvas
// The API coordinate mapping must be confirmed before drawing.
// Supply a transform that converts an API rectangle to source-image pixels.
function drawRectangles(ctx, rectanglesByType, imageSize, canvasSize, toImagePixels) {
  if (typeof toImagePixels !== "function") {
    throw new Error("Confirm coordinate units and origin before drawing");
  }
  const scaleX = canvasSize.width / imageSize.width;
  const scaleY = canvasSize.height / imageSize.height;
  const colors = { acne: "#d94841", closed_comedones: "#a14fc2", mole: "#2d79c7", skin_spot: "#bd7b20" };
  ctx.clearRect(0, 0, canvasSize.width, canvasSize.height);
  for (const [type, rectangles] of Object.entries(rectanglesByType)) {
    ctx.strokeStyle = colors[type] || "#263b37";
    ctx.lineWidth = 2;
    for (const rectangle of rectangles || []) {
      const box = toImagePixels(rectangle, imageSize);
      if (!box) continue;
      ctx.strokeRect(box.left * scaleX, box.top * scaleY, box.width * scaleX, box.height * scaleY);
    }
  }
}

The template scales from the image naturalWidth/naturalHeight to canvas size. The integrator must implement toImagePixels from the confirmed backend units, origin, and boundary rules. Without that mapping, drawing stops.

Redness map · Base64 output

After requesting return_maps=red_area, the documented path is data.result.result.face_maps.red_area. The current Advanced response sample has no map field, so this page does not show a fabricated map or overlay.

No verifiable red_area sample yet

A real response is required to confirm encoding, dimensions, transparency, and alignment with the source image.

Browser: validate, detect format, preview / download
function showRedArea(data, imageElement, onStatus) {
  const raw = data?.result?.result?.face_maps?.red_area;
  if (typeof raw !== "string" || !raw.trim()) {
    onStatus("No red_area was returned; check return_maps=red_area.");
    return () => {};
  }
  try {
    const match = raw.trim().match(/^data:([^;,]+)?;base64,(.+)$/s);
    const base64 = match ? match[2] : raw.trim();
    const bytes = Uint8Array.from(atob(base64), char => char.charCodeAt(0));
    const starts = (...signature) => signature.every((byte, index) => bytes[index] === byte);
    const mime = match?.[1] || (starts(0xff, 0xd8, 0xff) ? "image/jpeg"
      : starts(0x89, 0x50, 0x4e, 0x47) ? "image/png"
      : String.fromCharCode(...bytes.slice(0, 4)) === "RIFF" && String.fromCharCode(...bytes.slice(8, 12)) === "WEBP" ? "image/webp" : "");
    if (!mime) throw new Error("Unsupported or unknown image encoding");
    const url = URL.createObjectURL(new Blob([bytes], { type: mime }));
    imageElement.src = url;
    imageElement.onerror = () => { URL.revokeObjectURL(url); onStatus("Map image could not be decoded."); };
    imageElement.onload = () => onStatus("Map loaded; confirm image dimensions and alignment before overlay.");
    return () => URL.revokeObjectURL(url);
  } catch (error) {
    onStatus(error.message || "Invalid Base64 image data.");
    return () => {};
  }
}
Node.js: decode and save using detected format
import { writeFile } from "node:fs/promises";

function decodeImage(base64Value) {
  const match = base64Value.trim().match(/^data:([^;,]+)?;base64,(.+)$/s);
  const encoded = match ? match[2] : base64Value.trim();
  const bytes = Buffer.from(encoded, "base64");
  const mime = match?.[1]
    || (bytes[0] === 0xff && bytes[1] === 0xd8 && bytes[2] === 0xff ? "image/jpeg"
    : bytes.subarray(0, 4).toString() === "RIFF" && bytes.subarray(8, 12).toString() === "WEBP" ? "image/webp"
    : bytes.subarray(0, 4).equals(Buffer.from([0x89, 0x50, 0x4e, 0x47])) ? "image/png" : null);
  if (!mime || !bytes.length) throw new Error("Empty or unsupported image data");
  const ext = { "image/jpeg": "jpg", "image/png": "png", "image/webp": "webp" }[mime];
  if (!ext) throw new Error("Unsupported MIME type: " + mime);
  return { bytes, mime, ext };
}

const value = response.data?.result?.result?.face_maps?.red_area;
if (!value) throw new Error("red_area missing; request return_maps=red_area");
const { bytes, ext } = decodeImage(value);
await writeFile("red-area." + ext, bytes);

The snippets accept bare Base64 and Data URL input and identify JPEG/PNG/WebP from byte signatures; they do not assume the service returns a particular format. Successful decoding does not prove alignment or matching dimensions; inspect naturalWidth/naturalHeight before overlaying.

엔드포인트 참조

피부 분석 Pro

구조화된 피부 분석 데이터를 동기식으로 반환합니다. 맵, 영역 주석, 점수, 좌우 측면 결과를 선택적으로 요청해 제품 내 분석 보고서를 만들 수 있습니다. 성공 결과는 작업 기록에도 저장됩니다.

— 크레딧 / 성공한 요청API 키 생성

Pro 전체 보고서 예시 보기

Explore the complete report: overview, analysis visuals, and care plan.

보고서 예시 보기
POST/api/developer/v1/skin-analysis-pro

콘텐츠 유형

multipart/form-data

처리 중

동기식 · 분석 결과 반환

Request body · multipart/form-data

Parameter유형필수기본값설명
imagefileYes无(必填)정면 메인 이미지 파일. JPEG/JPG, 최대 8MB, 해상도 200×200 초과 및 4096×4096 미만.
left_side_imagefileNo未提供时不分析左侧脸선택적 왼쪽 측면 이미지 파일. JPEG/JPG, 최대 8MB.
right_side_imagefileNo未提供时不分析右侧脸선택적 오른쪽 측면 이미지 파일. JPEG/JPG, 최대 8MB.
return_mapsstringNo未传时不请求额外图层Comma-separated. Options: red_area, brown_area, texture_enhanced_pores, texture_enhanced_blackheads, texture_enhanced_oily_area, texture_enhanced_lines, water_area, rough_area, roi_outline_map, texture_enhanced_bw, right_roi_outline_map, left_roi_outline_map. Requests visual maps returned as base64 values in face_maps.
return_marksstringNo未传时不请求额外标注Comma-separated. Options: wrinkle_mark, right_nasolabial_list, right_mouth_list, right_eye_wrinkle_list, right_crowsfeet_list, right_cheek_list, left_nasolabial_list, left_mouth_list, left_eye_wrinkle_list, left_crowsfeet_list, left_cheek_list, glabella_wrinkle_list, forehead_wrinkle_list, dark_circle_outline, sensitivity_mark, melanin_mark, cheekbone_mark. Frontal paths use data.result.result.<field>; inspect the actual return for each exact structure.
return_side_resultsstringNo未传时不返回侧脸扩展结果옵션: jawline_info. 사용하려면 측면 이미지를 한 장 이상 업로드하세요.
roi_outline_colorstring (JSON)No底层默认色值(见说明)JSON string configuring ROI outline colors by category. Use the listed keys and six hexadecimal digits without #. Defaults: pores 0000FF, blackheads FF0000, wrinkles 6E9900, fine lines 8DFE2A, closed comedones 00FF00, pustules 9F21F6, nodules FF00FD, acne FE0100, brown spots 7E2A28.

Skin Analysis Pro parameter details

Based on the locally archived Skin Analyze Pro V1.7.6 request reference. Optional outputs are not requested by default; pass comma-separated field names as needed.

Generate skincare advice from analysis data

1

Upload multi-view portraits

Front, optional left/right profiles

2

Call Pro synchronously

Wait for analysis in the same response

3

Compose report data

Maps, region marks, scores, structured fields

4

Continue to skincare advice

Pass the full data from the successful response

// Keep the complete data object from a successful Pro response.
const skin_analysis_data = proResponse.data;
// Send skin_analysis_data to the Skincare Advice API.

The skincare advice API does not accept only a task_id; do not extract or re-wrap data.result.

Optional output request example
curl -X POST "$API_BASE_URL/api/developer/v1/skin-analysis-pro" \
  -H "skincheck-api-key: $SKINCHECK_API_KEY" \
  -F "image=@./portrait.jpg;type=image/jpeg" \
  -F "return_maps=red_area,texture_enhanced_pores,roi_outline_map" \
  -F "return_marks=wrinkle_mark,dark_circle_outline,melanin_mark" \
  -F "return_side_results=jawline_info" \
  -F 'roi_outline_color={"pores_color":"0000FF","acne_color":"FE0100"}'

Add optional fields to multipart/form-data as needed. Use left_side_image and right_side_image for profile images. Omit maps, marks, or color overrides you do not need.

Request configurator · choose outputs

Optional outputs are off by default. Select maps, marks, side results, or color overrides, then copy the fields or use the existing API tester.

return_maps · 12 maps
return_marks · 17 marks
return_side_results
roi_outline_color · color overrides

Blank keeps the backend default; overrides are six hex RGB digits without #.

curl -X POST "$SKINCHECK_API_BASE_URL/api/developer/v1/skin-analysis-pro" \
  -H "skincheck-api-key: $SKINCHECK_API_KEY" \
  -F "image=@./portrait.jpg;type=image/jpeg"

Set SKINCHECK_API_BASE_URL and SKINCHECK_API_KEY server-side. Successful analysis is at data.result.result.

Map selection and preview

Frontal map path: data.result.result.face_maps.<map_name>. Profile outlines are under data.result.left_side_result / right_side_result face_maps. Transparent PNGs overlay the matching frontal photo; white-background and cropped maps are shown alone. No paired profile-photo sample is available.

This map is not present in the full response sample.

texture_enhanced_pores

transparent PNG overlay

Source + transparent PNG

Samples illustrate output formats, not guaranteed fields. Actual output depends on return_maps. Map-to-source alignment still needs backend confirmation.

Region annotations and coordinates

Inspect point sets and rectangles from a historical JSON field, overlaid on its source photo as a structure illustration. This view does not confirm the coordinate contract.

result.wrinkle_mark

Historical sample contains 0 rectangles and 0 point sets; up to 100 shapes are drawn.

Field absent from this sample.
Backend confirmation needed: coordinate units, origin, and mapping to each map. Rectangles and points are drawn as recorded in the historical sample; do not use this as a general production transform until confirmed.
enhanced_bw_info · cropped enhanced-image coordinate transform

The source describes a separate transform for the enhanced black-and-white crop: x_enhance=(x_img-left)×ratio, y_enhance=(y_img-top)×ratio; inverse: x_img=x_enhance/ratio+left, y_img=y_enhance/ratio+top.

Use only when enhanced_bw_info exists and ratio is finite and positive; do not apply to other maps.

function toEnhanced(x, y, info) {
  if (!Number.isFinite(info?.ratio) || info.ratio <= 0) throw new Error('Invalid ratio');
  return { x: (x - info.left) * info.ratio, y: (y - info.top) * info.ratio };
}
Sample portraits and result JSON

These four examples come from the Skin Analyze Pro reference. Download the JSON to inspect the full result structure; image URLs in historical samples may have expired.

Version history
DateVersionChanges
2024-08-06V1.7.6Added side-face acne and pigmentation detection parameters.
2023-07-28V1.7.1Added standard jawline-angle assessment.
2023-06-14V1.6.6Added glasses detection and regional pore/dark-circle scores; updated their total-score logic.
2023-04-05V1.6.2Added image-quality checks (face ratio, coordinates, bangs, angle) and side-profile results.
2023-02-17V1.5.1Added moisture, sensitivity, pigmentation, wrinkle, roughness and scoring features, plus contour coordinates and custom colors.
return_maps · Image maps
값Meaning and output
red_areaFacial redness or sensitivity; white background with darker red indicating stronger intensity.
brown_areaFacial pigmentation areas on a white background.
texture_enhanced_poresPore overlay; transparent PNG at original image size.
texture_enhanced_blackheadsBlackhead overlay; transparent PNG at original image size.
texture_enhanced_oily_areaOily-area overlay; transparent PNG at original image size.
texture_enhanced_linesDeep and fine wrinkle overlay; transparent PNG at original image size.
water_areaDryness map; white background PNG, with darker blue indicating more dehydration.
rough_areaSkin roughness map on a white background.
roi_outline_mapPigmentation and acne outlines; transparent PNG at original image size.
texture_enhanced_bwEnhanced blackhead and pore image; cropped JPG. Use enhanced_bw_info rectangle and ratio to map coordinates to the original image.
right_roi_outline_map / left_roi_outline_mapRight/left pigmentation and acne outlines; transparent PNG at original image size.
return_marks · Region coordinates and marks
값Returned data
wrinkle_markWrinkle contour coordinates for forehead, nose, crow’s feet, cheeks, and glabella.
right_nasolabial_list / left_nasolabial_listCoordinates, depth, and length of left/right nasolabial folds.
right_mouth_list / left_mouth_listCoordinates, depth, and length of left/right mouth-corner wrinkles.
right_eye_wrinkle_list / left_eye_wrinkle_listCoordinates of wrinkles around the left/right eyes.
right_crowsfeet_list / left_crowsfeet_listCoordinates, depth, and length of left/right crow’s feet.
right_cheek_list / left_cheek_listCoordinates, depth, and length of left/right cheek wrinkles.
glabella_wrinkle_list / forehead_wrinkle_listCoordinates, depth, and length of glabella and forehead wrinkles.
dark_circle_outlineLeft and right under-eye dark-circle contour coordinates.
sensitivity_mark / melanin_markCoordinates of redness/sensitivity and pigmentation regions.
cheekbone_markCoordinates for left and right cheekbone/apple-cheek regions.
roi_outline_color · Outline colors
JSON key기본값Applies to
pores_color0000FFPore map
blackhead_colorFF0000Blackhead map
wrinkle_color6E9900Deep wrinkle map
fine_line_color8DFE2AFine-line map
closed_comedones_color00FF00Closed-comedone outlines
acne_pustule_color9F21F6Pustule outlines
acne_nodule_colorFF00FDNodule outlines
acne_colorFE0100Papule outlines
brown_spot_color7E2A28Pigmentation and brown-spot outlines

Send a JSON string. Colors use six hexadecimal RGB digits without #; either case is accepted. Override only the keys you need; other keys keep their defaults. Colors apply to outlines in return_maps outputs.

return_side_results · Side profile and jawline

Pass jawline_info and upload a left or right profile file to receive the corresponding left_side_result or right_side_result. Upload both for both sides. jawline_quality: 1 = accepted (profile angle 20°–120°, angle and landmarks returned); 2 = too low (<20°); 3 = too high (>120°); 4 = no face detected; 5 = invalid face; 6 = other. jawline_angle_level: 0 = standard (116°–120°); 1 = non-standard.

Side results may be JSON strings; check the type and JSON.parse strings before reading fields. Coordinates are relative to the image.

Image quality recommendations (not additional request fields): aim for a face-box side length above 400 px in the main image and a near-frontal angle (yaw within ±30°, pitch within ±40°); avoid blur, occlusion, overexposure, backlight, and underexposure. image_quality may include face_ratio, face_orientation (yaw/pitch/roll), face_rect, hair_occlusion, and glasses for client-side quality guidance.

이미지 요구사항

提交方式
Upload the main and side-profile images as files; do not pass image URLs.
格式与大小
JPEG/JPG; no more than 8 MB per image.
分辨率
Both dimensions must be above 200 px and below 4096 px.
人脸尺寸
A face-box side above 400 px is recommended for the main image.

The response waits for analysis and returns result inline. — credits are charged on success; task_id is for history and follow-up recommendations.

분석이 완료될 때까지 연결이 유지됩니다. 클라이언트 읽기 타임아웃을 적절히 설정하세요. 타임아웃이 발생하면 중복 제출을 방지하기 위해 다시 시도하기 전에 Developer Center 작업 기록을 확인하세요.

Full Pro synchronous response JSON · load on demandAbout 1.6 MB
{
  "error_code": "OK",
  "code": 0,
  "msg": "",
  "data": {
    "task_id": "TASK_UUID",
    "product": "skin_analysis_pro",
    "status": "succeeded",
    "result": {
      "error_code": "OK",
      "error_detail": null,
      "face_rectangle": { "top": 0, "left": 0, "width": 0, "height": 0 },
      "result": {
        "score_info": { "total_score": 0 },
        "face_maps": { "[requested map key]": "[base64 image]" }
      },
      "left_side_result": null,
      "right_side_result": null
    }
  }
}
전체 JSON 다운로드
Skin Analysis Pro · synchronous response data.result
필드유형설명
error_code / code / msgstring / integer / string외부 API 결과에서 error_code OK와 code 0은 성공을 나타내며 msg는 메시지 텍스트입니다.
hasnext / lastidinteger / string외부 동기식 Pro 응답에 유지되는 일반 페이지네이션 메타데이터입니다.
dataobject동기식 작업 및 분석 컨테이너입니다. 성공한 Pro 분석은 data.result.result에 있습니다.
data.task_id / product / statusstring작업 ID, 제품 식별자 및 작업 상태입니다. 동기식이며 성공 상태는 succeeded입니다.
data.created_at / completed_at / expires_atstring작업 생성, 완료 및 결과 만료 시각입니다.
data.result.error_code / error_detail / log_id / request_idstring / object / string분석 서비스 결과 코드, 오류 세부 정보 및 요청 추적 식별자입니다. HTTP 상태, 외부 code/error_code 및 작업 상태를 확인하세요.
data.result.face_rectangleobjecttop, left, width, height가 포함된 얼굴 사각형입니다.
data.result.resultobject피부 유형, 감지 결과, 점수, 맵 및 보정 이미지 메타데이터가 포함된 Pro 주요 분석 객체입니다.
resultobject주요 피부 분석 결과 객체이며 아래 result.* 필드는 이 객체를 기준으로 합니다.
result.image_qualityJSON string / objectface_ratio, face_orientation (yaw/pitch/roll), face_rect, hair_occlusion 및 glasses가 포함됩니다. 스키마에는 JSON 문자열로 설명되어 있으므로 실제 반환 유형에 맞게 파싱하세요.
result.skin_type / oily_intensity / waterobject피부 유형 및 신뢰도, T존·볼·턱·얼굴 전체의 유분, 건조 면적 및 영역입니다. 피부 유형: 0 지성, 1 건성, 2 중성, 3 복합성.
result.skintone / skintone_ita / skin_hue_haobject피부 톤 범주, ITA 톤 분류 및 HA 색조 분류입니다. 조명이 비정상적이면 abnormal/other 범주가 나올 수 있습니다.
result.blackhead / blackhead_count / enlarged_pore_count / pores_* / roughobject / integer블랙헤드 수, 영역별 모공 수와 심각도, 영역별 거칠기 면적과 심각도입니다.
result.melanin / melanin_mark / mole / brown_spot / melasma / freckleobject색소 영역 및 농도와 점, 갈색 반점, 기미, 주근깨 감지 결과입니다. 수, 신뢰도, 사각형 및 다각형 좌표가 포함될 수 있습니다.
result.acne / acne_pustule / acne_nodule / acne_mark / closed_comedonesobject여드름, 농포, 결절, 여드름 자국 및 폐쇄 면포 감지 결과입니다. 일반적으로 점수, 수, 신뢰도, 사각형 및 다각형이 포함됩니다.
result.sensitivity / sensitivity_markobject민감도/홍조 심각도, 면적 및 관련 좌표입니다.
result.skin_age / forehead_wrinkle / crows_feet / eye_finelines / glabella_wrinkle / nasolabial_fold / …object피부 나이, 주름 영역, 심각도, 수, 길이, 깊이 및 표시 좌표입니다. 세부 필드는 감지 결과에 따라 달라집니다.
result.eye_pouch / dark_circle / *_severity / *_rectangle / dark_circle_markobject눈 밑 지방 유무/심각도, 다크서클 유형/심각도, 좌우 눈 상자 및 윤곽 표시입니다.
result.score_infoobjectdark_circle_score, skin_type_score, wrinkle_score, oily_intensity_score, pores_score, blackhead_score, acne_score, sensitivity_score, melanin_score, water_score, rough_score, total_score, plus regional pore and dark-circle scores.
result.face_mapsobject · base64요청된 맵만 포함하며 값은 Base64 이미지 데이터입니다. 맵 정의는 위의 return_maps를 참조하세요.
result.enhanced_bw_infoobject보정 이미지의 자르기 사각형 left/top/width/height 및 비율입니다. 좌표는 x_enhance=(x_img-left)×ratio, y_enhance=(y_img-top)×ratio로 변환하세요.
data.result.left_side_result / right_side_resultobject / JSON stringreturn_side_results=jawline_info를 요청하면 해당 측면 사진에 대해 반환됩니다. 샘플은 객체지만 API 참조에서는 JSON 문자열도 허용합니다. 두 유형 모두 처리하세요. 턱선, 여드름/색소 결과 및 선택적 face_maps가 포함될 수 있습니다.

Handle object and JSON-string values

function parseJsonValue(value) {
  if (typeof value !== 'string') return value;
  try { return JSON.parse(value); } catch { return value; }
}
const analysis = response.data?.result?.result;
const imageQuality = parseJsonValue(analysis?.image_quality);
const leftSide = parseJsonValue(response.data?.result?.left_side_result);
const rightSide = parseJsonValue(response.data?.result?.right_side_result);

로컬 전체 응답 샘플은 image_quality 및 측면 결과에 객체를 사용하지만 필드 참조에는 JSON 문자열도 기록되어 있습니다. 두 형식 모두 호환되도록 처리하세요.

전체 응답 필드 (V1.7.6)

The complete field list loads on demand and can be searched by field name or description.

점수 범위 및 분류

Score visualization (historical sample)

Displays returned scores as-is; no scores are recalculated.

total_score

—/ 100

Higher means better overall skin condition.

No numeric detail scores in this sample.

Product/backend confirmation needed: handling for total scores below 70 and whether undetected items contribute. The scoring reference defines total-score bands starting at 70; the behavior below 70 cannot be inferred.

점수 범위 및 분류

Fields, score ranges, and notes below follow the Skin Analyze Pro scoring reference.

Overall Skin Score

The overall skin score represents the general condition of the analyzed skin. A higher score indicates better overall skin condition.

RatingScore Range
Poor[70, 75]
Fair[76, 87]
Good[88, 94]
Excellent[95, 100]

Skin Concern Severity

The following severity classification applies to all skin concern scores listed in this section.

Higher scores indicate less severe skin concerns.

SeverityScore Range
Severe[30, 49]
Moderate[50, 69]
Mild[70, 89]
None[90, 100]

Skin Concern Scores

Skin ConcernAPI Field
Porespores_score
Blackheadsblackhead_score
Acneacne_score
Wrinkleswrinkle_score
Dark Circlesdark_circle_score
Skin Moisturewater_score
Skin Sensitivitysensitivity_score
Melaninmelanin_score
Skin Roughnessrough_score
Oilinessoily_intensity_score

Regional Pore Scores

The API also provides individual pore scores for different facial regions.

All regional pore scores follow the same severity classification defined above.

Facial RegionAPI Field
Foreheadpores_type_score.pores_forehead_score
Right Cheekpores_type_score.pores_rightcheek_score
Left Cheekpores_type_score.pores_leftcheek_score
Jawpores_type_score.pores_jaw_score

Regional Dark Circle Scores

The API provides separate dark circle scores for each eye.

Both scores follow the same severity classification defined above.

Facial RegionAPI Field
Left Eyedark_circle_type_score.left_dark_circle_score
Right Eyedark_circle_type_score.right_dark_circle_score

Skin Type Classification

Unlike skin concern scores, this value is used to classify skin type rather than measure severity.

Higher values indicate different skin type categories, not necessarily better or worse skin condition.

Skin TypeScore Range
Normal Skin[1, 15]
Dry Skin[16, 40]
Combination Skin[41, 60]
Oily Skin[61, 100]

Score Interpretation Notes

Overall Skin Score: Higher scores indicate better overall skin condition.

Skin Concern Scores: Higher scores indicate less severe skin concerns.

Skin Type Score: Values represent skin type categories rather than quality or severity.

Score Ranges: All ranges are inclusive of their minimum and maximum values.

엔드포인트 참조

스킨케어 추천

성공한 Skin Analysis Pro 응답의 전체 data 객체를 전달하세요. API는 내부 result를 사용해 스킨케어 추천을 생성합니다. Basic 및 Advanced 응답은 지원하지 않으며 task_id만으로는 처리할 수 없습니다.

— credits / successAPI 키 생성

Pro analysis → async care task → raw JSON result

이 엔드포인트는 성공한 Pro 응답의 전체 data 객체를 받습니다. 무료 홈페이지 보고서는 여러 서비스 출력을 결합한 로컬 표시이며 이 엔드포인트의 응답 스키마를 정의하지 않습니다.

View free report presentation
POST/api/developer/v1/skincare-advice/tasks

콘텐츠 유형

application/json

처리 중

비동기식 · 작업 ID 반환

Prerequisite: only a successful skin_analysis_pro result is accepted. See the Skin Analysis Pro API. Basic/Advanced results and a standalone task_id are not supported.

Request body · application/json

Parameter유형필수기본값설명
skin_analysis_dataobjectYes无(必填)성공한 Skin Analysis Pro 응답의 전체 data 객체(data 필드의 값)를 전달하세요. 다른 data 객체로 감싸지 마세요. product="skin_analysis_pro", status="succeeded" 및 JSON 객체인 result가 포함되어야 합니다. task_id만으로는 부족합니다.
languagestringNoen지원 언어 코드(대소문자 구분, 정확한 코드 사용): 영어 en, 중국어 간체 zh-CN, 중국어 번체(대만) zh-TW, 중국어 번체(홍콩) zh-HK, 일본어 ja, 한국어 ko, 프랑스어 fr, 독일어 de, 스페인어 es, 이탈리아어 it, 포르투갈어 pt, 베트남어 vi, 인도네시아어 id.

엔드투엔드 연동

Pro 분석부터 케어 보고서까지

On your server, call Skin Analysis Pro synchronously, then pass its complete successful data object unchanged to the asynchronous skincare advice endpoint. It returns personalized care guidance and does not search for or recommend products. Poll using the returned task_id and fetch the final result. Keep the API key in a server-side environment variable.

  1. 01Upload imagesFront image required; profiles optional
  2. 02Call ProReceive response.data synchronously
  3. 03Submit care taskskin_analysis_data = response.data
  4. 04Keep task_idAcceptance does not mean completion
  5. 05Poll statusEvery 2–5 seconds; stop at a terminal state
  6. 06Fetch final JSONPreserve the complete data.result
Do not immediately resubmit after a timeout. Idempotency keys are not supported. First check whether you received a task_id; if so, continue querying that task. If not, check task history before retrying because a new task may be created.

서버 측 엔드투엔드 예시

Each example calls Pro synchronously, submits the recommendation task, polls with a finite limit, fetches the final result, and saves the full JSON. The default language is en; replace it with an exact code from the table below. Run on a server.

import { readFile, writeFile } from 'node:fs/promises';
import { basename } from 'node:path';

const apiKey = process.env.SKINCHECK_API_KEY;
const baseUrl = process.env.SKINCHECK_API_BASE_URL?.replace(/\/+$/, '');
if (!apiKey || !baseUrl) throw new Error('Set SKINCHECK_API_KEY and SKINCHECK_API_BASE_URL');
const headers = { 'skincheck-api-key': apiKey };
const request = async (url, options = {}, timeoutMs = 60_000) => {
  const response = await fetch(url, { ...options, headers: { ...headers, ...options.headers }, signal: AbortSignal.timeout(timeoutMs) });
  const raw = await response.text();
  let json;
  try { json = JSON.parse(raw); } catch { throw new Error('API returned invalid JSON'); }
  if (!response.ok || json.error_code !== 'OK' || json.code !== 0) throw new Error(json.msg || 'API request failed');
  return json;
};

// Skin Analysis Pro is synchronous. Supply side-profile files only when available.
const form = new FormData();
for (const [field, path] of [['image', './front.jpg'], ['left_side_image', './left.jpg'], ['right_side_image', './right.jpg']]) {
  try { form.append(field, new Blob([await readFile(path)], { type: 'image/jpeg' }), basename(path)); }
  catch (error) { if (field === 'image') throw error; if (error.code !== 'ENOENT') throw error; }
}
if (form.has('left_side_image') || form.has('right_side_image')) form.append('return_side_results', 'jawline_info');
const analysisResponse = await request(`${baseUrl}/api/developer/v1/skin-analysis-pro`, { method: 'POST', body: form }, 240_000);
const analysisData = analysisResponse.data;
if (analysisData?.product !== 'skin_analysis_pro' || analysisData.status !== 'succeeded' || !analysisData.result || typeof analysisData.result !== 'object') throw new Error('Expected successful Skin Analysis Pro data');

// Pass analysisResponse.data as-is; do not add a data wrapper.
const submitted = await request(`${baseUrl}/api/developer/v1/skincare-advice/tasks`, {
  method: 'POST', headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({ skin_analysis_data: analysisData, language: 'en' }),
});
const taskId = submitted.data?.task_id;
if (!taskId) throw new Error('Submission response has no task_id');

let taskStatus;
for (let attempt = 0; attempt < 100; attempt += 1) { // 3 sec × 100 = 5 min maximum
  const state = await request(`${baseUrl}/api/developer/v1/tasks/${encodeURIComponent(taskId)}`);
  taskStatus = state.data?.status;
  if (taskStatus === 'succeeded' || taskStatus === 'failed') break;
  if (!['queued', 'processing'].includes(taskStatus)) throw new Error(`Unexpected task status: ${taskStatus}`);
  await new Promise(resolve => setTimeout(resolve, 3000));
}
if (taskStatus !== 'succeeded') throw new Error(`Task failed or exceeded polling window: ${taskStatus}`);
const finalResponse = await request(`${baseUrl}/api/developer/v1/tasks/${encodeURIComponent(taskId)}/result`);
const careResult = finalResponse.data?.result;
if (!careResult || typeof careResult !== 'object') throw new Error('Result is not a JSON object');
if (!['complete', 'partial'].includes(careResult.status)) console.warn('Review the returned care result status and full JSON.');
await writeFile('care-result.json', JSON.stringify(finalResponse, null, 2)); // Keep unknown fields intact.
console.log(JSON.stringify(careResult, null, 2));

Set SKINCHECK_API_KEY and SKINCHECK_API_BASE_URL and provide ./front.jpg. Optional ./left.jpg and ./right.jpg are uploaded when present, together with the Pro parameter return_side_results=jawline_info. The examples never print the key or place the key in a URL.

요청 객체 및 검증

전달할 객체
analysisResponse
└─ data  ← skin_analysis_data receives this complete object
   ├─ task_id
   ├─ product = "skin_analysis_pro"
   ├─ status = "succeeded"
   ├─ created_at / completed_at / expires_at
   └─ result  (JSON object)

response.data를 전달하세요. 전체 응답이나 data.task_id를 전달하거나 data 래퍼를 추가하지 마세요. 결과 필드는 실제 Pro 응답에서 가져옵니다.

허용된 입력
Product
skin_analysis_pro
입력 상태
succeeded
result type
JSON object
필수 필드
skin_analysis_data
기본 언어
en

이 입력은 해당 엔드포인트에서 유효하지 않습니다

  • • task_id only: full analysis data is missing.
  • • An extra data wrapper: wrong request nesting.
  • • Basic result: product does not match.
  • • Advanced result: product does not match.
  • • Pro status other than succeeded: input is not a successful analysis.
  • • result as array, string, or null: a JSON object is required.
지원 언어 값 (대소문자 구분)
Englishen
简体中文zh-CN
繁體中文(台灣)zh-TW
繁體中文(香港)zh-HK
日本語ja
한국어ko
Françaisfr
Deutschde
Españoles
Italianoit
Portuguêspt
Tiếng Việtvi
Bahasa Indonesiaid

language는 추천 콘텐츠의 언어를 제어합니다. 언어에 따라 JSON 키가 바뀐다는 근거는 확인되지 않았으므로 키와 알 수 없는 필드는 반환된 그대로 유지하세요.

API JSON 및 홈페이지 보고서 표시

무료 홈페이지 예시는 표시 계층을 보여 주기 위해 로컬에서 렌더링된 보고서입니다. 단일 SkinCare Recommendations API 호출이 반환하는 JSON이 아닙니다. 실제 API 응답을 기준으로 사용하고 이 페이지를 고정 스키마로 간주하지 마세요.

Pro analysis

Input source from the Pro API.

Raw care-report JSON

Separate service sample; status complete, version skin-report-v1.

Homepage presentation

Local example combines service outputs, not one endpoint schema.

Open the complete free sample report

자주 묻는 질문

왜 Skin Analysis Pro 데이터를 사용해야 하나요?

이 엔드포인트에는 product=skin_analysis_pro와 성공한 Pro 응답의 data 객체가 필요합니다.

task_id만 전달할 수 있나요?

아니요. 성공한 Pro 응답의 전체 data 객체를 전달하세요.

Basic 결과를 전달할 수 있나요?

아니요. Basic 제품은 이 엔드포인트의 입력 요구사항을 충족하지 않습니다.

Advanced 결과를 전달할 수 있나요?

아니요. Advanced 제품은 이 엔드포인트의 입력 요구사항을 충족하지 않습니다.

Does this API recommend products?

No. It returns skincare advice only; product search and product recommendations are not included.

제출 시 task_id만 반환되는 이유는 무엇인가요?

비동기 API이기 때문입니다. 접수되면 작업이 대기열에 추가되며 생성이 완료된 후 결과를 가져오세요.

작업이 완료된 시점을 어떻게 알 수 있나요?

GET /api/developer/v1/tasks/{task_id}를 2~5초마다 조회하고 상태가 succeeded 또는 failed가 되면 중지하세요.

queued와 processing의 차이는 무엇인가요?

queued는 대기열에서 기다리는 상태이고 processing은 기반 서비스가 처리 중인 상태입니다.

complete와 partial의 차이는 무엇인가요?

data.result에 있는 케어 콘텐츠 상태이며 외부 작업 상태와는 별개입니다.

partial도 크레딧이 차감되나요?

예. complete와 partial은 모두 성공으로 간주되어 50크레딧이 차감됩니다.

실패한 작업도 과금되나요?

실패한 작업은 보류된 크레딧이 해제됩니다.

시간 초과 후 다시 제출할 수 있나요?

바로 다시 제출하지 마세요. 멱등성 키는 지원되지 않습니다. 먼저 task_id 또는 작업 기록을 확인하세요. 재시도하면 새 작업이 생성될 수 있습니다.

최종 케어 JSON을 어떻게 가져오나요?

외부 작업이 succeeded가 된 후 GET /api/developer/v1/tasks/{task_id}/result를 호출하세요. 전체 원본 JSON은 data.result에 있습니다.

출력 언어를 어떻게 선택하나요?

language를 설정하세요. 기본값은 en입니다. 언어 표의 값을 정확히 사용하세요.

케어 JSON에 고정 스키마가 있나요?

아니요. data.result 전체를 보존하고 알 수 없는 필드도 허용하세요. skin-report-v1은 기존 샘플 하나를 설명합니다.

Accepted requests return a task_id. — credits are held and charged only after a successful saved result.

Async submission response · task metadata
{
  "error_code": "OK",
  "code": 0,
  "msg": "",
  "hasnext": 0,
  "lastid": "",
  "data": {
    "task_id": "TASK_UUID",
    "product": "skincare_recommendations",
    "status": "queued",
    "created_at": 1793840400,
    "completed_at": null,
    "expires_at": null
  }
}

The submission response contains task metadata only. Poll GET /api/developer/v1/tasks/{task_id}, then read GET /api/developer/v1/tasks/{task_id}/result after success. View the task result response format

엔드포인트 참조

얼굴 점수

얼굴 대칭, 얼굴형, 비율, 피부 인상, 스타일 인상을 분석합니다. 결과에는 항목별 및 종합 점수, 설명, 문제 목록, 개선 제안, 결과 이미지가 포함됩니다.

— credits / successAPI 키 생성
POST/api/developer/v1/face-rating/tasks

콘텐츠 유형

multipart/form-data

처리 중

비동기식 · 작업 ID 반환

Request body · multipart/form-data

Parameter유형필수기본값설명
imagefileYes无(必填)Portrait file; JPEG/JPG/PNG/WEBP, up to 10 MB, each dimension below 4096 px.
output_languagestringNoen-USOptions: de-DE, en-US, es-ES, fr-FR, ja-JP, ko-KR, ru-RU, zh-CN, zh-TW.

이미지 요구사항

提交方式
Upload the portrait file directly; do not pass an image URL.
格式与大小
JPEG/JPG/PNG/WEBP; no more than 10 MB.
分辨率
Both image dimensions must be below 4096 px.

Accepted requests return a task_id. — credits are held and charged only after a successful saved result.

Async submission response · task metadata
{
  "error_code": "OK",
  "code": 0,
  "msg": "",
  "hasnext": 0,
  "lastid": "",
  "data": {
    "task_id": "TASK_UUID",
    "product": "face_rating",
    "status": "queued",
    "created_at": 1793840400,
    "completed_at": null,
    "expires_at": null
  }
}

The submission response contains task metadata only. Poll GET /api/developer/v1/tasks/{task_id}, then read GET /api/developer/v1/tasks/{task_id}/result after success. View the task result response format

엔드포인트 참조

매력도 테스트

원본 인물 사진을 유지하면서 공유 가능한 매력도 분석 이미지를 생성합니다. 참조 문서에는 시각적 균형, 얼굴 조화, 자신감, 스타일 매력이 설명되어 있지만 현재 응답 스키마에는 결과 이미지 URL만 정의되어 있습니다.

— credits / successAPI 키 생성
POST/api/developer/v1/attractiveness-test/tasks

콘텐츠 유형

multipart/form-data

처리 중

비동기식 · 작업 ID 반환

Request body · multipart/form-data

Parameter유형필수기본값설명
imagefileYes无(必填)Portrait file; JPEG/JPG/PNG/WEBP, up to 10 MB, each dimension below 4096 px.
promptstringNo未传时使用底层默认提示Optional analysis instruction text. Omit it to use the underlying default prompt.
aspect_ratiostringNo16:9Aspect-ratio string in “width:height” form; for example, 16:9.

이미지 요구사항

提交方式
Upload the portrait file directly; do not pass an image URL.
格式与大小
JPEG/JPG/PNG/WEBP; no more than 10 MB.
分辨率
Both image dimensions must be below 4096 px.

Accepted requests return a task_id. — credits are held and charged only after a successful saved result.

Async submission response · task metadata
{
  "error_code": "OK",
  "code": 0,
  "msg": "",
  "hasnext": 0,
  "lastid": "",
  "data": {
    "task_id": "TASK_UUID",
    "product": "attractiveness_test",
    "status": "queued",
    "created_at": 1793840400,
    "completed_at": null,
    "expires_at": null
  }
}

The submission response contains task metadata only. Poll GET /api/developer/v1/tasks/{task_id}, then read GET /api/developer/v1/tasks/{task_id}/result after success. View the task result response format

작업 및 결과

비동기 요청은 task_id를 반환합니다. 상태를 주기적으로 조회하고 succeeded가 되면 결과 엔드포인트를 호출해 전체 result를 가져오세요. Basic, Advanced, Pro는 동기 응답에서 분석 결과를 바로 반환합니다. 결과는 요청을 생성한 개인 API 계정에서만 확인할 수 있습니다.

GET/api/developer/v1/tasks/{task_id}

Try task lookup

Enter the task_id returned by an asynchronous submission to check its status or retrieve its result.

폴링 및 재시도 규칙

Task states
queued → processing → succeeded / failed. Stop polling at succeeded or failed.
Polling interval
Poll every 2–5 seconds while processing.
Queue timeout
A task fails after 5 minutes in the queue; the execution timeout is server-configured.
Submission retries
Idempotency keys are not supported. After a submission timeout, first determine whether a task_id was received; each new submission attempts to create a task.

작업 상태 응답

GET /tasks/{task_id} returns the standard envelope. The data fields are shown below; failed tasks include error.code.

처리 중 예시
{
  "error_code": "OK",
  "code": 0,
  "msg": "",
  "hasnext": 0,
  "lastid": "",
  "data": {
    "task_id": "TASK_UUID",
    "product": "face_rating",
    "status": "processing",
    "created_at": 1793840400,
    "completed_at": null,
    "expires_at": null
  }
}
실패 예시
{
  "error_code": "OK",
  "code": 0,
  "msg": "",
  "hasnext": 0,
  "lastid": "",
  "data": {
    "task_id": "TASK_UUID",
    "product": "face_rating",
    "status": "failed",
    "created_at": 1793840400,
    "completed_at": 1793840520,
    "expires_at": null,
    "error": { "code": "queue_timeout" }
  }
}
GET/api/developer/v1/tasks/{task_id}/result

성공하면 data.result에 해당 기반 제품의 JSON 페이로드가 포함됩니다. 결과 구조는 제품마다 다르며 표준화되어 있지 않습니다. 제품별로 파싱하고 알 수 없는 필드도 허용하세요. 실패한 작업은 result 없이 failed 상태와 error.code를 반환하고, queued 또는 processing 작업은 결과가 아직 준비되지 않았다는 업무 오류를 반환합니다. expires_at은 결과 생성 후 24시간으로 설정되지만 현재 조회 엔드포인트는 만료를 강제하지 않으며 만료된 데이터도 자동 삭제되지 않습니다.

성공 결과 래퍼
{
  "error_code": "OK",
  "code": 0,
  "msg": "",
  "hasnext": 0,
  "lastid": "",
  "data": {
    "task_id": "TASK_UUID",
    "product": "face_rating",
    "status": "succeeded",
    "created_at": 1793840400,
    "completed_at": 1793840460,
    "expires_at": 1793926860,
    "result": { "...": "Product-specific JSON returned by the underlying analysis service" }
  }
}

제품 응답 필드

The tables below document data.result for successful asynchronous tasks. Skin Analysis Pro’s synchronous response fields are documented in its API section. Results are returned by underlying services; tolerate fields added by later versions.

Face Rating · result
필드유형 / 범위설명
result_urlsarray<string>결과 이미지 URL 목록입니다. 각 URL은 24시간 동안 임시로 사용할 수 있습니다.
result_urls[]string결과 이미지 URL입니다.
analysis_resultobject얼굴 점수 결과 객체입니다.
analysis_result.face_symmetry_scoreinteger · 0–100얼굴 대칭 점수입니다.
analysis_result.face_symmetry_commentstring얼굴 대칭에 대한 설명입니다.
analysis_result.face_shape_scoreinteger · 0–100얼굴형 점수입니다.
analysis_result.face_shape_commentstring얼굴형에 대한 설명입니다.
analysis_result.facial_proportion_scoreinteger · 0–100얼굴 비율 점수입니다.
analysis_result.facial_proportion_commentstring얼굴 비율에 대한 설명입니다.
analysis_result.skin_impression_scoreinteger · 0–100피부 인상 점수입니다.
analysis_result.skin_impression_commentstring피부 인상에 대한 설명입니다.
analysis_result.style_impression_scoreinteger · 0–100스타일 인상 점수입니다.
analysis_result.style_impression_commentstring스타일 인상에 대한 설명입니다.
analysis_result.overall_scoreinteger · 0–100종합 점수입니다.
analysis_result.overall_commentstring종합 설명입니다.
analysis_result.style_tagsarray<string>스타일 태그 배열입니다.
analysis_result.style_tags[]string스타일 태그입니다.
analysis_result.visible_face_issuesarray<object>눈에 보이는 얼굴 문제 목록입니다.
analysis_result.visible_face_issues[].issuestring문제 설명.
analysis_result.visible_face_issues[].severitystring · low / medium / high문제 심각도.
analysis_result.visible_skin_issuesarray<object>눈에 보이는 피부 문제 목록입니다.
analysis_result.visible_skin_issues[].issuestring문제 설명.
analysis_result.visible_skin_issues[].severitystring · low / medium / high문제 심각도.
analysis_result.improvement_suggestionsarray<object>개선 제안 목록입니다.
analysis_result.improvement_suggestions[].suggestionstring제안 내용입니다.
analysis_result.improvement_suggestions[].areastring제안이 다루는 영역입니다.
위 필드는 Face Rating API 참조를 따릅니다. 제품 결과는 data.result에 있으며 task_id, status, expires_at은 해당 제품의 비동기 작업 응답에 포함됩니다.
전체 결과 예시
{
  "error_code": "OK",
  "code": 0,
  "msg": "",
  "data": {
    "task_id": "TASK_UUID",
    "product": "face_rating",
    "status": "succeeded",
    "result": {
      "result_urls": ["RESULT_IMAGE_URL"],
      "analysis_result": {
        "face_symmetry_score": 82,
        "face_shape_score": 78,
        "facial_proportion_score": 85,
        "skin_impression_score": 80,
        "style_impression_score": 88,
        "overall_score": 83,
        "face_symmetry_comment": "...",
        "face_shape_comment": "...",
        "facial_proportion_comment": "...",
        "skin_impression_comment": "...",
        "style_impression_comment": "...",
        "overall_comment": "...",
        "style_tags": ["..."] ,
        "visible_face_issues": [{ "issue": "...", "severity": "low" }],
        "visible_skin_issues": [{ "issue": "...", "severity": "medium" }],
        "improvement_suggestions": [{ "suggestion": "...", "area": "..." }]
      }
    }
  }
}

Three separate response stages

제출, 상태 확인, 결과 가져오기

A · 작업 제출

POST/api/developer/v1/skincare-advice/tasks
헤더: skincheck-api-key: YOUR_API_KEYContent-Type: application/json

Acceptance means the task was queued; data contains task metadata, not a generated report.

{
  "error_code": "OK",
  "code": 0,
  "msg": "",
  "hasnext": 0,
  "lastid": "",
  "data": {
    "task_id": "TASK_UUID",
    "product": "skincare_recommendations",
    "status": "queued",
    "created_at": 1793840400,
    "completed_at": null,
    "expires_at": null
  }
}

B · 상태 확인

GET/api/developer/v1/tasks/{task_id}
헤더: skincheck-api-key: YOUR_API_KEY

queued → processing → succeeded / failed. Poll every 2–5 seconds and stop at succeeded or failed. queued for more than 5 minutes fails; total execution timeout is server-configured.

{
  "error_code": "OK",
  "code": 0,
  "msg": "",
  "hasnext": 0,
  "lastid": "",
  "data": {
    "task_id": "TASK_UUID",
    "product": "skincare_recommendations",
    "status": "processing",
    "created_at": 1793840400,
    "completed_at": null,
    "expires_at": null
  }
}

C · 결과 가져오기

GET/api/developer/v1/tasks/{task_id}/result
헤더: skincheck-api-key: YOUR_API_KEY

Read after the outer task succeeds. The complete underlying raw JSON is in data.result; preserve it unchanged.

{
  "error_code": "OK",
  "code": 0,
  "msg": "",
  "hasnext": 0,
  "lastid": "",
  "data": {
    "task_id": "TASK_UUID",
    "product": "skincare_recommendations",
    "status": "succeeded",
    "created_at": 1793840400,
    "completed_at": 1793840460,
    "expires_at": 1793926860,
    "result": {
      "status": "complete",
      "…": "原样保存的底层服务 JSON"
    }
  }
}
외부 작업 상태

queued queued; processing processing; succeeded task succeeded; failed task failed and may include data.error.code. Failed tasks release held credits; successful tasks charge 50 credits.

케어 결과 상태

data.result.status 为 complete 或 partial。Both are successful results and charge 50 credits. They are distinct from the outer task’s data.status=succeeded.

For request errors, inspect the standard envelope’s error_code / code; for task failures, inspect data.error.code. See 오류. Do not request the final result while queued or processing.

Failed task example: data.status = "failed" (may contain data.error.code ); stop polling and do not request a result that is not ready. Failed tasks release held credits.
{
  "error_code": "OK",
  "code": 0,
  "msg": "",
  "hasnext": 0,
  "lastid": "",
  "data": {
    "task_id": "TASK_UUID",
    "product": "skincare_recommendations",
    "status": "failed",
    "created_at": 1793840400,
    "completed_at": 1793840520,
    "expires_at": null,
    "error": {
      "code": "queue_timeout"
    }
  }
}
Skincare Report · result

The final result endpoint stores the underlying raw JSON in data.result. Task query data.status and care result data.result.status are separate statuses. The skincare advice API returns care guidance only, not product recommendations, and has no fixed JSON Schema. The table describes fields in the homepage example’s skin-report-v1 care-report sample only; it does not guarantee every response contains these fields or constrain future fields. Arrays may be empty and some values may be null.

케어 보고서 샘플을 불러오는 중…
Attractiveness Test · result

The developer task result is available in data.result. The source reference defines only the result_urls array; it does not define poster internals or a parseable scoring JSON schema. Treat returned image URLs as the documented result and tolerate additional fields.

필드유형설명
result_urlsarray<string>결과 이미지 URL 목록입니다.
result_urls[]string결과 이미지 URL이며 문서상 24시간 동안 유효합니다.
전체 결과 예시
{
  "error_code": "OK",
  "code": 0,
  "msg": "",
  "data": {
    "task_id": "TASK_UUID",
    "product": "attractiveness_test",
    "status": "succeeded",
    "result": {
      "result_urls": ["RESULT_IMAGE_URL"]
    }
  }
}
상태설명결제
queued대기열에서 대기 중보류됨
processing기반 서비스에서 처리 중보류됨
succeeded결과 생성 및 저장 완료차감됨
failed작업 실패 또는 시간 초과해제됨
제출 성공 응답
{
  "error_code": "OK",
  "code": 0,
  "msg": "",
  "hasnext": 0,
  "lastid": "",
  "data": {
    "task_id": "TASK_UUID",
    "product": "face_rating",
    "status": "queued",
    "created_at": 1793840400,
    "completed_at": null,
    "expires_at": null
  }
}

오류 처리

현지화될 수 있는 msg가 아니라 error_code 또는 작업의 data.error.code를 기준으로 분기하세요. 비즈니스 오류는 JSON 봉투를 사용하며 현재 HTTP 200으로 반환됩니다. 봉투의 code가 오류 유형(예: 401, 500)을 나타냅니다. 네트워크 오류와 게이트웨이 시간 초과는 별도로 처리하세요.

error_code / data.error.code위치의미 및 조치
ERROR_API_KEY_INVALID응답 래퍼키가 없거나 유효하지 않거나 폐기되었습니다. skincheck-api-key 헤더와 키 상태를 확인하세요.
ERROR_PARAM응답 래퍼필드가 누락되었거나 유효하지 않거나 이미지 형식/크기가 지원되지 않습니다. 다시 제출하기 전에 요청을 수정하세요.
ERROR_PARAM_VALUE응답 래퍼요청 매개변수가 API 요구사항을 충족하지 않습니다. 필드 유형, 형식 및 허용 값을 확인하세요.
ERROR_NOT_ENOUGH_CREDITS응답 래퍼Developer API 크레딧이 부족하여 작업이 생성되지 않습니다. 다시 시도하기 전에 크레딧을 충전하세요.
ERROR_INTERFACE_RECORD_NOT_EXISTS응답 래퍼작업이 없거나 다른 계정에 속해 있습니다. task_id와 계정 소유자를 확인하세요.
ERROR_AI_NOT_SERVICE응답 래퍼이미지 저장소 또는 기반 API를 사용할 수 없거나 설정되지 않았습니다. 나중에 다시 시도하거나 지원팀에 문의하고, 반복 제출은 피하세요.
ERROR_SYSTEM응답 래퍼서비스 내부 오류입니다. 요청 시간과 task_id(있는 경우)를 기록한 뒤 나중에 다시 시도하거나 지원팀에 문의하세요.
queue_timeout작업 data.error.code대기열 대기 시간이 5분을 초과했습니다. 작업이 실패하고 보류된 크레딧이 해제됩니다. 최종 상태를 확인한 후에만 다시 제출하세요.
task_timeout작업 data.error.code작업이 서버 실행 제한 시간을 초과하여 보류된 크레딧이 해제됩니다. 제한 시간은 서버에서 설정합니다.
analysis_failed / ai_*작업 data.error.code기반 분석 또는 결과 검증에 실패하여 보류된 크레딧이 해제됩니다. 오류 코드를 보관하고 지원팀에 문의하세요.

이 표에는 일반적인 오류가 나열되어 있으며 모든 기반 서비스 오류 코드가 포함된 것은 아닙니다. 요청 오류에는 error_code, code, msg, data가 사용되고 비동기 작업 오류는 data.error.code에 표시됩니다. 목록에 없는 오류가 발생하면 원본 응답, task_id 및 요청 시간을 보관하세요.