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等区域 - 使用这些标记来判断源图像是否适用于数字人、试穿或其他资产驱动型工作流
授权
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.