Authorization: Bearer ********************{
"prompt": "A girl sat on the train, looking out the window with a melancholic expression, her head swaying with the train.",
"settings": {
"duration": 10,
"resolution": "1080p",
"aspect_ratio": "16:9"
},
"options": {
"callback_url": "https://example.com/callback",
"external_task_id": "",
"watermark_info": {
"enabled": false
}
}
}curl --location 'https://token.nexhina.cn/kling/text-to-video/kling-4.0' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"prompt": "A girl sat on the train, looking out the window with a melancholic expression, her head swaying with the train.",
"settings": {
"duration": 10,
"resolution": "1080p",
"aspect_ratio": "16:9"
},
"options": {
"callback_url": "https://example.com/callback",
"external_task_id": "",
"watermark_info": {
"enabled": false
}
}
}'{
"output": {
"task_id": "string",
"task_status": "PENDING"
},
"request_id": "string"
}