图像识别
POST /kling/v1/videos/image-recognize
概览
| Method | POST |
|---|---|
| Path | /kling/v1/videos/image-recognize |
| Type | http |
| Status | -1 |
| Module | 2102810 |
| Folder | 72914574 |
参数
{ "header": [ { "required": false, "description": "", "type": "string", "id": "zyaunS37kw", "enable": true, "name": "Content-Type", "sampleValue": "application/json" }, { "required": false, "description": "", "type": "string", "id": "cLvhFFAQVw", "enable": true, "name": "Authorization", "sampleValue": "Bearer {{YOUR_API_KEY}}" } ] }
请求体
{ "type": "application/json", "parameters": [], "jsonSchema": { "type": "object", "properties": { "image": { "type": "string", "description": "待识别的图片 支持传入图片Base64编码或图片URL(确保可访问)图片格式支持.jpg / .jpeg / .png 图片文件大小不能超过10MB,图片宽高尺寸不小于300px,图片宽高比介于1:2.5 ~ 2.5:1之间" } }, "required": [ "image" ], "x-apifox-orders": [ "image" ] }, "required": true, "mediaType": "", "examples": [ { "mediaType": "application/json", "value": "{\r\n \"image\": \"https://h2.inkwai.com/bs2/upload-ylab-stunt/se/ai_portal_queue_mmu_image_upscale_aiweb/3214b798-e1b4-4b00-b7af-72b5b0417420_raw_image_0.jpg\"\r\n}" } ], "oasExtensions": "" }
响应
[ { "id": 109791026, "name": "成功", "code": 200, "contentType": "json", "jsonSchema": { "type": "object", "properties": {} }, "itemSchema": {}, "description": "", "mediaType": "", "headers": [] } ]