返回任务 ID,可通过 GET 接口查询任务状态。
Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
or
Body Params application/jsonRequired
{
"model": "kling-v1",
"prompt": "宇航员在月球上漫步",
"duration": 5,
"width": 1280,
"height": 720
}
Request Code Samples
curl --location 'https://lizh.ai/v1/video/generations' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "kling-v1",
"prompt": "宇航员在月球上漫步",
"duration": 5,
"width": 1280,
"height": 720
}'
Responses
{
"task_id": "abcd1234efgh",
"status": "queued"
}
Modified at 2026-06-03 19:08:40