Skip to main content
POST
cURL
使用這個端點在決定要採用哪個下游工作流程之前,先執行 Kling 的圖片辨識檢查。

它會回傳什麼

  • 此路由為同步執行,會直接回傳辨識旗標
  • 目前的結果會指出圖片是否包含 head_segface_segcloth_segobject_seg 等區域
  • 使用這些旗標判斷來源圖片是否適合用於 avatar、try-on 或其他由素材驅動的工作流程
如需完整的參數參考,請參閱 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