Files
magicwang1111-Comfyui-Kling…/examples/kling4_image2video.json
T

296 lines
6.5 KiB
JSON

{
"id": "c570a36f-b5da-4273-9da2-8ae4c0513ac3",
"revision": 0,
"last_node_id": 4,
"last_link_id": 2,
"nodes": [
{
"id": 1,
"type": "Comfyui-Kling-Wrapper Kling 4.0 Image2Video",
"pos": [
760,
100
],
"size": [
460,
600
],
"flags": {},
"order": 0,
"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": null
},
{
"localized_name": "last_frame",
"name": "last_frame",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"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": "02 单图动起来",
"properties": {
"Node name for S&R": "Comfyui-Kling-Wrapper Kling 4.0 Image2Video",
"kling4UnifiedImageIds": 2
},
"widgets_values": [
"以 @image_1 为首帧,人物自然转头看向镜头,然后微笑。镜头缓慢推进,保持人物面部与服装一致。",
"1080p",
"10",
false,
"",
""
],
"widgets_values_named": {
"prompt": "以 @image_1 为首帧,人物自然转头看向镜头,然后微笑。镜头缓慢推进,保持人物面部与服装一致。",
"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": 3,
"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": 1,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "使用说明(运行前阅读)",
"properties": {},
"widgets_values": [
"在首帧 Load Image 中上传自己的图片;@image_1 对应该图片。\n\n生成节点固定使用官方 Kling 配置。运行会提交真实计费生成任务;先替换所有占位素材。彩色引用只辅助阅读,不代表素材已连接。"
],
"widgets_values_named": {
"text": "在首帧 Load Image 中上传自己的图片;@image_1 对应该图片。\n\n生成节点固定使用官方 Kling 配置。运行会提交真实计费生成任务;先替换所有占位素材。彩色引用只辅助阅读,不代表素材已连接。"
},
"color": "#432",
"bgcolor": "#653"
},
{
"id": 4,
"type": "LoadImage",
"pos": [
40,
240
],
"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": [
2
]
},
{
"localized_name": "MASK",
"name": "MASK",
"type": "MASK",
"links": null
}
],
"title": "首帧 · 上传人物图片",
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"example_portrait.png",
"image"
],
"widgets_values_named": {
"image": "example_portrait.png",
"upload": "image"
}
}
],
"links": [
[
1,
1,
0,
2,
0,
"STRING"
],
[
2,
4,
0,
1,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.7,
"offset": [
15,
70
]
}
},
"version": 0.4
}