Skip to main content
POST
Kling image generation
  • 路径 POST /kling/v1/images/generations
  • 与官网一致:本页所有请求体、字段命名与返回结构与可灵官网保持一致
  • 字段详解:请参考官网权威文档
请求参数
注意:使用 kling-v1-5image 参数不为空时,image_reference 参数必填。非 kling-v1-5 模型不支持 image_reference 补充约束prompt 长度 ≤ 2500;图生图场景(image 非空)不支持 negative_prompt

场景一:文生图

场景二:角色特征参考

场景三:人脸参考

场景四:批量生成

示例响应
任务成功响应

Authorizations

Authorization
string
header
required

Authorization: Bearer

Body

application/json

The body is of type object.

Response

200 - application/json

OK

The response is of type object.