支持通过 image 参数传入图片 URL 或 Base64 编码的图片数据。
Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
or
Body Params application/json
{
"model": "kling-v1",
"prompt": "人物转身走开",
"image": "https://example.com/image.jpg",
"duration": 5,
"width": 1280,
"height": 720
}
Request Code Samples
curl --location 'https://lizh.ai/kling/v1/videos/image2video' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "kling-v1",
"prompt": "人物转身走开",
"image": "https://example.com/image.jpg",
"duration": 5,
"width": 1280,
"height": 720
}'
Responses
{
"task_id": "abcd1234efgh",
"status": "queued"
}
Modified at 2026-06-03 19:08:40