Skip to main content
POST
Multi-image to image
  • 路径 POST /kling/v1/images/multi-image2image
  • 与官网一致:本页所有请求体、字段命名与返回结构与可灵官网保持一致
  • 字段详解:请参考官网权威文档
请求参数 subject_image_list 格式
补充约束
  • subject_image_list 必填,最多 4 张;
  • aspect_ratio 仅支持 16:9/9:16/1:1/4:3/3:4/3:2/2:3/21:9
  • n 取值范围 [1, 9]。

场景:主体 + 场景 + 风格参考

示例响应

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
aspect_ratio
string

纵横比

callback_url
string

回调通知地址

external_task_id
string

自定义任务ID

model_name
string

模型名称,默认kling-v2

n
integer

生成图片数量 [1,9]

prompt
string

正向文本提示词

scene_image
string

场景参考图

style_image
string

风格参考图

subject_image_list
object[]

主体图片列表,1-4张

watermark_info
object

水印信息

Response

200 - application/json

OK

code
integer

错误码

data
object

单个任务数据

data_list
object[]

任务列表数据

message
string

错误信息

request_id
string

请求ID