Authorization: Bearer ********************{
"model_name": "kling-v2-master",
"prompt": "圣诞老人与熊在湖边相拥。",
"negative_prompt": "模糊, 低质量",
"duration": "5",
"mode": "std",
"cfg_scale": 0.5,
"aspect_ratio": "16:9",
"sound": "off",
"camera_control": [
{
"type": "simple",
"config": {
"horizontal": 0,
"vertical": 0,
"pan": 0,
"tilt": 0,
"roll": 0,
"zoom": 0
}
}
]
}curl --location '/kling/v1/videos/text2video' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model_name": "kling-v2-master",
"prompt": "圣诞老人与熊在湖边相拥。",
"negative_prompt": "模糊, 低质量",
"duration": "5",
"mode": "std",
"cfg_scale": 0.5,
"aspect_ratio": "16:9",
"sound": "off",
"camera_control": [
{
"type": "simple",
"config": {
"horizontal": 0,
"vertical": 0,
"pan": 0,
"tilt": 0,
"roll": 0,
"zoom": 0
}
}
]
}'{
"code": 0,
"message": "Success",
"request_id": "req-xxxxxxxxxxxx",
"data": {
"task_id": "task-xxxxxxxxxxxx",
"task_status": "submitted",
"created_at": 1700000000,
"updated_at": 1700000000
}
}