Files
comfy-deploy-comfyui-llm-to…/example_workflows/LLMToolkit_banana-OR-api.json
T

919 lines
16 KiB
JSON

{
"id": "a277eea5-14e2-4695-8172-2182587aaac4",
"revision": 0,
"last_node_id": 147,
"last_link_id": 222,
"nodes": [
{
"id": 89,
"type": "LoadImage",
"pos": [
3276.79150390625,
-835.3958740234375
],
"size": [
274.080078125,
314
],
"flags": {},
"order": 0,
"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": 88,
"type": "ImageResizeKJv2",
"pos": [
3584.998779296875,
-837.769287109375
],
"size": [
270,
286
],
"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": [
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"
]
},
{
"id": 109,
"type": "SaveImage",
"pos": [
4923.62109375,
-1092.3970947265625
],
"size": [
270,
270
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 178
}
],
"outputs": [],
"properties": {
"Node name for S&R": "SaveImage",
"cnr_id": "comfy-core",
"ver": "0.3.43"
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 87,
"type": "ImageResizeKJv2",
"pos": [
3583.63330078125,
-1206.517578125
],
"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": [
143,
205
]
},
{
"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"
]
},
{
"id": 85,
"type": "LoadImage",
"pos": [
3275.426025390625,
-1204.14404296875
],
"size": [
274.080078125,
314
],
"flags": {},
"order": 1,
"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": [
"e3500ca3-9e05-4d0f-bab2-2dcf2f307222.jpg",
"image"
]
},
{
"id": 131,
"type": "BananaTaskGenerator",
"pos": [
3898.952392578125,
-1339.345458984375
],
"size": [
373.5562438964844,
102
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "context",
"shape": 7,
"type": "*",
"link": null
}
],
"outputs": [
{
"name": "context",
"type": "*",
"links": []
},
{
"name": "system_prompt",
"type": "STRING",
"links": [
207
]
}
],
"properties": {
"Node name for S&R": "BananaTaskGenerator"
},
"widgets_values": [
"VII.3 Illustration to Commercialized 1/7-Scale Figurine",
false
]
},
{
"id": 74,
"type": "ImageBatch",
"pos": [
3905.247802734375,
-980.0052490234375
],
"size": [
140,
46
],
"flags": {},
"order": 11,
"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": 94,
"type": "ComfyUIDeployExternalText",
"pos": [
3468.291015625,
-1459.2178955078125
],
"size": [
395.5683898925781,
190
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "text",
"type": "STRING",
"links": [
202
]
}
],
"title": "PROMPT",
"properties": {
"Node name for S&R": "ComfyUIDeployExternalText",
"cnr_id": "comfyui-deploy",
"ver": "b889f79baf9e099d5e54bd20bab4aa1e7c3296c0",
"widget_ue_connectable": {}
},
"widgets_values": [
"ACTION_MANUAL_PROMPT",
"",
"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": 143,
"type": "PreviewAny",
"pos": [
4336.90673828125,
-348.3333740234375
],
"size": [
210,
88
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "source",
"type": "*",
"link": 217
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewAny"
},
"widgets_values": []
},
{
"id": 144,
"type": "PreviewAny",
"pos": [
4102.13720703125,
-321.41729736328125
],
"size": [
210,
89.62671661376953
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "source",
"type": "*",
"link": 218
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewAny"
},
"widgets_values": []
},
{
"id": 129,
"type": "APIProviderSelectorNode",
"pos": [
3906.39111328125,
-1184.7598876953125
],
"size": [
333.0874938964844,
130
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "context",
"shape": 7,
"type": "*",
"link": null
}
],
"outputs": [
{
"name": "context",
"type": "*",
"links": [
200
]
}
],
"properties": {
"Node name for S&R": "APIProviderSelectorNode"
},
"widgets_values": [
"openrouter",
"google/gemini-2.5-flash-image-preview",
""
]
},
{
"id": 110,
"type": "PreviewImage",
"pos": [
4940.9384765625,
-754.3715209960938
],
"size": [
217.51910400390625,
258
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 179
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage",
"cnr_id": "comfy-core",
"ver": "0.3.43"
},
"widgets_values": []
},
{
"id": 69,
"type": "ResolutionSelector",
"pos": [
3732.511962890625,
-469.1967468261719
],
"size": [
301.4302673339844,
214
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "context",
"shape": 7,
"type": "*",
"link": null
}
],
"outputs": [
{
"name": "width",
"type": "INT",
"links": [
125,
129
]
},
{
"name": "height",
"type": "INT",
"links": [
126,
130
]
},
{
"name": "size_string",
"type": "STRING",
"links": [
217
]
},
{
"name": "context",
"type": "*",
"links": [
216,
218
]
}
],
"properties": {
"Node name for S&R": "ResolutionSelector",
"cnr_id": "llm-toolkit",
"ver": "1.0.2"
},
"widgets_values": [
"NANO_BANANA",
"Portrait (9:16)",
"HQ",
false,
128
]
},
{
"id": 120,
"type": "GenerateImage",
"pos": [
4420.8466796875,
-856.208984375
],
"size": [
426.96319580078125,
340
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "context",
"shape": 7,
"type": "*",
"link": 222
}
],
"outputs": [
{
"name": "context",
"type": "*",
"links": null
},
{
"name": "image",
"type": "IMAGE",
"links": [
178,
179
]
}
],
"properties": {
"Node name for S&R": "GenerateImage",
"cnr_id": "llm-toolkit",
"ver": "1.0.2"
},
"widgets_values": [
"",
"generate"
]
},
{
"id": 130,
"type": "LLMPromptManager",
"pos": [
4156.09716796875,
-896.6332397460938
],
"size": [
175.29257202148438,
126
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "context",
"shape": 7,
"type": "*",
"link": 200
},
{
"name": "context_1",
"type": "*",
"link": 207
},
{
"name": "context_2",
"type": "*",
"link": 202
},
{
"name": "context_3",
"type": "*",
"link": 205
},
{
"name": "context_4",
"type": "*",
"link": 216
},
{
"name": "context_5",
"type": "*",
"link": null
}
],
"outputs": [
{
"name": "context",
"type": "*",
"links": [
221
]
}
],
"properties": {
"Node name for S&R": "LLMPromptManager"
},
"widgets_values": [],
"dynamicInputCount": 6
},
{
"id": 147,
"type": "ConfigGenerateImageOpenRouter",
"pos": [
4354.9482421875,
-1063.2818603515625
],
"size": [
464.6246032714844,
106
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "context",
"shape": 7,
"type": "*",
"link": 221
}
],
"outputs": [
{
"name": "context",
"type": "*",
"links": [
222
]
}
],
"properties": {
"Node name for S&R": "ConfigGenerateImageOpenRouter"
},
"widgets_values": [
1,
-1,
"randomize"
]
}
],
"links": [
[
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"
],
[
143,
87,
0,
74,
0,
"IMAGE"
],
[
144,
88,
0,
74,
1,
"IMAGE"
],
[
178,
120,
1,
109,
0,
"IMAGE"
],
[
179,
120,
1,
110,
0,
"IMAGE"
],
[
200,
129,
0,
130,
0,
"*"
],
[
202,
94,
0,
130,
2,
"*"
],
[
205,
87,
0,
130,
3,
"*"
],
[
207,
131,
1,
130,
1,
"*"
],
[
216,
69,
3,
130,
4,
"*"
],
[
217,
69,
2,
143,
0,
"*"
],
[
218,
69,
3,
144,
0,
"*"
],
[
221,
130,
0,
147,
0,
"*"
],
[
222,
147,
0,
120,
0,
"*"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.46137720841531865,
"offset": [
-3222.844069438056,
1878.6448246477132
]
},
"frontendVersion": "1.25.11",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}