Style-Transfer / flow.json
zooeyy's picture
Create flow.json
aea59b1 verified
{
"id": "ad18abd3-bdee-4f80-8fae-d15d4f845b9d",
"revision": 0,
"last_node_id": 107,
"last_link_id": 264,
"nodes": [
{
"id": 71,
"type": "FluxKontextMultiReferenceLatentMethod",
"pos": [
385.26277243528574,
141.28531415775316
],
"size": [
321.40146154207366,
58
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 188
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
189
]
}
],
"title": "Edit Model Reference Method",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "FluxKontextMultiReferenceLatentMethod"
},
"widgets_values": [
"index_timestep_zero"
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 64,
"type": "CFGNorm",
"pos": [
240.5556624920057,
-114.96737058447322
],
"size": [
270,
58
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 177
}
],
"outputs": [
{
"name": "patched_model",
"type": "MODEL",
"links": [
171
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "CFGNorm"
},
"widgets_values": [
1
]
},
{
"id": 70,
"type": "FluxKontextMultiReferenceLatentMethod",
"pos": [
385.59710752168684,
24.668109048812575
],
"size": [
321.40146154207366,
58
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 186
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
187
]
}
],
"title": "Edit Model Reference Method",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "FluxKontextMultiReferenceLatentMethod"
},
"widgets_values": [
"index_timestep_zero"
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 69,
"type": "TextEncodeQwenImageEditPlus",
"pos": [
-59.09090909090909,
311.8181818181819
],
"size": [
420,
220
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 181
},
{
"name": "vae",
"shape": 7,
"type": "VAE",
"link": 185
},
{
"name": "image1",
"shape": 7,
"type": "IMAGE",
"link": 259
},
{
"name": "image2",
"shape": 7,
"type": "IMAGE",
"link": 255
},
{
"name": "image3",
"shape": 7,
"type": "IMAGE",
"link": null
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
188
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "TextEncodeQwenImageEditPlus"
},
"widgets_values": [
""
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 12,
"type": "UNETLoader",
"pos": [
-540.8869577073466,
-257.0174554981992
],
"size": [
396.1419982910156,
82
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"slot_index": 0,
"links": [
234
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "UNETLoader"
},
"widgets_values": [
"QWEN-image\\qwen_image_edit_2511_bf16.safetensors",
"fp8_e5m2"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 61,
"type": "CLIPLoader",
"pos": [
-491.81818181818204,
9.090909090909092
],
"size": [
382,
106
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
178,
181
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "CLIPLoader"
},
"widgets_values": [
"qwen_2.5_vl_7b_fp8_scaled.safetensors",
"qwen_image",
"default"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 10,
"type": "VAELoader",
"pos": [
-448.0666,
171.96150000000003
],
"size": [
311.81634521484375,
60.429901123046875
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"slot_index": 0,
"links": [
12,
184,
185,
192
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"qwen_image_vae.safetensors"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 67,
"type": "ModelSamplingAuraFlow",
"pos": [
-49.17382286157242,
-116.95725106960347
],
"size": [
270,
58
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 257
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
177
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "ModelSamplingAuraFlow"
},
"widgets_values": [
3.1
]
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
1040.4973999999995,
-8.5359
],
"size": [
210,
46
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 175
},
{
"name": "vae",
"type": "VAE",
"link": 12
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
258
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 74,
"type": "VAEEncode",
"pos": [
241.3315688428469,
621.9077242010231
],
"size": [
140,
46
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 250
},
{
"name": "vae",
"type": "VAE",
"link": 192
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
246
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "VAEEncode"
},
"widgets_values": []
},
{
"id": 107,
"type": "ImageUpscaleWithModel",
"pos": [
-715.7550669864603,
141.78415904073506
],
"size": [
151.9,
46
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "upscale_model",
"type": "UPSCALE_MODEL",
"link": 262
},
{
"name": "image",
"type": "IMAGE",
"link": 263
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
264
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.6.0",
"Node name for S&R": "ImageUpscaleWithModel"
},
"widgets_values": []
},
{
"id": 104,
"type": "PreviewImage",
"pos": [
-597.7361269426509,
646.4326533964587
],
"size": [
381.30203726991544,
551.6878375977249
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 258
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.6.0",
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 106,
"type": "UpscaleModelLoader",
"pos": [
-1060.9349175177394,
138.40667996654605
],
"size": [
270,
58
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "UPSCALE_MODEL",
"type": "UPSCALE_MODEL",
"links": [
262
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.6.0",
"Node name for S&R": "UpscaleModelLoader"
},
"widgets_values": [
"2xNomosUni_esrgan_multijpg.safetensors"
]
},
{
"id": 41,
"type": "LoadImage",
"pos": [
-1281.8689495604376,
625.1313898721124
],
"size": [
304.82617812499984,
571.6816000000001
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
263
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"64dc18f4bd93dfb778e2dff15780adcf.png",
"image"
]
},
{
"id": 102,
"type": "easy imageScaleDownToSize",
"pos": [
-451.2039411893928,
415.59372288197955
],
"size": [
270,
82
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 264
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
250,
259,
260
]
}
],
"properties": {
"cnr_id": "comfyui-easy-use",
"ver": "00c69fc8163478edfd25b12e758b561d66107054",
"Node name for S&R": "easy imageScaleDownToSize"
},
"widgets_values": [
1280,
false
]
},
{
"id": 68,
"type": "TextEncodeQwenImageEditPlus",
"pos": [
-60,
-10
],
"size": [
426.63751220703125,
265.5693054199219
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 178
},
{
"name": "vae",
"shape": 7,
"type": "VAE",
"link": 184
},
{
"name": "image1",
"shape": 7,
"type": "IMAGE",
"link": 260
},
{
"name": "image2",
"shape": 7,
"type": "IMAGE",
"link": 254
},
{
"name": "image3",
"shape": 7,
"type": "IMAGE",
"link": null
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
186
]
}
],
"title": "TextEncodeQwenImageEditPlus (Positive)",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "TextEncodeQwenImageEditPlus"
},
"widgets_values": [
"图1背景保持不变,图1主体只保留最基本特征,完全变为图2的风格和比例"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 93,
"type": "LoraLoaderModelOnly",
"pos": [
-234.0390210364796,
-395.0734131812082
],
"size": [
210,
85.95513574477695
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 234
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
256
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "LoraLoaderModelOnly"
},
"widgets_values": [
"qwenEdit2511\\Qwen-Image-Edit-2511-Lightning-4steps-V1.0-bf16.safetensors",
1
]
},
{
"id": 65,
"type": "KSampler",
"pos": [
730,
-10
],
"size": [
270,
830.7619047619048
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 171
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 187
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 189
},
{
"name": "latent_image",
"type": "LATENT",
"link": 246
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
175
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "KSampler"
},
"widgets_values": [
444873348920590,
"fixed",
4,
1,
"euler",
"simple",
1
]
},
{
"id": 103,
"type": "LoraLoaderModelOnly",
"pos": [
52.971236116611934,
-395.57234737473505
],
"size": [
270,
82
],
"flags": {
"collapsed": false
},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 256
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
257
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "LoraLoaderModelOnly"
},
"widgets_values": [
"qwenEdit2511\\风格迁移38000.safetensors",
1
]
},
{
"id": 79,
"type": "LoadImage",
"pos": [
-942.8348117241494,
628.3934972319335
],
"size": [
304.82617812499984,
571.6816000000001
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
254,
255
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"ComfyUI_temp_zzmzj_00026_.png",
"image"
]
}
],
"links": [
[
12,
10,
0,
8,
1,
"VAE"
],
[
171,
64,
0,
65,
0,
"MODEL"
],
[
175,
65,
0,
8,
0,
"LATENT"
],
[
177,
67,
0,
64,
0,
"MODEL"
],
[
178,
61,
0,
68,
0,
"CLIP"
],
[
181,
61,
0,
69,
0,
"CLIP"
],
[
184,
10,
0,
68,
1,
"VAE"
],
[
185,
10,
0,
69,
1,
"VAE"
],
[
186,
68,
0,
70,
0,
"CONDITIONING"
],
[
187,
70,
0,
65,
1,
"CONDITIONING"
],
[
188,
69,
0,
71,
0,
"CONDITIONING"
],
[
189,
71,
0,
65,
2,
"CONDITIONING"
],
[
192,
10,
0,
74,
1,
"VAE"
],
[
234,
12,
0,
93,
0,
"MODEL"
],
[
246,
74,
0,
65,
3,
"LATENT"
],
[
250,
102,
0,
74,
0,
"IMAGE"
],
[
254,
79,
0,
68,
3,
"IMAGE"
],
[
255,
79,
0,
69,
3,
"IMAGE"
],
[
256,
93,
0,
103,
0,
"MODEL"
],
[
257,
103,
0,
67,
0,
"MODEL"
],
[
258,
8,
0,
104,
0,
"IMAGE"
],
[
259,
102,
0,
69,
2,
"IMAGE"
],
[
260,
102,
0,
68,
2,
"IMAGE"
],
[
262,
106,
0,
107,
0,
"UPSCALE_MODEL"
],
[
263,
41,
0,
107,
1,
"IMAGE"
],
[
264,
107,
0,
102,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 1.0834705943389595,
"offset": [
1822.8960640593834,
-108.66778905681338
]
},
"frontendVersion": "1.34.9",
"workflowRendererVersion": "LG",
"groupNodes": {},
"VHS_latentpreview": true,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}