Authorization: Bearer ********************{
"contents": [
{
"type": "prompt",
"text": "以 @image_1 作为起始画面,保持人物面部与服装一致,动作自然过渡到 @image_3。"
},
{
"type": "first_frame",
"url": "https://example.com/first.jpg",
"id": "image_1"
},
{
"type": "last_frame",
"url": "https://example.com/last.jpg",
"id": "image_3"
}
],
"settings": {
"resolution": "1080p",
"duration": 10
},
"options": {
"callback_url": "https://example.com/callback",
"external_task_id": "",
"watermark_info": {
"enabled": false
}
}
}curl --location 'https://token.nexhina.cn/kling/image-to-video/kling-4.0' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"contents": [
{
"type": "prompt",
"text": "以 @image_1 作为起始画面,保持人物面部与服装一致,动作自然过渡到 @image_3。"
},
{
"type": "first_frame",
"url": "https://example.com/first.jpg",
"id": "image_1"
},
{
"type": "last_frame",
"url": "https://example.com/last.jpg",
"id": "image_3"
}
],
"settings": {
"resolution": "1080p",
"duration": 10
},
"options": {
"callback_url": "https://example.com/callback",
"external_task_id": "",
"watermark_info": {
"enabled": false
}
}
}'{
"output": {
"task_id": "string",
"task_status": "PENDING"
},
"request_id": "string"
}