kling
画像認識
CometAPI の POST /kling/v1/videos/image-recognize を使用して画像に対して Kling Image Recognize を実行し、動画生成ワークフロー向けの認識結果を返します。
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などの領域が含まれているかどうかを示します - これらのフラグを使って、ソース画像がアバター、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.