438 lines
9.5 KiB
JSON
438 lines
9.5 KiB
JSON
{
|
|
"id": "8e800b70-fb7d-4c5a-ba44-bfd5fa9e4a81",
|
|
"revision": 0,
|
|
"last_node_id": 6,
|
|
"last_link_id": 4,
|
|
"nodes": [
|
|
{
|
|
"id": 1,
|
|
"type": "Comfyui-Kling-Wrapper Kling 4.0 Image2Video",
|
|
"pos": [
|
|
760,
|
|
100
|
|
],
|
|
"size": [
|
|
460,
|
|
600
|
|
],
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"localized_name": "first_frame",
|
|
"name": "first_frame",
|
|
"shape": 7,
|
|
"type": "IMAGE",
|
|
"link": 2
|
|
},
|
|
{
|
|
"localized_name": "middle_frames",
|
|
"name": "middle_frames",
|
|
"shape": 7,
|
|
"type": "IMAGE",
|
|
"link": 3
|
|
},
|
|
{
|
|
"localized_name": "last_frame",
|
|
"name": "last_frame",
|
|
"shape": 7,
|
|
"type": "IMAGE",
|
|
"link": 4
|
|
},
|
|
{
|
|
"localized_name": "prompt",
|
|
"name": "prompt",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "prompt"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "resolution",
|
|
"name": "resolution",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "resolution"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "duration",
|
|
"name": "duration",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "duration"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "watermark",
|
|
"name": "watermark",
|
|
"shape": 7,
|
|
"type": "BOOLEAN",
|
|
"widget": {
|
|
"name": "watermark"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "callback_url",
|
|
"name": "callback_url",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "callback_url"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "external_task_id",
|
|
"name": "external_task_id",
|
|
"shape": 7,
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "external_task_id"
|
|
},
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"localized_name": "url",
|
|
"name": "url",
|
|
"type": "STRING",
|
|
"links": [
|
|
1
|
|
]
|
|
},
|
|
{
|
|
"localized_name": "video_id",
|
|
"name": "video_id",
|
|
"type": "STRING",
|
|
"links": null
|
|
}
|
|
],
|
|
"title": "07 首中尾帧控制",
|
|
"properties": {
|
|
"Node name for S&R": "Comfyui-Kling-Wrapper Kling 4.0 Image2Video",
|
|
"kling4UnifiedImageIds": 2
|
|
},
|
|
"widgets_values": [
|
|
"以 @image_1 为开始画面,人物缓慢转身,经过 @image_2 的姿态,最后自然过渡到 @image_3。保持人物、服装和环境连续,避免突然跳切。",
|
|
"1080p",
|
|
"10",
|
|
false,
|
|
"",
|
|
""
|
|
],
|
|
"widgets_values_named": {
|
|
"prompt": "以 @image_1 为开始画面,人物缓慢转身,经过 @image_2 的姿态,最后自然过渡到 @image_3。保持人物、服装和环境连续,避免突然跳切。",
|
|
"resolution": "1080p",
|
|
"duration": "10",
|
|
"watermark": false,
|
|
"callback_url": "",
|
|
"external_task_id": ""
|
|
}
|
|
},
|
|
{
|
|
"id": 2,
|
|
"type": "Comfyui-Kling-Wrapper Preview Video",
|
|
"pos": [
|
|
1320,
|
|
100
|
|
],
|
|
"size": [
|
|
296.288671875,
|
|
26
|
|
],
|
|
"flags": {},
|
|
"order": 5,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"localized_name": "video_url",
|
|
"name": "video_url",
|
|
"type": "STRING",
|
|
"link": 1
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"localized_name": "file_path",
|
|
"name": "file_path",
|
|
"type": "STRING",
|
|
"links": null
|
|
}
|
|
],
|
|
"title": "生成结果 · 预览并保存",
|
|
"properties": {
|
|
"Node name for S&R": "Comfyui-Kling-Wrapper Preview Video"
|
|
}
|
|
},
|
|
{
|
|
"id": 3,
|
|
"type": "Note",
|
|
"pos": [
|
|
40,
|
|
15
|
|
],
|
|
"size": [
|
|
620,
|
|
170
|
|
],
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [],
|
|
"title": "使用说明(运行前阅读)",
|
|
"properties": {},
|
|
"widgets_values": [
|
|
"分别上传开始、中间、结束三张图片。此例中间帧只有一张;多张时可使用 Image Batch 合并后接 middle_frames,依次占用 @image_2、@image_3 等编号,尾帧随中间帧张数向后顺延。\n\n生成节点固定使用官方 Kling 配置。运行会提交真实计费生成任务;先替换所有占位素材。彩色引用只辅助阅读,不代表素材已连接。"
|
|
],
|
|
"widgets_values_named": {
|
|
"text": "分别上传开始、中间、结束三张图片。此例中间帧只有一张;多张时可使用 Image Batch 合并后接 middle_frames,依次占用 @image_2、@image_3 等编号,尾帧随中间帧张数向后顺延。\n\n生成节点固定使用官方 Kling 配置。运行会提交真实计费生成任务;先替换所有占位素材。彩色引用只辅助阅读,不代表素材已连接。"
|
|
},
|
|
"color": "#432",
|
|
"bgcolor": "#653"
|
|
},
|
|
{
|
|
"id": 4,
|
|
"type": "LoadImage",
|
|
"pos": [
|
|
40,
|
|
240
|
|
],
|
|
"size": [
|
|
282.798828125,
|
|
102
|
|
],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"localized_name": "image",
|
|
"name": "image",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "image"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "choose file to upload",
|
|
"name": "upload",
|
|
"type": "IMAGEUPLOAD",
|
|
"widget": {
|
|
"name": "upload"
|
|
},
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"localized_name": "IMAGE",
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
2
|
|
]
|
|
},
|
|
{
|
|
"localized_name": "MASK",
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": null
|
|
}
|
|
],
|
|
"title": "首帧 @image_1",
|
|
"properties": {
|
|
"Node name for S&R": "LoadImage"
|
|
},
|
|
"widgets_values": [
|
|
"example_first.png",
|
|
"image"
|
|
],
|
|
"widgets_values_named": {
|
|
"image": "example_first.png",
|
|
"upload": "image"
|
|
}
|
|
},
|
|
{
|
|
"id": 5,
|
|
"type": "LoadImage",
|
|
"pos": [
|
|
40,
|
|
570
|
|
],
|
|
"size": [
|
|
282.798828125,
|
|
102
|
|
],
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"localized_name": "image",
|
|
"name": "image",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "image"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "choose file to upload",
|
|
"name": "upload",
|
|
"type": "IMAGEUPLOAD",
|
|
"widget": {
|
|
"name": "upload"
|
|
},
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"localized_name": "IMAGE",
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
3
|
|
]
|
|
},
|
|
{
|
|
"localized_name": "MASK",
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": null
|
|
}
|
|
],
|
|
"title": "中间帧 @image_2",
|
|
"properties": {
|
|
"Node name for S&R": "LoadImage"
|
|
},
|
|
"widgets_values": [
|
|
"example_middle.png",
|
|
"image"
|
|
],
|
|
"widgets_values_named": {
|
|
"image": "example_middle.png",
|
|
"upload": "image"
|
|
}
|
|
},
|
|
{
|
|
"id": 6,
|
|
"type": "LoadImage",
|
|
"pos": [
|
|
40,
|
|
900
|
|
],
|
|
"size": [
|
|
282.798828125,
|
|
102
|
|
],
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"localized_name": "image",
|
|
"name": "image",
|
|
"type": "COMBO",
|
|
"widget": {
|
|
"name": "image"
|
|
},
|
|
"link": null
|
|
},
|
|
{
|
|
"localized_name": "choose file to upload",
|
|
"name": "upload",
|
|
"type": "IMAGEUPLOAD",
|
|
"widget": {
|
|
"name": "upload"
|
|
},
|
|
"link": null
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"localized_name": "IMAGE",
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
4
|
|
]
|
|
},
|
|
{
|
|
"localized_name": "MASK",
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": null
|
|
}
|
|
],
|
|
"title": "尾帧 @image_3",
|
|
"properties": {
|
|
"Node name for S&R": "LoadImage"
|
|
},
|
|
"widgets_values": [
|
|
"example_last.png",
|
|
"image"
|
|
],
|
|
"widgets_values_named": {
|
|
"image": "example_last.png",
|
|
"upload": "image"
|
|
}
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
1,
|
|
1,
|
|
0,
|
|
2,
|
|
0,
|
|
"STRING"
|
|
],
|
|
[
|
|
2,
|
|
4,
|
|
0,
|
|
1,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
3,
|
|
5,
|
|
0,
|
|
1,
|
|
1,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
4,
|
|
6,
|
|
0,
|
|
1,
|
|
2,
|
|
"IMAGE"
|
|
]
|
|
],
|
|
"groups": [],
|
|
"config": {},
|
|
"extra": {
|
|
"ds": {
|
|
"scale": 0.7,
|
|
"offset": [
|
|
15,
|
|
70
|
|
]
|
|
}
|
|
},
|
|
"version": 0.4
|
|
}
|