Theme
Image Recognition
POST
https://www.kkiai.com/kling/v1/videos/image-recognize
Request Parameters
Authorization
Add the Authorization parameter to the Header. Its value is the Token concatenated after Bearer.
Example: Authorization: Bearer ********************
Header Parameters
| Parameter Name | Type | Required | Description | Example |
|---|---|---|---|---|
Content-Type | string | Optional | application/json | |
Authorization | string | Optional | Bearer {{YOUR_API_KEY}} |
Body Parameters (application/json)
| Parameter Name | Type | Required | Description |
|---|---|---|---|
image | string | Required | Image to be recognized. Supports Base64 encoded image or image URL (must be accessible). Supported image formats: .jpg / .jpeg / .png. Image file size must not exceed 10MB. Image dimensions must be at least 300px. Image aspect ratio must be between 1:2.5 ~ 2.5:1 |
Request Example
json
{
"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"
}cURL Example
bash
curl --location --request POST 'https://www.kkiai.com/kling/v1/videos/image-recognize' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"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"
}'Response
🟢 200 Success
Response Example
json
{}