kling
影像辨識
使用 CometAPI POST /kling/v1/videos/image-recognize 對圖片執行 Kling 影像辨識,並回傳可用於影片生成工作流程的辨識結果。
POST
Run Kling image recognition
使用這個端點在決定要採用哪個下游工作流程之前,先執行 Kling 的影像辨識檢查。Documentation Index
Fetch the complete documentation index at: https://apidoc.cometapi.com/llms.txt
Use this file to discover all available pages before exploring further.
會回傳什麼
- 此路由為同步執行,並直接回傳辨識旗標
- 目前的結果會指出影像是否包含如
head_seg、face_seg、cloth_seg與object_seg等區域 - 使用這些旗標來判斷來源影像是否適合用於 avatar、try-on 或其他由資產驅動的工作流程
授權
Bearer token authentication. Use your CometAPI key.
標頭
Optional content type header.
主體
application/json
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.