Files
neverbiasu-ComfyUI-BAGEL/example_workflows/bagel_image_editing.json

413 lines
6.5 KiB
JSON

{
"id": "8d721519-9ead-49c2-9f13-40922da8a782",
"revision": 0,
"last_node_id": 18,
"last_link_id": 18,
"nodes": [
{
"id": 2,
"type": "VAELoader",
"pos": [
567.4857420622562,
-117.73019916718768
],
"size": [
270,
58
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
3,
8
]
}
],
"properties": {
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"ae.safetensors"
]
},
{
"id": 9,
"type": "VAEEncode",
"pos": [
538.9336527949495,
286.05668826660605
],
"size": [
140,
46
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 4
},
{
"name": "vae",
"type": "VAE",
"link": 3
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
16
]
}
],
"properties": {
"Node name for S&R": "VAEEncode"
},
"widgets_values": []
},
{
"id": 11,
"type": "VAEDecode",
"pos": [
1216.998158511715,
38.223731490131655
],
"size": [
140,
46
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 14
},
{
"name": "vae",
"type": "VAE",
"link": 8
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
10
]
}
],
"properties": {
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 10,
"type": "LoadImage",
"pos": [
237.8762537869404,
173.8986366168769
],
"size": [
282.798828125,
314
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
4,
17
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"gpt-image-2_00003_.png",
"image"
]
},
{
"id": 15,
"type": "PreviewAny",
"pos": [
1204.9182575903453,
284.5957003100615
],
"size": [
210,
166
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "source",
"type": "*",
"link": 15
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": null
}
],
"properties": {
"Node name for S&R": "PreviewAny"
},
"widgets_values": [
null,
null,
null
]
},
{
"id": 13,
"type": "SaveImage",
"pos": [
1462.0225677062863,
37.753895185140166
],
"size": [
270,
270
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 10
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": null
}
],
"properties": {},
"widgets_values": [
"bagel"
]
},
{
"id": 7,
"type": "BAGELModelLoader",
"pos": [
238.84923460409914,
39.055157778274065
],
"size": [
270,
58
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "model",
"type": "BAGEL_MODEL",
"links": [
18
]
}
],
"properties": {
"Node name for S&R": "BAGELModelLoader"
},
"widgets_values": [
"bagel-7b-mot.safetensors"
]
},
{
"id": 18,
"type": "BAGELImageEdit",
"pos": [
759.713374393862,
35.53632832835194
],
"size": [
400,
440
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "BAGEL_MODEL",
"link": 18
},
{
"name": "image",
"type": "IMAGE",
"link": 17
},
{
"name": "vae_latent",
"type": "LATENT",
"link": 16
}
],
"outputs": [
{
"name": "latent",
"type": "LATENT",
"links": [
14
]
},
{
"name": "reasoning",
"type": "STRING",
"links": [
15
]
}
],
"properties": {
"Node name for S&R": "BAGELImageEdit"
},
"widgets_values": [
"Make the girl's hair into pink",
4,
2,
0,
3,
50,
0,
"text_channel",
false,
1024,
false,
0.3,
288398,
"randomize"
]
}
],
"links": [
[
3,
2,
0,
9,
1,
"VAE"
],
[
4,
10,
0,
9,
0,
"IMAGE"
],
[
8,
2,
0,
11,
1,
"VAE"
],
[
10,
11,
0,
13,
0,
"IMAGE"
],
[
14,
18,
0,
11,
0,
"LATENT"
],
[
15,
18,
1,
15,
0,
"STRING"
],
[
16,
9,
0,
18,
2,
"LATENT"
],
[
17,
10,
0,
18,
1,
"IMAGE"
],
[
18,
7,
0,
18,
0,
"BAGEL_MODEL"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 1.0170688788630644,
"offset": [
-43.08574289839566,
181.86535434903197
]
},
"frontendVersion": "1.45.20"
},
"version": 0.4
}