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": "",
"image_fidelity": "0.5",
"human_fidelity": 0.45,
"resolution": "1k",
"n": 1,
"aspect_ratio": "16:9",
"callback_url": ""
}
Request Code Samples
curl --location --request POST 'https://www.16api.com/kling/v1/images/generations' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"model_name": "kling-v1",
"prompt": "生成一张海边的图",
"negative_prompt": "",
"image": "",
"image_reference": "",
"image_fidelity": "0.5",
"human_fidelity": 0.45,
"resolution": "1k",
"n": 1,
"aspect_ratio": "16:9",
"callback_url": ""
}'
Responses
application/json Modified at 2026-02-01 07:33:56