903 lines
16 KiB
JSON
903 lines
16 KiB
JSON
{
|
||
"id": "ab2a8760-f493-46dc-8ee4-012b5b69208d",
|
||
"revision": 0,
|
||
"last_node_id": 134,
|
||
"last_link_id": 204,
|
||
"nodes": [
|
||
{
|
||
"id": 85,
|
||
"type": "LoadImage",
|
||
"pos": [
|
||
2078.4716796875,
|
||
-2071.748046875
|
||
],
|
||
"size": [
|
||
274.080078125,
|
||
314
|
||
],
|
||
"flags": {},
|
||
"order": 0,
|
||
"mode": 0,
|
||
"inputs": [],
|
||
"outputs": [
|
||
{
|
||
"name": "IMAGE",
|
||
"type": "IMAGE",
|
||
"links": [
|
||
127
|
||
]
|
||
},
|
||
{
|
||
"name": "MASK",
|
||
"type": "MASK",
|
||
"links": null
|
||
}
|
||
],
|
||
"properties": {
|
||
"Node name for S&R": "LoadImage",
|
||
"cnr_id": "comfy-core",
|
||
"ver": "0.3.43"
|
||
},
|
||
"widgets_values": [
|
||
"fd7f544d-86fb-41b1-90f4-c8c685b8bc12.jpg",
|
||
"image"
|
||
]
|
||
},
|
||
{
|
||
"id": 89,
|
||
"type": "LoadImage",
|
||
"pos": [
|
||
2079.837158203125,
|
||
-1703
|
||
],
|
||
"size": [
|
||
274.080078125,
|
||
314
|
||
],
|
||
"flags": {},
|
||
"order": 1,
|
||
"mode": 0,
|
||
"inputs": [],
|
||
"outputs": [
|
||
{
|
||
"name": "IMAGE",
|
||
"type": "IMAGE",
|
||
"links": [
|
||
128
|
||
]
|
||
},
|
||
{
|
||
"name": "MASK",
|
||
"type": "MASK",
|
||
"links": null
|
||
}
|
||
],
|
||
"properties": {
|
||
"Node name for S&R": "LoadImage",
|
||
"cnr_id": "comfy-core",
|
||
"ver": "0.3.43"
|
||
},
|
||
"widgets_values": [
|
||
"comfydeploy_FAST_kontext_raw__00001_.png",
|
||
"image"
|
||
]
|
||
},
|
||
{
|
||
"id": 82,
|
||
"type": "GenerateImage",
|
||
"pos": [
|
||
3042.914794921875,
|
||
-1412.9212646484375
|
||
],
|
||
"size": [
|
||
406.513671875,
|
||
340
|
||
],
|
||
"flags": {},
|
||
"order": 13,
|
||
"mode": 0,
|
||
"inputs": [
|
||
{
|
||
"name": "context",
|
||
"shape": 7,
|
||
"type": "*",
|
||
"link": 123
|
||
}
|
||
],
|
||
"outputs": [
|
||
{
|
||
"name": "context",
|
||
"type": "*",
|
||
"links": null
|
||
},
|
||
{
|
||
"name": "image",
|
||
"type": "IMAGE",
|
||
"links": [
|
||
117,
|
||
118
|
||
]
|
||
}
|
||
],
|
||
"properties": {
|
||
"Node name for S&R": "GenerateImage",
|
||
"cnr_id": "llm-toolkit",
|
||
"ver": "1.0.2"
|
||
},
|
||
"widgets_values": [
|
||
"",
|
||
"edit"
|
||
]
|
||
},
|
||
{
|
||
"id": 88,
|
||
"type": "ImageResizeKJv2",
|
||
"pos": [
|
||
2388.04443359375,
|
||
-1705.3734130859375
|
||
],
|
||
"size": [
|
||
270,
|
||
336
|
||
],
|
||
"flags": {},
|
||
"order": 7,
|
||
"mode": 0,
|
||
"inputs": [
|
||
{
|
||
"name": "image",
|
||
"type": "IMAGE",
|
||
"link": 128
|
||
},
|
||
{
|
||
"name": "mask",
|
||
"shape": 7,
|
||
"type": "MASK",
|
||
"link": null
|
||
},
|
||
{
|
||
"name": "width",
|
||
"type": "INT",
|
||
"widget": {
|
||
"name": "width"
|
||
},
|
||
"link": 129
|
||
},
|
||
{
|
||
"name": "height",
|
||
"type": "INT",
|
||
"widget": {
|
||
"name": "height"
|
||
},
|
||
"link": 130
|
||
}
|
||
],
|
||
"outputs": [
|
||
{
|
||
"name": "IMAGE",
|
||
"type": "IMAGE",
|
||
"links": [
|
||
138,
|
||
144
|
||
]
|
||
},
|
||
{
|
||
"name": "width",
|
||
"type": "INT",
|
||
"links": null
|
||
},
|
||
{
|
||
"name": "height",
|
||
"type": "INT",
|
||
"links": null
|
||
},
|
||
{
|
||
"name": "mask",
|
||
"type": "MASK",
|
||
"links": null
|
||
}
|
||
],
|
||
"properties": {
|
||
"Node name for S&R": "ImageResizeKJv2",
|
||
"cnr_id": "comfyui-kjnodes",
|
||
"ver": "f9118e0bbb39347ea7becb84ec03e397dfb4f644"
|
||
},
|
||
"widgets_values": [
|
||
512,
|
||
512,
|
||
"nearest-exact",
|
||
"resize",
|
||
"0, 0, 0",
|
||
"center",
|
||
2,
|
||
"cpu",
|
||
"<tr><td>Output: </td><td><b>1</b> x <b>720</b> x <b>1280 | 10.55MB</b></td></tr>"
|
||
]
|
||
},
|
||
{
|
||
"id": 50,
|
||
"type": "PreviewImage",
|
||
"pos": [
|
||
3550.4931640625,
|
||
-1148.466796875
|
||
],
|
||
"size": [
|
||
140,
|
||
246
|
||
],
|
||
"flags": {},
|
||
"order": 14,
|
||
"mode": 0,
|
||
"inputs": [
|
||
{
|
||
"name": "images",
|
||
"type": "IMAGE",
|
||
"link": 117
|
||
}
|
||
],
|
||
"outputs": [],
|
||
"properties": {
|
||
"Node name for S&R": "PreviewImage",
|
||
"cnr_id": "comfy-core",
|
||
"ver": "0.3.43"
|
||
},
|
||
"widgets_values": []
|
||
},
|
||
{
|
||
"id": 87,
|
||
"type": "ImageResizeKJv2",
|
||
"pos": [
|
||
2386.678955078125,
|
||
-2074.12158203125
|
||
],
|
||
"size": [
|
||
270,
|
||
336
|
||
],
|
||
"flags": {},
|
||
"order": 6,
|
||
"mode": 0,
|
||
"inputs": [
|
||
{
|
||
"name": "image",
|
||
"type": "IMAGE",
|
||
"link": 127
|
||
},
|
||
{
|
||
"name": "mask",
|
||
"shape": 7,
|
||
"type": "MASK",
|
||
"link": null
|
||
},
|
||
{
|
||
"name": "width",
|
||
"type": "INT",
|
||
"widget": {
|
||
"name": "width"
|
||
},
|
||
"link": 125
|
||
},
|
||
{
|
||
"name": "height",
|
||
"type": "INT",
|
||
"widget": {
|
||
"name": "height"
|
||
},
|
||
"link": 126
|
||
}
|
||
],
|
||
"outputs": [
|
||
{
|
||
"name": "IMAGE",
|
||
"type": "IMAGE",
|
||
"links": [
|
||
137,
|
||
143
|
||
]
|
||
},
|
||
{
|
||
"name": "width",
|
||
"type": "INT",
|
||
"links": null
|
||
},
|
||
{
|
||
"name": "height",
|
||
"type": "INT",
|
||
"links": null
|
||
},
|
||
{
|
||
"name": "mask",
|
||
"type": "MASK",
|
||
"links": null
|
||
}
|
||
],
|
||
"properties": {
|
||
"Node name for S&R": "ImageResizeKJv2",
|
||
"cnr_id": "comfyui-kjnodes",
|
||
"ver": "f9118e0bbb39347ea7becb84ec03e397dfb4f644"
|
||
},
|
||
"widgets_values": [
|
||
512,
|
||
512,
|
||
"nearest-exact",
|
||
"resize",
|
||
"0, 0, 0",
|
||
"center",
|
||
2,
|
||
"cpu",
|
||
"<tr><td>Output: </td><td><b>1</b> x <b>720</b> x <b>1098 | 9.05MB</b></td></tr>"
|
||
]
|
||
},
|
||
{
|
||
"id": 74,
|
||
"type": "ImageBatch",
|
||
"pos": [
|
||
2708.29345703125,
|
||
-1847.609375
|
||
],
|
||
"size": [
|
||
140,
|
||
46
|
||
],
|
||
"flags": {},
|
||
"order": 10,
|
||
"mode": 0,
|
||
"inputs": [
|
||
{
|
||
"name": "image1",
|
||
"type": "IMAGE",
|
||
"link": 143
|
||
},
|
||
{
|
||
"name": "image2",
|
||
"type": "IMAGE",
|
||
"link": 144
|
||
}
|
||
],
|
||
"outputs": [
|
||
{
|
||
"name": "IMAGE",
|
||
"type": "IMAGE",
|
||
"links": []
|
||
}
|
||
],
|
||
"properties": {
|
||
"Node name for S&R": "ImageBatch",
|
||
"cnr_id": "comfy-core",
|
||
"ver": "0.3.43"
|
||
},
|
||
"widgets_values": []
|
||
},
|
||
{
|
||
"id": 51,
|
||
"type": "SaveImage",
|
||
"pos": [
|
||
3533.17578125,
|
||
-1486.4923095703125
|
||
],
|
||
"size": [
|
||
270,
|
||
270
|
||
],
|
||
"flags": {},
|
||
"order": 15,
|
||
"mode": 0,
|
||
"inputs": [
|
||
{
|
||
"name": "images",
|
||
"type": "IMAGE",
|
||
"link": 118
|
||
}
|
||
],
|
||
"outputs": [],
|
||
"properties": {
|
||
"Node name for S&R": "SaveImage",
|
||
"cnr_id": "comfy-core",
|
||
"ver": "0.3.43"
|
||
},
|
||
"widgets_values": [
|
||
"ComfyUI"
|
||
]
|
||
},
|
||
{
|
||
"id": 84,
|
||
"type": "ConfigGenerateImageBFL",
|
||
"pos": [
|
||
3034.32421875,
|
||
-1660.132080078125
|
||
],
|
||
"size": [
|
||
394.8091735839844,
|
||
178
|
||
],
|
||
"flags": {},
|
||
"order": 12,
|
||
"mode": 0,
|
||
"inputs": [
|
||
{
|
||
"name": "context",
|
||
"shape": 7,
|
||
"type": "*",
|
||
"link": 203
|
||
}
|
||
],
|
||
"outputs": [
|
||
{
|
||
"name": "context",
|
||
"type": "*",
|
||
"links": [
|
||
123
|
||
]
|
||
}
|
||
],
|
||
"properties": {
|
||
"Node name for S&R": "ConfigGenerateImageBFL",
|
||
"cnr_id": "llm-toolkit",
|
||
"ver": "1.0.2"
|
||
},
|
||
"widgets_values": [
|
||
"9:16",
|
||
true,
|
||
6,
|
||
"png",
|
||
174297771543221,
|
||
"randomize"
|
||
]
|
||
},
|
||
{
|
||
"id": 69,
|
||
"type": "ResolutionSelector",
|
||
"pos": [
|
||
2041.1431884765625,
|
||
-2261.8232421875
|
||
],
|
||
"size": [
|
||
301.4302673339844,
|
||
174
|
||
],
|
||
"flags": {},
|
||
"order": 2,
|
||
"mode": 0,
|
||
"inputs": [],
|
||
"outputs": [
|
||
{
|
||
"name": "width",
|
||
"type": "INT",
|
||
"links": [
|
||
125,
|
||
129
|
||
]
|
||
},
|
||
{
|
||
"name": "height",
|
||
"type": "INT",
|
||
"links": [
|
||
126,
|
||
130
|
||
]
|
||
}
|
||
],
|
||
"properties": {
|
||
"Node name for S&R": "ResolutionSelector",
|
||
"cnr_id": "llm-toolkit",
|
||
"ver": "1.0.2"
|
||
},
|
||
"widgets_values": [
|
||
"I2V720p",
|
||
"Vertical",
|
||
"HQ",
|
||
false,
|
||
128
|
||
]
|
||
},
|
||
{
|
||
"id": 134,
|
||
"type": "APIProviderSelectorNode",
|
||
"pos": [
|
||
2970.7294921875,
|
||
-2085.91943359375
|
||
],
|
||
"size": [
|
||
333.0874938964844,
|
||
130
|
||
],
|
||
"flags": {},
|
||
"order": 3,
|
||
"mode": 0,
|
||
"inputs": [
|
||
{
|
||
"name": "context",
|
||
"shape": 7,
|
||
"type": "*",
|
||
"link": null
|
||
}
|
||
],
|
||
"outputs": [
|
||
{
|
||
"name": "context",
|
||
"type": "*",
|
||
"links": [
|
||
202
|
||
]
|
||
}
|
||
],
|
||
"properties": {
|
||
"Node name for S&R": "APIProviderSelectorNode"
|
||
},
|
||
"widgets_values": [
|
||
"bfl",
|
||
"flux-kontext-max",
|
||
""
|
||
]
|
||
},
|
||
{
|
||
"id": 94,
|
||
"type": "ComfyUIDeployExternalText",
|
||
"pos": [
|
||
2391.3408203125,
|
||
-1359.859619140625
|
||
],
|
||
"size": [
|
||
395.5683898925781,
|
||
190
|
||
],
|
||
"flags": {},
|
||
"order": 4,
|
||
"mode": 0,
|
||
"inputs": [],
|
||
"outputs": [
|
||
{
|
||
"name": "text",
|
||
"type": "STRING",
|
||
"links": [
|
||
204
|
||
]
|
||
}
|
||
],
|
||
"title": "PROMPT",
|
||
"properties": {
|
||
"Node name for S&R": "ComfyUIDeployExternalText",
|
||
"cnr_id": "comfyui-deploy",
|
||
"ver": "b889f79baf9e099d5e54bd20bab4aa1e7c3296c0",
|
||
"widget_ue_connectable": {}
|
||
},
|
||
"widgets_values": [
|
||
"ACTION_MANUAL_PROMPT",
|
||
"the girl is holding the staff on her right hand while carrying the book under her arm",
|
||
"MANUA_PROMPT ",
|
||
"IF there is no OPENAI_API_KEY on the machine secrets. You will need to enter your full prompt and delete the AI_SYSTEM_PROMPT \n\nOtherwise you can use this to add a The Task to be preform by the model for example \"replace the cat from image1 with the dog on image2\" \n\nshe is wearing the same clothes but it has the logo on the swimsuit make sure it looks well integrated and part of the same material with the fabric and not just an overlay the logo should wrap with the swinsuit to the body of the model "
|
||
],
|
||
"color": "#232",
|
||
"bgcolor": "#353"
|
||
},
|
||
{
|
||
"id": 131,
|
||
"type": "SystemPromptTaskGenerator",
|
||
"pos": [
|
||
2933.927978515625,
|
||
-1872.25634765625
|
||
],
|
||
"size": [
|
||
372.7632751464844,
|
||
102
|
||
],
|
||
"flags": {},
|
||
"order": 8,
|
||
"mode": 0,
|
||
"inputs": [
|
||
{
|
||
"name": "context",
|
||
"shape": 7,
|
||
"type": "*",
|
||
"link": 202
|
||
}
|
||
],
|
||
"outputs": [
|
||
{
|
||
"name": "context",
|
||
"type": "*",
|
||
"links": [
|
||
200
|
||
]
|
||
},
|
||
{
|
||
"name": "system_prompt",
|
||
"type": "STRING",
|
||
"links": null
|
||
}
|
||
],
|
||
"properties": {
|
||
"Node name for S&R": "SystemPromptTaskGenerator"
|
||
},
|
||
"widgets_values": [
|
||
"Kontext Auto-Task (1–2 Images)",
|
||
false
|
||
]
|
||
},
|
||
{
|
||
"id": 133,
|
||
"type": "LLMPromptManager",
|
||
"pos": [
|
||
3378.54736328125,
|
||
-1888.1898193359375
|
||
],
|
||
"size": [
|
||
175.29257202148438,
|
||
180
|
||
],
|
||
"flags": {},
|
||
"order": 11,
|
||
"mode": 0,
|
||
"inputs": [
|
||
{
|
||
"name": "context",
|
||
"shape": 7,
|
||
"type": "*",
|
||
"link": 200
|
||
},
|
||
{
|
||
"name": "context_1",
|
||
"type": "*",
|
||
"link": 201
|
||
},
|
||
{
|
||
"name": "context_2",
|
||
"type": "*",
|
||
"link": 204
|
||
},
|
||
{
|
||
"name": "context_3",
|
||
"type": "*",
|
||
"link": null
|
||
}
|
||
],
|
||
"outputs": [
|
||
{
|
||
"name": "context",
|
||
"type": "*",
|
||
"links": [
|
||
203
|
||
]
|
||
}
|
||
],
|
||
"properties": {
|
||
"Node name for S&R": "LLMPromptManager"
|
||
},
|
||
"dynamicInputCount": 4
|
||
},
|
||
{
|
||
"id": 127,
|
||
"type": "Note",
|
||
"pos": [
|
||
3411.5029296875,
|
||
-2056.287353515625
|
||
],
|
||
"size": [
|
||
392.84893798828125,
|
||
103.2160415649414
|
||
],
|
||
"flags": {},
|
||
"order": 5,
|
||
"mode": 0,
|
||
"inputs": [],
|
||
"outputs": [],
|
||
"properties": {},
|
||
"widgets_values": [
|
||
"Optional set the machine secrets if you are using Comfy-Deploy\n\nBFL_API_KEY=<YOUR_API_KEY>\nSet the system environment variable or the .env file inside the root of llm-toolki custom node folder\n\n"
|
||
],
|
||
"color": "#432",
|
||
"bgcolor": "#653"
|
||
},
|
||
{
|
||
"id": 101,
|
||
"type": "ImageStitch",
|
||
"pos": [
|
||
2696.28369140625,
|
||
-1732.028076171875
|
||
],
|
||
"size": [
|
||
270,
|
||
150
|
||
],
|
||
"flags": {},
|
||
"order": 9,
|
||
"mode": 0,
|
||
"inputs": [
|
||
{
|
||
"name": "image1",
|
||
"type": "IMAGE",
|
||
"link": 137
|
||
},
|
||
{
|
||
"name": "image2",
|
||
"shape": 7,
|
||
"type": "IMAGE",
|
||
"link": 138
|
||
}
|
||
],
|
||
"outputs": [
|
||
{
|
||
"name": "IMAGE",
|
||
"type": "IMAGE",
|
||
"links": [
|
||
201
|
||
]
|
||
}
|
||
],
|
||
"properties": {
|
||
"Node name for S&R": "ImageStitch",
|
||
"cnr_id": "comfy-core",
|
||
"ver": "0.3.43"
|
||
},
|
||
"widgets_values": [
|
||
"right",
|
||
true,
|
||
0,
|
||
"white"
|
||
]
|
||
}
|
||
],
|
||
"links": [
|
||
[
|
||
117,
|
||
82,
|
||
1,
|
||
50,
|
||
0,
|
||
"IMAGE"
|
||
],
|
||
[
|
||
118,
|
||
82,
|
||
1,
|
||
51,
|
||
0,
|
||
"IMAGE"
|
||
],
|
||
[
|
||
123,
|
||
84,
|
||
0,
|
||
82,
|
||
0,
|
||
"*"
|
||
],
|
||
[
|
||
125,
|
||
69,
|
||
0,
|
||
87,
|
||
2,
|
||
"INT"
|
||
],
|
||
[
|
||
126,
|
||
69,
|
||
1,
|
||
87,
|
||
3,
|
||
"INT"
|
||
],
|
||
[
|
||
127,
|
||
85,
|
||
0,
|
||
87,
|
||
0,
|
||
"IMAGE"
|
||
],
|
||
[
|
||
128,
|
||
89,
|
||
0,
|
||
88,
|
||
0,
|
||
"IMAGE"
|
||
],
|
||
[
|
||
129,
|
||
69,
|
||
0,
|
||
88,
|
||
2,
|
||
"INT"
|
||
],
|
||
[
|
||
130,
|
||
69,
|
||
1,
|
||
88,
|
||
3,
|
||
"INT"
|
||
],
|
||
[
|
||
137,
|
||
87,
|
||
0,
|
||
101,
|
||
0,
|
||
"IMAGE"
|
||
],
|
||
[
|
||
138,
|
||
88,
|
||
0,
|
||
101,
|
||
1,
|
||
"IMAGE"
|
||
],
|
||
[
|
||
143,
|
||
87,
|
||
0,
|
||
74,
|
||
0,
|
||
"IMAGE"
|
||
],
|
||
[
|
||
144,
|
||
88,
|
||
0,
|
||
74,
|
||
1,
|
||
"IMAGE"
|
||
],
|
||
[
|
||
200,
|
||
131,
|
||
0,
|
||
133,
|
||
0,
|
||
"*"
|
||
],
|
||
[
|
||
201,
|
||
101,
|
||
0,
|
||
133,
|
||
1,
|
||
"*"
|
||
],
|
||
[
|
||
202,
|
||
134,
|
||
0,
|
||
131,
|
||
0,
|
||
"*"
|
||
],
|
||
[
|
||
203,
|
||
133,
|
||
0,
|
||
84,
|
||
0,
|
||
"*"
|
||
],
|
||
[
|
||
204,
|
||
94,
|
||
0,
|
||
133,
|
||
2,
|
||
"*"
|
||
]
|
||
],
|
||
"groups": [],
|
||
"config": {},
|
||
"extra": {
|
||
"ds": {
|
||
"scale": 0.7430526079249432,
|
||
"offset": [
|
||
-1975.4763625585274,
|
||
2154.61901582636
|
||
]
|
||
},
|
||
"frontendVersion": "1.25.11",
|
||
"VHS_latentpreview": false,
|
||
"VHS_latentpreviewrate": 0,
|
||
"VHS_MetadataImage": true,
|
||
"VHS_KeepIntermediate": true
|
||
},
|
||
"version": 0.4
|
||
} |