Files

2071 lines
41 KiB
JSON

{
"id": "247ea069-731d-4b79-9d64-8807463de95c",
"revision": 0,
"last_node_id": 86,
"last_link_id": 201,
"nodes": [
{
"id": 18,
"type": "BasicScheduler",
"pos": [
2310.347900390625,
5038.01318359375
],
"size": [
270,
106
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"label": "模型",
"name": "model",
"type": "MODEL",
"link": 34
},
{
"label": "scheduler",
"name": "scheduler",
"type": "COMBO",
"widget": {
"name": "scheduler"
}
},
{
"label": "steps",
"name": "steps",
"type": "INT",
"widget": {
"name": "steps"
}
},
{
"label": "denoise",
"name": "denoise",
"type": "FLOAT",
"widget": {
"name": "denoise"
}
}
],
"outputs": [
{
"label": "Sigmas",
"name": "SIGMAS",
"type": "SIGMAS",
"links": [
33
]
}
],
"properties": {
"Node name for S&R": "BasicScheduler",
"widget_ue_connectable": {}
},
"widgets_values": [
"simple",
6,
1
]
},
{
"id": 9,
"type": "CLIPLoader",
"pos": [
1520.0731201171875,
5023.11767578125
],
"size": [
270,
106
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [
{
"label": "clip_name",
"name": "clip_name",
"type": "COMBO",
"widget": {
"name": "clip_name"
}
},
{
"label": "type",
"name": "type",
"type": "COMBO",
"widget": {
"name": "type"
}
},
{
"label": "device",
"name": "device",
"shape": 7,
"type": "COMBO",
"widget": {
"name": "device"
}
}
],
"outputs": [
{
"label": "CLIP",
"name": "CLIP",
"type": "CLIP",
"links": [
7,
8
]
}
],
"properties": {
"Node name for S&R": "CLIPLoader",
"widget_ue_connectable": {}
},
"widgets_values": [
"umt5_xxl_fp8_e4m3fn_scaled.safetensors",
"wan",
"default"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 37,
"type": "Note",
"pos": [
2275.845458984375,
5657.0771484375
],
"size": [
210,
98.17821502685547
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {
"widget_ue_connectable": {}
},
"widgets_values": [
"Multiple reference images are batched in"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 13,
"type": "PathchSageAttentionKJ",
"pos": [
1669.451171875,
4344.16455078125
],
"size": [
270,
82
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"label": "model",
"name": "model",
"type": "MODEL",
"link": 24
},
{
"label": "sage_attention",
"name": "sage_attention",
"type": "COMBO",
"widget": {
"name": "sage_attention"
}
},
{
"label": "allow_compile",
"name": "allow_compile",
"shape": 7,
"type": "BOOLEAN",
"widget": {
"name": "allow_compile"
}
}
],
"outputs": [
{
"label": "MODEL",
"name": "MODEL",
"type": "MODEL",
"links": [
23
]
}
],
"properties": {
"Node name for S&R": "PathchSageAttentionKJ",
"widget_ue_connectable": {}
},
"widgets_values": [
"auto",
false
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 14,
"type": "PathchSageAttentionKJ",
"pos": [
1665.6812744140625,
4565.14306640625
],
"size": [
270,
82
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"label": "model",
"name": "model",
"type": "MODEL",
"link": 25
},
{
"label": "sage_attention",
"name": "sage_attention",
"type": "COMBO",
"widget": {
"name": "sage_attention"
}
},
{
"label": "allow_compile",
"name": "allow_compile",
"shape": 7,
"type": "BOOLEAN",
"widget": {
"name": "allow_compile"
}
}
],
"outputs": [
{
"label": "MODEL",
"name": "MODEL",
"type": "MODEL",
"links": [
58
]
}
],
"properties": {
"Node name for S&R": "PathchSageAttentionKJ",
"widget_ue_connectable": {}
},
"widgets_values": [
"auto",
false
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 5,
"type": "UNETLoader",
"pos": [
1126.6973876953125,
4349.4521484375
],
"size": [
497.8623962402344,
82
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"label": "unet_name",
"name": "unet_name",
"type": "COMBO",
"widget": {
"name": "unet_name"
}
},
{
"label": "weight_dtype",
"name": "weight_dtype",
"type": "COMBO",
"widget": {
"name": "weight_dtype"
}
}
],
"outputs": [
{
"label": "模型",
"name": "MODEL",
"type": "MODEL",
"links": [
24
]
}
],
"properties": {
"Node name for S&R": "UNETLoader",
"widget_ue_connectable": {}
},
"widgets_values": [
"Bernini_HIGH_fp8_e4m3fn_scaled.safetensors",
"default"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 12,
"type": "UNETLoader",
"pos": [
1132.38916015625,
4547.2822265625
],
"size": [
497.8623962402344,
82
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"label": "unet_name",
"name": "unet_name",
"type": "COMBO",
"widget": {
"name": "unet_name"
}
},
{
"label": "weight_dtype",
"name": "weight_dtype",
"type": "COMBO",
"widget": {
"name": "weight_dtype"
}
}
],
"outputs": [
{
"label": "模型",
"name": "MODEL",
"type": "MODEL",
"links": [
25,
34
]
}
],
"properties": {
"Node name for S&R": "UNETLoader",
"widget_ue_connectable": {}
},
"widgets_values": [
"Bernini_LOW_fp8_e4m3fn_scaled.safetensors",
"default"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 35,
"type": "MarkdownNote",
"pos": [
189.07904052734375,
5010.9169921875
],
"size": [
478.02520751953125,
449.4624328613281
],
"flags": {
"pinned": true
},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Default prompt prefixes for each trained task",
"properties": {
"widget_ue_connectable": {}
},
"widgets_values": [
"| task_type | system prompt (prepended to T5 text) |\n|---|---|\n| `default` | You are a helpful assistant. |\n| `t2i` | You are a helpful assistant specialized in text-to-image generation. |\n| `t2v` | You are a helpful assistant specialized in text-to-video generation. |\n| `i2i` | You are a helpful assistant specialized in image editing. |\n| `r2i` | You are a helpful assistant specialized in subject-to-image generation. |\n| `i2v` | You are a helpful assistant specialized in image-to-video generation. |\n| `v2v` | You are a helpful assistant specialized in video editing. |\n| `r2v` | You are a helpful assistant specialized in subject-to-video generation. |\n| `vi2v` | You are a helpful assistant specialized in video editing on content propagation. |\n| `rv2v` | You are a helpful assistant specialized in video editing with reference. |\n| `ads2v` | You are a helpful assistant specialized in ads insertion. |\n| `vrc2v` | You are a helpful assistant for editing. You may need to adjust the subject's action or position. |\n| `mv2v` | You are a helpful assistant for editing. You might need to adjust the video's style, lighting, colors, textures, and the subject's pose or action. |"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 69,
"type": "MarkdownNote",
"pos": [
682.0339965820312,
5014.06689453125
],
"size": [
507.76409912109375,
448.0462951660156
],
"flags": {
"pinned": true
},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Default prompt prefixes for each trained task",
"properties": {
"widget_ue_connectable": {}
},
"widgets_values": [
"| 任务类型 | 系统提示(附加在 T5 文本前) |\n|---|---|\n| `default` | 您是一位乐于助人的助手。 |\n| `t2i` | 您是一位专精于文本转图像生成的乐于助人的助手。 |\n| `t2v` | 你是一位专精于文本转视频生成的贴心助手。 |\n| `i2i` | 你是一位专精于图像编辑的贴心助手。 |\n| `r2i` | 你是一位专精于主题转图像生成的贴心助手。 |\n| `i2v` | 你是一位专精于图像转视频生成的贴心助手。 |\n| `v2v` | 您是一位专精于视频编辑的得力助手。 |\n| `r2v` | 您是一位专精于根据主题生成视频的得力助手。 |\n| `vi2v` | 您是一位专精于内容传播视频编辑的得力助手。 |\n| `rv2v` | 您是一位专精于参考视频编辑的得力助手。 |\n| `ads2v` | 您是一位专精于广告插入的得力助手。 |\n| `vrc2v` | 您是一位专精于编辑的得力助手。您可能需要调整主体的动作或位置。 |\n| `mv2v` | 您是一位专精于编辑的得力助手。您可能需要调整视频的风格、光线、色彩、质感以及主体的姿势或动作。 |\n\n"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 76,
"type": "easy imageScaleDownToSize",
"pos": [
1845.22705078125,
5739.33349609375
],
"size": [
270,
82
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"label": "图像",
"name": "images",
"type": "IMAGE",
"link": 161
},
{
"name": "size",
"type": "INT",
"widget": {
"name": "size"
}
},
{
"name": "mode",
"type": "BOOLEAN",
"widget": {
"name": "mode"
}
}
],
"outputs": [
{
"label": "图像",
"name": "IMAGE",
"type": "IMAGE",
"links": [
162
]
}
],
"properties": {
"Node name for S&R": "easy imageScaleDownToSize",
"widget_ue_connectable": {}
},
"widgets_values": [
1280,
true
]
},
{
"id": 77,
"type": "Note",
"pos": [
406.9367370605469,
6593.7744140625
],
"size": [
332.8230285644531,
102.50399780273438
],
"flags": {
"pinned": true
},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {
"widget_ue_connectable": {}
},
"widgets_values": [
"这里是移植了官方项目的提示词优化,但是无法直接接入LLM,可以先过一遍这个然后将输出的提示词,按系统提示词和用户提示词手动复制到LLM中"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 11,
"type": "LoraLoaderModelOnly",
"pos": [
1979.4156494140625,
4349.6484375
],
"size": [
653.5452270507812,
82
],
"flags": {},
"order": 18,
"mode": 4,
"inputs": [
{
"label": "模型",
"name": "model",
"type": "MODEL",
"link": 23
},
{
"label": "lora_name",
"name": "lora_name",
"type": "COMBO",
"widget": {
"name": "lora_name"
}
},
{
"label": "strength_model",
"name": "strength_model",
"type": "FLOAT",
"widget": {
"name": "strength_model"
}
}
],
"outputs": [
{
"label": "模型",
"name": "MODEL",
"type": "MODEL",
"links": [
77
]
}
],
"properties": {
"Node name for S&R": "LoraLoaderModelOnly",
"widget_ue_connectable": {}
},
"widgets_values": [
"wan2.2_t2v_lightx2v_4steps_lora_v1.1_high_noise.safetensors",
3
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 27,
"type": "KSamplerSelect",
"pos": [
2331.281982421875,
5207.7958984375
],
"size": [
270,
58
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"label": "sampler_name",
"name": "sampler_name",
"type": "COMBO",
"widget": {
"name": "sampler_name"
}
}
],
"outputs": [
{
"label": "采样器",
"name": "SAMPLER",
"type": "SAMPLER",
"links": [
53,
56
]
}
],
"properties": {
"Node name for S&R": "KSamplerSelect",
"widget_ue_connectable": {}
},
"widgets_values": [
"res_multistep"
]
},
{
"id": 17,
"type": "SplitSigmas",
"pos": [
2609.798095703125,
5040.751953125
],
"size": [
270,
78
],
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"label": "Sigmas",
"name": "sigmas",
"type": "SIGMAS",
"link": 33
},
{
"label": "step",
"name": "step",
"type": "INT",
"widget": {
"name": "step"
}
}
],
"outputs": [
{
"label": "high_sigmas",
"name": "high_sigmas",
"type": "SIGMAS",
"links": [
41
]
},
{
"label": "low_sigmas",
"name": "low_sigmas",
"type": "SIGMAS",
"links": [
42
]
}
],
"properties": {
"Node name for S&R": "SplitSigmas",
"widget_ue_connectable": {}
},
"widgets_values": [
3
]
},
{
"id": 45,
"type": "CreateVideo",
"pos": [
3957.634033203125,
4981.3134765625
],
"size": [
270,
78
],
"flags": {},
"order": 28,
"mode": 0,
"inputs": [
{
"label": "images",
"name": "images",
"type": "IMAGE",
"link": 114
},
{
"label": "audio",
"name": "audio",
"shape": 7,
"type": "AUDIO"
},
{
"label": "fps",
"name": "fps",
"type": "FLOAT",
"widget": {
"name": "fps"
},
"link": 112
}
],
"outputs": [
{
"label": "VIDEO",
"name": "VIDEO",
"type": "VIDEO",
"links": [
108
]
}
],
"properties": {
"Node name for S&R": "CreateVideo",
"widget_ue_connectable": {
"fps": true
}
},
"widgets_values": [
24
]
},
{
"id": 16,
"type": "VAEDecode",
"pos": [
3724.777587890625,
4985.83544921875
],
"size": [
140,
46
],
"flags": {},
"order": 27,
"mode": 0,
"inputs": [
{
"label": "Latent",
"name": "samples",
"type": "LATENT",
"link": 31
},
{
"label": "VAE",
"name": "vae",
"type": "VAE",
"link": 99
}
],
"outputs": [
{
"label": "图像",
"name": "IMAGE",
"type": "IMAGE",
"links": [
114
]
}
],
"properties": {
"Node name for S&R": "VAEDecode",
"widget_ue_connectable": {}
},
"widgets_values": [],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 4,
"type": "CLIPTextEncode",
"pos": [
1849.1854248046875,
5026.474609375
],
"size": [
400,
200
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"label": "CLIP",
"name": "clip",
"type": "CLIP",
"link": 8
},
{
"label": "text",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
}
}
],
"outputs": [
{
"label": "条件",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
68
]
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode",
"widget_ue_connectable": {}
},
"widgets_values": [
"bad video"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 7,
"type": "VAELoader",
"pos": [
1214.460205078125,
4824.37451171875
],
"size": [
270,
58
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"label": "vae_name",
"name": "vae_name",
"type": "COMBO",
"widget": {
"name": "vae_name"
}
}
],
"outputs": [
{
"label": "VAE",
"name": "VAE",
"type": "VAE",
"links": [
99,
100
]
}
],
"properties": {
"Node name for S&R": "VAELoader",
"widget_ue_connectable": {}
},
"widgets_values": [
"wan_2.1_vae_Comfy-Org.safetensors"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 48,
"type": "GetVideoComponents",
"pos": [
1690.003662109375,
5367.90185546875
],
"size": [
193.53085327148438,
66
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"label": "video",
"name": "video",
"type": "VIDEO",
"link": 109
}
],
"outputs": [
{
"label": "images",
"name": "images",
"type": "IMAGE",
"links": [
110,
131
]
},
{
"label": "audio",
"name": "audio",
"type": "AUDIO"
},
{
"label": "fps",
"name": "fps",
"type": "FLOAT",
"links": [
112
]
}
],
"properties": {
"Node name for S&R": "GetVideoComponents",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 74,
"type": "BatchImagesNode",
"pos": [
2272.2998046875,
5556.7666015625
],
"size": [
169.32421875,
66
],
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"label": "images.image0",
"name": "images.image0",
"type": "IMAGE",
"link": 162
},
{
"label": "images.image1",
"name": "images.image1",
"shape": 7,
"type": "IMAGE"
}
],
"outputs": [
{
"label": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
160
]
}
],
"properties": {
"Node name for S&R": "BatchImagesNode",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 29,
"type": "LoraLoaderModelOnly",
"pos": [
1998.095947265625,
4544.72412109375
],
"size": [
663.4872436523438,
82
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"label": "模型",
"name": "model",
"type": "MODEL",
"link": 58
},
{
"label": "lora_name",
"name": "lora_name",
"type": "COMBO",
"widget": {
"name": "lora_name"
}
},
{
"label": "strength_model",
"name": "strength_model",
"type": "FLOAT",
"widget": {
"name": "strength_model"
}
}
],
"outputs": [
{
"label": "模型",
"name": "MODEL",
"type": "MODEL",
"links": [
76
]
}
],
"properties": {
"Node name for S&R": "LoraLoaderModelOnly",
"widget_ue_connectable": {}
},
"widgets_values": [
"wan2.2_t2v_lightx2v_4steps_lora_v1.1_low_noise.safetensors",
1.5
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 34,
"type": "BerniniConditioning",
"pos": [
2554.254150390625,
4702.62939453125
],
"size": [
271.8258056640625,
254
],
"flags": {},
"order": 23,
"mode": 0,
"inputs": [
{
"label": "positive",
"name": "positive",
"type": "CONDITIONING",
"link": 67
},
{
"label": "negative",
"name": "negative",
"type": "CONDITIONING",
"link": 68
},
{
"label": "vae",
"name": "vae",
"type": "VAE",
"link": 100
},
{
"label": "source_video",
"name": "source_video",
"shape": 7,
"type": "IMAGE",
"link": 110
},
{
"label": "reference_video",
"name": "reference_video",
"shape": 7,
"type": "IMAGE"
},
{
"label": "reference_images",
"name": "reference_images",
"shape": 7,
"type": "IMAGE",
"link": 160
},
{
"label": "width",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
}
},
{
"label": "height",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
}
},
{
"label": "length",
"name": "length",
"type": "INT",
"widget": {
"name": "length"
}
},
{
"label": "batch_size",
"name": "batch_size",
"type": "INT",
"widget": {
"name": "batch_size"
}
},
{
"label": "ref_max_size",
"name": "ref_max_size",
"shape": 7,
"type": "INT",
"widget": {
"name": "ref_max_size"
}
}
],
"outputs": [
{
"label": "positive",
"name": "positive",
"type": "CONDITIONING",
"links": [
78,
79
]
},
{
"label": "negative",
"name": "negative",
"type": "CONDITIONING",
"links": [
73,
74
]
},
{
"label": "latent",
"name": "latent",
"type": "LATENT",
"links": [
75
]
}
],
"properties": {
"Node name for S&R": "BerniniConditioning",
"widget_ue_connectable": {}
},
"widgets_values": [
720,
1280,
81,
1,
848
],
"color": "#332922",
"bgcolor": "#593930"
},
{
"id": 52,
"type": "PreviewAny",
"pos": [
880,
6850
],
"size": [
480.73248291015625,
1019.7840576171875
],
"flags": {},
"order": 24,
"mode": 0,
"inputs": [
{
"label": "source",
"name": "source",
"type": "*",
"link": 133
}
],
"outputs": [
{
"label": "STRING",
"name": "STRING",
"type": "STRING"
}
],
"properties": {
"Node name for S&R": "PreviewAny",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 19,
"type": "SamplerCustom",
"pos": [
3042.0166015625,
4639.2978515625
],
"size": [
293.21319580078125,
230
],
"flags": {},
"order": 25,
"mode": 0,
"inputs": [
{
"label": "模型",
"name": "model",
"type": "MODEL",
"link": 77
},
{
"label": "正面条件",
"name": "positive",
"type": "CONDITIONING",
"link": 78
},
{
"label": "负面条件",
"name": "negative",
"type": "CONDITIONING",
"link": 73
},
{
"label": "采样器",
"name": "sampler",
"type": "SAMPLER",
"link": 53
},
{
"label": "Sigmas",
"name": "sigmas",
"type": "SIGMAS",
"link": 41
},
{
"label": "Latent",
"name": "latent_image",
"type": "LATENT",
"link": 75
},
{
"label": "add_noise",
"name": "add_noise",
"type": "BOOLEAN",
"widget": {
"name": "add_noise"
}
},
{
"label": "noise_seed",
"name": "noise_seed",
"type": "INT",
"widget": {
"name": "noise_seed"
}
},
{
"label": "cfg",
"name": "cfg",
"type": "FLOAT",
"widget": {
"name": "cfg"
}
}
],
"outputs": [
{
"label": "输出",
"name": "output",
"type": "LATENT",
"links": [
40
]
},
{
"label": "降噪输出",
"name": "denoised_output",
"type": "LATENT",
"links": []
}
],
"properties": {
"Node name for S&R": "SamplerCustom",
"widget_ue_connectable": {}
},
"widgets_values": [
true,
1015816449789172,
"fixed",
1
]
},
{
"id": 15,
"type": "SamplerCustom",
"pos": [
3039.35595703125,
5051.01123046875
],
"size": [
304.2408142089844,
230
],
"flags": {},
"order": 26,
"mode": 0,
"inputs": [
{
"label": "模型",
"name": "model",
"type": "MODEL",
"link": 76
},
{
"label": "正面条件",
"name": "positive",
"type": "CONDITIONING",
"link": 79
},
{
"label": "负面条件",
"name": "negative",
"type": "CONDITIONING",
"link": 74
},
{
"label": "采样器",
"name": "sampler",
"type": "SAMPLER",
"link": 56
},
{
"label": "Sigmas",
"name": "sigmas",
"type": "SIGMAS",
"link": 42
},
{
"label": "Latent",
"name": "latent_image",
"type": "LATENT",
"link": 40
},
{
"label": "add_noise",
"name": "add_noise",
"type": "BOOLEAN",
"widget": {
"name": "add_noise"
}
},
{
"label": "noise_seed",
"name": "noise_seed",
"type": "INT",
"widget": {
"name": "noise_seed"
}
},
{
"label": "cfg",
"name": "cfg",
"type": "FLOAT",
"widget": {
"name": "cfg"
}
}
],
"outputs": [
{
"label": "输出",
"name": "output",
"type": "LATENT",
"links": [
31
]
},
{
"label": "降噪输出",
"name": "denoised_output",
"type": "LATENT"
}
],
"properties": {
"Node name for S&R": "SamplerCustom",
"widget_ue_connectable": {}
},
"widgets_values": [
false,
413532359003415,
"fixed",
1
]
},
{
"id": 46,
"type": "SaveVideo",
"pos": [
4603.392578125,
4700.26708984375
],
"size": [
797.142578125,
1565.142333984375
],
"flags": {},
"order": 29,
"mode": 0,
"inputs": [
{
"label": "video",
"name": "video",
"type": "VIDEO",
"link": 108
},
{
"label": "filename_prefix",
"name": "filename_prefix",
"type": "STRING",
"widget": {
"name": "filename_prefix"
}
},
{
"label": "format",
"name": "format",
"type": "COMBO",
"widget": {
"name": "format"
}
},
{
"label": "codec",
"name": "codec",
"type": "COMBO",
"widget": {
"name": "codec"
}
}
],
"outputs": [
{
"label": "video_url",
"name": "video_url",
"type": "STRING"
}
],
"properties": {
"Node name for S&R": "SaveVideo",
"widget_ue_connectable": {}
},
"widgets_values": [
"video/ComfyUI",
"auto",
"auto"
]
},
{
"id": 31,
"type": "LoadImage",
"pos": [
1826.9793701171875,
5452.4375
],
"size": [
1031.6676025390625,
904.8160400390625
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"label": "image",
"name": "image",
"type": "COMBO",
"widget": {
"name": "image"
}
},
{
"label": "upload",
"name": "upload",
"type": "IMAGEUPLOAD",
"widget": {
"name": "upload"
}
}
],
"outputs": [
{
"label": "图像",
"name": "IMAGE",
"type": "IMAGE",
"links": [
132,
161
]
},
{
"label": "遮罩",
"name": "MASK",
"type": "MASK"
}
],
"properties": {
"Node name for S&R": "LoadImage",
"widget_ue_connectable": {}
},
"widgets_values": [
"bd408d5cc0b999fc5911b5f4e1a09f16daacc6b38d88d9bbb0ab0f16cc2317b5.png",
"image"
]
},
{
"id": 3,
"type": "CLIPTextEncode",
"pos": [
1844.1497802734375,
4776.97314453125
],
"size": [
400,
200
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"label": "CLIP",
"name": "clip",
"type": "CLIP",
"link": 7
},
{
"label": "text",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
}
}
],
"outputs": [
{
"label": "条件",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
67
]
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode",
"widget_ue_connectable": {}
},
"widgets_values": [
"You are a helpful assistant specialized in video editing with reference.\nReplace the woman in the video with the middle-aged Asian woman from the reference image, matching her exact face, short black hairstyle, and clothing, while keeping her actions, the lush green park background, the natural daylight, and the camera framing completely unchanged. The video features a middle-aged Asian woman with short, neatly styled black hair and a warm, gentle smile, standing on a stone-paved path in a vibrant park. She is dressed in a loose-fitting black long-sleeved top with a distinctive asymmetrical hemline featuring dark grey and fine-striped fabric panels, paired with light beige wide-leg trousers. She looks directly at the camera, smiling and gesturing naturally with her hands, maintaining the exact motion and posture of the original subject. The background is a dense, lush green forest or garden with sunlight filtering through the leaves, creating soft dappled light on the path. The camera remains steady in a medium shot, preserving the original lighting, shadows, and serene atmosphere"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 47,
"type": "LoadVideo",
"pos": [
1138.1986083984375,
5241.5751953125
],
"size": [
519.16259765625,
1044.9556884765625
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"label": "file",
"name": "file",
"type": "COMBO",
"widget": {
"name": "file"
}
},
{
"label": "keep_audio",
"name": "keep_audio",
"type": "BOOLEAN",
"widget": {
"name": "keep_audio"
}
},
{
"label": "trim_time",
"name": "trim_time",
"type": "STRING",
"widget": {
"name": "trim_time"
}
},
{
"label": "upload",
"name": "upload",
"type": "IMAGEUPLOAD",
"widget": {
"name": "upload"
}
}
],
"outputs": [
{
"label": "VIDEO",
"name": "VIDEO",
"type": "VIDEO",
"links": [
109
]
}
],
"properties": {
"Node name for S&R": "LoadVideo",
"widget_ue_connectable": {}
},
"widgets_values": [
"096b695046e641ce0f633cebdbd4135d8af4620cd6f9902b01fc2b65031d842e.mp4",
"image",
"0",
"image"
]
},
{
"id": 60,
"type": "BerniniPromptEnhancer",
"pos": [
380,
6810
],
"size": [
416.09246826171875,
216
],
"flags": {},
"order": 22,
"mode": 0,
"inputs": [
{
"label": "source_video",
"name": "source_video",
"shape": 7,
"type": "IMAGE",
"link": 131
},
{
"label": "source_image",
"name": "source_image",
"shape": 7,
"type": "IMAGE"
},
{
"label": "reference_images",
"name": "reference_images",
"shape": 7,
"type": "IMAGE",
"link": 132
},
{
"label": "prompt",
"name": "prompt",
"type": "STRING",
"widget": {
"name": "prompt"
}
},
{
"label": "task_type",
"name": "task_type",
"type": "COMBO",
"widget": {
"name": "task_type"
}
},
{
"label": "video_frames",
"name": "video_frames",
"type": "INT",
"widget": {
"name": "video_frames"
}
}
],
"outputs": [
{
"label": "system_prompt",
"name": "system_prompt",
"type": "STRING",
"links": [
133
]
},
{
"label": "user_prompt",
"name": "user_prompt",
"type": "STRING",
"links": []
},
{
"label": "llm_prompt",
"name": "llm_prompt",
"type": "STRING",
"links": []
},
{
"label": "api_prompt",
"name": "api_prompt",
"type": "STRING"
},
{
"label": "json_mode",
"name": "json_mode",
"type": "STRING"
}
],
"properties": {
"Node name for S&R": "BerniniPromptEnhancer",
"widget_ue_connectable": {}
},
"widgets_values": [
"用参考图替换视频中的人物",
"rv2v",
3
]
}
],
"links": [
[
7,
9,
0,
3,
0,
"CLIP"
],
[
8,
9,
0,
4,
0,
"CLIP"
],
[
23,
13,
0,
11,
0,
"MODEL"
],
[
24,
5,
0,
13,
0,
"MODEL"
],
[
25,
12,
0,
14,
0,
"MODEL"
],
[
31,
15,
0,
16,
0,
"LATENT"
],
[
33,
18,
0,
17,
0,
"SIGMAS"
],
[
34,
12,
0,
18,
0,
"MODEL"
],
[
40,
19,
0,
15,
5,
"LATENT"
],
[
41,
17,
0,
19,
4,
"SIGMAS"
],
[
42,
17,
1,
15,
4,
"SIGMAS"
],
[
53,
27,
0,
19,
3,
"SAMPLER"
],
[
56,
27,
0,
15,
3,
"SAMPLER"
],
[
58,
14,
0,
29,
0,
"MODEL"
],
[
67,
3,
0,
34,
0,
"CONDITIONING"
],
[
68,
4,
0,
34,
1,
"CONDITIONING"
],
[
73,
34,
1,
19,
2,
"CONDITIONING"
],
[
74,
34,
1,
15,
2,
"CONDITIONING"
],
[
75,
34,
2,
19,
5,
"LATENT"
],
[
76,
29,
0,
15,
0,
"MODEL"
],
[
77,
11,
0,
19,
0,
"MODEL"
],
[
78,
34,
0,
19,
1,
"CONDITIONING"
],
[
79,
34,
0,
15,
1,
"CONDITIONING"
],
[
99,
7,
0,
16,
1,
"VAE"
],
[
100,
7,
0,
34,
2,
"VAE"
],
[
108,
45,
0,
46,
0,
"VIDEO"
],
[
109,
47,
0,
48,
0,
"VIDEO"
],
[
110,
48,
0,
34,
3,
"IMAGE"
],
[
112,
48,
2,
45,
2,
"FLOAT"
],
[
114,
16,
0,
45,
0,
"IMAGE"
],
[
131,
48,
0,
60,
0,
"IMAGE"
],
[
132,
31,
0,
60,
2,
"IMAGE"
],
[
133,
60,
0,
52,
0,
"*"
],
[
160,
74,
0,
34,
5,
"IMAGE"
],
[
161,
31,
0,
76,
0,
"IMAGE"
],
[
162,
76,
0,
74,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"VHS_KeepIntermediate": true,
"links_added_by_ue": [],
"VHS_MetadataImage": true,
"ue_links": [],
"0246.VERSION": [
0,
0,
4
],
"VHS_latentpreviewrate": 0,
"frontendVersion": "1.23.0",
"VHS_latentpreview": false,
"ds": {
"scale": 0.45,
"offset": [
27.509321424696388,
-3946.8888888888896
]
}
},
"version": 0.4
}