FLUX.2 [klein]とは?
FLUX.2 [klein] は、画像生成 と 指示ベース画像編集 を1つのモデルで扱える、小型・高速のFlux.2系モデルです。
ラインナップ
- 9B / 9B Base(FLUX Non-Commercial License。非商用)
- 4B / 4B Base(Apache 2.0)
分かりにくいですが、無印のほうが 蒸留(Distilled)モデルです。 Base(20 steps)に対し、Distilled は 4 steps で生成出来ます。
大きな性能差は無いので、生成には基本的にDistilledモデルを使っていきます。
推奨設定値
- 解像度
- 最小 64×64
- 最大 4MP (2048×2048)
- 縦横ともに 16 の倍数
- 参照画像枚数
- 最大 4
Flux.2 [klein] 9B
モデルのダウンロード(9B)
-
diffusion_models
-
text_encoders
-
vae
📂ComfyUI/
└── 📂models/
├── 📂diffusion_models/
│ ├── flux-2-klein-9b-fp8.safetensors
│ └── flux-2-klein-base-9b-fp8.safetensors
├── 📂text_encoders/
│ └── qwen_3_8b.safetensors
└── 📂vae/
└── flux2-vae.safetensors
text2image Base

{
"id": "18404b37-92b0-4d11-a39c-ae941838eb83",
"revision": 0,
"last_node_id": 48,
"last_link_id": 69,
"nodes": [
{
"id": 43,
"type": "VAELoader",
"pos": [
1092.3380000000002,
43.49502563476558
],
"size": [
270,
58
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
62
]
}
],
"properties": {
"Node name for S&R": "VAELoader",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
"flux2-vae.safetensors"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 48,
"type": "UNETLoader",
"pos": [
675.805753000491,
19.495025634765582
],
"size": [
308.1592787377913,
82
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
69
]
}
],
"properties": {
"Node name for S&R": "UNETLoader"
},
"widgets_values": [
"Flux.2\\flux-2-klein-base-9b-fp8.safetensors",
"default"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 44,
"type": "CLIPLoader",
"pos": [
224.49879211425772,
292.66704483032197
],
"size": [
283.80000000000007,
106
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
63,
64
]
}
],
"properties": {
"Node name for S&R": "CLIPLoader",
"cnr_id": "comfy-core",
"ver": "0.3.73"
},
"widgets_values": [
"qwen_3_8b.safetensors",
"flux2",
"default"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 31,
"type": "KSampler",
"pos": [
1047.3380000000002,
160.40068341159756
],
"size": [
315,
262
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 69
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 68
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 55
},
{
"name": "latent_image",
"type": "LATENT",
"link": 67
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
52
]
}
],
"properties": {
"Node name for S&R": "KSampler",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
1234,
"fixed",
20,
5,
"euler",
"simple",
1
]
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
1394.1950923071242,
160.40068341159756
],
"size": [
161.111083984375,
46
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 52
},
{
"name": "vae",
"type": "VAE",
"link": 62
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
65
]
}
],
"properties": {
"Node name for S&R": "VAEDecode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": []
},
{
"id": 45,
"type": "SaveImage",
"pos": [
1587.1632685986233,
160.40068341159756
],
"size": [
582.6799999999998,
614.729
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 65
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73"
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 33,
"type": "CLIPTextEncode",
"pos": [
558.700000000001,
387.24938745307793
],
"size": [
422.84503173828125,
122.99611236572264
],
"flags": {
"collapsed": false
},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 64
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
55
]
}
],
"title": "CLIP Text Encode (Negative Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
"text, worst quality, blurry, ugly"
]
},
{
"id": 47,
"type": "EmptyFlux2LatentImage",
"pos": [
736.926092882394,
569.1511575956325
],
"size": [
244.61893885588825,
106
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
67
]
}
],
"properties": {
"Node name for S&R": "EmptyFlux2LatentImage",
"cnr_id": "comfy-core",
"ver": "0.7.0"
},
"widgets_values": [
1024,
1408,
1
]
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
558.700000000001,
160.40068341159756
],
"size": [
425.2650317382812,
167.9430462646484
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 63
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
68
]
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
"Humpback whale underwater, shot from below with an ultra wide-angle lens. Sun rays and caustics from the surface, blue water haze, floating particles, high detail, photoreal underwater wildlife photo."
]
}
],
"links": [
[
52,
31,
0,
8,
0,
"LATENT"
],
[
55,
33,
0,
31,
2,
"CONDITIONING"
],
[
62,
43,
0,
8,
1,
"VAE"
],
[
63,
44,
0,
6,
0,
"CLIP"
],
[
64,
44,
0,
33,
0,
"CLIP"
],
[
65,
8,
0,
45,
0,
"IMAGE"
],
[
67,
47,
0,
31,
3,
"LATENT"
],
[
68,
6,
0,
31,
1,
"CONDITIONING"
],
[
69,
48,
0,
31,
0,
"MODEL"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.7513148009015777,
"offset": [
-61.61879211425747,
455.93397436523446
]
},
"frontendVersion": "1.38.4",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}
公式workflowでは、
Flux2Schedulerというものを使いますが、大きな違いは無いので、workflowを簡略化するためSimpleを使っています。
text2image Distilled

{
"id": "18404b37-92b0-4d11-a39c-ae941838eb83",
"revision": 0,
"last_node_id": 48,
"last_link_id": 69,
"nodes": [
{
"id": 43,
"type": "VAELoader",
"pos": [
1092.3380000000002,
43.49502563476558
],
"size": [
270,
58
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
62
]
}
],
"properties": {
"Node name for S&R": "VAELoader",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
"flux2-vae.safetensors"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 44,
"type": "CLIPLoader",
"pos": [
224.49879211425772,
292.66704483032197
],
"size": [
283.80000000000007,
106
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
63,
64
]
}
],
"properties": {
"Node name for S&R": "CLIPLoader",
"cnr_id": "comfy-core",
"ver": "0.3.73"
},
"widgets_values": [
"qwen_3_8b.safetensors",
"flux2",
"default"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
1394.1950923071242,
160.40068341159756
],
"size": [
161.111083984375,
46
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 52
},
{
"name": "vae",
"type": "VAE",
"link": 62
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
65
]
}
],
"properties": {
"Node name for S&R": "VAEDecode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": []
},
{
"id": 45,
"type": "SaveImage",
"pos": [
1587.1632685986233,
160.40068341159756
],
"size": [
582.6799999999998,
614.729
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 65
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73"
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
558.700000000001,
160.40068341159756
],
"size": [
425.2650317382812,
167.9430462646484
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 63
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
68
]
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
"Humpback whale underwater, shot from below with an ultra wide-angle lens. Sun rays and caustics from the surface, blue water haze, floating particles, high detail, photoreal underwater wildlife photo."
]
},
{
"id": 33,
"type": "CLIPTextEncode",
"pos": [
558.700000000001,
387.24938745307793
],
"size": [
422.84503173828125,
122.99611236572264
],
"flags": {
"collapsed": true
},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 64
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
55
]
}
],
"title": "CLIP Text Encode (Negative Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
""
]
},
{
"id": 48,
"type": "UNETLoader",
"pos": [
675.805753000491,
19.495025634765582
],
"size": [
308.1592787377913,
82
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
69
]
}
],
"properties": {
"Node name for S&R": "UNETLoader"
},
"widgets_values": [
"Flux.2\\flux-2-klein-9b-fp8.safetensors",
"default"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 31,
"type": "KSampler",
"pos": [
1047.3380000000002,
160.40068341159756
],
"size": [
315,
262
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 69
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 68
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 55
},
{
"name": "latent_image",
"type": "LATENT",
"link": 67
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
52
]
}
],
"properties": {
"Node name for S&R": "KSampler",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
1234,
"fixed",
4,
1,
"euler",
"simple",
1
]
},
{
"id": 47,
"type": "EmptyFlux2LatentImage",
"pos": [
739.3460928823939,
473.2833890005912
],
"size": [
244.61893885588825,
106
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
67
]
}
],
"properties": {
"Node name for S&R": "EmptyFlux2LatentImage",
"cnr_id": "comfy-core",
"ver": "0.7.0"
},
"widgets_values": [
1024,
1408,
1
]
}
],
"links": [
[
52,
31,
0,
8,
0,
"LATENT"
],
[
55,
33,
0,
31,
2,
"CONDITIONING"
],
[
62,
43,
0,
8,
1,
"VAE"
],
[
63,
44,
0,
6,
0,
"CLIP"
],
[
64,
44,
0,
33,
0,
"CLIP"
],
[
65,
8,
0,
45,
0,
"IMAGE"
],
[
67,
47,
0,
31,
3,
"LATENT"
],
[
68,
6,
0,
31,
1,
"CONDITIONING"
],
[
69,
48,
0,
31,
0,
"MODEL"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.7513148009015778,
"offset": [
-112.5197921142577,
349.3669743652345
]
},
"frontendVersion": "1.38.4",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}
以下のパラメータだけ変更します。
CFG: 1.0steps: 4
画像編集 Base

{
"id": "e47d064a-cb92-4da7-b92b-be9f1ddd26f5",
"revision": 0,
"last_node_id": 55,
"last_link_id": 85,
"nodes": [
{
"id": 45,
"type": "SaveImage",
"pos": [
1813.4632685986182,
160.40068341159756
],
"size": [
582.6799999999998,
614.729
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 65
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73"
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
558.700000000001,
160.40068341159756
],
"size": [
425.2650317382812,
167.9430462646484
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 63
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
70
]
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
"remove the man\n"
]
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
1615.039087801503,
160.40068341159756
],
"size": [
161.111083984375,
46
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 52
},
{
"name": "vae",
"type": "VAE",
"link": 62
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
65
]
}
],
"properties": {
"Node name for S&R": "VAEDecode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": []
},
{
"id": 51,
"type": "ResizeImageMaskNode",
"pos": [
213.01819139432666,
579.5488468801722
],
"size": [
270,
106
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "IMAGE,MASK",
"link": 72
}
],
"outputs": [
{
"name": "resized",
"type": "IMAGE",
"links": [
82
]
}
],
"properties": {
"Node name for S&R": "ResizeImageMaskNode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"scale total pixels",
1,
"nearest-exact"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 54,
"type": "ResizeImageMaskNode",
"pos": [
517.4916115663044,
579.5488468801722
],
"size": [
270,
106
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "IMAGE,MASK",
"link": 82
}
],
"outputs": [
{
"name": "resized",
"type": "IMAGE",
"links": [
80
]
}
],
"properties": {
"Node name for S&R": "ResizeImageMaskNode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"scale to multiple",
16,
"nearest-exact"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 31,
"type": "KSampler",
"pos": [
1262.7259909887628,
160.40068341159756
],
"size": [
315,
262
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 69
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 71
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 85
},
{
"name": "latent_image",
"type": "LATENT",
"link": 74
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
52
]
}
],
"properties": {
"Node name for S&R": "KSampler",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
1234,
"fixed",
20,
5,
"euler",
"simple",
1
]
},
{
"id": 49,
"type": "ReferenceLatent",
"pos": [
1021.2781285510225,
160.40068341159756
],
"size": [
204.134765625,
46
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 70
},
{
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 75
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
71
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 52,
"type": "VAEEncode",
"pos": [
821.9650317382822,
579.5488468801722
],
"size": [
162,
46
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 80
},
{
"name": "vae",
"type": "VAE",
"link": 76
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
74,
75,
84
]
}
],
"properties": {
"Node name for S&R": "VAEEncode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 55,
"type": "ReferenceLatent",
"pos": [
1021.2781285510225,
387.24938745307793
],
"size": [
204.134765625,
46
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 83
},
{
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 84
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
85
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 33,
"type": "CLIPTextEncode",
"pos": [
558.700000000001,
387.24938745307793
],
"size": [
425.2650317382812,
122.99611236572264
],
"flags": {
"collapsed": false
},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 64
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
83
]
}
],
"title": "CLIP Text Encode (Negative Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
"text, worst quality, blurry, ugly"
]
},
{
"id": 48,
"type": "UNETLoader",
"pos": [
917.2536154382312,
19.495025634765582
],
"size": [
308.1592787377913,
82
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
69
]
}
],
"properties": {
"Node name for S&R": "UNETLoader",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"Flux.2\\flux-2-klein-base-9b-fp8.safetensors",
"default"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 44,
"type": "CLIPLoader",
"pos": [
224.49879211425772,
292.66704483032197
],
"size": [
283.80000000000007,
106
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
63,
64
]
}
],
"properties": {
"Node name for S&R": "CLIPLoader",
"cnr_id": "comfy-core",
"ver": "0.3.73"
},
"widgets_values": [
"qwen_3_8b.safetensors",
"flux2",
"default"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 50,
"type": "LoadImage",
"pos": [
-118.2540569026511,
579.5488468801722
],
"size": [
296.798828125,
458.0000000000001
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
72
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"pexels-photo-31438166.jpg",
"image"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 43,
"type": "VAELoader",
"pos": [
520.2735954205992,
751.5950256347664
],
"size": [
269.8313103058076,
58
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
62,
76
]
}
],
"properties": {
"Node name for S&R": "VAELoader",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
"flux2-vae.safetensors"
],
"color": "#322",
"bgcolor": "#533"
}
],
"links": [
[
52,
31,
0,
8,
0,
"LATENT"
],
[
62,
43,
0,
8,
1,
"VAE"
],
[
63,
44,
0,
6,
0,
"CLIP"
],
[
64,
44,
0,
33,
0,
"CLIP"
],
[
65,
8,
0,
45,
0,
"IMAGE"
],
[
69,
48,
0,
31,
0,
"MODEL"
],
[
70,
6,
0,
49,
0,
"CONDITIONING"
],
[
71,
49,
0,
31,
1,
"CONDITIONING"
],
[
72,
50,
0,
51,
0,
"IMAGE"
],
[
74,
52,
0,
31,
3,
"LATENT"
],
[
75,
52,
0,
49,
1,
"LATENT"
],
[
76,
43,
0,
52,
1,
"VAE"
],
[
80,
54,
0,
52,
0,
"IMAGE"
],
[
82,
51,
0,
54,
0,
"IMAGE"
],
[
83,
33,
0,
55,
0,
"CONDITIONING"
],
[
84,
52,
0,
55,
1,
"LATENT"
],
[
85,
55,
0,
31,
2,
"CONDITIONING"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.6747664984821087,
"offset": [
-21.222118184015986,
459.6381084227054
]
},
"frontendVersion": "1.38.8",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}
「入力画像 + 指示プロンプト」 が基本です。
- 入力画像を VAE Encode して
ReferenceLatentに渡します。
画像編集 Distilled

{
"id": "e47d064a-cb92-4da7-b92b-be9f1ddd26f5",
"revision": 0,
"last_node_id": 55,
"last_link_id": 86,
"nodes": [
{
"id": 45,
"type": "SaveImage",
"pos": [
1813.4632685986182,
160.40068341159756
],
"size": [
582.6799999999998,
614.729
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 65
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73"
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
558.700000000001,
160.40068341159756
],
"size": [
425.2650317382812,
167.9430462646484
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 63
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
70
]
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
"remove the man\n"
]
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
1615.039087801503,
160.40068341159756
],
"size": [
161.111083984375,
46
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 52
},
{
"name": "vae",
"type": "VAE",
"link": 62
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
65
]
}
],
"properties": {
"Node name for S&R": "VAEDecode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": []
},
{
"id": 51,
"type": "ResizeImageMaskNode",
"pos": [
209.97616959564456,
484.74016932307575
],
"size": [
270,
106
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "IMAGE,MASK",
"link": 72
}
],
"outputs": [
{
"name": "resized",
"type": "IMAGE",
"links": [
82
]
}
],
"properties": {
"Node name for S&R": "ResizeImageMaskNode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"scale total pixels",
1,
"nearest-exact"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 49,
"type": "ReferenceLatent",
"pos": [
1021.2781285510225,
160.40068341159756
],
"size": [
204.134765625,
46
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 70
},
{
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 75
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
71
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 44,
"type": "CLIPLoader",
"pos": [
224.49879211425772,
292.66704483032197
],
"size": [
283.80000000000007,
106
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
63,
64
]
}
],
"properties": {
"Node name for S&R": "CLIPLoader",
"cnr_id": "comfy-core",
"ver": "0.3.73"
},
"widgets_values": [
"qwen_3_8b.safetensors",
"flux2",
"default"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 50,
"type": "LoadImage",
"pos": [
-121.29607870133319,
484.74016932307575
],
"size": [
296.798828125,
458.0000000000001
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
72
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"pexels-photo-31438166.jpg",
"image"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 43,
"type": "VAELoader",
"pos": [
517.231573621917,
656.7863480776692
],
"size": [
269.8313103058076,
58
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
62,
76
]
}
],
"properties": {
"Node name for S&R": "VAELoader",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
"flux2-vae.safetensors"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 48,
"type": "UNETLoader",
"pos": [
917.2536154382312,
19.495025634765582
],
"size": [
308.1592787377913,
82
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
69
]
}
],
"properties": {
"Node name for S&R": "UNETLoader",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"Flux.2\\flux-2-klein-9b-fp8.safetensors",
"default"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 54,
"type": "ResizeImageMaskNode",
"pos": [
514.4495897676222,
484.74016932307575
],
"size": [
270,
106
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "IMAGE,MASK",
"link": 82
}
],
"outputs": [
{
"name": "resized",
"type": "IMAGE",
"links": [
80
]
}
],
"properties": {
"Node name for S&R": "ResizeImageMaskNode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"scale to multiple",
16,
"nearest-exact"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 52,
"type": "VAEEncode",
"pos": [
821.9650317382822,
484.74016932307575
],
"size": [
162,
46
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 80
},
{
"name": "vae",
"type": "VAE",
"link": 76
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
74,
75
]
}
],
"properties": {
"Node name for S&R": "VAEEncode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 31,
"type": "KSampler",
"pos": [
1262.7259909887628,
160.40068341159756
],
"size": [
315,
262
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 69
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 71
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 86
},
{
"name": "latent_image",
"type": "LATENT",
"link": 74
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
52
]
}
],
"properties": {
"Node name for S&R": "KSampler",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
1234,
"fixed",
4,
1,
"euler",
"simple",
1
]
},
{
"id": 33,
"type": "CLIPTextEncode",
"pos": [
558.700000000001,
387.24938745307793
],
"size": [
425.2650317382812,
122.99611236572264
],
"flags": {
"collapsed": true
},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 64
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
86
]
}
],
"title": "CLIP Text Encode (Negative Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
""
]
}
],
"links": [
[
52,
31,
0,
8,
0,
"LATENT"
],
[
62,
43,
0,
8,
1,
"VAE"
],
[
63,
44,
0,
6,
0,
"CLIP"
],
[
64,
44,
0,
33,
0,
"CLIP"
],
[
65,
8,
0,
45,
0,
"IMAGE"
],
[
69,
48,
0,
31,
0,
"MODEL"
],
[
70,
6,
0,
49,
0,
"CONDITIONING"
],
[
71,
49,
0,
31,
1,
"CONDITIONING"
],
[
72,
50,
0,
51,
0,
"IMAGE"
],
[
74,
52,
0,
31,
3,
"LATENT"
],
[
75,
52,
0,
49,
1,
"LATENT"
],
[
76,
43,
0,
52,
1,
"VAE"
],
[
80,
54,
0,
52,
0,
"IMAGE"
],
[
82,
51,
0,
54,
0,
"IMAGE"
],
[
86,
33,
0,
31,
2,
"CONDITIONING"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.7422431483303209,
"offset": [
-76.59967753672073,
692.7631798199931
]
},
"frontendVersion": "1.38.8",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}
画像編集(マルチリファレンス)Base
複数枚の画像を入力して参照させることもできます。

{
"id": "dd12983a-96df-4883-9da3-de0d54b66613",
"revision": 0,
"last_node_id": 63,
"last_link_id": 98,
"nodes": [
{
"id": 45,
"type": "SaveImage",
"pos": [
2061.6450877883976,
160.40068341159756
],
"size": [
582.6799999999998,
614.729
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 65
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73"
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
1863.6450877883976,
160.40068341159756
],
"size": [
161.111083984375,
46
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 52
},
{
"name": "vae",
"type": "VAE",
"link": 62
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
65
]
}
],
"properties": {
"Node name for S&R": "VAEDecode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": []
},
{
"id": 54,
"type": "ResizeImageMaskNode",
"pos": [
521.0917772387811,
579.5488468801722
],
"size": [
258.18181818181813,
106
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "IMAGE,MASK",
"link": 82
}
],
"outputs": [
{
"name": "resized",
"type": "IMAGE",
"links": [
80
]
}
],
"properties": {
"Node name for S&R": "ResizeImageMaskNode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"scale to multiple",
16,
"nearest-exact"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 33,
"type": "CLIPTextEncode",
"pos": [
558.700000000001,
387.24938745307793
],
"size": [
425.2650317382812,
122.99611236572264
],
"flags": {
"collapsed": false
},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 64
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
83
]
}
],
"title": "CLIP Text Encode (Negative Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
"text, worst quality, blurry, ugly"
]
},
{
"id": 44,
"type": "CLIPLoader",
"pos": [
224.49879211425772,
292.66704483032197
],
"size": [
283.80000000000007,
106
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
63,
64
]
}
],
"properties": {
"Node name for S&R": "CLIPLoader",
"cnr_id": "comfy-core",
"ver": "0.3.73"
},
"widgets_values": [
"qwen_3_8b.safetensors",
"flux2",
"default"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 55,
"type": "ReferenceLatent",
"pos": [
1023.7685400049872,
387.24938745307793
],
"size": [
204.134765625,
46
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 83
},
{
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 84
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
87
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 58,
"type": "ReferenceLatent",
"pos": [
1267.7068138966924,
387.24938745307793
],
"size": [
204.134765625,
46
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 87
},
{
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 95
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
89
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 49,
"type": "ReferenceLatent",
"pos": [
1023.7685400049872,
160.40068341159756
],
"size": [
204.134765625,
46
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 70
},
{
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 75
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
86
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 31,
"type": "KSampler",
"pos": [
1511.6450877883976,
160.40068341159756
],
"size": [
315,
262
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 69
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 88
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 89
},
{
"name": "latent_image",
"type": "LATENT",
"link": 98
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
52
]
}
],
"properties": {
"Node name for S&R": "KSampler",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
1234,
"fixed",
20,
5,
"euler",
"simple",
1
]
},
{
"id": 48,
"type": "UNETLoader",
"pos": [
1163.6823007839012,
19.495025634765582
],
"size": [
308.1592787377913,
82
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
69
]
}
],
"properties": {
"Node name for S&R": "UNETLoader",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"Flux.2\\flux-2-klein-base-9b-fp8.safetensors",
"default"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 57,
"type": "ReferenceLatent",
"pos": [
1267.7068138966924,
160.40068341159756
],
"size": [
204.134765625,
46
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 86
},
{
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 94
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
88
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 62,
"type": "VAEEncode",
"pos": [
821.9650317382822,
809.7915770014823
],
"size": [
162,
46
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 93
},
{
"name": "vae",
"type": "VAE",
"link": 96
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
94,
95
]
}
],
"properties": {
"Node name for S&R": "VAEEncode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 51,
"type": "ResizeImageMaskNode",
"pos": [
228.96458197839644,
579.5488468801722
],
"size": [
270,
106
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "IMAGE,MASK",
"link": 72
}
],
"outputs": [
{
"name": "resized",
"type": "IMAGE",
"links": [
82
]
}
],
"properties": {
"Node name for S&R": "ResizeImageMaskNode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"scale total pixels",
1,
"nearest-exact"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 59,
"type": "ResizeImageMaskNode",
"pos": [
228.96458197839644,
809.7915770014823
],
"size": [
270,
106
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "IMAGE,MASK",
"link": 90
}
],
"outputs": [
{
"name": "resized",
"type": "IMAGE",
"links": [
93
]
}
],
"properties": {
"Node name for S&R": "ResizeImageMaskNode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"scale total pixels",
1,
"nearest-exact"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 43,
"type": "VAELoader",
"pos": [
520.3960742755587,
985.0397231877251
],
"size": [
259,
58
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
62,
76,
96
]
}
],
"properties": {
"Node name for S&R": "VAELoader",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
"flux2-vae.safetensors"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 60,
"type": "LoadImage",
"pos": [
-89.43354600823244,
1094.7898292263142
],
"size": [
296.798828125,
458.0000000000001
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
90
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"OIG.jpg",
"image"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 50,
"type": "LoadImage",
"pos": [
-89.96144140698813,
579.5488468801722
],
"size": [
296.798828125,
458.0000000000001
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
72
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"MIVNE6WMRMSXY.jpg",
"image"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 52,
"type": "VAEEncode",
"pos": [
821.9650317382822,
579.5488468801722
],
"size": [
162,
46
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 80
},
{
"name": "vae",
"type": "VAE",
"link": 76
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
75,
84,
97
]
}
],
"properties": {
"Node name for S&R": "VAEEncode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 63,
"type": "Reroute",
"pos": [
1396.8415795216924,
579.5488468801722
],
"size": [
75,
26
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 97
}
],
"outputs": [
{
"name": "",
"type": "LATENT",
"links": [
98
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
558.700000000001,
160.40068341159756
],
"size": [
425.2650317382812,
167.9430462646484
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 63
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
70
]
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
"Change image 1 to match the style of image 2.honeybee on a dandelion flower"
]
}
],
"links": [
[
52,
31,
0,
8,
0,
"LATENT"
],
[
62,
43,
0,
8,
1,
"VAE"
],
[
63,
44,
0,
6,
0,
"CLIP"
],
[
64,
44,
0,
33,
0,
"CLIP"
],
[
65,
8,
0,
45,
0,
"IMAGE"
],
[
69,
48,
0,
31,
0,
"MODEL"
],
[
70,
6,
0,
49,
0,
"CONDITIONING"
],
[
72,
50,
0,
51,
0,
"IMAGE"
],
[
75,
52,
0,
49,
1,
"LATENT"
],
[
76,
43,
0,
52,
1,
"VAE"
],
[
80,
54,
0,
52,
0,
"IMAGE"
],
[
82,
51,
0,
54,
0,
"IMAGE"
],
[
83,
33,
0,
55,
0,
"CONDITIONING"
],
[
84,
52,
0,
55,
1,
"LATENT"
],
[
86,
49,
0,
57,
0,
"CONDITIONING"
],
[
87,
55,
0,
58,
0,
"CONDITIONING"
],
[
88,
57,
0,
31,
1,
"CONDITIONING"
],
[
89,
58,
0,
31,
2,
"CONDITIONING"
],
[
90,
60,
0,
59,
0,
"IMAGE"
],
[
93,
59,
0,
62,
0,
"IMAGE"
],
[
94,
62,
0,
57,
1,
"LATENT"
],
[
95,
62,
0,
58,
1,
"LATENT"
],
[
96,
43,
0,
62,
1,
"VAE"
],
[
97,
52,
0,
63,
0,
"LATENT"
],
[
98,
63,
0,
31,
3,
"LATENT"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.6134240895291901,
"offset": [
164.91540041138728,
200.34090245586412
]
},
"frontendVersion": "1.38.7",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}
参照画像 → VAE Encode → ReferenceLatentこの塊を直列に繋いでいくだけです。- 2枚でも3枚でもOKです。(ただし上限は4)
画像編集(マルチリファレンス)Distilled

{
"id": "e0361c75-4d9e-44e1-b5af-0573e8dbfd81",
"revision": 0,
"last_node_id": 63,
"last_link_id": 100,
"nodes": [
{
"id": 45,
"type": "SaveImage",
"pos": [
2061.6450877883976,
160.40068341159756
],
"size": [
582.6799999999998,
614.729
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 65
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73"
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
1863.6450877883976,
160.40068341159756
],
"size": [
161.111083984375,
46
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 52
},
{
"name": "vae",
"type": "VAE",
"link": 62
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
65
]
}
],
"properties": {
"Node name for S&R": "VAEDecode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": []
},
{
"id": 54,
"type": "ResizeImageMaskNode",
"pos": [
515.2482227713929,
471.02558767069615
],
"size": [
258.18181818181813,
106
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "IMAGE,MASK",
"link": 82
}
],
"outputs": [
{
"name": "resized",
"type": "IMAGE",
"links": [
80
]
}
],
"properties": {
"Node name for S&R": "ResizeImageMaskNode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"scale to multiple",
16,
"nearest-exact"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 49,
"type": "ReferenceLatent",
"pos": [
1023.7685400049872,
160.40068341159756
],
"size": [
204.134765625,
46
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 70
},
{
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 75
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
86
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 57,
"type": "ReferenceLatent",
"pos": [
1267.7068138966924,
160.40068341159756
],
"size": [
204.134765625,
46
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 86
},
{
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 94
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
88
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 62,
"type": "VAEEncode",
"pos": [
816.121477270894,
701.2683177920061
],
"size": [
162,
46
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 93
},
{
"name": "vae",
"type": "VAE",
"link": 96
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
94
]
}
],
"properties": {
"Node name for S&R": "VAEEncode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 51,
"type": "ResizeImageMaskNode",
"pos": [
223.12102751100818,
471.02558767069615
],
"size": [
270,
106
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "IMAGE,MASK",
"link": 72
}
],
"outputs": [
{
"name": "resized",
"type": "IMAGE",
"links": [
82
]
}
],
"properties": {
"Node name for S&R": "ResizeImageMaskNode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"scale total pixels",
1,
"nearest-exact"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 59,
"type": "ResizeImageMaskNode",
"pos": [
223.12102751100818,
701.2683177920061
],
"size": [
270,
106
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "IMAGE,MASK",
"link": 90
}
],
"outputs": [
{
"name": "resized",
"type": "IMAGE",
"links": [
93
]
}
],
"properties": {
"Node name for S&R": "ResizeImageMaskNode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"scale total pixels",
1,
"nearest-exact"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 43,
"type": "VAELoader",
"pos": [
514.5525198081705,
876.5164639782489
],
"size": [
259,
58
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
62,
76,
96
]
}
],
"properties": {
"Node name for S&R": "VAELoader",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
"flux2-vae.safetensors"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 60,
"type": "LoadImage",
"pos": [
-95.27710047562067,
986.266570016838
],
"size": [
296.798828125,
458.0000000000001
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
90
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"OIG.jpg",
"image"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 50,
"type": "LoadImage",
"pos": [
-95.80499587437637,
471.02558767069615
],
"size": [
296.798828125,
458.0000000000001
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
72
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"MIVNE6WMRMSXY.jpg",
"image"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
558.700000000001,
160.40068341159756
],
"size": [
425.2650317382812,
167.9430462646484
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 63
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
70
]
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
"Change image 1 to match the style of image 2.honeybee on a dandelion flower"
]
},
{
"id": 31,
"type": "KSampler",
"pos": [
1511.6450877883976,
160.40068341159756
],
"size": [
315,
262
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 69
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 88
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 100
},
{
"name": "latent_image",
"type": "LATENT",
"link": 98
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
52
]
}
],
"properties": {
"Node name for S&R": "KSampler",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
1234,
"fixed",
4,
1,
"euler",
"simple",
1
]
},
{
"id": 63,
"type": "Reroute",
"pos": [
1390.9980250543044,
471.02558767069615
],
"size": [
75,
26
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 97
}
],
"outputs": [
{
"name": "",
"type": "LATENT",
"links": [
98
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 52,
"type": "VAEEncode",
"pos": [
816.121477270894,
471.02558767069615
],
"size": [
162,
46
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 80
},
{
"name": "vae",
"type": "VAE",
"link": 76
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
75,
97
]
}
],
"properties": {
"Node name for S&R": "VAEEncode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 33,
"type": "CLIPTextEncode",
"pos": [
558.700000000001,
387.24938745307793
],
"size": [
425.2650317382812,
122.99611236572264
],
"flags": {
"collapsed": true
},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 64
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
100
]
}
],
"title": "CLIP Text Encode (Negative Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
""
]
},
{
"id": 48,
"type": "UNETLoader",
"pos": [
1163.6823007839012,
19.495025634765582
],
"size": [
308.1592787377913,
82
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
69
]
}
],
"properties": {
"Node name for S&R": "UNETLoader",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"Flux.2\\flux-2-klein-9b-fp8.safetensors",
"default"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 44,
"type": "CLIPLoader",
"pos": [
224.49879211425772,
292.66704483032197
],
"size": [
283.80000000000007,
106
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
63,
64
]
}
],
"properties": {
"Node name for S&R": "CLIPLoader",
"cnr_id": "comfy-core",
"ver": "0.3.73"
},
"widgets_values": [
"qwen_3_8b.safetensors",
"flux2",
"default"
],
"color": "#432",
"bgcolor": "#653"
}
],
"links": [
[
52,
31,
0,
8,
0,
"LATENT"
],
[
62,
43,
0,
8,
1,
"VAE"
],
[
63,
44,
0,
6,
0,
"CLIP"
],
[
64,
44,
0,
33,
0,
"CLIP"
],
[
65,
8,
0,
45,
0,
"IMAGE"
],
[
69,
48,
0,
31,
0,
"MODEL"
],
[
70,
6,
0,
49,
0,
"CONDITIONING"
],
[
72,
50,
0,
51,
0,
"IMAGE"
],
[
75,
52,
0,
49,
1,
"LATENT"
],
[
76,
43,
0,
52,
1,
"VAE"
],
[
80,
54,
0,
52,
0,
"IMAGE"
],
[
82,
51,
0,
54,
0,
"IMAGE"
],
[
86,
49,
0,
57,
0,
"CONDITIONING"
],
[
88,
57,
0,
31,
1,
"CONDITIONING"
],
[
90,
60,
0,
59,
0,
"IMAGE"
],
[
93,
59,
0,
62,
0,
"IMAGE"
],
[
94,
62,
0,
57,
1,
"LATENT"
],
[
96,
43,
0,
62,
1,
"VAE"
],
[
97,
52,
0,
63,
0,
"LATENT"
],
[
98,
63,
0,
31,
3,
"LATENT"
],
[
100,
33,
0,
31,
2,
"CONDITIONING"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.7513148009015779,
"offset": [
113.08388134819245,
42.02671908332053
]
},
"frontendVersion": "1.38.8",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}
Flux.2 [klein] 4B
モデルのダウンロード(4B)
-
diffusion_models
-
text_encoders
-
vae
📂ComfyUI/
└── 📂models/
├── 📂diffusion_models/
│ ├── flux-2-klein-4b.safetensors
│ └── flux-2-klein-base-4b.safetensors
├── 📂text_encoders/
│ └── qwen_3_4b.safetensors
└── 📂vae/
└── flux2-vae.safetensors
workflow
基本は9Bと全く同じです。
モデルとテキストエンコーダを4Bのものに置き換えるだけです。
text2image
-
{ "id": "18404b37-92b0-4d11-a39c-ae941838eb83", "revision": 0, "last_node_id": 48, "last_link_id": 69, "nodes": [ { "id": 43, "type": "VAELoader", "pos": [ 1092.3380000000002, 43.49502563476558 ], "size": [ 270, 58 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 62 ] } ], "properties": { "Node name for S&R": "VAELoader", "cnr_id": "comfy-core", "ver": "0.3.39" }, "widgets_values": [ "flux2-vae.safetensors" ], "color": "#322", "bgcolor": "#533" }, { "id": 8, "type": "VAEDecode", "pos": [ 1394.1950923071242, 160.40068341159756 ], "size": [ 161.111083984375, 46 ], "flags": {}, "order": 7, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 52 }, { "name": "vae", "type": "VAE", "link": 62 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "slot_index": 0, "links": [ 65 ] } ], "properties": { "Node name for S&R": "VAEDecode", "cnr_id": "comfy-core", "ver": "0.3.39" }, "widgets_values": [] }, { "id": 45, "type": "SaveImage", "pos": [ 1587.1632685986233, 160.40068341159756 ], "size": [ 582.6799999999998, 614.729 ], "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 65 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.73" }, "widgets_values": [ "ComfyUI" ] }, { "id": 33, "type": "CLIPTextEncode", "pos": [ 558.700000000001, 387.24938745307793 ], "size": [ 422.84503173828125, 122.99611236572264 ], "flags": { "collapsed": false }, "order": 5, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 64 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "slot_index": 0, "links": [ 55 ] } ], "title": "CLIP Text Encode (Negative Prompt)", "properties": { "Node name for S&R": "CLIPTextEncode", "cnr_id": "comfy-core", "ver": "0.3.39" }, "widgets_values": [ "text, worst quality, blurry, ugly" ] }, { "id": 48, "type": "UNETLoader", "pos": [ 675.805753000491, 19.495025634765582 ], "size": [ 308.1592787377913, 82 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 69 ] } ], "properties": { "Node name for S&R": "UNETLoader" }, "widgets_values": [ "Flux.2\\flux-2-klein-base-4b.safetensors", "default" ], "color": "#323", "bgcolor": "#535" }, { "id": 44, "type": "CLIPLoader", "pos": [ 224.49879211425772, 292.66704483032197 ], "size": [ 283.80000000000007, 106 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "name": "CLIP", "type": "CLIP", "links": [ 63, 64 ] } ], "properties": { "Node name for S&R": "CLIPLoader", "cnr_id": "comfy-core", "ver": "0.3.73" }, "widgets_values": [ "qwen_3_4b.safetensors", "flux2", "default" ], "color": "#432", "bgcolor": "#653" }, { "id": 6, "type": "CLIPTextEncode", "pos": [ 558.700000000001, 160.40068341159756 ], "size": [ 425.2650317382812, 167.9430462646484 ], "flags": {}, "order": 4, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 63 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "slot_index": 0, "links": [ 68 ] } ], "title": "CLIP Text Encode (Positive Prompt)", "properties": { "Node name for S&R": "CLIPTextEncode", "cnr_id": "comfy-core", "ver": "0.3.39" }, "widgets_values": [ "A hawk dives through open sky at high speed, captured at the exact moment it reaches for a rabbit. The camera freezes the action mid-air: wings fully spread, talons extended, feathers sharply defined, and a slight motion blur only on the wing tips to convey velocity. The rabbit is just below, startled and twisting as dust lifts from the ground far beneath. Bright late-afternoon sunlight creates crisp highlights along the hawk’s silhouette and soft shadows under the wings. Clean blue sky with a distant horizon, cinematic wildlife photography, ultra-sharp detail, dramatic tension, no gore." ] }, { "id": 31, "type": "KSampler", "pos": [ 1047.3380000000002, 160.40068341159756 ], "size": [ 315, 262 ], "flags": {}, "order": 6, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 69 }, { "name": "positive", "type": "CONDITIONING", "link": 68 }, { "name": "negative", "type": "CONDITIONING", "link": 55 }, { "name": "latent_image", "type": "LATENT", "link": 67 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "slot_index": 0, "links": [ 52 ] } ], "properties": { "Node name for S&R": "KSampler", "cnr_id": "comfy-core", "ver": "0.3.39" }, "widgets_values": [ 12345, "fixed", 20, 5, "euler", "simple", 1 ] }, { "id": 47, "type": "EmptyFlux2LatentImage", "pos": [ 736.926092882394, 569.1511575956325 ], "size": [ 244.61893885588825, 106 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 67 ] } ], "properties": { "Node name for S&R": "EmptyFlux2LatentImage", "cnr_id": "comfy-core", "ver": "0.7.0" }, "widgets_values": [ 1408, 1024, 1 ] } ], "links": [ [ 52, 31, 0, 8, 0, "LATENT" ], [ 55, 33, 0, 31, 2, "CONDITIONING" ], [ 62, 43, 0, 8, 1, "VAE" ], [ 63, 44, 0, 6, 0, "CLIP" ], [ 64, 44, 0, 33, 0, "CLIP" ], [ 65, 8, 0, 45, 0, "IMAGE" ], [ 67, 47, 0, 31, 3, "LATENT" ], [ 68, 6, 0, 31, 1, "CONDITIONING" ], [ 69, 48, 0, 31, 0, "MODEL" ] ], "groups": [], "config": {}, "extra": { "ds": { "scale": 1, "offset": [ -359.6697106687586, 214.33852058943773 ] }, "frontendVersion": "1.38.4", "VHS_latentpreview": false, "VHS_latentpreviewrate": 0, "VHS_MetadataImage": true, "VHS_KeepIntermediate": true }, "version": 0.4 } -
{ "id": "18404b37-92b0-4d11-a39c-ae941838eb83", "revision": 0, "last_node_id": 48, "last_link_id": 69, "nodes": [ { "id": 43, "type": "VAELoader", "pos": [ 1092.3380000000002, 43.49502563476558 ], "size": [ 270, 58 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 62 ] } ], "properties": { "Node name for S&R": "VAELoader", "cnr_id": "comfy-core", "ver": "0.3.39" }, "widgets_values": [ "flux2-vae.safetensors" ], "color": "#322", "bgcolor": "#533" }, { "id": 8, "type": "VAEDecode", "pos": [ 1394.1950923071242, 160.40068341159756 ], "size": [ 161.111083984375, 46 ], "flags": {}, "order": 7, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 52 }, { "name": "vae", "type": "VAE", "link": 62 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "slot_index": 0, "links": [ 65 ] } ], "properties": { "Node name for S&R": "VAEDecode", "cnr_id": "comfy-core", "ver": "0.3.39" }, "widgets_values": [] }, { "id": 45, "type": "SaveImage", "pos": [ 1587.1632685986233, 160.40068341159756 ], "size": [ 582.6799999999998, 614.729 ], "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 65 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.73" }, "widgets_values": [ "ComfyUI" ] }, { "id": 33, "type": "CLIPTextEncode", "pos": [ 558.700000000001, 387.24938745307793 ], "size": [ 422.84503173828125, 122.99611236572264 ], "flags": { "collapsed": true }, "order": 5, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 64 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "slot_index": 0, "links": [ 55 ] } ], "title": "CLIP Text Encode (Negative Prompt)", "properties": { "Node name for S&R": "CLIPTextEncode", "cnr_id": "comfy-core", "ver": "0.3.39" }, "widgets_values": [ "" ] }, { "id": 31, "type": "KSampler", "pos": [ 1047.3380000000002, 160.40068341159756 ], "size": [ 315, 262 ], "flags": {}, "order": 6, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 69 }, { "name": "positive", "type": "CONDITIONING", "link": 68 }, { "name": "negative", "type": "CONDITIONING", "link": 55 }, { "name": "latent_image", "type": "LATENT", "link": 67 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "slot_index": 0, "links": [ 52 ] } ], "properties": { "Node name for S&R": "KSampler", "cnr_id": "comfy-core", "ver": "0.3.39" }, "widgets_values": [ 1234, "fixed", 4, 1, "euler", "simple", 1 ] }, { "id": 6, "type": "CLIPTextEncode", "pos": [ 558.700000000001, 160.40068341159756 ], "size": [ 425.2650317382812, 167.9430462646484 ], "flags": {}, "order": 4, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 63 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "slot_index": 0, "links": [ 68 ] } ], "title": "CLIP Text Encode (Positive Prompt)", "properties": { "Node name for S&R": "CLIPTextEncode", "cnr_id": "comfy-core", "ver": "0.3.39" }, "widgets_values": [ "A hawk dives through open sky at high speed, captured at the exact moment it reaches for a rabbit. The camera freezes the action mid-air: wings fully spread, talons extended, feathers sharply defined, and a slight motion blur only on the wing tips to convey velocity. The rabbit is just below, startled and twisting as dust lifts from the ground far beneath. Bright late-afternoon sunlight creates crisp highlights along the hawk’s silhouette and soft shadows under the wings. Clean blue sky with a distant horizon, cinematic wildlife photography, ultra-sharp detail, dramatic tension, no gore." ] }, { "id": 44, "type": "CLIPLoader", "pos": [ 224.49879211425772, 292.66704483032197 ], "size": [ 283.80000000000007, 106 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "CLIP", "type": "CLIP", "links": [ 63, 64 ] } ], "properties": { "Node name for S&R": "CLIPLoader", "cnr_id": "comfy-core", "ver": "0.3.73" }, "widgets_values": [ "qwen_3_4b.safetensors", "flux2", "default" ], "color": "#432", "bgcolor": "#653" }, { "id": 48, "type": "UNETLoader", "pos": [ 675.805753000491, 19.495025634765582 ], "size": [ 308.1592787377913, 82 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 69 ] } ], "properties": { "Node name for S&R": "UNETLoader" }, "widgets_values": [ "Flux.2\\flux-2-klein-4b.safetensors", "default" ], "color": "#323", "bgcolor": "#535" }, { "id": 47, "type": "EmptyFlux2LatentImage", "pos": [ 739.3460928823939, 473.2833890005912 ], "size": [ 244.61893885588825, 106 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 67 ] } ], "properties": { "Node name for S&R": "EmptyFlux2LatentImage", "cnr_id": "comfy-core", "ver": "0.7.0" }, "widgets_values": [ 1408, 1024, 1 ] } ], "links": [ [ 52, 31, 0, 8, 0, "LATENT" ], [ 55, 33, 0, 31, 2, "CONDITIONING" ], [ 62, 43, 0, 8, 1, "VAE" ], [ 63, 44, 0, 6, 0, "CLIP" ], [ 64, 44, 0, 33, 0, "CLIP" ], [ 65, 8, 0, 45, 0, "IMAGE" ], [ 67, 47, 0, 31, 3, "LATENT" ], [ 68, 6, 0, 31, 1, "CONDITIONING" ], [ 69, 48, 0, 31, 0, "MODEL" ] ], "groups": [], "config": {}, "extra": { "ds": { "scale": 0.8264462809917354, "offset": [ 45.16320788574216, 440.01242891068824 ] }, "frontendVersion": "1.38.4", "VHS_latentpreview": false, "VHS_latentpreviewrate": 0, "VHS_MetadataImage": true, "VHS_KeepIntermediate": true }, "version": 0.4 }
画像編集
-
{ "id": "e47d064a-cb92-4da7-b92b-be9f1ddd26f5", "revision": 0, "last_node_id": 55, "last_link_id": 85, "nodes": [ { "id": 45, "type": "SaveImage", "pos": [ 1813.4632685986182, 160.40068341159756 ], "size": [ 582.6799999999998, 614.729 ], "flags": {}, "order": 13, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 65 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.73" }, "widgets_values": [ "ComfyUI" ] }, { "id": 6, "type": "CLIPTextEncode", "pos": [ 558.700000000001, 160.40068341159756 ], "size": [ 425.2650317382812, 167.9430462646484 ], "flags": {}, "order": 5, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 63 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "slot_index": 0, "links": [ 70 ] } ], "title": "CLIP Text Encode (Positive Prompt)", "properties": { "Node name for S&R": "CLIPTextEncode", "cnr_id": "comfy-core", "ver": "0.3.39" }, "widgets_values": [ "remove the man\n" ] }, { "id": 8, "type": "VAEDecode", "pos": [ 1615.039087801503, 160.40068341159756 ], "size": [ 161.111083984375, 46 ], "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 52 }, { "name": "vae", "type": "VAE", "link": 62 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "slot_index": 0, "links": [ 65 ] } ], "properties": { "Node name for S&R": "VAEDecode", "cnr_id": "comfy-core", "ver": "0.3.39" }, "widgets_values": [] }, { "id": 51, "type": "ResizeImageMaskNode", "pos": [ 213.01819139432666, 579.5488468801722 ], "size": [ 270, 106 ], "flags": {}, "order": 4, "mode": 0, "inputs": [ { "name": "input", "type": "IMAGE,MASK", "link": 72 } ], "outputs": [ { "name": "resized", "type": "IMAGE", "links": [ 82 ] } ], "properties": { "Node name for S&R": "ResizeImageMaskNode", "cnr_id": "comfy-core", "ver": "0.9.2" }, "widgets_values": [ "scale total pixels", 1, "nearest-exact" ], "color": "#232", "bgcolor": "#353" }, { "id": 54, "type": "ResizeImageMaskNode", "pos": [ 517.4916115663044, 579.5488468801722 ], "size": [ 270, 106 ], "flags": {}, "order": 7, "mode": 0, "inputs": [ { "name": "input", "type": "IMAGE,MASK", "link": 82 } ], "outputs": [ { "name": "resized", "type": "IMAGE", "links": [ 80 ] } ], "properties": { "Node name for S&R": "ResizeImageMaskNode", "cnr_id": "comfy-core", "ver": "0.9.2" }, "widgets_values": [ "scale to multiple", 16, "nearest-exact" ], "color": "#232", "bgcolor": "#353" }, { "id": 31, "type": "KSampler", "pos": [ 1262.7259909887628, 160.40068341159756 ], "size": [ 315, 262 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 69 }, { "name": "positive", "type": "CONDITIONING", "link": 71 }, { "name": "negative", "type": "CONDITIONING", "link": 85 }, { "name": "latent_image", "type": "LATENT", "link": 74 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "slot_index": 0, "links": [ 52 ] } ], "properties": { "Node name for S&R": "KSampler", "cnr_id": "comfy-core", "ver": "0.3.39" }, "widgets_values": [ 1234, "fixed", 20, 5, "euler", "simple", 1 ] }, { "id": 49, "type": "ReferenceLatent", "pos": [ 1021.2781285510225, 160.40068341159756 ], "size": [ 204.134765625, 46 ], "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "conditioning", "type": "CONDITIONING", "link": 70 }, { "name": "latent", "shape": 7, "type": "LATENT", "link": 75 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 71 ] } ], "properties": { "Node name for S&R": "ReferenceLatent", "cnr_id": "comfy-core", "ver": "0.9.2" }, "widgets_values": [], "color": "#232", "bgcolor": "#353" }, { "id": 52, "type": "VAEEncode", "pos": [ 821.9650317382822, 579.5488468801722 ], "size": [ 162, 46 ], "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "pixels", "type": "IMAGE", "link": 80 }, { "name": "vae", "type": "VAE", "link": 76 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 74, 75, 84 ] } ], "properties": { "Node name for S&R": "VAEEncode", "cnr_id": "comfy-core", "ver": "0.9.2" }, "widgets_values": [], "color": "#232", "bgcolor": "#353" }, { "id": 55, "type": "ReferenceLatent", "pos": [ 1021.2781285510225, 387.24938745307793 ], "size": [ 204.134765625, 46 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "conditioning", "type": "CONDITIONING", "link": 83 }, { "name": "latent", "shape": 7, "type": "LATENT", "link": 84 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 85 ] } ], "properties": { "Node name for S&R": "ReferenceLatent", "cnr_id": "comfy-core", "ver": "0.9.2" }, "widgets_values": [], "color": "#232", "bgcolor": "#353" }, { "id": 33, "type": "CLIPTextEncode", "pos": [ 558.700000000001, 387.24938745307793 ], "size": [ 425.2650317382812, 122.99611236572264 ], "flags": { "collapsed": false }, "order": 6, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 64 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "slot_index": 0, "links": [ 83 ] } ], "title": "CLIP Text Encode (Negative Prompt)", "properties": { "Node name for S&R": "CLIPTextEncode", "cnr_id": "comfy-core", "ver": "0.3.39" }, "widgets_values": [ "text, worst quality, blurry, ugly" ] }, { "id": 50, "type": "LoadImage", "pos": [ -118.2540569026511, 579.5488468801722 ], "size": [ 296.798828125, 458.0000000000001 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 72 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "Node name for S&R": "LoadImage", "cnr_id": "comfy-core", "ver": "0.9.2" }, "widgets_values": [ "pexels-photo-31438166.jpg", "image" ], "color": "#232", "bgcolor": "#353" }, { "id": 43, "type": "VAELoader", "pos": [ 520.2735954205992, 751.5950256347664 ], "size": [ 269.8313103058076, 58 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 62, 76 ] } ], "properties": { "Node name for S&R": "VAELoader", "cnr_id": "comfy-core", "ver": "0.3.39" }, "widgets_values": [ "flux2-vae.safetensors" ], "color": "#322", "bgcolor": "#533" }, { "id": 44, "type": "CLIPLoader", "pos": [ 224.49879211425772, 292.66704483032197 ], "size": [ 283.80000000000007, 106 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "name": "CLIP", "type": "CLIP", "links": [ 63, 64 ] } ], "properties": { "Node name for S&R": "CLIPLoader", "cnr_id": "comfy-core", "ver": "0.3.73" }, "widgets_values": [ "qwen_3_4b.safetensors", "flux2", "default" ], "color": "#432", "bgcolor": "#653" }, { "id": 48, "type": "UNETLoader", "pos": [ 917.2536154382312, 19.495025634765582 ], "size": [ 308.1592787377913, 82 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 69 ] } ], "properties": { "Node name for S&R": "UNETLoader", "cnr_id": "comfy-core", "ver": "0.9.2" }, "widgets_values": [ "Flux.2\\flux-2-klein-base-4b.safetensors", "default" ], "color": "#323", "bgcolor": "#535" } ], "links": [ [ 52, 31, 0, 8, 0, "LATENT" ], [ 62, 43, 0, 8, 1, "VAE" ], [ 63, 44, 0, 6, 0, "CLIP" ], [ 64, 44, 0, 33, 0, "CLIP" ], [ 65, 8, 0, 45, 0, "IMAGE" ], [ 69, 48, 0, 31, 0, "MODEL" ], [ 70, 6, 0, 49, 0, "CONDITIONING" ], [ 71, 49, 0, 31, 1, "CONDITIONING" ], [ 72, 50, 0, 51, 0, "IMAGE" ], [ 74, 52, 0, 31, 3, "LATENT" ], [ 75, 52, 0, 49, 1, "LATENT" ], [ 76, 43, 0, 52, 1, "VAE" ], [ 80, 54, 0, 52, 0, "IMAGE" ], [ 82, 51, 0, 54, 0, "IMAGE" ], [ 83, 33, 0, 55, 0, "CONDITIONING" ], [ 84, 52, 0, 55, 1, "LATENT" ], [ 85, 55, 0, 31, 2, "CONDITIONING" ] ], "groups": [], "config": {}, "extra": { "ds": { "scale": 0.8164674631633523, "offset": [ 111.47112314793674, 343.03515237496924 ] }, "frontendVersion": "1.38.8", "VHS_latentpreview": false, "VHS_latentpreviewrate": 0, "VHS_MetadataImage": true, "VHS_KeepIntermediate": true }, "version": 0.4 } -
{ "id": "5438d4ce-b860-444b-8240-a42ca1e14fc6", "revision": 0, "last_node_id": 55, "last_link_id": 86, "nodes": [ { "id": 45, "type": "SaveImage", "pos": [ 1813.4632685986182, 160.40068341159756 ], "size": [ 582.6799999999998, 614.729 ], "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 65 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.73" }, "widgets_values": [ "ComfyUI" ] }, { "id": 6, "type": "CLIPTextEncode", "pos": [ 558.700000000001, 160.40068341159756 ], "size": [ 425.2650317382812, 167.9430462646484 ], "flags": {}, "order": 5, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 63 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "slot_index": 0, "links": [ 70 ] } ], "title": "CLIP Text Encode (Positive Prompt)", "properties": { "Node name for S&R": "CLIPTextEncode", "cnr_id": "comfy-core", "ver": "0.3.39" }, "widgets_values": [ "remove the man\n" ] }, { "id": 8, "type": "VAEDecode", "pos": [ 1615.039087801503, 160.40068341159756 ], "size": [ 161.111083984375, 46 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 52 }, { "name": "vae", "type": "VAE", "link": 62 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "slot_index": 0, "links": [ 65 ] } ], "properties": { "Node name for S&R": "VAEDecode", "cnr_id": "comfy-core", "ver": "0.3.39" }, "widgets_values": [] }, { "id": 51, "type": "ResizeImageMaskNode", "pos": [ 209.97616959564456, 484.74016932307575 ], "size": [ 270, 106 ], "flags": {}, "order": 4, "mode": 0, "inputs": [ { "name": "input", "type": "IMAGE,MASK", "link": 72 } ], "outputs": [ { "name": "resized", "type": "IMAGE", "links": [ 82 ] } ], "properties": { "Node name for S&R": "ResizeImageMaskNode", "cnr_id": "comfy-core", "ver": "0.9.2" }, "widgets_values": [ "scale total pixels", 1, "nearest-exact" ], "color": "#232", "bgcolor": "#353" }, { "id": 49, "type": "ReferenceLatent", "pos": [ 1021.2781285510225, 160.40068341159756 ], "size": [ 204.134765625, 46 ], "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "conditioning", "type": "CONDITIONING", "link": 70 }, { "name": "latent", "shape": 7, "type": "LATENT", "link": 75 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 71 ] } ], "properties": { "Node name for S&R": "ReferenceLatent", "cnr_id": "comfy-core", "ver": "0.9.2" }, "widgets_values": [], "color": "#232", "bgcolor": "#353" }, { "id": 50, "type": "LoadImage", "pos": [ -121.29607870133319, 484.74016932307575 ], "size": [ 296.798828125, 458.0000000000001 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 72 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "Node name for S&R": "LoadImage", "cnr_id": "comfy-core", "ver": "0.9.2" }, "widgets_values": [ "pexels-photo-31438166.jpg", "image" ], "color": "#232", "bgcolor": "#353" }, { "id": 43, "type": "VAELoader", "pos": [ 517.231573621917, 656.7863480776692 ], "size": [ 269.8313103058076, 58 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 62, 76 ] } ], "properties": { "Node name for S&R": "VAELoader", "cnr_id": "comfy-core", "ver": "0.3.39" }, "widgets_values": [ "flux2-vae.safetensors" ], "color": "#322", "bgcolor": "#533" }, { "id": 54, "type": "ResizeImageMaskNode", "pos": [ 514.4495897676222, 484.74016932307575 ], "size": [ 270, 106 ], "flags": {}, "order": 7, "mode": 0, "inputs": [ { "name": "input", "type": "IMAGE,MASK", "link": 82 } ], "outputs": [ { "name": "resized", "type": "IMAGE", "links": [ 80 ] } ], "properties": { "Node name for S&R": "ResizeImageMaskNode", "cnr_id": "comfy-core", "ver": "0.9.2" }, "widgets_values": [ "scale to multiple", 16, "nearest-exact" ], "color": "#232", "bgcolor": "#353" }, { "id": 52, "type": "VAEEncode", "pos": [ 821.9650317382822, 484.74016932307575 ], "size": [ 162, 46 ], "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "pixels", "type": "IMAGE", "link": 80 }, { "name": "vae", "type": "VAE", "link": 76 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 74, 75 ] } ], "properties": { "Node name for S&R": "VAEEncode", "cnr_id": "comfy-core", "ver": "0.9.2" }, "widgets_values": [], "color": "#232", "bgcolor": "#353" }, { "id": 31, "type": "KSampler", "pos": [ 1262.7259909887628, 160.40068341159756 ], "size": [ 315, 262 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 69 }, { "name": "positive", "type": "CONDITIONING", "link": 71 }, { "name": "negative", "type": "CONDITIONING", "link": 86 }, { "name": "latent_image", "type": "LATENT", "link": 74 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "slot_index": 0, "links": [ 52 ] } ], "properties": { "Node name for S&R": "KSampler", "cnr_id": "comfy-core", "ver": "0.3.39" }, "widgets_values": [ 1234, "fixed", 4, 1, "euler", "simple", 1 ] }, { "id": 33, "type": "CLIPTextEncode", "pos": [ 558.700000000001, 387.24938745307793 ], "size": [ 425.2650317382812, 122.99611236572264 ], "flags": { "collapsed": true }, "order": 6, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 64 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "slot_index": 0, "links": [ 86 ] } ], "title": "CLIP Text Encode (Negative Prompt)", "properties": { "Node name for S&R": "CLIPTextEncode", "cnr_id": "comfy-core", "ver": "0.3.39" }, "widgets_values": [ "" ] }, { "id": 44, "type": "CLIPLoader", "pos": [ 224.49879211425772, 292.66704483032197 ], "size": [ 283.80000000000007, 106 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "name": "CLIP", "type": "CLIP", "links": [ 63, 64 ] } ], "properties": { "Node name for S&R": "CLIPLoader", "cnr_id": "comfy-core", "ver": "0.3.73" }, "widgets_values": [ "qwen_3_4b.safetensors", "flux2", "default" ], "color": "#432", "bgcolor": "#653" }, { "id": 48, "type": "UNETLoader", "pos": [ 917.2536154382312, 19.495025634765582 ], "size": [ 308.1592787377913, 82 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 69 ] } ], "properties": { "Node name for S&R": "UNETLoader", "cnr_id": "comfy-core", "ver": "0.9.2" }, "widgets_values": [ "Flux.2\\flux-2-klein-4b.safetensors", "default" ], "color": "#323", "bgcolor": "#535" } ], "links": [ [ 52, 31, 0, 8, 0, "LATENT" ], [ 62, 43, 0, 8, 1, "VAE" ], [ 63, 44, 0, 6, 0, "CLIP" ], [ 64, 44, 0, 33, 0, "CLIP" ], [ 65, 8, 0, 45, 0, "IMAGE" ], [ 69, 48, 0, 31, 0, "MODEL" ], [ 70, 6, 0, 49, 0, "CONDITIONING" ], [ 71, 49, 0, 31, 1, "CONDITIONING" ], [ 72, 50, 0, 51, 0, "IMAGE" ], [ 74, 52, 0, 31, 3, "LATENT" ], [ 75, 52, 0, 49, 1, "LATENT" ], [ 76, 43, 0, 52, 1, "VAE" ], [ 80, 54, 0, 52, 0, "IMAGE" ], [ 82, 51, 0, 54, 0, "IMAGE" ], [ 86, 33, 0, 31, 2, "CONDITIONING" ] ], "groups": [], "config": {}, "extra": { "ds": { "scale": 0.7513148009015777, "offset": [ -154.3708074611783, 419.4687445890286 ] }, "frontendVersion": "1.38.8", "VHS_latentpreview": false, "VHS_latentpreviewrate": 0, "VHS_MetadataImage": true, "VHS_KeepIntermediate": true }, "version": 0.4 }
画像編集(マルチリファレンス)
-
{ "id": "dd12983a-96df-4883-9da3-de0d54b66613", "revision": 0, "last_node_id": 63, "last_link_id": 98, "nodes": [ { "id": 45, "type": "SaveImage", "pos": [ 2061.6450877883976, 160.40068341159756 ], "size": [ 582.6799999999998, 614.729 ], "flags": {}, "order": 19, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 65 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.73" }, "widgets_values": [ "ComfyUI" ] }, { "id": 8, "type": "VAEDecode", "pos": [ 1863.6450877883976, 160.40068341159756 ], "size": [ 161.111083984375, 46 ], "flags": {}, "order": 18, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 52 }, { "name": "vae", "type": "VAE", "link": 62 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "slot_index": 0, "links": [ 65 ] } ], "properties": { "Node name for S&R": "VAEDecode", "cnr_id": "comfy-core", "ver": "0.3.39" }, "widgets_values": [] }, { "id": 54, "type": "ResizeImageMaskNode", "pos": [ 521.0917772387811, 579.5488468801722 ], "size": [ 258.18181818181813, 106 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "input", "type": "IMAGE,MASK", "link": 82 } ], "outputs": [ { "name": "resized", "type": "IMAGE", "links": [ 80 ] } ], "properties": { "Node name for S&R": "ResizeImageMaskNode", "cnr_id": "comfy-core", "ver": "0.9.2" }, "widgets_values": [ "scale to multiple", 16, "nearest-exact" ], "color": "#232", "bgcolor": "#353" }, { "id": 33, "type": "CLIPTextEncode", "pos": [ 558.700000000001, 387.24938745307793 ], "size": [ 425.2650317382812, 122.99611236572264 ], "flags": { "collapsed": false }, "order": 8, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 64 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "slot_index": 0, "links": [ 83 ] } ], "title": "CLIP Text Encode (Negative Prompt)", "properties": { "Node name for S&R": "CLIPTextEncode", "cnr_id": "comfy-core", "ver": "0.3.39" }, "widgets_values": [ "text, worst quality, blurry, ugly" ] }, { "id": 55, "type": "ReferenceLatent", "pos": [ 1023.7685400049872, 387.24938745307793 ], "size": [ 204.134765625, 46 ], "flags": {}, "order": 13, "mode": 0, "inputs": [ { "name": "conditioning", "type": "CONDITIONING", "link": 83 }, { "name": "latent", "shape": 7, "type": "LATENT", "link": 84 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 87 ] } ], "properties": { "Node name for S&R": "ReferenceLatent", "cnr_id": "comfy-core", "ver": "0.9.2" }, "widgets_values": [], "color": "#232", "bgcolor": "#353" }, { "id": 58, "type": "ReferenceLatent", "pos": [ 1267.7068138966924, 387.24938745307793 ], "size": [ 204.134765625, 46 ], "flags": {}, "order": 16, "mode": 0, "inputs": [ { "name": "conditioning", "type": "CONDITIONING", "link": 87 }, { "name": "latent", "shape": 7, "type": "LATENT", "link": 95 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 89 ] } ], "properties": { "Node name for S&R": "ReferenceLatent", "cnr_id": "comfy-core", "ver": "0.9.2" }, "widgets_values": [], "color": "#232", "bgcolor": "#353" }, { "id": 49, "type": "ReferenceLatent", "pos": [ 1023.7685400049872, 160.40068341159756 ], "size": [ 204.134765625, 46 ], "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "conditioning", "type": "CONDITIONING", "link": 70 }, { "name": "latent", "shape": 7, "type": "LATENT", "link": 75 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 86 ] } ], "properties": { "Node name for S&R": "ReferenceLatent", "cnr_id": "comfy-core", "ver": "0.9.2" }, "widgets_values": [], "color": "#232", "bgcolor": "#353" }, { "id": 31, "type": "KSampler", "pos": [ 1511.6450877883976, 160.40068341159756 ], "size": [ 315, 262 ], "flags": {}, "order": 17, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 69 }, { "name": "positive", "type": "CONDITIONING", "link": 88 }, { "name": "negative", "type": "CONDITIONING", "link": 89 }, { "name": "latent_image", "type": "LATENT", "link": 98 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "slot_index": 0, "links": [ 52 ] } ], "properties": { "Node name for S&R": "KSampler", "cnr_id": "comfy-core", "ver": "0.3.39" }, "widgets_values": [ 1234, "fixed", 20, 5, "euler", "simple", 1 ] }, { "id": 57, "type": "ReferenceLatent", "pos": [ 1267.7068138966924, 160.40068341159756 ], "size": [ 204.134765625, 46 ], "flags": {}, "order": 15, "mode": 0, "inputs": [ { "name": "conditioning", "type": "CONDITIONING", "link": 86 }, { "name": "latent", "shape": 7, "type": "LATENT", "link": 94 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 88 ] } ], "properties": { "Node name for S&R": "ReferenceLatent", "cnr_id": "comfy-core", "ver": "0.9.2" }, "widgets_values": [], "color": "#232", "bgcolor": "#353" }, { "id": 62, "type": "VAEEncode", "pos": [ 821.9650317382822, 809.7915770014823 ], "size": [ 162, 46 ], "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "pixels", "type": "IMAGE", "link": 93 }, { "name": "vae", "type": "VAE", "link": 96 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 94, 95 ] } ], "properties": { "Node name for S&R": "VAEEncode", "cnr_id": "comfy-core", "ver": "0.9.2" }, "widgets_values": [], "color": "#232", "bgcolor": "#353" }, { "id": 51, "type": "ResizeImageMaskNode", "pos": [ 228.96458197839644, 579.5488468801722 ], "size": [ 270, 106 ], "flags": {}, "order": 6, "mode": 0, "inputs": [ { "name": "input", "type": "IMAGE,MASK", "link": 72 } ], "outputs": [ { "name": "resized", "type": "IMAGE", "links": [ 82 ] } ], "properties": { "Node name for S&R": "ResizeImageMaskNode", "cnr_id": "comfy-core", "ver": "0.9.2" }, "widgets_values": [ "scale total pixels", 1, "nearest-exact" ], "color": "#232", "bgcolor": "#353" }, { "id": 59, "type": "ResizeImageMaskNode", "pos": [ 228.96458197839644, 809.7915770014823 ], "size": [ 270, 106 ], "flags": {}, "order": 5, "mode": 0, "inputs": [ { "name": "input", "type": "IMAGE,MASK", "link": 90 } ], "outputs": [ { "name": "resized", "type": "IMAGE", "links": [ 93 ] } ], "properties": { "Node name for S&R": "ResizeImageMaskNode", "cnr_id": "comfy-core", "ver": "0.9.2" }, "widgets_values": [ "scale total pixels", 1, "nearest-exact" ], "color": "#232", "bgcolor": "#353" }, { "id": 43, "type": "VAELoader", "pos": [ 520.3960742755587, 985.0397231877251 ], "size": [ 259, 58 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 62, 76, 96 ] } ], "properties": { "Node name for S&R": "VAELoader", "cnr_id": "comfy-core", "ver": "0.3.39" }, "widgets_values": [ "flux2-vae.safetensors" ], "color": "#322", "bgcolor": "#533" }, { "id": 60, "type": "LoadImage", "pos": [ -89.43354600823244, 1094.7898292263142 ], "size": [ 296.798828125, 458.0000000000001 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 90 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "Node name for S&R": "LoadImage", "cnr_id": "comfy-core", "ver": "0.9.2" }, "widgets_values": [ "OIG.jpg", "image" ], "color": "#232", "bgcolor": "#353" }, { "id": 50, "type": "LoadImage", "pos": [ -89.96144140698813, 579.5488468801722 ], "size": [ 296.798828125, 458.0000000000001 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 72 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "Node name for S&R": "LoadImage", "cnr_id": "comfy-core", "ver": "0.9.2" }, "widgets_values": [ "MIVNE6WMRMSXY.jpg", "image" ], "color": "#232", "bgcolor": "#353" }, { "id": 52, "type": "VAEEncode", "pos": [ 821.9650317382822, 579.5488468801722 ], "size": [ 162, 46 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "pixels", "type": "IMAGE", "link": 80 }, { "name": "vae", "type": "VAE", "link": 76 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 75, 84, 97 ] } ], "properties": { "Node name for S&R": "VAEEncode", "cnr_id": "comfy-core", "ver": "0.9.2" }, "widgets_values": [], "color": "#232", "bgcolor": "#353" }, { "id": 63, "type": "Reroute", "pos": [ 1396.8415795216924, 579.5488468801722 ], "size": [ 75, 26 ], "flags": {}, "order": 14, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 97 } ], "outputs": [ { "name": "", "type": "LATENT", "links": [ 98 ] } ], "properties": { "showOutputText": false, "horizontal": false } }, { "id": 6, "type": "CLIPTextEncode", "pos": [ 558.700000000001, 160.40068341159756 ], "size": [ 425.2650317382812, 167.9430462646484 ], "flags": {}, "order": 7, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 63 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "slot_index": 0, "links": [ 70 ] } ], "title": "CLIP Text Encode (Positive Prompt)", "properties": { "Node name for S&R": "CLIPTextEncode", "cnr_id": "comfy-core", "ver": "0.3.39" }, "widgets_values": [ "Change image 1 to match the style of image 2.honeybee on a dandelion flower" ] }, { "id": 48, "type": "UNETLoader", "pos": [ 1163.6823007839012, 19.495025634765582 ], "size": [ 308.1592787377913, 82 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 69 ] } ], "properties": { "Node name for S&R": "UNETLoader", "cnr_id": "comfy-core", "ver": "0.9.2" }, "widgets_values": [ "Flux.2\\flux-2-klein-base-4b.safetensors", "default" ], "color": "#323", "bgcolor": "#535" }, { "id": 44, "type": "CLIPLoader", "pos": [ 224.49879211425772, 292.66704483032197 ], "size": [ 283.80000000000007, 106 ], "flags": {}, "order": 4, "mode": 0, "inputs": [], "outputs": [ { "name": "CLIP", "type": "CLIP", "links": [ 63, 64 ] } ], "properties": { "Node name for S&R": "CLIPLoader", "cnr_id": "comfy-core", "ver": "0.3.73" }, "widgets_values": [ "qwen_3_4b.safetensors", "flux2", "default" ], "color": "#432", "bgcolor": "#653" } ], "links": [ [ 52, 31, 0, 8, 0, "LATENT" ], [ 62, 43, 0, 8, 1, "VAE" ], [ 63, 44, 0, 6, 0, "CLIP" ], [ 64, 44, 0, 33, 0, "CLIP" ], [ 65, 8, 0, 45, 0, "IMAGE" ], [ 69, 48, 0, 31, 0, "MODEL" ], [ 70, 6, 0, 49, 0, "CONDITIONING" ], [ 72, 50, 0, 51, 0, "IMAGE" ], [ 75, 52, 0, 49, 1, "LATENT" ], [ 76, 43, 0, 52, 1, "VAE" ], [ 80, 54, 0, 52, 0, "IMAGE" ], [ 82, 51, 0, 54, 0, "IMAGE" ], [ 83, 33, 0, 55, 0, "CONDITIONING" ], [ 84, 52, 0, 55, 1, "LATENT" ], [ 86, 49, 0, 57, 0, "CONDITIONING" ], [ 87, 55, 0, 58, 0, "CONDITIONING" ], [ 88, 57, 0, 31, 1, "CONDITIONING" ], [ 89, 58, 0, 31, 2, "CONDITIONING" ], [ 90, 60, 0, 59, 0, "IMAGE" ], [ 93, 59, 0, 62, 0, "IMAGE" ], [ 94, 62, 0, 57, 1, "LATENT" ], [ 95, 62, 0, 58, 1, "LATENT" ], [ 96, 43, 0, 62, 1, "VAE" ], [ 97, 52, 0, 63, 0, "LATENT" ], [ 98, 63, 0, 31, 3, "LATENT" ] ], "groups": [], "config": {}, "extra": { "ds": { "scale": 0.7422431483303209, "offset": [ -50.331753024815725, 246.69666931068048 ] }, "frontendVersion": "1.38.8", "VHS_latentpreview": false, "VHS_latentpreviewrate": 0, "VHS_MetadataImage": true, "VHS_KeepIntermediate": true }, "version": 0.4 } -
{ "id": "e0361c75-4d9e-44e1-b5af-0573e8dbfd81", "revision": 0, "last_node_id": 63, "last_link_id": 100, "nodes": [ { "id": 45, "type": "SaveImage", "pos": [ 2061.6450877883976, 160.40068341159756 ], "size": [ 582.6799999999998, 614.729 ], "flags": {}, "order": 17, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 65 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.73" }, "widgets_values": [ "ComfyUI" ] }, { "id": 8, "type": "VAEDecode", "pos": [ 1863.6450877883976, 160.40068341159756 ], "size": [ 161.111083984375, 46 ], "flags": {}, "order": 16, "mode": 0, "inputs": [ { "name": "samples", "type": "LATENT", "link": 52 }, { "name": "vae", "type": "VAE", "link": 62 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "slot_index": 0, "links": [ 65 ] } ], "properties": { "Node name for S&R": "VAEDecode", "cnr_id": "comfy-core", "ver": "0.3.39" }, "widgets_values": [] }, { "id": 54, "type": "ResizeImageMaskNode", "pos": [ 515.2482227713929, 471.02558767069615 ], "size": [ 258.18181818181813, 106 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "input", "type": "IMAGE,MASK", "link": 82 } ], "outputs": [ { "name": "resized", "type": "IMAGE", "links": [ 80 ] } ], "properties": { "Node name for S&R": "ResizeImageMaskNode", "cnr_id": "comfy-core", "ver": "0.9.2" }, "widgets_values": [ "scale to multiple", 16, "nearest-exact" ], "color": "#232", "bgcolor": "#353" }, { "id": 49, "type": "ReferenceLatent", "pos": [ 1023.7685400049872, 160.40068341159756 ], "size": [ 204.134765625, 46 ], "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "conditioning", "type": "CONDITIONING", "link": 70 }, { "name": "latent", "shape": 7, "type": "LATENT", "link": 75 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 86 ] } ], "properties": { "Node name for S&R": "ReferenceLatent", "cnr_id": "comfy-core", "ver": "0.9.2" }, "widgets_values": [], "color": "#232", "bgcolor": "#353" }, { "id": 57, "type": "ReferenceLatent", "pos": [ 1267.7068138966924, 160.40068341159756 ], "size": [ 204.134765625, 46 ], "flags": {}, "order": 14, "mode": 0, "inputs": [ { "name": "conditioning", "type": "CONDITIONING", "link": 86 }, { "name": "latent", "shape": 7, "type": "LATENT", "link": 94 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 88 ] } ], "properties": { "Node name for S&R": "ReferenceLatent", "cnr_id": "comfy-core", "ver": "0.9.2" }, "widgets_values": [], "color": "#232", "bgcolor": "#353" }, { "id": 62, "type": "VAEEncode", "pos": [ 816.121477270894, 701.2683177920061 ], "size": [ 162, 46 ], "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "pixels", "type": "IMAGE", "link": 93 }, { "name": "vae", "type": "VAE", "link": 96 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 94 ] } ], "properties": { "Node name for S&R": "VAEEncode", "cnr_id": "comfy-core", "ver": "0.9.2" }, "widgets_values": [], "color": "#232", "bgcolor": "#353" }, { "id": 51, "type": "ResizeImageMaskNode", "pos": [ 223.12102751100818, 471.02558767069615 ], "size": [ 270, 106 ], "flags": {}, "order": 6, "mode": 0, "inputs": [ { "name": "input", "type": "IMAGE,MASK", "link": 72 } ], "outputs": [ { "name": "resized", "type": "IMAGE", "links": [ 82 ] } ], "properties": { "Node name for S&R": "ResizeImageMaskNode", "cnr_id": "comfy-core", "ver": "0.9.2" }, "widgets_values": [ "scale total pixels", 1, "nearest-exact" ], "color": "#232", "bgcolor": "#353" }, { "id": 59, "type": "ResizeImageMaskNode", "pos": [ 223.12102751100818, 701.2683177920061 ], "size": [ 270, 106 ], "flags": {}, "order": 5, "mode": 0, "inputs": [ { "name": "input", "type": "IMAGE,MASK", "link": 90 } ], "outputs": [ { "name": "resized", "type": "IMAGE", "links": [ 93 ] } ], "properties": { "Node name for S&R": "ResizeImageMaskNode", "cnr_id": "comfy-core", "ver": "0.9.2" }, "widgets_values": [ "scale total pixels", 1, "nearest-exact" ], "color": "#232", "bgcolor": "#353" }, { "id": 43, "type": "VAELoader", "pos": [ 514.5525198081705, 876.5164639782489 ], "size": [ 259, 58 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 62, 76, 96 ] } ], "properties": { "Node name for S&R": "VAELoader", "cnr_id": "comfy-core", "ver": "0.3.39" }, "widgets_values": [ "flux2-vae.safetensors" ], "color": "#322", "bgcolor": "#533" }, { "id": 60, "type": "LoadImage", "pos": [ -95.27710047562067, 986.266570016838 ], "size": [ 296.798828125, 458.0000000000001 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 90 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "Node name for S&R": "LoadImage", "cnr_id": "comfy-core", "ver": "0.9.2" }, "widgets_values": [ "OIG.jpg", "image" ], "color": "#232", "bgcolor": "#353" }, { "id": 50, "type": "LoadImage", "pos": [ -95.80499587437637, 471.02558767069615 ], "size": [ 296.798828125, 458.0000000000001 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 72 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "Node name for S&R": "LoadImage", "cnr_id": "comfy-core", "ver": "0.9.2" }, "widgets_values": [ "MIVNE6WMRMSXY.jpg", "image" ], "color": "#232", "bgcolor": "#353" }, { "id": 6, "type": "CLIPTextEncode", "pos": [ 558.700000000001, 160.40068341159756 ], "size": [ 425.2650317382812, 167.9430462646484 ], "flags": {}, "order": 7, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 63 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "slot_index": 0, "links": [ 70 ] } ], "title": "CLIP Text Encode (Positive Prompt)", "properties": { "Node name for S&R": "CLIPTextEncode", "cnr_id": "comfy-core", "ver": "0.3.39" }, "widgets_values": [ "Change image 1 to match the style of image 2.honeybee on a dandelion flower" ] }, { "id": 31, "type": "KSampler", "pos": [ 1511.6450877883976, 160.40068341159756 ], "size": [ 315, 262 ], "flags": {}, "order": 15, "mode": 0, "inputs": [ { "name": "model", "type": "MODEL", "link": 69 }, { "name": "positive", "type": "CONDITIONING", "link": 88 }, { "name": "negative", "type": "CONDITIONING", "link": 100 }, { "name": "latent_image", "type": "LATENT", "link": 98 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "slot_index": 0, "links": [ 52 ] } ], "properties": { "Node name for S&R": "KSampler", "cnr_id": "comfy-core", "ver": "0.3.39" }, "widgets_values": [ 1234, "fixed", 4, 1, "euler", "simple", 1 ] }, { "id": 63, "type": "Reroute", "pos": [ 1390.9980250543044, 471.02558767069615 ], "size": [ 75, 26 ], "flags": {}, "order": 13, "mode": 0, "inputs": [ { "name": "", "type": "*", "link": 97 } ], "outputs": [ { "name": "", "type": "LATENT", "links": [ 98 ] } ], "properties": { "showOutputText": false, "horizontal": false } }, { "id": 52, "type": "VAEEncode", "pos": [ 816.121477270894, 471.02558767069615 ], "size": [ 162, 46 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "pixels", "type": "IMAGE", "link": 80 }, { "name": "vae", "type": "VAE", "link": 76 } ], "outputs": [ { "name": "LATENT", "type": "LATENT", "links": [ 75, 97 ] } ], "properties": { "Node name for S&R": "VAEEncode", "cnr_id": "comfy-core", "ver": "0.9.2" }, "widgets_values": [], "color": "#232", "bgcolor": "#353" }, { "id": 33, "type": "CLIPTextEncode", "pos": [ 558.700000000001, 387.24938745307793 ], "size": [ 425.2650317382812, 122.99611236572264 ], "flags": { "collapsed": true }, "order": 8, "mode": 0, "inputs": [ { "name": "clip", "type": "CLIP", "link": 64 } ], "outputs": [ { "name": "CONDITIONING", "type": "CONDITIONING", "slot_index": 0, "links": [ 100 ] } ], "title": "CLIP Text Encode (Negative Prompt)", "properties": { "Node name for S&R": "CLIPTextEncode", "cnr_id": "comfy-core", "ver": "0.3.39" }, "widgets_values": [ "" ] }, { "id": 48, "type": "UNETLoader", "pos": [ 1163.6823007839012, 19.495025634765582 ], "size": [ 308.1592787377913, 82 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [ { "name": "MODEL", "type": "MODEL", "links": [ 69 ] } ], "properties": { "Node name for S&R": "UNETLoader", "cnr_id": "comfy-core", "ver": "0.9.2" }, "widgets_values": [ "Flux.2\\flux-2-klein-4b.safetensors", "default" ], "color": "#323", "bgcolor": "#535" }, { "id": 44, "type": "CLIPLoader", "pos": [ 224.49879211425772, 292.66704483032197 ], "size": [ 283.80000000000007, 106 ], "flags": {}, "order": 4, "mode": 0, "inputs": [], "outputs": [ { "name": "CLIP", "type": "CLIP", "links": [ 63, 64 ] } ], "properties": { "Node name for S&R": "CLIPLoader", "cnr_id": "comfy-core", "ver": "0.3.73" }, "widgets_values": [ "qwen_3_4b.safetensors", "flux2", "default" ], "color": "#432", "bgcolor": "#653" } ], "links": [ [ 52, 31, 0, 8, 0, "LATENT" ], [ 62, 43, 0, 8, 1, "VAE" ], [ 63, 44, 0, 6, 0, "CLIP" ], [ 64, 44, 0, 33, 0, "CLIP" ], [ 65, 8, 0, 45, 0, "IMAGE" ], [ 69, 48, 0, 31, 0, "MODEL" ], [ 70, 6, 0, 49, 0, "CONDITIONING" ], [ 72, 50, 0, 51, 0, "IMAGE" ], [ 75, 52, 0, 49, 1, "LATENT" ], [ 76, 43, 0, 52, 1, "VAE" ], [ 80, 54, 0, 52, 0, "IMAGE" ], [ 82, 51, 0, 54, 0, "IMAGE" ], [ 86, 49, 0, 57, 0, "CONDITIONING" ], [ 88, 57, 0, 31, 1, "CONDITIONING" ], [ 90, 60, 0, 59, 0, "IMAGE" ], [ 93, 59, 0, 62, 0, "IMAGE" ], [ 94, 62, 0, 57, 1, "LATENT" ], [ 96, 43, 0, 62, 1, "VAE" ], [ 97, 52, 0, 63, 0, "LATENT" ], [ 98, 63, 0, 31, 3, "LATENT" ], [ 100, 33, 0, 31, 2, "CONDITIONING" ] ], "groups": [], "config": {}, "extra": { "ds": { "scale": 0.751314800901578, "offset": [ 115.09563641999807, 406.4845689194959 ] }, "frontendVersion": "1.38.8", "VHS_latentpreview": false, "VHS_latentpreviewrate": 0, "VHS_MetadataImage": true, "VHS_KeepIntermediate": true }, "version": 0.4 }
できること
ここにあるのはあくまで一例です。
絵柄を変えたり、オブジェクトを消すのは画像編集のほんの一部に過ぎません。何を「画像編集」とみなすか?で出来ることは無限に広がっています。色々な使い方を開発してみてください。
単一画像
{
"id": "0613b710-fadb-4f72-9aff-d02126893c5a",
"revision": 0,
"last_node_id": 58,
"last_link_id": 92,
"nodes": [
{
"id": 45,
"type": "SaveImage",
"pos": [
1813.4632685986182,
160.40068341159756
],
"size": [
582.6799999999998,
614.729
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 65
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73"
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 51,
"type": "ResizeImageMaskNode",
"pos": [
209.97616959564456,
484.74016932307575
],
"size": [
270,
106
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "IMAGE,MASK",
"link": 72
}
],
"outputs": [
{
"name": "resized",
"type": "IMAGE",
"links": [
82
]
}
],
"properties": {
"Node name for S&R": "ResizeImageMaskNode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"scale total pixels",
1,
"nearest-exact"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 49,
"type": "ReferenceLatent",
"pos": [
1021.2781285510225,
160.40068341159756
],
"size": [
204.134765625,
46
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 70
},
{
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 75
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
71
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 44,
"type": "CLIPLoader",
"pos": [
224.49879211425772,
292.66704483032197
],
"size": [
283.80000000000007,
106
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
63,
64
]
}
],
"properties": {
"Node name for S&R": "CLIPLoader",
"cnr_id": "comfy-core",
"ver": "0.3.73"
},
"widgets_values": [
"qwen_3_8b.safetensors",
"flux2",
"default"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 43,
"type": "VAELoader",
"pos": [
517.231573621917,
656.7863480776692
],
"size": [
269.8313103058076,
58
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
62,
76
]
}
],
"properties": {
"Node name for S&R": "VAELoader",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
"flux2-vae.safetensors"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 48,
"type": "UNETLoader",
"pos": [
917.2536154382312,
19.495025634765582
],
"size": [
308.1592787377913,
82
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
69
]
}
],
"properties": {
"Node name for S&R": "UNETLoader",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"Flux.2\\flux-2-klein-9b-fp8.safetensors",
"default"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 52,
"type": "VAEEncode",
"pos": [
821.9650317382822,
484.74016932307575
],
"size": [
162,
46
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 80
},
{
"name": "vae",
"type": "VAE",
"link": 76
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
74,
75
]
}
],
"properties": {
"Node name for S&R": "VAEEncode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 33,
"type": "CLIPTextEncode",
"pos": [
558.700000000001,
387.24938745307793
],
"size": [
425.2650317382812,
122.99611236572264
],
"flags": {
"collapsed": true
},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 64
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
86
]
}
],
"title": "CLIP Text Encode (Negative Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
""
]
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
1615.039087801503,
160.40068341159756
],
"size": [
161.111083984375,
46
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 52
},
{
"name": "vae",
"type": "VAE",
"link": 62
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
65
]
}
],
"properties": {
"Node name for S&R": "VAEDecode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": []
},
{
"id": 50,
"type": "LoadImage",
"pos": [
-121.29607870133319,
484.74016932307575
],
"size": [
296.798828125,
458.0000000000001
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
72
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"Image1.png",
"image"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 31,
"type": "KSampler",
"pos": [
1262.7259909887628,
160.40068341159756
],
"size": [
315,
262
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 69
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 71
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 86
},
{
"name": "latent_image",
"type": "LATENT",
"link": 74
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
52
]
}
],
"properties": {
"Node name for S&R": "KSampler",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
124167,
"fixed",
4,
1,
"euler",
"simple",
1
]
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
558.700000000001,
160.40068341159756
],
"size": [
425.2650317382812,
167.9430462646484
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 63
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
70
]
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
"Reskin this into a watercolor illustration on textured paper."
]
},
{
"id": 54,
"type": "ResizeImageMaskNode",
"pos": [
514.4495897676222,
484.74016932307575
],
"size": [
270,
106
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "IMAGE,MASK",
"link": 82
}
],
"outputs": [
{
"name": "resized",
"type": "IMAGE",
"links": [
80
]
}
],
"properties": {
"Node name for S&R": "ResizeImageMaskNode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"scale to multiple",
16,
"nearest-exact"
],
"color": "#232",
"bgcolor": "#353"
}
],
"links": [
[
52,
31,
0,
8,
0,
"LATENT"
],
[
62,
43,
0,
8,
1,
"VAE"
],
[
63,
44,
0,
6,
0,
"CLIP"
],
[
64,
44,
0,
33,
0,
"CLIP"
],
[
65,
8,
0,
45,
0,
"IMAGE"
],
[
69,
48,
0,
31,
0,
"MODEL"
],
[
70,
6,
0,
49,
0,
"CONDITIONING"
],
[
71,
49,
0,
31,
1,
"CONDITIONING"
],
[
72,
50,
0,
51,
0,
"IMAGE"
],
[
74,
52,
0,
31,
3,
"LATENT"
],
[
75,
52,
0,
49,
1,
"LATENT"
],
[
76,
43,
0,
52,
1,
"VAE"
],
[
80,
54,
0,
52,
0,
"IMAGE"
],
[
82,
51,
0,
54,
0,
"IMAGE"
],
[
86,
33,
0,
31,
2,
"CONDITIONING"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.8264462809917358,
"offset": [
134.79534993137472,
205.2248689539446
]
},
"frontendVersion": "1.38.8",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}
スタイル変換
Reskin this into a watercolor illustration on textured paper.
{
"id": "0613b710-fadb-4f72-9aff-d02126893c5a",
"revision": 0,
"last_node_id": 59,
"last_link_id": 93,
"nodes": [
{
"id": 51,
"type": "ResizeImageMaskNode",
"pos": [
209.97616959564456,
484.74016932307575
],
"size": [
270,
106
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "IMAGE,MASK",
"link": 72
}
],
"outputs": [
{
"name": "resized",
"type": "IMAGE",
"links": [
82
]
}
],
"properties": {
"Node name for S&R": "ResizeImageMaskNode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"scale total pixels",
1,
"nearest-exact"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 49,
"type": "ReferenceLatent",
"pos": [
1021.2781285510225,
160.40068341159756
],
"size": [
204.134765625,
46
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 70
},
{
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 75
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
71
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 44,
"type": "CLIPLoader",
"pos": [
224.49879211425772,
292.66704483032197
],
"size": [
283.80000000000007,
106
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
63,
64
]
}
],
"properties": {
"Node name for S&R": "CLIPLoader",
"cnr_id": "comfy-core",
"ver": "0.3.73"
},
"widgets_values": [
"qwen_3_8b.safetensors",
"flux2",
"default"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 43,
"type": "VAELoader",
"pos": [
517.231573621917,
656.7863480776692
],
"size": [
269.8313103058076,
58
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
62,
76
]
}
],
"properties": {
"Node name for S&R": "VAELoader",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
"flux2-vae.safetensors"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 48,
"type": "UNETLoader",
"pos": [
917.2536154382312,
19.495025634765582
],
"size": [
308.1592787377913,
82
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
69
]
}
],
"properties": {
"Node name for S&R": "UNETLoader",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"Flux.2\\flux-2-klein-9b-fp8.safetensors",
"default"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 52,
"type": "VAEEncode",
"pos": [
821.9650317382822,
484.74016932307575
],
"size": [
162,
46
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 80
},
{
"name": "vae",
"type": "VAE",
"link": 76
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
74,
75
]
}
],
"properties": {
"Node name for S&R": "VAEEncode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 33,
"type": "CLIPTextEncode",
"pos": [
558.700000000001,
387.24938745307793
],
"size": [
425.2650317382812,
122.99611236572264
],
"flags": {
"collapsed": true
},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 64
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
86
]
}
],
"title": "CLIP Text Encode (Negative Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
""
]
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
1615.039087801503,
160.40068341159756
],
"size": [
161.111083984375,
46
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 52
},
{
"name": "vae",
"type": "VAE",
"link": 62
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
65
]
}
],
"properties": {
"Node name for S&R": "VAEDecode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": []
},
{
"id": 50,
"type": "LoadImage",
"pos": [
-121.29607870133319,
484.74016932307575
],
"size": [
296.798828125,
458.0000000000001
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
72
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"Image.png",
"image"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 31,
"type": "KSampler",
"pos": [
1262.7259909887628,
160.40068341159756
],
"size": [
315,
262
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 69
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 71
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 86
},
{
"name": "latent_image",
"type": "LATENT",
"link": 74
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
52
]
}
],
"properties": {
"Node name for S&R": "KSampler",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
124167,
"fixed",
4,
1,
"euler",
"simple",
1
]
},
{
"id": 45,
"type": "SaveImage",
"pos": [
1813.4632685986182,
160.40068341159756
],
"size": [
582.6799999999998,
614.729
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 65
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73"
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 54,
"type": "ResizeImageMaskNode",
"pos": [
514.4495897676222,
484.74016932307575
],
"size": [
270,
106
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "IMAGE,MASK",
"link": 82
}
],
"outputs": [
{
"name": "resized",
"type": "IMAGE",
"links": [
80
]
}
],
"properties": {
"Node name for S&R": "ResizeImageMaskNode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"scale to multiple",
16,
"nearest-exact"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
558.700000000001,
160.40068341159756
],
"size": [
425.2650317382812,
167.9430462646484
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 63
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
70
]
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
"Change the time to bright midday."
]
}
],
"links": [
[
52,
31,
0,
8,
0,
"LATENT"
],
[
62,
43,
0,
8,
1,
"VAE"
],
[
63,
44,
0,
6,
0,
"CLIP"
],
[
64,
44,
0,
33,
0,
"CLIP"
],
[
65,
8,
0,
45,
0,
"IMAGE"
],
[
69,
48,
0,
31,
0,
"MODEL"
],
[
70,
6,
0,
49,
0,
"CONDITIONING"
],
[
71,
49,
0,
31,
1,
"CONDITIONING"
],
[
72,
50,
0,
51,
0,
"IMAGE"
],
[
74,
52,
0,
31,
3,
"LATENT"
],
[
75,
52,
0,
49,
1,
"LATENT"
],
[
76,
43,
0,
52,
1,
"VAE"
],
[
80,
54,
0,
52,
0,
"IMAGE"
],
[
82,
51,
0,
54,
0,
"IMAGE"
],
[
86,
33,
0,
31,
2,
"CONDITIONING"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.7513148009015777,
"offset": [
298.1500013348689,
206.54004665393953
]
},
"frontendVersion": "1.38.8",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}
環境・状態変更
Change the time to bright midday.
{
"id": "0613b710-fadb-4f72-9aff-d02126893c5a",
"revision": 0,
"last_node_id": 59,
"last_link_id": 92,
"nodes": [
{
"id": 51,
"type": "ResizeImageMaskNode",
"pos": [
209.97616959564456,
484.74016932307575
],
"size": [
270,
106
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "IMAGE,MASK",
"link": 72
}
],
"outputs": [
{
"name": "resized",
"type": "IMAGE",
"links": [
82
]
}
],
"properties": {
"Node name for S&R": "ResizeImageMaskNode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"scale total pixels",
1,
"nearest-exact"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 49,
"type": "ReferenceLatent",
"pos": [
1021.2781285510225,
160.40068341159756
],
"size": [
204.134765625,
46
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 70
},
{
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 75
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
71
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 44,
"type": "CLIPLoader",
"pos": [
224.49879211425772,
292.66704483032197
],
"size": [
283.80000000000007,
106
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
63,
64
]
}
],
"properties": {
"Node name for S&R": "CLIPLoader",
"cnr_id": "comfy-core",
"ver": "0.3.73"
},
"widgets_values": [
"qwen_3_8b.safetensors",
"flux2",
"default"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 43,
"type": "VAELoader",
"pos": [
517.231573621917,
656.7863480776692
],
"size": [
269.8313103058076,
58
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
62,
76
]
}
],
"properties": {
"Node name for S&R": "VAELoader",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
"flux2-vae.safetensors"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 48,
"type": "UNETLoader",
"pos": [
917.2536154382312,
19.495025634765582
],
"size": [
308.1592787377913,
82
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
69
]
}
],
"properties": {
"Node name for S&R": "UNETLoader",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"Flux.2\\flux-2-klein-9b-fp8.safetensors",
"default"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 52,
"type": "VAEEncode",
"pos": [
821.9650317382822,
484.74016932307575
],
"size": [
162,
46
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 80
},
{
"name": "vae",
"type": "VAE",
"link": 76
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
74,
75
]
}
],
"properties": {
"Node name for S&R": "VAEEncode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 33,
"type": "CLIPTextEncode",
"pos": [
558.700000000001,
387.24938745307793
],
"size": [
425.2650317382812,
122.99611236572264
],
"flags": {
"collapsed": true
},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 64
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
86
]
}
],
"title": "CLIP Text Encode (Negative Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
""
]
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
1615.039087801503,
160.40068341159756
],
"size": [
161.111083984375,
46
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 52
},
{
"name": "vae",
"type": "VAE",
"link": 62
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
65
]
}
],
"properties": {
"Node name for S&R": "VAEDecode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": []
},
{
"id": 50,
"type": "LoadImage",
"pos": [
-121.29607870133319,
484.74016932307575
],
"size": [
296.798828125,
458.0000000000001
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
72
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"image3.png",
"image"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 31,
"type": "KSampler",
"pos": [
1262.7259909887628,
160.40068341159756
],
"size": [
315,
262
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 69
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 71
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 86
},
{
"name": "latent_image",
"type": "LATENT",
"link": 74
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
52
]
}
],
"properties": {
"Node name for S&R": "KSampler",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
124167,
"fixed",
4,
1,
"euler",
"simple",
1
]
},
{
"id": 54,
"type": "ResizeImageMaskNode",
"pos": [
514.4495897676222,
484.74016932307575
],
"size": [
270,
106
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "IMAGE,MASK",
"link": 82
}
],
"outputs": [
{
"name": "resized",
"type": "IMAGE",
"links": [
80
]
}
],
"properties": {
"Node name for S&R": "ResizeImageMaskNode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"scale to multiple",
16,
"nearest-exact"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 45,
"type": "SaveImage",
"pos": [
1813.4632685986182,
160.40068341159756
],
"size": [
582.6799999999998,
614.729
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 65
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73"
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
558.700000000001,
160.40068341159756
],
"size": [
425.2650317382812,
167.9430462646484
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 63
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
70
]
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
"Replace the ice bear with an ice duck.Add a hat on the duck with light blue, red, and white colors. Add sneakers on the duck."
]
}
],
"links": [
[
52,
31,
0,
8,
0,
"LATENT"
],
[
62,
43,
0,
8,
1,
"VAE"
],
[
63,
44,
0,
6,
0,
"CLIP"
],
[
64,
44,
0,
33,
0,
"CLIP"
],
[
65,
8,
0,
45,
0,
"IMAGE"
],
[
69,
48,
0,
31,
0,
"MODEL"
],
[
70,
6,
0,
49,
0,
"CONDITIONING"
],
[
71,
49,
0,
31,
1,
"CONDITIONING"
],
[
72,
50,
0,
51,
0,
"IMAGE"
],
[
74,
52,
0,
31,
3,
"LATENT"
],
[
75,
52,
0,
49,
1,
"LATENT"
],
[
76,
43,
0,
52,
1,
"VAE"
],
[
80,
54,
0,
52,
0,
"IMAGE"
],
[
82,
51,
0,
54,
0,
"IMAGE"
],
[
86,
33,
0,
31,
2,
"CONDITIONING"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.6830134553650705,
"offset": [
286.102350299218,
-50.34602870023393
]
},
"frontendVersion": "1.38.8",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}
オブジェクト入れ替え / 追加
Replace the ice bear with an ice duck. Add a hat on the duck with light blue, red, and white colors. Add sneakers on the duck.
{
"id": "0613b710-fadb-4f72-9aff-d02126893c5a",
"revision": 0,
"last_node_id": 62,
"last_link_id": 98,
"nodes": [
{
"id": 51,
"type": "ResizeImageMaskNode",
"pos": [
209.97616959564456,
484.74016932307575
],
"size": [
270,
106
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "IMAGE,MASK",
"link": 72
}
],
"outputs": [
{
"name": "resized",
"type": "IMAGE",
"links": [
82
]
}
],
"properties": {
"Node name for S&R": "ResizeImageMaskNode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"scale total pixels",
1,
"nearest-exact"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 49,
"type": "ReferenceLatent",
"pos": [
1021.2781285510225,
160.40068341159756
],
"size": [
204.134765625,
46
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 70
},
{
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 75
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
71
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 44,
"type": "CLIPLoader",
"pos": [
224.49879211425772,
292.66704483032197
],
"size": [
283.80000000000007,
106
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
63,
64
]
}
],
"properties": {
"Node name for S&R": "CLIPLoader",
"cnr_id": "comfy-core",
"ver": "0.3.73"
},
"widgets_values": [
"qwen_3_8b.safetensors",
"flux2",
"default"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 43,
"type": "VAELoader",
"pos": [
517.231573621917,
656.7863480776692
],
"size": [
269.8313103058076,
58
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
62,
76
]
}
],
"properties": {
"Node name for S&R": "VAELoader",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
"flux2-vae.safetensors"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 48,
"type": "UNETLoader",
"pos": [
917.2536154382312,
19.495025634765582
],
"size": [
308.1592787377913,
82
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
69
]
}
],
"properties": {
"Node name for S&R": "UNETLoader",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"Flux.2\\flux-2-klein-9b-fp8.safetensors",
"default"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 52,
"type": "VAEEncode",
"pos": [
821.9650317382822,
484.74016932307575
],
"size": [
162,
46
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 80
},
{
"name": "vae",
"type": "VAE",
"link": 76
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
74,
75
]
}
],
"properties": {
"Node name for S&R": "VAEEncode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 33,
"type": "CLIPTextEncode",
"pos": [
558.700000000001,
387.24938745307793
],
"size": [
425.2650317382812,
122.99611236572264
],
"flags": {
"collapsed": true
},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 64
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
86
]
}
],
"title": "CLIP Text Encode (Negative Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
""
]
},
{
"id": 31,
"type": "KSampler",
"pos": [
1262.7259909887628,
160.40068341159756
],
"size": [
315,
262
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 69
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 71
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 86
},
{
"name": "latent_image",
"type": "LATENT",
"link": 74
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
52
]
}
],
"properties": {
"Node name for S&R": "KSampler",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
124167,
"fixed",
4,
1,
"euler",
"simple",
1
]
},
{
"id": 50,
"type": "LoadImage",
"pos": [
-121.29607870133319,
484.74016932307575
],
"size": [
296.798828125,
458.0000000000001
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
72
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"pasted/image (134).png",
"image"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
1615.039087801503,
160.40068341159756
],
"size": [
161.111083984375,
46
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 52
},
{
"name": "vae",
"type": "VAE",
"link": 62
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
65
]
}
],
"properties": {
"Node name for S&R": "VAEDecode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": []
},
{
"id": 45,
"type": "SaveImage",
"pos": [
1813.4632685986182,
160.40068341159756
],
"size": [
582.6799999999998,
614.729
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 65
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73"
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 54,
"type": "ResizeImageMaskNode",
"pos": [
514.4495897676222,
484.74016932307575
],
"size": [
270,
106
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "IMAGE,MASK",
"link": 82
}
],
"outputs": [
{
"name": "resized",
"type": "IMAGE",
"links": [
80
]
}
],
"properties": {
"Node name for S&R": "ResizeImageMaskNode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"scale to multiple",
16,
"nearest-exact"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
558.700000000001,
160.40068341159756
],
"size": [
425.2650317382812,
167.9430462646484
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 63
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
70
]
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
"Edit the text \"WELCOME\" to \"Flux.2\"."
]
}
],
"links": [
[
52,
31,
0,
8,
0,
"LATENT"
],
[
62,
43,
0,
8,
1,
"VAE"
],
[
63,
44,
0,
6,
0,
"CLIP"
],
[
64,
44,
0,
33,
0,
"CLIP"
],
[
65,
8,
0,
45,
0,
"IMAGE"
],
[
69,
48,
0,
31,
0,
"MODEL"
],
[
70,
6,
0,
49,
0,
"CONDITIONING"
],
[
71,
49,
0,
31,
1,
"CONDITIONING"
],
[
72,
50,
0,
51,
0,
"IMAGE"
],
[
74,
52,
0,
31,
3,
"LATENT"
],
[
75,
52,
0,
49,
1,
"LATENT"
],
[
76,
43,
0,
52,
1,
"VAE"
],
[
80,
54,
0,
52,
0,
"IMAGE"
],
[
82,
51,
0,
54,
0,
"IMAGE"
],
[
86,
33,
0,
31,
2,
"CONDITIONING"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.6830134553650706,
"offset": [
189.60329087991778,
100.09996970817954
]
},
"frontendVersion": "1.38.8",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}
テキスト編集
Edit the text "WELCOME" to "Flux.2".
{
"id": "0613b710-fadb-4f72-9aff-d02126893c5a",
"revision": 0,
"last_node_id": 62,
"last_link_id": 98,
"nodes": [
{
"id": 51,
"type": "ResizeImageMaskNode",
"pos": [
209.97616959564456,
484.74016932307575
],
"size": [
270,
106
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "IMAGE,MASK",
"link": 72
}
],
"outputs": [
{
"name": "resized",
"type": "IMAGE",
"links": [
82
]
}
],
"properties": {
"Node name for S&R": "ResizeImageMaskNode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"scale total pixels",
1,
"nearest-exact"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 49,
"type": "ReferenceLatent",
"pos": [
1021.2781285510225,
160.40068341159756
],
"size": [
204.134765625,
46
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 70
},
{
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 75
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
71
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 44,
"type": "CLIPLoader",
"pos": [
224.49879211425772,
292.66704483032197
],
"size": [
283.80000000000007,
106
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
63,
64
]
}
],
"properties": {
"Node name for S&R": "CLIPLoader",
"cnr_id": "comfy-core",
"ver": "0.3.73"
},
"widgets_values": [
"qwen_3_8b.safetensors",
"flux2",
"default"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 43,
"type": "VAELoader",
"pos": [
517.231573621917,
656.7863480776692
],
"size": [
269.8313103058076,
58
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
62,
76
]
}
],
"properties": {
"Node name for S&R": "VAELoader",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
"flux2-vae.safetensors"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 48,
"type": "UNETLoader",
"pos": [
917.2536154382312,
19.495025634765582
],
"size": [
308.1592787377913,
82
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
69
]
}
],
"properties": {
"Node name for S&R": "UNETLoader",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"Flux.2\\flux-2-klein-9b-fp8.safetensors",
"default"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 52,
"type": "VAEEncode",
"pos": [
821.9650317382822,
484.74016932307575
],
"size": [
162,
46
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 80
},
{
"name": "vae",
"type": "VAE",
"link": 76
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
74,
75
]
}
],
"properties": {
"Node name for S&R": "VAEEncode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 33,
"type": "CLIPTextEncode",
"pos": [
558.700000000001,
387.24938745307793
],
"size": [
425.2650317382812,
122.99611236572264
],
"flags": {
"collapsed": true
},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 64
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
86
]
}
],
"title": "CLIP Text Encode (Negative Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
""
]
},
{
"id": 31,
"type": "KSampler",
"pos": [
1262.7259909887628,
160.40068341159756
],
"size": [
315,
262
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 69
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 71
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 86
},
{
"name": "latent_image",
"type": "LATENT",
"link": 74
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
52
]
}
],
"properties": {
"Node name for S&R": "KSampler",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
124167,
"fixed",
4,
1,
"euler",
"simple",
1
]
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
1615.039087801503,
160.40068341159756
],
"size": [
161.111083984375,
46
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 52
},
{
"name": "vae",
"type": "VAE",
"link": 62
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
65
]
}
],
"properties": {
"Node name for S&R": "VAEDecode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": []
},
{
"id": 45,
"type": "SaveImage",
"pos": [
1813.4632685986182,
160.40068341159756
],
"size": [
582.6799999999998,
614.729
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 65
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73"
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 54,
"type": "ResizeImageMaskNode",
"pos": [
514.4495897676222,
484.74016932307575
],
"size": [
270,
106
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "IMAGE,MASK",
"link": 82
}
],
"outputs": [
{
"name": "resized",
"type": "IMAGE",
"links": [
80
]
}
],
"properties": {
"Node name for S&R": "ResizeImageMaskNode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"scale to multiple",
16,
"nearest-exact"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 50,
"type": "LoadImage",
"pos": [
-121.29607870133319,
484.74016932307575
],
"size": [
296.798828125,
458.0000000000001
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
72
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"pasted/image (135).png",
"image"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
558.700000000001,
160.40068341159756
],
"size": [
425.2650317382812,
167.9430462646484
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 63
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
70
]
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
"Restore and colorize this black-and-white photo."
]
}
],
"links": [
[
52,
31,
0,
8,
0,
"LATENT"
],
[
62,
43,
0,
8,
1,
"VAE"
],
[
63,
44,
0,
6,
0,
"CLIP"
],
[
64,
44,
0,
33,
0,
"CLIP"
],
[
65,
8,
0,
45,
0,
"IMAGE"
],
[
69,
48,
0,
31,
0,
"MODEL"
],
[
70,
6,
0,
49,
0,
"CONDITIONING"
],
[
71,
49,
0,
31,
1,
"CONDITIONING"
],
[
72,
50,
0,
51,
0,
"IMAGE"
],
[
74,
52,
0,
31,
3,
"LATENT"
],
[
75,
52,
0,
49,
1,
"LATENT"
],
[
76,
43,
0,
52,
1,
"VAE"
],
[
80,
54,
0,
52,
0,
"IMAGE"
],
[
82,
51,
0,
54,
0,
"IMAGE"
],
[
86,
33,
0,
31,
2,
"CONDITIONING"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.7513148009015777,
"offset": [
82.80055255786986,
75.60034225745586
]
},
"frontendVersion": "1.38.8",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}
画像修復
Restore and colorize this black-and-white photo.
{
"id": "0613b710-fadb-4f72-9aff-d02126893c5a",
"revision": 0,
"last_node_id": 66,
"last_link_id": 106,
"nodes": [
{
"id": 51,
"type": "ResizeImageMaskNode",
"pos": [
210.9172345510862,
484.74016932307575
],
"size": [
270,
106
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "IMAGE,MASK",
"link": 100
}
],
"outputs": [
{
"name": "resized",
"type": "IMAGE",
"links": [
82
]
}
],
"properties": {
"Node name for S&R": "ResizeImageMaskNode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"scale total pixels",
1,
"nearest-exact"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 49,
"type": "ReferenceLatent",
"pos": [
1021.2781285510225,
160.40068341159756
],
"size": [
204.134765625,
46
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 70
},
{
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 75
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
71
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 44,
"type": "CLIPLoader",
"pos": [
224.49879211425772,
292.66704483032197
],
"size": [
283.80000000000007,
106
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
63,
64
]
}
],
"properties": {
"Node name for S&R": "CLIPLoader",
"cnr_id": "comfy-core",
"ver": "0.3.73"
},
"widgets_values": [
"qwen_3_8b.safetensors",
"flux2",
"default"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 43,
"type": "VAELoader",
"pos": [
517.231573621917,
656.7863480776692
],
"size": [
269.8313103058076,
58
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
62,
76
]
}
],
"properties": {
"Node name for S&R": "VAELoader",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
"flux2-vae.safetensors"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 48,
"type": "UNETLoader",
"pos": [
917.2536154382312,
19.495025634765582
],
"size": [
308.1592787377913,
82
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
69
]
}
],
"properties": {
"Node name for S&R": "UNETLoader",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"Flux.2\\flux-2-klein-9b-fp8.safetensors",
"default"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 33,
"type": "CLIPTextEncode",
"pos": [
558.700000000001,
387.24938745307793
],
"size": [
425.2650317382812,
122.99611236572264
],
"flags": {
"collapsed": true
},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 64
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
86
]
}
],
"title": "CLIP Text Encode (Negative Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
""
]
},
{
"id": 31,
"type": "KSampler",
"pos": [
1262.7259909887628,
160.40068341159756
],
"size": [
315,
262
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 69
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 71
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 86
},
{
"name": "latent_image",
"type": "LATENT",
"link": 74
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
52
]
}
],
"properties": {
"Node name for S&R": "KSampler",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
1234,
"fixed",
4,
1,
"euler",
"simple",
1
]
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
1615.039087801503,
160.40068341159756
],
"size": [
161.111083984375,
46
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 52
},
{
"name": "vae",
"type": "VAE",
"link": 62
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
65
]
}
],
"properties": {
"Node name for S&R": "VAEDecode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": []
},
{
"id": 45,
"type": "SaveImage",
"pos": [
1813.4632685986182,
160.40068341159756
],
"size": [
582.6799999999998,
614.729
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 65
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73"
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
558.700000000001,
160.40068341159756
],
"size": [
425.2650317382812,
167.9430462646484
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 63
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
70
]
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
"A office lady sitting on outdoor stairs at dusk, matching the pose from the reference image. Evening ambient light, calm urban atmosphere. She wears a long skirt and a black camisole with frills. Natural, realistic photo"
]
},
{
"id": 63,
"type": "DWPreprocessor",
"pos": [
-64.19846091751185,
484.74016932307575
],
"size": [
239.591796875,
222
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 99
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
100
]
},
{
"name": "POSE_KEYPOINT",
"type": "POSE_KEYPOINT",
"links": null
}
],
"properties": {
"Node name for S&R": "DWPreprocessor"
},
"widgets_values": [
"enable",
"enable",
"enable",
512,
"yolox_l.onnx",
"dw-ll_ucoco_384_bs5.torchscript.pt",
"disable"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 54,
"type": "ResizeImageMaskNode",
"pos": [
516.4411331446843,
484.74016932307575
],
"size": [
270,
106
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "IMAGE,MASK",
"link": 82
}
],
"outputs": [
{
"name": "resized",
"type": "IMAGE",
"links": [
80
]
}
],
"properties": {
"Node name for S&R": "ResizeImageMaskNode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"scale to multiple",
16,
"nearest-exact"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 52,
"type": "VAEEncode",
"pos": [
821.9650317382823,
484.74016932307575
],
"size": [
162,
46
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 80
},
{
"name": "vae",
"type": "VAE",
"link": 76
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
74,
75
]
}
],
"properties": {
"Node name for S&R": "VAEEncode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 50,
"type": "LoadImage",
"pos": [
-396.5211876361099,
484.74016932307575
],
"size": [
296.798828125,
458.0000000000001
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
99
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"image4.png",
"image"
],
"color": "#232",
"bgcolor": "#353"
}
],
"links": [
[
52,
31,
0,
8,
0,
"LATENT"
],
[
62,
43,
0,
8,
1,
"VAE"
],
[
63,
44,
0,
6,
0,
"CLIP"
],
[
64,
44,
0,
33,
0,
"CLIP"
],
[
65,
8,
0,
45,
0,
"IMAGE"
],
[
69,
48,
0,
31,
0,
"MODEL"
],
[
70,
6,
0,
49,
0,
"CONDITIONING"
],
[
71,
49,
0,
31,
1,
"CONDITIONING"
],
[
74,
52,
0,
31,
3,
"LATENT"
],
[
75,
52,
0,
49,
1,
"LATENT"
],
[
76,
43,
0,
52,
1,
"VAE"
],
[
80,
54,
0,
52,
0,
"IMAGE"
],
[
82,
51,
0,
54,
0,
"IMAGE"
],
[
86,
33,
0,
31,
2,
"CONDITIONING"
],
[
99,
50,
0,
63,
0,
"IMAGE"
],
[
100,
63,
0,
51,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.6830134553650705,
"offset": [
611.9972748802562,
262.9209225159331
]
},
"frontendVersion": "1.38.8",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}
ControlNetライク(Pose)
ControlNetの仕組みで動いているわけではありません。
棒人間や深度マップを与え、これを元にリアルな画像を生成してもらうことで、画像編集として ControlNet的 なタスクを行うことが出来ます。
A office lady sitting on outdoor stairs at dusk, matching the pose from the reference image. Evening ambient light, calm urban atmosphere. She wears a long skirt and a black camisole with frills. Natural, realistic photo
{
"id": "0613b710-fadb-4f72-9aff-d02126893c5a",
"revision": 0,
"last_node_id": 71,
"last_link_id": 113,
"nodes": [
{
"id": 51,
"type": "ResizeImageMaskNode",
"pos": [
210.9172345510862,
484.74016932307575
],
"size": [
270,
106
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "IMAGE,MASK",
"link": 108
}
],
"outputs": [
{
"name": "resized",
"type": "IMAGE",
"links": [
82
]
}
],
"properties": {
"Node name for S&R": "ResizeImageMaskNode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"scale total pixels",
1,
"nearest-exact"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 49,
"type": "ReferenceLatent",
"pos": [
1021.2781285510225,
160.40068341159756
],
"size": [
204.134765625,
46
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 70
},
{
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 75
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
71
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 44,
"type": "CLIPLoader",
"pos": [
224.49879211425772,
292.66704483032197
],
"size": [
283.80000000000007,
106
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
63,
64
]
}
],
"properties": {
"Node name for S&R": "CLIPLoader",
"cnr_id": "comfy-core",
"ver": "0.3.73"
},
"widgets_values": [
"qwen_3_8b.safetensors",
"flux2",
"default"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 43,
"type": "VAELoader",
"pos": [
517.231573621917,
656.7863480776692
],
"size": [
269.8313103058076,
58
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
62,
76
]
}
],
"properties": {
"Node name for S&R": "VAELoader",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
"flux2-vae.safetensors"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 48,
"type": "UNETLoader",
"pos": [
917.2536154382312,
19.495025634765582
],
"size": [
308.1592787377913,
82
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
69
]
}
],
"properties": {
"Node name for S&R": "UNETLoader",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"Flux.2\\flux-2-klein-9b-fp8.safetensors",
"default"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 33,
"type": "CLIPTextEncode",
"pos": [
558.700000000001,
387.24938745307793
],
"size": [
425.2650317382812,
122.99611236572264
],
"flags": {
"collapsed": true
},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 64
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
86
]
}
],
"title": "CLIP Text Encode (Negative Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
""
]
},
{
"id": 31,
"type": "KSampler",
"pos": [
1262.7259909887628,
160.40068341159756
],
"size": [
315,
262
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 69
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 71
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 86
},
{
"name": "latent_image",
"type": "LATENT",
"link": 74
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
52
]
}
],
"properties": {
"Node name for S&R": "KSampler",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
1234,
"fixed",
4,
1,
"euler",
"simple",
1
]
},
{
"id": 52,
"type": "VAEEncode",
"pos": [
821.9650317382823,
484.74016932307575
],
"size": [
162,
46
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 80
},
{
"name": "vae",
"type": "VAE",
"link": 76
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
74,
75
]
}
],
"properties": {
"Node name for S&R": "VAEEncode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 50,
"type": "LoadImage",
"pos": [
-396.5211876361099,
484.74016932307575
],
"size": [
296.798828125,
458.0000000000001
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
107
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"Image5.png",
"image"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 67,
"type": "ImagePadForOutpaint",
"pos": [
-64.19846091751185,
484.74016932307575
],
"size": [
239.591796875,
174
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 107
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
108
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "ImagePadForOutpaint"
},
"widgets_values": [
104,
200,
200,
0,
40
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 54,
"type": "ResizeImageMaskNode",
"pos": [
516.4411331446843,
484.74016932307575
],
"size": [
270,
106
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "IMAGE,MASK",
"link": 82
}
],
"outputs": [
{
"name": "resized",
"type": "IMAGE",
"links": [
80
]
}
],
"properties": {
"Node name for S&R": "ResizeImageMaskNode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"scale to multiple",
16,
"nearest-exact"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
1615.039087801503,
160.40068341159756
],
"size": [
161.111083984375,
46
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 52
},
{
"name": "vae",
"type": "VAE",
"link": 62
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
65
]
}
],
"properties": {
"Node name for S&R": "VAEDecode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": []
},
{
"id": 45,
"type": "SaveImage",
"pos": [
1813.4632685986182,
160.40068341159756
],
"size": [
582.6799999999998,
614.729
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 65
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73"
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
558.700000000001,
160.40068341159756
],
"size": [
425.2650317382812,
167.9430462646484
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 63
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
70
]
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
"Outpaint the gray areas to extend the scene naturally"
]
}
],
"links": [
[
52,
31,
0,
8,
0,
"LATENT"
],
[
62,
43,
0,
8,
1,
"VAE"
],
[
63,
44,
0,
6,
0,
"CLIP"
],
[
64,
44,
0,
33,
0,
"CLIP"
],
[
65,
8,
0,
45,
0,
"IMAGE"
],
[
69,
48,
0,
31,
0,
"MODEL"
],
[
70,
6,
0,
49,
0,
"CONDITIONING"
],
[
71,
49,
0,
31,
1,
"CONDITIONING"
],
[
74,
52,
0,
31,
3,
"LATENT"
],
[
75,
52,
0,
49,
1,
"LATENT"
],
[
76,
43,
0,
52,
1,
"VAE"
],
[
80,
54,
0,
52,
0,
"IMAGE"
],
[
82,
51,
0,
54,
0,
"IMAGE"
],
[
86,
33,
0,
31,
2,
"CONDITIONING"
],
[
107,
50,
0,
67,
0,
"IMAGE"
],
[
108,
67,
0,
51,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.7513148009015777,
"offset": [
113.7182203870731,
193.0448037706546
]
},
"frontendVersion": "1.38.8",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}
inpainting / outpainting
マスクを与えてそこを埋めているわけではなく、「灰色のエリアを自然に埋めてください」と指示をするだけです。
Outpaint the gray areas to extend the scene naturally
{
"id": "0613b710-fadb-4f72-9aff-d02126893c5a",
"revision": 0,
"last_node_id": 58,
"last_link_id": 92,
"nodes": [
{
"id": 45,
"type": "SaveImage",
"pos": [
1813.4632685986182,
160.40068341159756
],
"size": [
582.6799999999998,
614.729
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 65
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73"
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 51,
"type": "ResizeImageMaskNode",
"pos": [
209.97616959564456,
484.74016932307575
],
"size": [
270,
106
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "IMAGE,MASK",
"link": 72
}
],
"outputs": [
{
"name": "resized",
"type": "IMAGE",
"links": [
82
]
}
],
"properties": {
"Node name for S&R": "ResizeImageMaskNode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"scale total pixels",
1,
"nearest-exact"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 49,
"type": "ReferenceLatent",
"pos": [
1021.2781285510225,
160.40068341159756
],
"size": [
204.134765625,
46
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 70
},
{
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 75
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
71
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 44,
"type": "CLIPLoader",
"pos": [
224.49879211425772,
292.66704483032197
],
"size": [
283.80000000000007,
106
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
63,
64
]
}
],
"properties": {
"Node name for S&R": "CLIPLoader",
"cnr_id": "comfy-core",
"ver": "0.3.73"
},
"widgets_values": [
"qwen_3_8b.safetensors",
"flux2",
"default"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 43,
"type": "VAELoader",
"pos": [
517.231573621917,
656.7863480776692
],
"size": [
269.8313103058076,
58
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
62,
76
]
}
],
"properties": {
"Node name for S&R": "VAELoader",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
"flux2-vae.safetensors"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 48,
"type": "UNETLoader",
"pos": [
917.2536154382312,
19.495025634765582
],
"size": [
308.1592787377913,
82
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
69
]
}
],
"properties": {
"Node name for S&R": "UNETLoader",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"Flux.2\\flux-2-klein-9b-fp8.safetensors",
"default"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 52,
"type": "VAEEncode",
"pos": [
821.9650317382822,
484.74016932307575
],
"size": [
162,
46
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 80
},
{
"name": "vae",
"type": "VAE",
"link": 76
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
74,
75
]
}
],
"properties": {
"Node name for S&R": "VAEEncode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 33,
"type": "CLIPTextEncode",
"pos": [
558.700000000001,
387.24938745307793
],
"size": [
425.2650317382812,
122.99611236572264
],
"flags": {
"collapsed": true
},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 64
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
86
]
}
],
"title": "CLIP Text Encode (Negative Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
""
]
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
1615.039087801503,
160.40068341159756
],
"size": [
161.111083984375,
46
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 52
},
{
"name": "vae",
"type": "VAE",
"link": 62
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
65
]
}
],
"properties": {
"Node name for S&R": "VAEDecode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": []
},
{
"id": 50,
"type": "LoadImage",
"pos": [
-121.29607870133319,
484.74016932307575
],
"size": [
296.798828125,
458.0000000000001
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
72
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"image50.png",
"image"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 54,
"type": "ResizeImageMaskNode",
"pos": [
514.4495897676222,
484.74016932307575
],
"size": [
270,
106
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "IMAGE,MASK",
"link": 82
}
],
"outputs": [
{
"name": "resized",
"type": "IMAGE",
"links": [
80
]
}
],
"properties": {
"Node name for S&R": "ResizeImageMaskNode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"scale to multiple",
16,
"nearest-exact"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 31,
"type": "KSampler",
"pos": [
1262.7259909887628,
160.40068341159756
],
"size": [
315,
262
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 69
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 71
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 86
},
{
"name": "latent_image",
"type": "LATENT",
"link": 74
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
52
]
}
],
"properties": {
"Node name for S&R": "KSampler",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
1234,
"fixed",
4,
1,
"euler",
"simple",
1
]
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
558.700000000001,
160.40068341159756
],
"size": [
425.2650317382812,
167.9430462646484
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 63
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
70
]
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
"Turn this into a single realistic underwater ruins scene with two robots: a sleek white mecha and a large rusty moss-covered robot."
]
}
],
"links": [
[
52,
31,
0,
8,
0,
"LATENT"
],
[
62,
43,
0,
8,
1,
"VAE"
],
[
63,
44,
0,
6,
0,
"CLIP"
],
[
64,
44,
0,
33,
0,
"CLIP"
],
[
65,
8,
0,
45,
0,
"IMAGE"
],
[
69,
48,
0,
31,
0,
"MODEL"
],
[
70,
6,
0,
49,
0,
"CONDITIONING"
],
[
71,
49,
0,
31,
1,
"CONDITIONING"
],
[
72,
50,
0,
51,
0,
"IMAGE"
],
[
74,
52,
0,
31,
3,
"LATENT"
],
[
75,
52,
0,
49,
1,
"LATENT"
],
[
76,
43,
0,
52,
1,
"VAE"
],
[
80,
54,
0,
52,
0,
"IMAGE"
],
[
82,
51,
0,
54,
0,
"IMAGE"
],
[
86,
33,
0,
31,
2,
"CONDITIONING"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.7513148009015777,
"offset": [
239.82218619005403,
315.8894727174446
]
},
"frontendVersion": "1.38.8",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}
雑コラのリファイン
Turn this into a single realistic underwater ruins scene with two robots: a sleek white mecha and a large rusty moss-covered robot.
マルチリファレンス画像編集
{
"id": "e0361c75-4d9e-44e1-b5af-0573e8dbfd81",
"revision": 0,
"last_node_id": 67,
"last_link_id": 107,
"nodes": [
{
"id": 49,
"type": "ReferenceLatent",
"pos": [
1023.7685400049872,
160.40068341159756
],
"size": [
204.134765625,
46
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 70
},
{
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 75
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
86
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 57,
"type": "ReferenceLatent",
"pos": [
1267.7068138966924,
160.40068341159756
],
"size": [
204.134765625,
46
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 86
},
{
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 94
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
88
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 62,
"type": "VAEEncode",
"pos": [
816.121477270894,
701.2683177920061
],
"size": [
162,
46
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 93
},
{
"name": "vae",
"type": "VAE",
"link": 96
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
94
]
}
],
"properties": {
"Node name for S&R": "VAEEncode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 51,
"type": "ResizeImageMaskNode",
"pos": [
223.12102751100818,
471.02558767069615
],
"size": [
270,
106
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "IMAGE,MASK",
"link": 72
}
],
"outputs": [
{
"name": "resized",
"type": "IMAGE",
"links": [
82
]
}
],
"properties": {
"Node name for S&R": "ResizeImageMaskNode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"scale total pixels",
1,
"nearest-exact"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 43,
"type": "VAELoader",
"pos": [
514.5525198081705,
876.5164639782489
],
"size": [
259,
58
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
62,
76,
96
]
}
],
"properties": {
"Node name for S&R": "VAELoader",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
"flux2-vae.safetensors"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 60,
"type": "LoadImage",
"pos": [
-95.27710047562067,
986.266570016838
],
"size": [
296.798828125,
458.0000000000001
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
90
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"3 (2).png",
"image"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 50,
"type": "LoadImage",
"pos": [
-95.80499587437637,
471.02558767069615
],
"size": [
296.798828125,
458.0000000000001
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
72
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"32.png",
"image"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 31,
"type": "KSampler",
"pos": [
1511.6450877883976,
160.40068341159756
],
"size": [
315,
262
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 69
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 88
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 100
},
{
"name": "latent_image",
"type": "LATENT",
"link": 98
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
52
]
}
],
"properties": {
"Node name for S&R": "KSampler",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
1234,
"fixed",
4,
1,
"euler",
"simple",
1
]
},
{
"id": 63,
"type": "Reroute",
"pos": [
1390.9980250543044,
471.02558767069615
],
"size": [
75,
26
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 97
}
],
"outputs": [
{
"name": "",
"type": "LATENT",
"links": [
98
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 52,
"type": "VAEEncode",
"pos": [
816.121477270894,
471.02558767069615
],
"size": [
162,
46
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 80
},
{
"name": "vae",
"type": "VAE",
"link": 76
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
75,
97
]
}
],
"properties": {
"Node name for S&R": "VAEEncode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 33,
"type": "CLIPTextEncode",
"pos": [
558.700000000001,
387.24938745307793
],
"size": [
425.2650317382812,
122.99611236572264
],
"flags": {
"collapsed": true
},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 64
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
100
]
}
],
"title": "CLIP Text Encode (Negative Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
""
]
},
{
"id": 48,
"type": "UNETLoader",
"pos": [
1163.6823007839012,
19.495025634765582
],
"size": [
308.1592787377913,
82
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
69
]
}
],
"properties": {
"Node name for S&R": "UNETLoader",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"Flux.2\\flux-2-klein-9b-fp8.safetensors",
"default"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 44,
"type": "CLIPLoader",
"pos": [
224.49879211425772,
292.66704483032197
],
"size": [
283.80000000000007,
106
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
63,
64
]
}
],
"properties": {
"Node name for S&R": "CLIPLoader",
"cnr_id": "comfy-core",
"ver": "0.3.73"
},
"widgets_values": [
"qwen_3_8b.safetensors",
"flux2",
"default"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 45,
"type": "SaveImage",
"pos": [
2061.6450877883976,
160.40068341159756
],
"size": [
582.6799999999998,
614.729
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 65
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73"
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
558.700000000001,
160.40068341159756
],
"size": [
425.2650317382812,
167.9430462646484
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 63
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
70
]
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
"Change image 1 to match the style of image 2."
]
},
{
"id": 54,
"type": "ResizeImageMaskNode",
"pos": [
515.2482227713929,
471.02558767069615
],
"size": [
258.18181818181813,
106
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "IMAGE,MASK",
"link": 82
}
],
"outputs": [
{
"name": "resized",
"type": "IMAGE",
"links": [
80
]
}
],
"properties": {
"Node name for S&R": "ResizeImageMaskNode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"scale to multiple",
16,
"nearest-exact"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 59,
"type": "ResizeImageMaskNode",
"pos": [
223.12102751100818,
701.2683177920061
],
"size": [
270,
106
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "IMAGE,MASK",
"link": 90
}
],
"outputs": [
{
"name": "resized",
"type": "IMAGE",
"links": [
93
]
}
],
"properties": {
"Node name for S&R": "ResizeImageMaskNode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"scale total pixels",
1,
"nearest-exact"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
1863.6450877883976,
160.40068341159756
],
"size": [
161.111083984375,
46
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 52
},
{
"name": "vae",
"type": "VAE",
"link": 62
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
65
]
}
],
"properties": {
"Node name for S&R": "VAEDecode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": []
}
],
"links": [
[
52,
31,
0,
8,
0,
"LATENT"
],
[
62,
43,
0,
8,
1,
"VAE"
],
[
63,
44,
0,
6,
0,
"CLIP"
],
[
64,
44,
0,
33,
0,
"CLIP"
],
[
65,
8,
0,
45,
0,
"IMAGE"
],
[
69,
48,
0,
31,
0,
"MODEL"
],
[
70,
6,
0,
49,
0,
"CONDITIONING"
],
[
72,
50,
0,
51,
0,
"IMAGE"
],
[
75,
52,
0,
49,
1,
"LATENT"
],
[
76,
43,
0,
52,
1,
"VAE"
],
[
80,
54,
0,
52,
0,
"IMAGE"
],
[
82,
51,
0,
54,
0,
"IMAGE"
],
[
86,
49,
0,
57,
0,
"CONDITIONING"
],
[
88,
57,
0,
31,
1,
"CONDITIONING"
],
[
90,
60,
0,
59,
0,
"IMAGE"
],
[
93,
59,
0,
62,
0,
"IMAGE"
],
[
94,
62,
0,
57,
1,
"LATENT"
],
[
96,
43,
0,
62,
1,
"VAE"
],
[
97,
52,
0,
63,
0,
"LATENT"
],
[
98,
63,
0,
31,
3,
"LATENT"
],
[
100,
33,
0,
31,
2,
"CONDITIONING"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.7513148009015782,
"offset": [
-105.44362082407476,
183.45635792216694
]
},
"frontendVersion": "1.38.8",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}
スタイル転送
Change image 1 to match the style of image 2.
{
"id": "e0361c75-4d9e-44e1-b5af-0573e8dbfd81",
"revision": 0,
"last_node_id": 72,
"last_link_id": 119,
"nodes": [
{
"id": 49,
"type": "ReferenceLatent",
"pos": [
1023.7685400049872,
160.40068341159756
],
"size": [
204.134765625,
46
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 70
},
{
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 75
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
86
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 57,
"type": "ReferenceLatent",
"pos": [
1267.7068138966924,
160.40068341159756
],
"size": [
204.134765625,
46
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 86
},
{
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 94
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
88
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 62,
"type": "VAEEncode",
"pos": [
816.121477270894,
701.2683177920061
],
"size": [
162,
46
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 93
},
{
"name": "vae",
"type": "VAE",
"link": 96
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
94
]
}
],
"properties": {
"Node name for S&R": "VAEEncode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 51,
"type": "ResizeImageMaskNode",
"pos": [
223.12102751100818,
471.02558767069615
],
"size": [
270,
106
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "IMAGE,MASK",
"link": 72
}
],
"outputs": [
{
"name": "resized",
"type": "IMAGE",
"links": [
82
]
}
],
"properties": {
"Node name for S&R": "ResizeImageMaskNode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"scale total pixels",
1,
"nearest-exact"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 43,
"type": "VAELoader",
"pos": [
514.5525198081705,
876.5164639782489
],
"size": [
259,
58
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
62,
76,
96
]
}
],
"properties": {
"Node name for S&R": "VAELoader",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
"flux2-vae.safetensors"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 60,
"type": "LoadImage",
"pos": [
-95.27710047562067,
986.266570016838
],
"size": [
296.798828125,
458.0000000000001
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
90
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"Image-80.png",
"image"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 31,
"type": "KSampler",
"pos": [
1511.6450877883976,
160.40068341159756
],
"size": [
315,
262
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 69
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 88
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 100
},
{
"name": "latent_image",
"type": "LATENT",
"link": 98
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
52
]
}
],
"properties": {
"Node name for S&R": "KSampler",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
1234,
"fixed",
4,
1,
"euler",
"simple",
1
]
},
{
"id": 63,
"type": "Reroute",
"pos": [
1390.9980250543044,
471.02558767069615
],
"size": [
75,
26
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 97
}
],
"outputs": [
{
"name": "",
"type": "LATENT",
"links": [
98
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 52,
"type": "VAEEncode",
"pos": [
816.121477270894,
471.02558767069615
],
"size": [
162,
46
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 80
},
{
"name": "vae",
"type": "VAE",
"link": 76
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
75,
97
]
}
],
"properties": {
"Node name for S&R": "VAEEncode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 33,
"type": "CLIPTextEncode",
"pos": [
558.700000000001,
387.24938745307793
],
"size": [
425.2650317382812,
122.99611236572264
],
"flags": {
"collapsed": true
},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 64
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
100
]
}
],
"title": "CLIP Text Encode (Negative Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
""
]
},
{
"id": 48,
"type": "UNETLoader",
"pos": [
1163.6823007839012,
19.495025634765582
],
"size": [
308.1592787377913,
82
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
69
]
}
],
"properties": {
"Node name for S&R": "UNETLoader",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"Flux.2\\flux-2-klein-9b-fp8.safetensors",
"default"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 44,
"type": "CLIPLoader",
"pos": [
224.49879211425772,
292.66704483032197
],
"size": [
283.80000000000007,
106
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
63,
64
]
}
],
"properties": {
"Node name for S&R": "CLIPLoader",
"cnr_id": "comfy-core",
"ver": "0.3.73"
},
"widgets_values": [
"qwen_3_8b.safetensors",
"flux2",
"default"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 50,
"type": "LoadImage",
"pos": [
-95.80499587437637,
471.02558767069615
],
"size": [
296.798828125,
458.0000000000001
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
72
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"pexels-photo-32490940.jpg",
"image"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
1863.6450877883976,
160.40068341159756
],
"size": [
161.111083984375,
46
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 52
},
{
"name": "vae",
"type": "VAE",
"link": 62
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
65
]
}
],
"properties": {
"Node name for S&R": "VAEDecode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": []
},
{
"id": 45,
"type": "SaveImage",
"pos": [
2061.6450877883976,
160.40068341159756
],
"size": [
582.6799999999998,
614.729
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 65
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73"
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 54,
"type": "ResizeImageMaskNode",
"pos": [
515.2482227713929,
471.02558767069615
],
"size": [
258.18181818181813,
106
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "IMAGE,MASK",
"link": 82
}
],
"outputs": [
{
"name": "resized",
"type": "IMAGE",
"links": [
80
]
}
],
"properties": {
"Node name for S&R": "ResizeImageMaskNode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"scale to multiple",
16,
"nearest-exact"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 59,
"type": "ResizeImageMaskNode",
"pos": [
223.12102751100818,
701.2683177920061
],
"size": [
270,
106
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "IMAGE,MASK",
"link": 90
}
],
"outputs": [
{
"name": "resized",
"type": "IMAGE",
"links": [
93
]
}
],
"properties": {
"Node name for S&R": "ResizeImageMaskNode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"scale total pixels",
1,
"nearest-exact"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
558.700000000001,
160.40068341159756
],
"size": [
425.2650317382812,
167.9430462646484
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 63
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
70
]
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
"Replace the person in image 1 with the person from image 2."
]
}
],
"links": [
[
52,
31,
0,
8,
0,
"LATENT"
],
[
62,
43,
0,
8,
1,
"VAE"
],
[
63,
44,
0,
6,
0,
"CLIP"
],
[
64,
44,
0,
33,
0,
"CLIP"
],
[
65,
8,
0,
45,
0,
"IMAGE"
],
[
69,
48,
0,
31,
0,
"MODEL"
],
[
70,
6,
0,
49,
0,
"CONDITIONING"
],
[
72,
50,
0,
51,
0,
"IMAGE"
],
[
75,
52,
0,
49,
1,
"LATENT"
],
[
76,
43,
0,
52,
1,
"VAE"
],
[
80,
54,
0,
52,
0,
"IMAGE"
],
[
82,
51,
0,
54,
0,
"IMAGE"
],
[
86,
49,
0,
57,
0,
"CONDITIONING"
],
[
88,
57,
0,
31,
1,
"CONDITIONING"
],
[
90,
60,
0,
59,
0,
"IMAGE"
],
[
93,
59,
0,
62,
0,
"IMAGE"
],
[
94,
62,
0,
57,
1,
"LATENT"
],
[
96,
43,
0,
62,
1,
"VAE"
],
[
97,
52,
0,
63,
0,
"LATENT"
],
[
98,
63,
0,
31,
3,
"LATENT"
],
[
100,
33,
0,
31,
2,
"CONDITIONING"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.6209213230591555,
"offset": [
92.7047114144624,
85.62427382539659
]
},
"frontendVersion": "1.38.8",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}
オブジェクト・人物入れ替え
Replace the person in image 1 with the person from image 2.
{
"id": "e0361c75-4d9e-44e1-b5af-0573e8dbfd81",
"revision": 0,
"last_node_id": 72,
"last_link_id": 119,
"nodes": [
{
"id": 49,
"type": "ReferenceLatent",
"pos": [
1023.7685400049872,
160.40068341159756
],
"size": [
204.134765625,
46
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 70
},
{
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 75
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
86
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 57,
"type": "ReferenceLatent",
"pos": [
1267.7068138966924,
160.40068341159756
],
"size": [
204.134765625,
46
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 86
},
{
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 94
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
88
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 62,
"type": "VAEEncode",
"pos": [
816.121477270894,
701.2683177920061
],
"size": [
162,
46
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 93
},
{
"name": "vae",
"type": "VAE",
"link": 96
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
94
]
}
],
"properties": {
"Node name for S&R": "VAEEncode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 51,
"type": "ResizeImageMaskNode",
"pos": [
223.12102751100818,
471.02558767069615
],
"size": [
270,
106
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "IMAGE,MASK",
"link": 72
}
],
"outputs": [
{
"name": "resized",
"type": "IMAGE",
"links": [
82
]
}
],
"properties": {
"Node name for S&R": "ResizeImageMaskNode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"scale total pixels",
1,
"nearest-exact"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 43,
"type": "VAELoader",
"pos": [
514.5525198081705,
876.5164639782489
],
"size": [
259,
58
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
62,
76,
96
]
}
],
"properties": {
"Node name for S&R": "VAELoader",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
"flux2-vae.safetensors"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 60,
"type": "LoadImage",
"pos": [
-95.27710047562067,
986.266570016838
],
"size": [
296.798828125,
458.0000000000001
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
90
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"image32.png",
"image"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 31,
"type": "KSampler",
"pos": [
1511.6450877883976,
160.40068341159756
],
"size": [
315,
262
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 69
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 88
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 100
},
{
"name": "latent_image",
"type": "LATENT",
"link": 98
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
52
]
}
],
"properties": {
"Node name for S&R": "KSampler",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
1234,
"fixed",
4,
1,
"euler",
"simple",
1
]
},
{
"id": 63,
"type": "Reroute",
"pos": [
1390.9980250543044,
471.02558767069615
],
"size": [
75,
26
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 97
}
],
"outputs": [
{
"name": "",
"type": "LATENT",
"links": [
98
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 52,
"type": "VAEEncode",
"pos": [
816.121477270894,
471.02558767069615
],
"size": [
162,
46
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 80
},
{
"name": "vae",
"type": "VAE",
"link": 76
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
75,
97
]
}
],
"properties": {
"Node name for S&R": "VAEEncode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 33,
"type": "CLIPTextEncode",
"pos": [
558.700000000001,
387.24938745307793
],
"size": [
425.2650317382812,
122.99611236572264
],
"flags": {
"collapsed": true
},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 64
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
100
]
}
],
"title": "CLIP Text Encode (Negative Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
""
]
},
{
"id": 48,
"type": "UNETLoader",
"pos": [
1163.6823007839012,
19.495025634765582
],
"size": [
308.1592787377913,
82
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
69
]
}
],
"properties": {
"Node name for S&R": "UNETLoader",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"Flux.2\\flux-2-klein-9b-fp8.safetensors",
"default"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 44,
"type": "CLIPLoader",
"pos": [
224.49879211425772,
292.66704483032197
],
"size": [
283.80000000000007,
106
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
63,
64
]
}
],
"properties": {
"Node name for S&R": "CLIPLoader",
"cnr_id": "comfy-core",
"ver": "0.3.73"
},
"widgets_values": [
"qwen_3_8b.safetensors",
"flux2",
"default"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 50,
"type": "LoadImage",
"pos": [
-95.80499587437637,
471.02558767069615
],
"size": [
296.798828125,
458.0000000000001
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
72
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"image243.png",
"image"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
1863.6450877883976,
160.40068341159756
],
"size": [
161.111083984375,
46
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 52
},
{
"name": "vae",
"type": "VAE",
"link": 62
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
65
]
}
],
"properties": {
"Node name for S&R": "VAEDecode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": []
},
{
"id": 45,
"type": "SaveImage",
"pos": [
2061.6450877883976,
160.40068341159756
],
"size": [
582.6799999999998,
614.729
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 65
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73"
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 54,
"type": "ResizeImageMaskNode",
"pos": [
515.2482227713929,
471.02558767069615
],
"size": [
258.18181818181813,
106
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "IMAGE,MASK",
"link": 82
}
],
"outputs": [
{
"name": "resized",
"type": "IMAGE",
"links": [
80
]
}
],
"properties": {
"Node name for S&R": "ResizeImageMaskNode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"scale to multiple",
16,
"nearest-exact"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 59,
"type": "ResizeImageMaskNode",
"pos": [
223.12102751100818,
701.2683177920061
],
"size": [
270,
106
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "IMAGE,MASK",
"link": 90
}
],
"outputs": [
{
"name": "resized",
"type": "IMAGE",
"links": [
93
]
}
],
"properties": {
"Node name for S&R": "ResizeImageMaskNode",
"cnr_id": "comfy-core",
"ver": "0.9.2"
},
"widgets_values": [
"scale total pixels",
1,
"nearest-exact"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
558.700000000001,
160.40068341159756
],
"size": [
425.2650317382812,
167.9430462646484
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 63
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
70
]
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.39"
},
"widgets_values": [
"Place the airship from image 2 in the sky of image 1,Make the airship prominent (closer to camera)"
]
}
],
"links": [
[
52,
31,
0,
8,
0,
"LATENT"
],
[
62,
43,
0,
8,
1,
"VAE"
],
[
63,
44,
0,
6,
0,
"CLIP"
],
[
64,
44,
0,
33,
0,
"CLIP"
],
[
65,
8,
0,
45,
0,
"IMAGE"
],
[
69,
48,
0,
31,
0,
"MODEL"
],
[
70,
6,
0,
49,
0,
"CONDITIONING"
],
[
72,
50,
0,
51,
0,
"IMAGE"
],
[
75,
52,
0,
49,
1,
"LATENT"
],
[
76,
43,
0,
52,
1,
"VAE"
],
[
80,
54,
0,
52,
0,
"IMAGE"
],
[
82,
51,
0,
54,
0,
"IMAGE"
],
[
86,
49,
0,
57,
0,
"CONDITIONING"
],
[
88,
57,
0,
31,
1,
"CONDITIONING"
],
[
90,
60,
0,
59,
0,
"IMAGE"
],
[
93,
59,
0,
62,
0,
"IMAGE"
],
[
94,
62,
0,
57,
1,
"LATENT"
],
[
96,
43,
0,
62,
1,
"VAE"
],
[
97,
52,
0,
63,
0,
"LATENT"
],
[
98,
63,
0,
31,
3,
"LATENT"
],
[
100,
33,
0,
31,
2,
"CONDITIONING"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.620921323059155,
"offset": [
277.6742765940064,
150.34323708966164
]
},
"frontendVersion": "1.38.8",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}
オブジェクト追加
Place the airship from image 2 in the sky of image 1,Make the airship prominent (closer to camera)