Authorization: Bearer ********************{
"contents": [
{
"type": "prompt",
"text": "参考 @video_1 的打斗动作节奏,角色造型来自 @image_1 @image_2。"
},
{
"type": "feature_video",
"url": "https://example.com/fight.mp4",
"id": "video_1"
},
{
"type": "refer_image",
"url": "https://example.com/fighter1.png",
"id": "image_1"
},
{
"type": "refer_image",
"url": "https://example.com/fighter2.png",
"id": "image_2"
}
],
"settings": {
"duration": 15,
"resolution": "1080p",
"aspect_ratio": "adaptive"
},
"options": {
"callback_url": "https://example.com/callback",
"external_task_id": "",
"watermark_info": {
"enabled": false
}
}
}curl --location 'https://token.nexhina.cn/kling/omni-video/kling-4.0' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"contents": [
{
"type": "prompt",
"text": "参考 @video_1 的打斗动作节奏,角色造型来自 @image_1 @image_2。"
},
{
"type": "feature_video",
"url": "https://example.com/fight.mp4",
"id": "video_1"
},
{
"type": "refer_image",
"url": "https://example.com/fighter1.png",
"id": "image_1"
},
{
"type": "refer_image",
"url": "https://example.com/fighter2.png",
"id": "image_2"
}
],
"settings": {
"duration": 15,
"resolution": "1080p",
"aspect_ratio": "adaptive"
},
"options": {
"callback_url": "https://example.com/callback",
"external_task_id": "",
"watermark_info": {
"enabled": false
}
}
}'{
"output": {
"task_id": "string",
"task_status": "PENDING"
},
"request_id": "string"
}