Kling
Image Recognition
Use CometAPI POST /kling/v1/videos/image-recognize to run Kling Image Recognize on images and return recognition results for video generation workflows.
POST
Run Kling image recognition
Use this endpoint to run Kling’s image-recognition checks before you decide which downstream workflow to use.
What it returns
- The route is synchronous and returns recognition flags directly
- Current results indicate whether the image contains regions such as
head_seg,face_seg,cloth_seg, andobject_seg - Use these flags to decide whether a source image is suitable for avatar, try-on, or other asset-driven workflows
Authorizations
Bearer token authentication. Use your CometAPI key.
Headers
Optional content type header.
Body
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.