Skip to main content
POST
cURL
이 엔드포인트를 사용하면 어떤 후속 워크플로를 사용할지 결정하기 전에 Kling의 이미지 인식 검사를 실행할 수 있습니다.

반환 내용

  • 이 경로는 동기식이며 인식 플래그를 직접 반환합니다
  • 현재 결과는 이미지에 head_seg, face_seg, cloth_seg, object_seg 같은 영역이 포함되어 있는지를 나타냅니다
  • 이 플래그를 사용해 소스 이미지가 아바타, 가상 피팅, 또는 기타 에셋 기반 워크플로에 적합한지 판단할 수 있습니다
전체 파라미터 참조는 Kling 공식 문서를 참고하세요.

인증

Authorization
string
header
필수

Bearer token authentication. Use your CometAPI key.

헤더

Content-Type
string

Optional content type header.

본문

application/json
image
string
필수

Image to analyze. Accepts an image URL or raw Base64 string (no data: prefix). Supported formats: JPG, JPEG, PNG. Max 10 MB, minimum 300 px per side, aspect ratio between 1:2.5 and 2.5:1.

응답

200 - application/json

Recognition result.

code
integer
필수
message
string
필수
data
object
필수
request_id
string