Skip to main content
POST
/
kling
/
v1
/
images
/
multi-image2image
Kling multi image-to-image task
curl --request POST \
  --url https://api.powertokens.ai/kling/v1/images/multi-image2image \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model_name": "kling-v2",
  "prompt": "Blend both references into one consistent illustration"
}
'
{
  "code": 123,
  "message": "<string>",
  "data": {
    "task_id": "<string>",
    "task_status": "submitted",
    "task_info": {
      "external_task_id": "<string>"
    },
    "created_at": 123,
    "updated_at": 123
  },
  "request_id": "<string>"
}

Authorizations

Authorization
string
header
required

Pass Authorization: Bearer <token> in the request header.

Body

application/json
model_name
enum<string>
required

Model name

Available options:
kling-v2
subject_image_list
object[]
required

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
prompt
string

Positive text prompt

Maximum string length: 2500
scene_image
string

Scene 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_image
string

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
n
integer
default:1

Number of images to generate

Required range: 1 <= x <= 9
aspect_ratio
enum<string>
default:16:9

Aspect ratio of generated images (width:height)

Available options:
1:1,
16:9,
4:3,
3:2,
2:3,
3:4,
9:16,
21:9
watermark_info
object

Whether to also generate a watermarked result.

callback_url
string

Callback notification URL for this task. If configured, the server will proactively notify when the task status changes.

external_task_id
string

Custom task ID

Response

Task accepted.

code
integer
required

Kling response code. 0 indicates the task has been accepted.

message
string
required

Kling response message.

data
object
required
request_id
string

Upstream request identifier (if provided).