Files
workflow-templates-broken-z…/templates/templates-2x2_grid-character_bg_product.json
2026-06-07 20:50:56 -07:00

4306 lines
96 KiB
JSON

{
"id": "388dc31e-efd9-48c8-9e45-e39239e0d5fa",
"revision": 0,
"last_node_id": 77,
"last_link_id": 110,
"nodes": [
{
"id": 1,
"type": "LoadImage",
"pos": [
700,
70
],
"size": [
420,
570
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
23
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"title": "Load Character Image",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"snake_on_jacket.jpg",
"image"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 2,
"type": "LoadImage",
"pos": [
1180,
70
],
"size": [
420,
570
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
24
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"title": "Load Background Image",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"forest_background.jpg",
"image"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 48,
"type": "Reroute",
"pos": [
3810,
-120
],
"size": [
75,
26
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 74
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
79
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 49,
"type": "Reroute",
"pos": [
4360,
-100
],
"size": [
75,
26
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 75
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
80
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 50,
"type": "Reroute",
"pos": [
3810,
-80
],
"size": [
75,
26
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 76
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
81
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 51,
"type": "Reroute",
"pos": [
4360,
-60
],
"size": [
75,
26
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 77
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
82
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 52,
"type": "PrimitiveInt",
"pos": [
3220,
-120
],
"size": [
250,
82
],
"flags": {
"collapsed": false
},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "INT",
"type": "INT",
"links": [
78
]
}
],
"title": "Crop Inset Grid Images",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "PrimitiveInt"
},
"widgets_values": [
0,
"fixed"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 53,
"type": "7f0b4117-39c1-4a46-af45-19cf8fd86001",
"pos": [
3510,
-120
],
"size": [
183.064453125,
110
],
"flags": {
"collapsed": false
},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 93
},
{
"label": "crop_inset",
"name": "a",
"type": "INT,FLOAT",
"link": 78
}
],
"outputs": [
{
"label": "IMAGE_1",
"name": "IMAGE",
"type": "IMAGE",
"links": [
74
]
},
{
"label": "IMAGE_2",
"name": "IMAGE_1",
"type": "IMAGE",
"links": [
75
]
},
{
"label": "IMAGE_3",
"name": "IMAGE_2",
"type": "IMAGE",
"links": [
76
]
},
{
"label": "IMAGE_4",
"name": "IMAGE_3",
"type": "IMAGE",
"links": [
77
]
},
{
"name": "images",
"type": "IMAGE",
"links": [
83
]
}
],
"properties": {
"proxyWidgets": [],
"cnr_id": "comfy-core",
"ver": "0.3.76"
},
"widgets_values": []
},
{
"id": 65,
"type": "Reroute",
"pos": [
2760,
-200
],
"size": [
75,
26
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 91
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
90
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 5,
"type": "LoadImage",
"pos": [
1660,
70
],
"size": [
420,
570
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
22,
91
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"title": "Load Product Image",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"brown_moisturizer_bottle.jpg",
"image"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 3,
"type": "GeminiImage2Node",
"pos": [
2370,
70
],
"size": [
400,
600
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "images",
"shape": 7,
"type": "IMAGE",
"link": 25
},
{
"name": "files",
"shape": 7,
"type": "GEMINI_INPUT_FILES",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
1,
93
]
},
{
"name": "STRING",
"type": "STRING",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "GeminiImage2Node"
},
"widgets_values": [
"Generate a 2x2 (2 rows, 2 cols) grid.\n\nDivide the frame in 4 different 16:9 frames.\n\nFashion editorial photoshoot of the model from image 1 in the scene from image 2. The character is showcasing the product from image 3. No visible margin or borders between grid images.\n\nFor each frame choose the angle and type of shot, ensure the character and product are visible in each frame, seamlessly interacting.",
"gemini-3-pro-image-preview",
12345,
"fixed",
"16:9",
"4K",
"IMAGE+TEXT",
"You are an expert image-generation engine. You must ALWAYS produce an image.\nInterpret all user input—regardless of format, intent, or abstraction—as literal visual directives for image composition.\nIf a prompt is conversational or lacks specific visual details, you must creatively invent a concrete visual scenario that depicts the concept.\nPrioritize generating the visual representation above any text, formatting, or conversational requests."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 64,
"type": "Reroute",
"pos": [
4920,
-200
],
"size": [
75,
26
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 90
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
94
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 58,
"type": "Reroute",
"pos": [
4920,
-40
],
"size": [
75,
26
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 83
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
104
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 62,
"type": "GeminiImage2Node",
"pos": [
5650,
70
],
"size": [
420,
540
],
"flags": {},
"order": 22,
"mode": 0,
"inputs": [
{
"name": "images",
"shape": 7,
"type": "IMAGE",
"link": 97
},
{
"name": "files",
"shape": 7,
"type": "GEMINI_INPUT_FILES",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
110
]
},
{
"name": "STRING",
"type": "STRING",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "GeminiImage2Node"
},
"widgets_values": [
"Upscale image 1 while maintaining pose and composition, add subtle details. Use the product from image 2 to add back details to the product.",
"gemini-3-pro-image-preview",
12345,
"fixed",
"auto",
"4K",
"IMAGE+TEXT",
"You are an expert image-generation engine. You must ALWAYS produce an image.\nInterpret all user input—regardless of format, intent, or abstraction—as literal visual directives for image composition.\nIf a prompt is conversational or lacks specific visual details, you must creatively invent a concrete visual scenario that depicts the concept.\nPrioritize generating the visual representation above any text, formatting, or conversational requests."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 60,
"type": "PreviewImage",
"pos": [
5060,
200
],
"size": [
530,
410
],
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 108
}
],
"outputs": [],
"title": "Preview Selected Image",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 68,
"type": "7a951a01-c7c7-4f0b-83d2-c2781ad6175b",
"pos": [
5400,
70
],
"size": [
190,
50
],
"flags": {
"collapsed": false
},
"order": 21,
"mode": 0,
"inputs": [
{
"label": "image_selected",
"name": "image",
"type": "IMAGE",
"link": 109
},
{
"label": "image_product",
"name": "image_1",
"type": "IMAGE",
"link": 94
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
97
]
}
],
"properties": {
"proxyWidgets": [],
"cnr_id": "comfy-core",
"ver": "0.4.0"
},
"widgets_values": []
},
{
"id": 54,
"type": "SaveImage",
"pos": [
3910,
70
],
"size": [
525.2872545862597,
407.68430538233827
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 79
}
],
"outputs": [],
"title": "Save Image 1",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"HanzoStudio-image_1"
]
},
{
"id": 55,
"type": "SaveImage",
"pos": [
4470,
70
],
"size": [
530,
410
],
"flags": {
"collapsed": false
},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 80
}
],
"outputs": [],
"title": "Save Image 2",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"HanzoStudio-image_2"
]
},
{
"id": 56,
"type": "SaveImage",
"pos": [
3910,
550
],
"size": [
525.2751663907767,
405.0613457616762
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 81
}
],
"outputs": [],
"title": "Save Image 3",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"HanzoStudio-image_3"
]
},
{
"id": 57,
"type": "SaveImage",
"pos": [
4470,
550
],
"size": [
523.9950110631057,
406.7070655219094
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 82
}
],
"outputs": [],
"title": "Save Image 4",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"HanzoStudio-image_4"
]
},
{
"id": 4,
"type": "SaveImage",
"pos": [
2830,
70
],
"size": [
640,
600
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 1
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"HanzoStudio-2x2_grid"
]
},
{
"id": 15,
"type": "f4f8f4f2-9671-4f7f-b27b-5fdbd1e01628",
"pos": [
2130,
70
],
"size": [
170,
66
],
"flags": {
"collapsed": false
},
"order": 4,
"mode": 0,
"inputs": [
{
"label": "image_bg",
"name": "image_1",
"type": "IMAGE",
"link": 22
},
{
"label": "image_char",
"name": "image",
"type": "IMAGE",
"link": 23
},
{
"label": "image_product",
"name": "image_1_1",
"type": "IMAGE",
"link": 24
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
25
]
}
],
"properties": {
"proxyWidgets": [],
"cnr_id": "comfy-core",
"ver": "0.5.1"
},
"widgets_values": []
},
{
"id": 77,
"type": "SaveImage",
"pos": [
6120,
70
],
"size": [
640,
600
],
"flags": {},
"order": 23,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 110
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"HanzoStudio-image_upscaled"
]
},
{
"id": 75,
"type": "38467b91-f6e9-4f17-a18a-44e81ac5de93",
"pos": [
5060,
70
],
"size": [
230,
60
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 104
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
108,
109
]
}
],
"properties": {
"proxyWidgets": [
[
"69",
"value"
]
],
"cnr_id": "comfy-core",
"ver": "0.5.1"
},
"widgets_values": [],
"color": "#232",
"bgcolor": "#353"
}
],
"links": [
[
1,
3,
0,
4,
0,
"IMAGE"
],
[
22,
5,
0,
15,
0,
"IMAGE"
],
[
23,
1,
0,
15,
1,
"IMAGE"
],
[
24,
2,
0,
15,
2,
"IMAGE"
],
[
25,
15,
0,
3,
0,
"IMAGE"
],
[
74,
53,
0,
48,
0,
"IMAGE"
],
[
75,
53,
1,
49,
0,
"IMAGE"
],
[
76,
53,
2,
50,
0,
"IMAGE"
],
[
77,
53,
3,
51,
0,
"IMAGE"
],
[
78,
52,
0,
53,
1,
"INT"
],
[
79,
48,
0,
54,
0,
"IMAGE"
],
[
80,
49,
0,
55,
0,
"IMAGE"
],
[
81,
50,
0,
56,
0,
"IMAGE"
],
[
82,
51,
0,
57,
0,
"IMAGE"
],
[
83,
53,
4,
58,
0,
"IMAGE"
],
[
90,
65,
0,
64,
0,
"*"
],
[
91,
5,
0,
65,
0,
"IMAGE"
],
[
93,
3,
0,
53,
0,
"IMAGE"
],
[
94,
64,
0,
68,
1,
"IMAGE"
],
[
97,
68,
0,
62,
0,
"IMAGE"
],
[
104,
58,
0,
75,
0,
"IMAGE"
],
[
108,
75,
0,
60,
0,
"IMAGE"
],
[
109,
75,
0,
68,
0,
"IMAGE"
],
[
110,
62,
0,
77,
0,
"IMAGE"
]
],
"groups": [],
"definitions": {
"subgraphs": [
{
"id": "b20269ba-9e34-4eae-9643-adb27527d0ec",
"version": 1,
"state": {
"lastGroupId": 0,
"lastNodeId": 17,
"lastLinkId": 18,
"lastRerouteId": 0
},
"revision": 0,
"config": {},
"name": "Batch Images",
"inputNode": {
"id": -10,
"bounding": [
935.2877154863284,
287.6179266898436,
120,
80
]
},
"outputNode": {
"id": -20,
"bounding": [
1351.4088092363284,
297.6179266898436,
120,
60
]
},
"inputs": [
{
"id": "bc8c15e3-969a-4321-9518-84a5cdf64836",
"name": "image",
"type": "IMAGE",
"linkIds": [
10,
14
],
"localized_name": "image",
"pos": [
55,
20
]
},
{
"id": "6288f9fa-a2ef-4285-a1b3-a35c52d4087f",
"name": "image_1",
"type": "IMAGE",
"linkIds": [
11
],
"localized_name": "image_1",
"pos": [
55,
40
]
}
],
"outputs": [
{
"id": "7f588e1c-0a55-4023-930f-ec99d2f311df",
"name": "IMAGE",
"type": "IMAGE",
"linkIds": [
17
],
"localized_name": "IMAGE",
"pos": [
20,
20
]
}
],
"widgets": [],
"nodes": [
{
"id": 12,
"type": "GetImageSize",
"pos": [
1115.2877154863284,
342.6179266898436
],
"size": [
160,
66
],
"flags": {
"collapsed": true
},
"order": 0,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 10
}
],
"outputs": [
{
"localized_name": "width",
"name": "width",
"type": "INT",
"links": [
12
]
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"links": [
13
]
},
{
"localized_name": "batch_size",
"name": "batch_size",
"type": "INT",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "GetImageSize"
},
"widgets_values": []
},
{
"id": 13,
"type": "ResizeAndPadImage",
"pos": [
1115.2877154863284,
392.6179266898436
],
"size": [
210,
130
],
"flags": {
"collapsed": true
},
"order": 1,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 11
},
{
"localized_name": "target_width",
"name": "target_width",
"type": "INT",
"widget": {
"name": "target_width"
},
"link": 12
},
{
"localized_name": "target_height",
"name": "target_height",
"type": "INT",
"widget": {
"name": "target_height"
},
"link": 13
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
15
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "ResizeAndPadImage"
},
"widgets_values": [
512,
512,
"white",
"area"
]
},
{
"id": 14,
"type": "ImageBatch",
"pos": [
1115.2877154863284,
292.6179266898436
],
"size": [
150,
46
],
"flags": {
"collapsed": true
},
"order": 2,
"mode": 0,
"inputs": [
{
"localized_name": "image1",
"name": "image1",
"type": "IMAGE",
"link": 14
},
{
"localized_name": "image2",
"name": "image2",
"type": "IMAGE",
"link": 15
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
17
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "ImageBatch"
},
"widgets_values": []
}
],
"groups": [],
"links": [
{
"id": 12,
"origin_id": 12,
"origin_slot": 0,
"target_id": 13,
"target_slot": 1,
"type": "INT"
},
{
"id": 13,
"origin_id": 12,
"origin_slot": 1,
"target_id": 13,
"target_slot": 2,
"type": "INT"
},
{
"id": 15,
"origin_id": 13,
"origin_slot": 0,
"target_id": 14,
"target_slot": 1,
"type": "IMAGE"
},
{
"id": 10,
"origin_id": -10,
"origin_slot": 0,
"target_id": 12,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 14,
"origin_id": -10,
"origin_slot": 0,
"target_id": 14,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 11,
"origin_id": -10,
"origin_slot": 1,
"target_id": 13,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 17,
"origin_id": 14,
"origin_slot": 0,
"target_id": -20,
"target_slot": 0,
"type": "IMAGE"
}
],
"extra": {
"workflowRendererVersion": "LG"
}
},
{
"id": "b4ee7817-011c-4b20-ae62-5ba2e1f2af5e",
"version": 1,
"state": {
"lastGroupId": 0,
"lastNodeId": 17,
"lastLinkId": 18,
"lastRerouteId": 0
},
"revision": 0,
"config": {},
"name": "Batch Images",
"inputNode": {
"id": -10,
"bounding": [
935.2877154863284,
287.6179266898436,
120,
80
]
},
"outputNode": {
"id": -20,
"bounding": [
1351.4088092363284,
297.6179266898436,
120,
60
]
},
"inputs": [
{
"id": "bc8c15e3-969a-4321-9518-84a5cdf64836",
"name": "image",
"type": "IMAGE",
"linkIds": [
10,
14
],
"localized_name": "image",
"pos": [
55,
20
]
},
{
"id": "6288f9fa-a2ef-4285-a1b3-a35c52d4087f",
"name": "image_1",
"type": "IMAGE",
"linkIds": [
11
],
"localized_name": "image_1",
"pos": [
55,
40
]
}
],
"outputs": [
{
"id": "7f588e1c-0a55-4023-930f-ec99d2f311df",
"name": "IMAGE",
"type": "IMAGE",
"linkIds": [
17
],
"localized_name": "IMAGE",
"pos": [
20,
20
]
}
],
"widgets": [],
"nodes": [
{
"id": 12,
"type": "GetImageSize",
"pos": [
1115.2877154863284,
342.6179266898436
],
"size": [
160,
66
],
"flags": {
"collapsed": true
},
"order": 0,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 10
}
],
"outputs": [
{
"localized_name": "width",
"name": "width",
"type": "INT",
"links": [
12
]
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"links": [
13
]
},
{
"localized_name": "batch_size",
"name": "batch_size",
"type": "INT",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "GetImageSize"
},
"widgets_values": []
},
{
"id": 13,
"type": "ResizeAndPadImage",
"pos": [
1115.2877154863284,
392.6179266898436
],
"size": [
210,
130
],
"flags": {
"collapsed": true
},
"order": 1,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 11
},
{
"localized_name": "target_width",
"name": "target_width",
"type": "INT",
"widget": {
"name": "target_width"
},
"link": 12
},
{
"localized_name": "target_height",
"name": "target_height",
"type": "INT",
"widget": {
"name": "target_height"
},
"link": 13
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
15
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "ResizeAndPadImage"
},
"widgets_values": [
512,
512,
"white",
"area"
]
},
{
"id": 14,
"type": "ImageBatch",
"pos": [
1115.2877154863284,
292.6179266898436
],
"size": [
150,
46
],
"flags": {
"collapsed": true
},
"order": 2,
"mode": 0,
"inputs": [
{
"localized_name": "image1",
"name": "image1",
"type": "IMAGE",
"link": 14
},
{
"localized_name": "image2",
"name": "image2",
"type": "IMAGE",
"link": 15
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
17
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "ImageBatch"
},
"widgets_values": []
}
],
"groups": [],
"links": [
{
"id": 12,
"origin_id": 12,
"origin_slot": 0,
"target_id": 13,
"target_slot": 1,
"type": "INT"
},
{
"id": 13,
"origin_id": 12,
"origin_slot": 1,
"target_id": 13,
"target_slot": 2,
"type": "INT"
},
{
"id": 15,
"origin_id": 13,
"origin_slot": 0,
"target_id": 14,
"target_slot": 1,
"type": "IMAGE"
},
{
"id": 10,
"origin_id": -10,
"origin_slot": 0,
"target_id": 12,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 14,
"origin_id": -10,
"origin_slot": 0,
"target_id": 14,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 11,
"origin_id": -10,
"origin_slot": 1,
"target_id": 13,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 17,
"origin_id": 14,
"origin_slot": 0,
"target_id": -20,
"target_slot": 0,
"type": "IMAGE"
}
],
"extra": {
"workflowRendererVersion": "LG"
}
},
{
"id": "f4f8f4f2-9671-4f7f-b27b-5fdbd1e01628",
"version": 1,
"state": {
"lastGroupId": 0,
"lastNodeId": 14,
"lastLinkId": 21,
"lastRerouteId": 0
},
"revision": 0,
"config": {},
"name": "Batch Images",
"inputNode": {
"id": -10,
"bounding": [
1770,
-232,
124.474609375,
100
]
},
"outputNode": {
"id": -20,
"bounding": [
2170,
-212,
120,
60
]
},
"inputs": [
{
"id": "7557333e-88d0-4d8e-8ac2-a8b26615c838",
"name": "image_1",
"type": "IMAGE",
"linkIds": [
6
],
"localized_name": "image_1",
"label": "image_bg",
"pos": [
1874.474609375,
-212
]
},
{
"id": "5ed0d193-4b25-4e7f-b910-70ed66ad79a4",
"name": "image",
"type": "IMAGE",
"linkIds": [
3
],
"localized_name": "image",
"label": "image_char",
"pos": [
1874.474609375,
-192
]
},
{
"id": "0e335fa2-c522-4c7f-b305-7d0a138eeefe",
"name": "image_1_1",
"type": "IMAGE",
"linkIds": [
4
],
"localized_name": "image_1_1",
"label": "image_product",
"pos": [
1874.474609375,
-172
]
}
],
"outputs": [
{
"id": "6c2db5e7-2f56-46d7-bf24-c075ba2fb9df",
"name": "IMAGE",
"type": "IMAGE",
"linkIds": [
10
],
"localized_name": "IMAGE",
"pos": [
2190,
-192
]
}
],
"widgets": [],
"nodes": [
{
"id": 10,
"type": "b4ee7817-011c-4b20-ae62-5ba2e1f2af5e",
"pos": [
1950,
-140
],
"size": [
160,
46
],
"flags": {
"collapsed": false
},
"order": 1,
"mode": 0,
"inputs": [
{
"label": "image_1",
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 8
},
{
"label": "image_2",
"localized_name": "image_1",
"name": "image_1",
"type": "IMAGE",
"link": 6
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
10
]
}
],
"properties": {
"proxyWidgets": [],
"cnr_id": "comfy-core",
"ver": "0.4.0"
},
"widgets_values": []
},
{
"id": 9,
"type": "b20269ba-9e34-4eae-9643-adb27527d0ec",
"pos": [
1950,
-290
],
"size": [
160,
46
],
"flags": {
"collapsed": false
},
"order": 0,
"mode": 0,
"inputs": [
{
"label": "image_1",
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 3
},
{
"label": "image_2",
"localized_name": "image_1",
"name": "image_1",
"type": "IMAGE",
"link": 4
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
8
]
}
],
"properties": {
"proxyWidgets": [],
"cnr_id": "comfy-core",
"ver": "0.4.0"
},
"widgets_values": []
}
],
"groups": [],
"links": [
{
"id": 8,
"origin_id": 9,
"origin_slot": 0,
"target_id": 10,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 6,
"origin_id": -10,
"origin_slot": 0,
"target_id": 10,
"target_slot": 1,
"type": "IMAGE"
},
{
"id": 3,
"origin_id": -10,
"origin_slot": 1,
"target_id": 9,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 4,
"origin_id": -10,
"origin_slot": 2,
"target_id": 9,
"target_slot": 1,
"type": "IMAGE"
},
{
"id": 10,
"origin_id": 10,
"origin_slot": 0,
"target_id": -20,
"target_slot": 0,
"type": "IMAGE"
}
],
"extra": {
"workflowRendererVersion": "LG"
}
},
{
"id": "7f0b4117-39c1-4a46-af45-19cf8fd86001",
"version": 1,
"state": {
"lastGroupId": 0,
"lastNodeId": 27,
"lastLinkId": 75,
"lastRerouteId": 0
},
"revision": 0,
"config": {},
"name": "Crop Images",
"inputNode": {
"id": -10,
"bounding": [
848.920446566751,
416.02058889632974,
120,
80
]
},
"outputNode": {
"id": -20,
"bounding": [
2722.1975730627237,
436.02058889632974,
120,
140
]
},
"inputs": [
{
"id": "eb15a6da-be18-49ea-81f2-dba4711d5c28",
"name": "image",
"type": "IMAGE",
"linkIds": [
29,
30,
36,
35,
27
],
"localized_name": "image",
"pos": [
948.920446566751,
436.02058889632974
]
},
{
"id": "72145059-2ba2-42ec-8379-8412482057af",
"name": "a",
"type": "INT,FLOAT",
"linkIds": [
28
],
"localized_name": "a",
"label": "crop_inset",
"shape": 7,
"pos": [
948.920446566751,
456.02058889632974
]
}
],
"outputs": [
{
"id": "8ec6c1d4-c30e-4d27-9afc-d53cb8950a80",
"name": "IMAGE",
"type": "IMAGE",
"linkIds": [
37
],
"label": "IMAGE_1",
"pos": [
2742.1975730627237,
456.02058889632974
]
},
{
"id": "b5bfbdce-26ef-489c-8851-c100001380a0",
"name": "IMAGE_1",
"type": "IMAGE",
"linkIds": [
38
],
"label": "IMAGE_2",
"pos": [
2742.1975730627237,
476.02058889632974
]
},
{
"id": "ae6073b1-db37-4141-88fa-6cf4ba5dce26",
"name": "IMAGE_2",
"type": "IMAGE",
"linkIds": [
39
],
"label": "IMAGE_3",
"pos": [
2742.1975730627237,
496.02058889632974
]
},
{
"id": "404edd1c-fa1b-4e9f-bb64-a05a8b3ddcee",
"name": "IMAGE_3",
"type": "IMAGE",
"linkIds": [
40
],
"label": "IMAGE_4",
"pos": [
2742.1975730627237,
516.0205888963297
]
},
{
"id": "0543b553-e71f-4c30-afa3-855738c77bee",
"name": "images",
"type": "IMAGE",
"linkIds": [
49
],
"pos": [
2742.1975730627237,
536.0205888963297
]
}
],
"widgets": [],
"nodes": [
{
"id": 4,
"type": "PreviewImage",
"pos": [
2010,
400
],
"size": [
140,
276
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [
{
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"link": 3
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 5,
"type": "PreviewImage",
"pos": [
2430,
400
],
"size": [
140,
246
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"link": 4
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 7,
"type": "PreviewImage",
"pos": [
2430,
990
],
"size": [
140,
246.0000000000001
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"link": 6
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 16,
"type": "SimpleMath+",
"pos": [
1292.7872437939868,
-9.460406849023723
],
"size": [
270,
78
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"localized_name": "a",
"name": "a",
"shape": 7,
"type": "INT,FLOAT",
"link": 25
},
{
"localized_name": "b",
"name": "b",
"shape": 7,
"type": "INT,FLOAT",
"link": 26
}
],
"outputs": [
{
"localized_name": "INT",
"name": "INT",
"type": "INT",
"links": [
8,
10,
13,
16,
19
]
},
{
"localized_name": "FLOAT",
"name": "FLOAT",
"type": "FLOAT",
"links": null
}
],
"title": "HEIGHT",
"properties": {
"cnr_id": "hanzo_studio_essentials",
"ver": "1.1.0",
"Node name for S&R": "SimpleMath+"
},
"widgets_values": [
"(a-2*b) / 2"
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 6,
"type": "PreviewImage",
"pos": [
2010,
990
],
"size": [
140,
246.0000000000001
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"link": 5
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 15,
"type": "SimpleMath+",
"pos": [
1292.1975730627237,
-151.97941110367026
],
"size": [
270,
78
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"localized_name": "a",
"name": "a",
"shape": 7,
"type": "INT,FLOAT",
"link": 23
},
{
"localized_name": "b",
"name": "b",
"shape": 7,
"type": "INT,FLOAT",
"link": 24
}
],
"outputs": [
{
"localized_name": "INT",
"name": "INT",
"type": "INT",
"links": [
7,
9,
12,
15,
21
]
},
{
"localized_name": "FLOAT",
"name": "FLOAT",
"type": "FLOAT",
"links": null
}
],
"title": "WIDTH",
"properties": {
"cnr_id": "hanzo_studio_essentials",
"ver": "1.1.0",
"Node name for S&R": "SimpleMath+"
},
"widgets_values": [
"(a-2*b) / 2"
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 17,
"type": "GetImageSize",
"pos": [
1028.920446566751,
-151.97941110367026
],
"size": [
170,
70
],
"flags": {
"collapsed": false
},
"order": 13,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 27
}
],
"outputs": [
{
"localized_name": "width",
"name": "width",
"type": "INT",
"links": [
23,
53
]
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"links": [
25,
51
]
},
{
"localized_name": "batch_size",
"name": "batch_size",
"type": "INT",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.71",
"Node name for S&R": "GetImageSize"
},
"widgets_values": []
},
{
"id": 21,
"type": "PreviewImage",
"pos": [
3680,
400
],
"size": [
140,
246
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"link": 50
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "PreviewImage"
},
"widgets_values": []
},
{
"id": 23,
"type": "SimpleMath+",
"pos": [
3260,
40
],
"size": [
270,
78
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"localized_name": "a",
"name": "a",
"shape": 7,
"type": "INT,FLOAT",
"link": 53
},
{
"localized_name": "b",
"name": "b",
"shape": 7,
"type": "INT,FLOAT",
"link": null
}
],
"outputs": [
{
"localized_name": "INT",
"name": "INT",
"type": "INT",
"links": [
56
]
},
{
"localized_name": "FLOAT",
"name": "FLOAT",
"type": "FLOAT",
"links": null
}
],
"title": "WIDTH / 2",
"properties": {
"cnr_id": "hanzo_studio_essentials",
"ver": "1.1.0",
"Node name for S&R": "SimpleMath+"
},
"widgets_values": [
"(a) / 2"
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 22,
"type": "SimpleMath+",
"pos": [
3260,
180
],
"size": [
270,
108
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"localized_name": "a",
"name": "a",
"shape": 7,
"type": "INT,FLOAT",
"link": 51
},
{
"localized_name": "b",
"name": "b",
"shape": 7,
"type": "INT,FLOAT",
"link": null
}
],
"outputs": [
{
"localized_name": "INT",
"name": "INT",
"type": "INT",
"links": [
55
]
},
{
"localized_name": "FLOAT",
"name": "FLOAT",
"type": "FLOAT",
"links": null
}
],
"title": "HEIGHT / 2",
"properties": {
"cnr_id": "hanzo_studio_essentials",
"ver": "1.1.0",
"Node name for S&R": "SimpleMath+"
},
"widgets_values": [
"(a) / 2"
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 20,
"type": "ImageResizeKJv2",
"pos": [
3260,
390
],
"size": [
270,
286
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 46
},
{
"localized_name": "mask",
"name": "mask",
"shape": 7,
"type": "MASK",
"link": null
},
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 56
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 55
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
49,
50
]
},
{
"localized_name": "width",
"name": "width",
"type": "INT",
"links": null
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"links": null
},
{
"localized_name": "mask",
"name": "mask",
"type": "MASK",
"links": null
}
],
"title": "Resize Images",
"properties": {
"cnr_id": "hanzo-studio-kjnodes",
"ver": "c661baadd9683c0033cd2a6ad90157c6d099a6c2",
"Node name for S&R": "ImageResizeKJv2"
},
"widgets_values": [
512,
512,
"nearest-exact",
"stretch",
"0, 0, 0",
"center",
2,
"cpu"
]
},
{
"id": 8,
"type": "ImageCrop",
"pos": [
2010,
220
],
"size": [
210,
130
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 29
},
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 7
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 8
},
{
"localized_name": "x",
"name": "x",
"type": "INT",
"widget": {
"name": "x"
},
"link": 58
},
{
"localized_name": "y",
"name": "y",
"type": "INT",
"widget": {
"name": "y"
},
"link": 60
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
3,
37,
72
]
}
],
"title": "1",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.26",
"Node name for S&R": "ImageCrop"
},
"widgets_values": [
1,
1,
0,
0
]
},
{
"id": 19,
"type": "ImageBatchMulti",
"pos": [
2880,
230
],
"size": [
270,
162
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"localized_name": "image_1",
"name": "image_1",
"type": "IMAGE",
"link": 72
},
{
"localized_name": "image_2",
"name": "image_2",
"shape": 7,
"type": "IMAGE",
"link": 73
},
{
"name": "image_3",
"shape": 7,
"type": "IMAGE",
"link": 74
},
{
"name": "image_4",
"shape": 7,
"type": "IMAGE",
"link": 75
}
],
"outputs": [
{
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"links": [
46
]
}
],
"properties": {
"cnr_id": "hanzo-studio-kjnodes",
"ver": "c661baadd9683c0033cd2a6ad90157c6d099a6c2",
"Node name for S&R": "ImageBatchMulti"
},
"widgets_values": [
4,
null
]
},
{
"id": 9,
"type": "ImageCrop",
"pos": [
2430,
220
],
"size": [
210,
130
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 30
},
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 9
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 10
},
{
"localized_name": "x",
"name": "x",
"type": "INT",
"widget": {
"name": "x"
},
"link": 11
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
4,
38,
73
]
}
],
"title": "2",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.26",
"Node name for S&R": "ImageCrop"
},
"widgets_values": [
1,
1,
0,
0
]
},
{
"id": 10,
"type": "ImageCrop",
"pos": [
2010,
800
],
"size": [
210,
130
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 35
},
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 12
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 13
},
{
"localized_name": "x",
"name": "x",
"type": "INT",
"widget": {
"name": "x"
},
"link": 59
},
{
"localized_name": "y",
"name": "y",
"type": "INT",
"widget": {
"name": "y"
},
"link": 34
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
5,
39,
74
]
}
],
"title": "3",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.26",
"Node name for S&R": "ImageCrop"
},
"widgets_values": [
1,
1,
0,
0
]
},
{
"id": 11,
"type": "ImageCrop",
"pos": [
2430,
800
],
"size": [
210,
130
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 36
},
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 15
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 16
},
{
"localized_name": "x",
"name": "x",
"type": "INT",
"widget": {
"name": "x"
},
"link": 17
},
{
"localized_name": "y",
"name": "y",
"type": "INT",
"widget": {
"name": "y"
},
"link": 33
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
6,
40,
75
]
}
],
"title": "4",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.26",
"Node name for S&R": "ImageCrop"
},
"widgets_values": [
1,
1,
0,
0
]
},
{
"id": 13,
"type": "SimpleMath+",
"pos": [
2450,
-10
],
"size": [
210,
78
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"localized_name": "a",
"name": "a",
"shape": 7,
"type": "INT,FLOAT",
"link": 21
},
{
"localized_name": "b",
"name": "b",
"shape": 7,
"type": "INT,FLOAT",
"link": 22
}
],
"outputs": [
{
"localized_name": "INT",
"name": "INT",
"type": "INT",
"links": [
11,
17
]
},
{
"localized_name": "FLOAT",
"name": "FLOAT",
"type": "FLOAT",
"links": null
}
],
"title": "Col 2 - X val",
"properties": {
"cnr_id": "hanzo_studio_essentials",
"ver": "1.1.0",
"Node name for S&R": "SimpleMath+"
},
"widgets_values": [
"a + (b/2)"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 12,
"type": "SimpleMath+",
"pos": [
1650,
800
],
"size": [
210,
78
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"localized_name": "a",
"name": "a",
"shape": 7,
"type": "INT,FLOAT",
"link": 19
},
{
"localized_name": "b",
"name": "b",
"shape": 7,
"type": "INT,FLOAT",
"link": 20
}
],
"outputs": [
{
"localized_name": "INT",
"name": "INT",
"type": "INT",
"links": [
33,
34
]
},
{
"localized_name": "FLOAT",
"name": "FLOAT",
"type": "FLOAT",
"links": null
}
],
"title": "Row 2 - Y val",
"properties": {
"cnr_id": "hanzo_studio_essentials",
"ver": "1.1.0",
"Node name for S&R": "SimpleMath+"
},
"widgets_values": [
"a + (b/2)"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 24,
"type": "SimpleMath+",
"pos": [
2000,
-40
],
"size": [
210,
78
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"localized_name": "a",
"name": "a",
"shape": 7,
"type": "INT,FLOAT",
"link": null
},
{
"localized_name": "b",
"name": "b",
"shape": 7,
"type": "INT,FLOAT",
"link": 57
}
],
"outputs": [
{
"localized_name": "INT",
"name": "INT",
"type": "INT",
"links": [
58,
59,
60
]
},
{
"localized_name": "FLOAT",
"name": "FLOAT",
"type": "FLOAT",
"links": null
}
],
"title": "Col 1 - X val",
"properties": {
"cnr_id": "hanzo_studio_essentials",
"ver": "1.1.0",
"Node name for S&R": "SimpleMath+"
},
"widgets_values": [
"b/2"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 14,
"type": "SimpleMath+",
"pos": [
1290,
110
],
"size": [
270,
78
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"localized_name": "a",
"name": "a",
"shape": 7,
"type": "INT,FLOAT",
"link": 28
},
{
"localized_name": "b",
"name": "b",
"shape": 7,
"type": "INT,FLOAT",
"link": null
}
],
"outputs": [
{
"localized_name": "INT",
"name": "INT",
"type": "INT",
"links": [
20,
22,
24,
26,
57
]
},
{
"localized_name": "FLOAT",
"name": "FLOAT",
"type": "FLOAT",
"links": null
}
],
"title": "Crop Inset Grid Images Value",
"properties": {
"cnr_id": "hanzo_studio_essentials",
"ver": "1.1.0",
"Node name for S&R": "SimpleMath+"
},
"widgets_values": [
"a"
]
}
],
"groups": [],
"links": [
{
"id": 3,
"origin_id": 8,
"origin_slot": 0,
"target_id": 4,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 4,
"origin_id": 9,
"origin_slot": 0,
"target_id": 5,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 6,
"origin_id": 11,
"origin_slot": 0,
"target_id": 7,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 7,
"origin_id": 15,
"origin_slot": 0,
"target_id": 8,
"target_slot": 1,
"type": "INT"
},
{
"id": 8,
"origin_id": 16,
"origin_slot": 0,
"target_id": 8,
"target_slot": 2,
"type": "INT"
},
{
"id": 9,
"origin_id": 15,
"origin_slot": 0,
"target_id": 9,
"target_slot": 1,
"type": "INT"
},
{
"id": 10,
"origin_id": 16,
"origin_slot": 0,
"target_id": 9,
"target_slot": 2,
"type": "INT"
},
{
"id": 11,
"origin_id": 13,
"origin_slot": 0,
"target_id": 9,
"target_slot": 3,
"type": "INT"
},
{
"id": 15,
"origin_id": 15,
"origin_slot": 0,
"target_id": 11,
"target_slot": 1,
"type": "INT"
},
{
"id": 16,
"origin_id": 16,
"origin_slot": 0,
"target_id": 11,
"target_slot": 2,
"type": "INT"
},
{
"id": 17,
"origin_id": 13,
"origin_slot": 0,
"target_id": 11,
"target_slot": 3,
"type": "INT"
},
{
"id": 33,
"origin_id": 12,
"origin_slot": 0,
"target_id": 11,
"target_slot": 4,
"type": "INT"
},
{
"id": 25,
"origin_id": 17,
"origin_slot": 1,
"target_id": 16,
"target_slot": 0,
"type": "INT,FLOAT"
},
{
"id": 26,
"origin_id": 14,
"origin_slot": 0,
"target_id": 16,
"target_slot": 1,
"type": "INT,FLOAT"
},
{
"id": 12,
"origin_id": 15,
"origin_slot": 0,
"target_id": 10,
"target_slot": 1,
"type": "INT"
},
{
"id": 13,
"origin_id": 16,
"origin_slot": 0,
"target_id": 10,
"target_slot": 2,
"type": "INT"
},
{
"id": 34,
"origin_id": 12,
"origin_slot": 0,
"target_id": 10,
"target_slot": 4,
"type": "INT"
},
{
"id": 21,
"origin_id": 15,
"origin_slot": 0,
"target_id": 13,
"target_slot": 0,
"type": "INT,FLOAT"
},
{
"id": 22,
"origin_id": 14,
"origin_slot": 0,
"target_id": 13,
"target_slot": 1,
"type": "INT,FLOAT"
},
{
"id": 19,
"origin_id": 16,
"origin_slot": 0,
"target_id": 12,
"target_slot": 0,
"type": "INT,FLOAT"
},
{
"id": 20,
"origin_id": 14,
"origin_slot": 0,
"target_id": 12,
"target_slot": 1,
"type": "INT,FLOAT"
},
{
"id": 23,
"origin_id": 17,
"origin_slot": 0,
"target_id": 15,
"target_slot": 0,
"type": "INT,FLOAT"
},
{
"id": 24,
"origin_id": 14,
"origin_slot": 0,
"target_id": 15,
"target_slot": 1,
"type": "INT,FLOAT"
},
{
"id": 5,
"origin_id": 10,
"origin_slot": 0,
"target_id": 6,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 29,
"origin_id": -10,
"origin_slot": 0,
"target_id": 8,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 30,
"origin_id": -10,
"origin_slot": 0,
"target_id": 9,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 36,
"origin_id": -10,
"origin_slot": 0,
"target_id": 11,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 35,
"origin_id": -10,
"origin_slot": 0,
"target_id": 10,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 27,
"origin_id": -10,
"origin_slot": 0,
"target_id": 17,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 28,
"origin_id": -10,
"origin_slot": 1,
"target_id": 14,
"target_slot": 0,
"type": "INT,FLOAT"
},
{
"id": 37,
"origin_id": 8,
"origin_slot": 0,
"target_id": -20,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 38,
"origin_id": 9,
"origin_slot": 0,
"target_id": -20,
"target_slot": 1,
"type": "IMAGE"
},
{
"id": 39,
"origin_id": 10,
"origin_slot": 0,
"target_id": -20,
"target_slot": 2,
"type": "IMAGE"
},
{
"id": 40,
"origin_id": 11,
"origin_slot": 0,
"target_id": -20,
"target_slot": 3,
"type": "IMAGE"
},
{
"id": 46,
"origin_id": 19,
"origin_slot": 0,
"target_id": 20,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 49,
"origin_id": 20,
"origin_slot": 0,
"target_id": -20,
"target_slot": 4,
"type": "IMAGE"
},
{
"id": 50,
"origin_id": 20,
"origin_slot": 0,
"target_id": 21,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 51,
"origin_id": 17,
"origin_slot": 1,
"target_id": 22,
"target_slot": 0,
"type": "INT,FLOAT"
},
{
"id": 53,
"origin_id": 17,
"origin_slot": 0,
"target_id": 23,
"target_slot": 0,
"type": "INT,FLOAT"
},
{
"id": 55,
"origin_id": 22,
"origin_slot": 0,
"target_id": 20,
"target_slot": 3,
"type": "INT"
},
{
"id": 56,
"origin_id": 23,
"origin_slot": 0,
"target_id": 20,
"target_slot": 2,
"type": "INT"
},
{
"id": 57,
"origin_id": 14,
"origin_slot": 0,
"target_id": 24,
"target_slot": 1,
"type": "INT,FLOAT"
},
{
"id": 58,
"origin_id": 24,
"origin_slot": 0,
"target_id": 8,
"target_slot": 3,
"type": "INT"
},
{
"id": 59,
"origin_id": 24,
"origin_slot": 0,
"target_id": 10,
"target_slot": 3,
"type": "INT"
},
{
"id": 60,
"origin_id": 24,
"origin_slot": 0,
"target_id": 8,
"target_slot": 4,
"type": "INT"
},
{
"id": 72,
"origin_id": 8,
"origin_slot": 0,
"target_id": 19,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 73,
"origin_id": 9,
"origin_slot": 0,
"target_id": 19,
"target_slot": 1,
"type": "IMAGE"
},
{
"id": 74,
"origin_id": 10,
"origin_slot": 0,
"target_id": 19,
"target_slot": 2,
"type": "IMAGE"
},
{
"id": 75,
"origin_id": 11,
"origin_slot": 0,
"target_id": 19,
"target_slot": 3,
"type": "IMAGE"
}
],
"extra": {
"workflowRendererVersion": "LG"
}
},
{
"id": "7a951a01-c7c7-4f0b-83d2-c2781ad6175b",
"version": 1,
"state": {
"lastGroupId": 0,
"lastNodeId": 17,
"lastLinkId": 18,
"lastRerouteId": 0
},
"revision": 0,
"config": {},
"name": "Batch Images",
"inputNode": {
"id": -10,
"bounding": [
935.2877154863284,
287.6179266898436,
128.224609375,
80
]
},
"outputNode": {
"id": -20,
"bounding": [
1351.4088092363284,
297.6179266898436,
120,
60
]
},
"inputs": [
{
"id": "bc8c15e3-969a-4321-9518-84a5cdf64836",
"name": "image",
"type": "IMAGE",
"linkIds": [
10,
14
],
"localized_name": "image",
"label": "image_selected",
"pos": [
1043.5123248613284,
307.6179266898436
]
},
{
"id": "6288f9fa-a2ef-4285-a1b3-a35c52d4087f",
"name": "image_1",
"type": "IMAGE",
"linkIds": [
11
],
"localized_name": "image_1",
"label": "image_product",
"pos": [
1043.5123248613284,
327.6179266898436
]
}
],
"outputs": [
{
"id": "7f588e1c-0a55-4023-930f-ec99d2f311df",
"name": "IMAGE",
"type": "IMAGE",
"linkIds": [
17
],
"localized_name": "IMAGE",
"pos": [
1371.4088092363284,
317.6179266898436
]
}
],
"widgets": [],
"nodes": [
{
"id": 12,
"type": "GetImageSize",
"pos": [
1115.2877154863284,
342.6179266898436
],
"size": [
160,
66
],
"flags": {
"collapsed": true
},
"order": 0,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 10
}
],
"outputs": [
{
"localized_name": "width",
"name": "width",
"type": "INT",
"links": [
12
]
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"links": [
13
]
},
{
"localized_name": "batch_size",
"name": "batch_size",
"type": "INT",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "GetImageSize"
},
"widgets_values": []
},
{
"id": 13,
"type": "ResizeAndPadImage",
"pos": [
1115.2877154863284,
392.6179266898436
],
"size": [
210,
130
],
"flags": {
"collapsed": true
},
"order": 1,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 11
},
{
"localized_name": "target_width",
"name": "target_width",
"type": "INT",
"widget": {
"name": "target_width"
},
"link": 12
},
{
"localized_name": "target_height",
"name": "target_height",
"type": "INT",
"widget": {
"name": "target_height"
},
"link": 13
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
15
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "ResizeAndPadImage"
},
"widgets_values": [
512,
512,
"white",
"area"
]
},
{
"id": 14,
"type": "ImageBatch",
"pos": [
1115.2877154863284,
292.6179266898436
],
"size": [
150,
46
],
"flags": {
"collapsed": true
},
"order": 2,
"mode": 0,
"inputs": [
{
"localized_name": "image1",
"name": "image1",
"type": "IMAGE",
"link": 14
},
{
"localized_name": "image2",
"name": "image2",
"type": "IMAGE",
"link": 15
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
17
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "ImageBatch"
},
"widgets_values": []
}
],
"groups": [],
"links": [
{
"id": 12,
"origin_id": 12,
"origin_slot": 0,
"target_id": 13,
"target_slot": 1,
"type": "INT"
},
{
"id": 13,
"origin_id": 12,
"origin_slot": 1,
"target_id": 13,
"target_slot": 2,
"type": "INT"
},
{
"id": 15,
"origin_id": 13,
"origin_slot": 0,
"target_id": 14,
"target_slot": 1,
"type": "IMAGE"
},
{
"id": 10,
"origin_id": -10,
"origin_slot": 0,
"target_id": 12,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 14,
"origin_id": -10,
"origin_slot": 0,
"target_id": 14,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 11,
"origin_id": -10,
"origin_slot": 1,
"target_id": 13,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 17,
"origin_id": 14,
"origin_slot": 0,
"target_id": -20,
"target_slot": 0,
"type": "IMAGE"
}
],
"extra": {
"workflowRendererVersion": "LG"
}
},
{
"id": "38467b91-f6e9-4f17-a18a-44e81ac5de93",
"version": 1,
"state": {
"lastGroupId": 0,
"lastNodeId": 74,
"lastLinkId": 103,
"lastRerouteId": 0
},
"revision": 0,
"config": {},
"name": "Select Image Number #",
"inputNode": {
"id": -10,
"bounding": [
5600,
-419,
120,
60
]
},
"outputNode": {
"id": -20,
"bounding": [
6090,
-419,
120,
60
]
},
"inputs": [
{
"id": "5803ab09-9b03-424f-bf3d-ea74ffb514ca",
"name": "image",
"type": "IMAGE",
"linkIds": [
102
],
"localized_name": "image",
"pos": [
55,
20
]
}
],
"outputs": [
{
"id": "661b98da-dcb7-4095-b76d-5ad89d10653f",
"name": "IMAGE",
"type": "IMAGE",
"linkIds": [
103
],
"localized_name": "IMAGE",
"pos": [
20,
20
]
}
],
"widgets": [],
"nodes": [
{
"id": 73,
"type": "SimpleMath+",
"pos": [
5820,
-410
],
"size": [
210,
78
],
"flags": {
"collapsed": false
},
"order": 1,
"mode": 0,
"inputs": [
{
"localized_name": "a",
"name": "a",
"shape": 7,
"type": "INT,FLOAT",
"link": 101
},
{
"localized_name": "b",
"name": "b",
"shape": 7,
"type": "INT,FLOAT",
"link": null
}
],
"outputs": [
{
"localized_name": "INT",
"name": "INT",
"type": "INT",
"links": [
100
]
},
{
"localized_name": "FLOAT",
"name": "FLOAT",
"type": "FLOAT",
"links": null
}
],
"title": "Image # as index",
"properties": {
"cnr_id": "hanzo_studio_essentials",
"ver": "1.1.0",
"Node name for S&R": "SimpleMath+"
},
"widgets_values": [
"a - 1"
]
},
{
"id": 74,
"type": "ImageFromBatch",
"pos": [
5820,
-290
],
"size": [
210,
82
],
"flags": {
"collapsed": false
},
"order": 2,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 102
},
{
"localized_name": "batch_index",
"name": "batch_index",
"type": "INT",
"widget": {
"name": "batch_index"
},
"link": 100
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
103
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "ImageFromBatch"
},
"widgets_values": [
0,
1
]
},
{
"id": 69,
"type": "PrimitiveInt",
"pos": [
5780,
-540
],
"size": [
250,
82
],
"flags": {
"collapsed": false
},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"localized_name": "INT",
"name": "INT",
"type": "INT",
"links": [
101
]
}
],
"title": "Select Image Number",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.76",
"Node name for S&R": "PrimitiveInt"
},
"widgets_values": [
1,
"fixed"
],
"color": "#232",
"bgcolor": "#353"
}
],
"groups": [],
"links": [
{
"id": 101,
"origin_id": 69,
"origin_slot": 0,
"target_id": 73,
"target_slot": 0,
"type": "INT"
},
{
"id": 100,
"origin_id": 73,
"origin_slot": 0,
"target_id": 74,
"target_slot": 1,
"type": "INT"
},
{
"id": 102,
"origin_id": -10,
"origin_slot": 0,
"target_id": 74,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 103,
"origin_id": 74,
"origin_slot": 0,
"target_id": -20,
"target_slot": 0,
"type": "IMAGE"
}
],
"extra": {
"workflowRendererVersion": "LG"
}
}
]
},
"config": {},
"extra": {
"ds": {
"scale": 0.3003813059210529,
"offset": [
-113.26836442860586,
762.822708985438
]
},
"frontendVersion": "1.36.13",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true,
"workflowRendererVersion": "LG"
},
"version": 0.4
}