人脸识别
POST /kling/v1/videos/identify-face
概览
| Method | POST |
|---|---|
| Path | /kling/v1/videos/identify-face |
| Type | http |
| Status | -1 |
| Module | 2102810 |
| Folder | 72928823 |
参数
{ "header": [ { "required": false, "description": "", "type": "string", "id": "ownsahHdqt", "enable": true, "name": "Content-Type", "sampleValue": "application/json" }, { "required": false, "description": "", "type": "string", "id": "nfwu3gphgi", "enable": true, "name": "Authorization", "sampleValue": "Bearer {{YOUR_API_KEY}}" } ] }
请求体
{ "type": "application/json", "parameters": [], "jsonSchema": { "type": "object", "properties": { "video_id": { "type": "string", "description": "通过可灵AI生成的视频的ID;用于指定视频、判断视频是否可用于对口型服务;与video_url参数二选一填写,不能同时为空,也不能同时有值;仅支持使用30天内生成的时长不超过60秒的视频" }, "video_url": { "type": "string", "description": "所上传视频的获取URL;用于指定视频,并判断视频是否可用于对口型服务;与video_id参数二选一填写,不能同时为空,也不能同时有值;视频文件支持.mp4/.mov,文件大小不超过100MB,视频时长不超过60s且不短于2s,仅支持720p和1080p、长宽的边长均位于512px~2160px之间,上述校验不通过会返回错误码等信息;系统会校验视频内容,如有问题会返回错误码等信息" } }, "x-apifox-orders": [ "video_id", "video_url" ] }, "required": true, "mediaType": "", "examples": [ { "mediaType": "application/json", "value": "{\r\n \"video_id\": \"827297867148050499\",\r\n \"video_url\": \"\"\r\n}" } ], "oasExtensions": "" }
响应
[ { "id": 193770200, "name": "成功", "code": 200, "contentType": "json", "jsonSchema": { "type": "object", "properties": {} }, "itemSchema": {}, "description": "", "mediaType": "", "headers": [] } ]