Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params application/jsonRequired
{
"model_name": "kling-v1",
"prompt": "生成一张海边的图",
"negative_prompt": "",
"image": "",
"image_reference": "",
"human_fidelity": 0.45,
"resolution": "1k",
"n": 2,
"aspect_ratio": "16:9",
"callback_url": ""
}
Request Code Samples
curl --location '/kling/v1/images/generations' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model_name": "kling-v1",
"prompt": "生成一张海边的图",
"negative_prompt": "",
"image": "",
"image_reference": "",
// "image_fidelity": "0.5",
"human_fidelity": 0.45,
"resolution": "1k",
"n": 2,
"aspect_ratio": "16:9",
"callback_url": ""
}'
Responses
application/json
Modified at 2026-03-30 11:39:32