Kling multi image-to-image task
Kling
Kling Multi Image-to-Image
Submit a Kling native multi image-to-image task via /kling/v1/images/multi-image2image.
POST
Kling multi image-to-image task
Authorizations
Pass Authorization: Bearer <token> in the request header.
Body
application/json
Model name
Available options:
kling-v2 Subject reference image list
- Supports up to 4 images, minimum 1 image, passed as key:value pairs:
"subject_image_list":[ { "subject_image":"image_url" }, { "subject_image":"image_url" }, { "subject_image":"image_url" }, { "subject_image":"image_url" }] - No cropping logic on the API side — please upload pre-cropped subject images directly
- Supports image Base64 encoding or image URL (must be accessible)
- Note: When using Base64, do not add any prefix such as data:image/png;base64, — provide only the Base64 encoded string itself.
- Supported image formats: .jpg / .jpeg / .png
- Image file size must not exceed 10MB, image dimensions must be at least 300px, aspect ratio between 1:2.5 ~ 2.5:1
Positive text prompt
Maximum string length:
2500Scene reference image
- Supports image Base64 encoding or image URL (must be accessible)
- Note: When using Base64, do not add any prefix such as data:image/png;base64, — provide only the Base64 encoded string itself.
- Supported image formats: .jpg / .jpeg / .png
- Image file size must not exceed 10MB, image dimensions must be at least 300px, aspect ratio between 1:2.5 ~ 2.5:1
Style reference image
- Supports image Base64 encoding or image URL (must be accessible)
- Note: When using Base64, do not add any prefix such as data:image/png;base64, — provide only the Base64 encoded string itself.
- Supported image formats: .jpg / .jpeg / .png
- Image file size must not exceed 10MB, image dimensions must be at least 300px, aspect ratio between 1:2.5 ~ 2.5:1
Number of images to generate
Required range:
1 <= x <= 9Aspect ratio of generated images (width:height)
Available options:
1:1, 16:9, 4:3, 3:2, 2:3, 3:4, 9:16, 21:9 Whether to also generate a watermarked result.
Callback notification URL for this task. If configured, the server will proactively notify when the task status changes.
Custom task ID