{
  "config": {},
  "definitions": {
    "subgraphs": [
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "Vue"
        },
        "groups": [],
        "id": "da09b826-d678-40e0-a4e4-5f2178043ab6",
        "inputNode": {
          "bounding": [
            90.40727678453659,
            2325.662789361009,
            144,
            72
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "da7d2f59-a52d-4f36-a474-9079e0b97ff1",
            "linkIds": [
              9
            ],
            "name": "value",
            "pos": [
              173.6727306537805,
              1956.3856578008408
            ],
            "type": "STRING"
          }
        ],
        "links": [
          {
            "id": 1,
            "origin_id": 7,
            "origin_slot": 0,
            "target_id": 1,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 2,
            "origin_id": 8,
            "origin_slot": 0,
            "target_id": 1,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 3,
            "origin_id": 1,
            "origin_slot": 0,
            "target_id": 2,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 4,
            "origin_id": 9,
            "origin_slot": 0,
            "target_id": 3,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 6,
            "origin_id": 3,
            "origin_slot": 0,
            "target_id": 8,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 7,
            "origin_id": 6,
            "origin_slot": 0,
            "target_id": 9,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 8,
            "origin_id": 1,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 9,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 7,
            "target_slot": 0,
            "type": "STRING"
          }
        ],
        "name": "Batch Prompt Iterator",
        "nodes": [
          {
            "flags": {},
            "id": 8,
            "inputs": [
              {
                "link": 6,
                "localized_name": "replace",
                "name": "replace",
                "type": "STRING",
                "widget": {
                  "name": "replace"
                }
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [
              {
                "links": [
                  2
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1458.4071265833052,
              1856.462824138249
            ],
            "properties": {
              "Node name for S&R": "RegexReplace",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              270,
              522
            ],
            "type": "RegexReplace",
            "widgets_values": [
              "(?:^(?!\\s*\\*?\\s*$).+$\\n(?:^\\s*\\*?\\s*$\\n)*){0}^(?!\\s*\\*?\\s*$)(.+)$",
              "(?<=\\{)\\d+(?=\\})",
              "",
              true,
              false,
              false,
              0
            ]
          },
          {
            "flags": {},
            "id": 6,
            "inputs": [],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  7
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              }
            ],
            "pos": [
              810.4071259347734,
              2012.4627471341084
            ],
            "properties": {
              "Node name for S&R": "PrimitiveInt",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              355.0875,
              126
            ],
            "title": "Int - Select Prompt Number (not index)",
            "type": "PrimitiveInt",
            "widgets_values": [
              1,
              "fixed"
            ]
          },
          {
            "flags": {
              "collapsed": true
            },
            "id": 9,
            "inputs": [
              {
                "link": 7,
                "localized_name": "a",
                "name": "a",
                "shape": 7,
                "type": "INT,FLOAT"
              },
              {
                "link": null,
                "localized_name": "b",
                "name": "b",
                "shape": 7,
                "type": "INT,FLOAT"
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  4
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              }
            ],
            "pos": [
              829.9998717200663,
              1933.9997188073237
            ],
            "properties": {
              "Node name for S&R": "SimpleMath+",
              "cnr_id": "comfyui_essentials",
              "ver": "1.1.0"
            },
            "size": [
              257.980078125,
              54
            ],
            "title": "Convert Prompt Number to Index",
            "type": "SimpleMath+",
            "widgets_values": [
              "a-1"
            ]
          },
          {
            "flags": {
              "collapsed": true
            },
            "id": 3,
            "inputs": [
              {
                "link": 4,
                "localized_name": "input",
                "name": "input",
                "type": "*"
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [
              {
                "links": [
                  6
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1177.9998019226534,
              1933.9997188073237
            ],
            "properties": {
              "Node name for S&R": "SomethingToString",
              "cnr_id": "comfyui-kjnodes",
              "ver": "c661baadd9683c0033cd2a6ad90157c6d099a6c2"
            },
            "size": [
              210,
              39.6
            ],
            "type": "SomethingToString",
            "widgets_values": [
              "",
              ""
            ]
          },
          {
            "bgcolor": "#653",
            "color": "#432",
            "flags": {},
            "id": 5,
            "inputs": [],
            "mode": 0,
            "order": 1,
            "outputs": [],
            "pos": [
              1741.9996692102889,
              1861.9999291723602
            ],
            "properties": {},
            "size": [
              432,
              1737.9937499999999
            ],
            "type": "MarkdownNote",
            "widgets_values": [
              "# Prompt Selector Regex Pattern\n\n## Pattern\n(?:^(?!\\s*\\*?\\s*$).+$\\n(?:^\\s*\\*?\\s*$\\n)*){0}^(?!\\s*\\*?\\s*$)(.+)$\n\n## Settings\n- mode: \"First Group\"\n- multiline: true\n- dotall: false\n- group_index: 1\n\n## How it works\n\n| Part                      | Meaning                                         |\n|---------------------------|-------------------------------------------------|\n| (?!\\s*\\*?\\s*$)            | Lookahead: line is NOT blank or just *          |\n| ^(?!\\s*\\*?\\s*$).+$        | Match a content line                            |\n| \\n                        | Newline after content                           |\n| (?:^\\s*\\*?\\s*$\\n)*        | Consume zero or more separator lines (blank/*)  |\n| {0}                       | Skip n blocks (replaceable index)               |\n| ^(?!\\s*\\*?\\s*$)(.+)$      | Capture the target prompt                       |\n\n## Index Replacement\nUse Regex Replace with pattern: (?<=\\{)\\d+(?=\\})\n\n## Supported Formats\n\n**Newline only:**\n\ntest1\ntest2\ntest3\n\n**Blank lines:**\n\ntest1\n\n\ntest2\n\n\ntest3\n\n\n**Asterisk separator:**\n\ntest1\n*\ntest2\n*\ntest3\n\n**Asterisk with blanks:**\n\ntest1\n\n*\n\ntest2\n\n*\n\ntest3"
            ]
          },
          {
            "flags": {},
            "id": 1,
            "inputs": [
              {
                "link": 1,
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                }
              },
              {
                "link": 2,
                "localized_name": "regex_pattern",
                "name": "regex_pattern",
                "type": "STRING",
                "widget": {
                  "name": "regex_pattern"
                }
              }
            ],
            "mode": 0,
            "order": 5,
            "outputs": [
              {
                "links": [
                  3,
                  8
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              2197.999852045479,
              1861.9999291723602
            ],
            "properties": {
              "Node name for S&R": "RegexExtract",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              480,
              453.1875
            ],
            "type": "RegexExtract",
            "widgets_values": [
              "",
              "",
              "First Group",
              true,
              true,
              false,
              1
            ]
          },
          {
            "flags": {},
            "id": 2,
            "inputs": [
              {
                "link": 3,
                "localized_name": "source",
                "name": "source",
                "type": "*"
              }
            ],
            "mode": 0,
            "order": 6,
            "outputs": [],
            "pos": [
              2401.999824191367,
              2233.999978646654
            ],
            "properties": {
              "Node name for S&R": "PreviewAny",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              276,
              270
            ],
            "type": "PreviewAny",
            "widgets_values": [
              null,
              null,
              null
            ]
          },
          {
            "flags": {},
            "id": 7,
            "inputs": [
              {
                "link": 9,
                "localized_name": "value",
                "name": "value",
                "type": "STRING",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 7,
            "outputs": [
              {
                "links": [
                  1
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              313.9998641890731,
              2018.0002309549918
            ],
            "properties": {
              "Node name for S&R": "PrimitiveStringMultiline",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              480,
              594
            ],
            "type": "PrimitiveStringMultiline",
            "widgets_values": [
              ""
            ]
          }
        ],
        "outputNode": {
          "bounding": [
            2942,
            2258,
            144,
            72
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "90326b5a-6290-4028-9573-5338419fba1b",
            "linkIds": [
              8
            ],
            "name": "STRING",
            "pos": [
              2470,
              1900
            ],
            "type": "STRING"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 0,
          "lastLinkId": 9,
          "lastNodeId": 9,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      },
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "Vue"
        },
        "groups": [],
        "id": "d33c1791-dfd2-4102-8540-aa63e4434cd2",
        "inputNode": {
          "bounding": [
            1538.4162218932536,
            1360.7424319789518,
            120,
            100
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "0cce5c00-af31-4ed7-bc88-4a03f774e6b8",
            "linkIds": [
              3
            ],
            "name": "value",
            "pos": [
              1638.4162218932536,
              1380.7424319789518
            ],
            "type": "STRING"
          },
          {
            "id": "3caab8c6-6b7e-4342-ad7c-f7fd98191c05",
            "label": "image0",
            "linkIds": [
              6,
              8
            ],
            "localized_name": "images.image0",
            "name": "images.image0",
            "pos": [
              1638.4162218932536,
              1400.7424319789518
            ],
            "type": "IMAGE"
          },
          {
            "id": "d972ea9d-b00c-4f61-bd3a-581b58a66f6b",
            "linkIds": [
              10
            ],
            "localized_name": "aspect_ratio",
            "name": "aspect_ratio",
            "pos": [
              1638.4162218932536,
              1420.7424319789518
            ],
            "type": "COMBO"
          }
        ],
        "links": [
          {
            "id": 11,
            "origin_id": 9,
            "origin_slot": 0,
            "target_id": 8,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 9,
            "origin_id": 3,
            "origin_slot": 0,
            "target_id": 9,
            "target_slot": 2,
            "type": "STRING"
          },
          {
            "id": 3,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 3,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 6,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 8,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 8,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 9,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 10,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 9,
            "target_slot": 3,
            "type": "COMBO"
          },
          {
            "id": 5,
            "origin_id": 9,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 12,
            "origin_id": 3,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 13,
            "origin_id": 8,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 2,
            "type": "IMAGE"
          }
        ],
        "name": "New Subgraph",
        "nodes": [
          {
            "flags": {},
            "id": 3,
            "inputs": [
              {
                "link": 3,
                "name": "value",
                "type": "STRING",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  9,
                  12
                ],
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1754.4167347459374,
              1308.284764723154
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "proxyWidgets": [
                [
                  "-1",
                  "value"
                ],
                [
                  "6",
                  "value"
                ],
                [
                  "6",
                  "control_after_generate"
                ]
              ],
              "ver": "0.9.2"
            },
            "size": [
              480,
              189
            ],
            "type": "da09b826-d678-40e0-a4e4-5f2178043ab6",
            "widgets_values": [
              ""
            ]
          },
          {
            "flags": {},
            "id": 8,
            "inputs": [
              {
                "label": "image0",
                "link": 6,
                "localized_name": "images.image0",
                "name": "images.image0",
                "type": "IMAGE"
              },
              {
                "label": "image1",
                "link": 11,
                "localized_name": "images.image1",
                "name": "images.image1",
                "type": "IMAGE"
              },
              {
                "label": "image2",
                "link": null,
                "localized_name": "images.image2",
                "name": "images.image2",
                "shape": 7,
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 1,
            "outputs": [
              {
                "links": [
                  13
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              2558.000236768496,
              1837.9999171215882
            ],
            "properties": {
              "Node name for S&R": "BatchImagesNode",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              270,
              96
            ],
            "type": "BatchImagesNode",
            "widgets_values": []
          },
          {
            "bgcolor": "#653",
            "color": "#432",
            "flags": {},
            "id": 9,
            "inputs": [
              {
                "link": 8,
                "localized_name": "images",
                "name": "images",
                "shape": 7,
                "type": "IMAGE"
              },
              {
                "link": null,
                "localized_name": "files",
                "name": "files",
                "shape": 7,
                "type": "GEMINI_INPUT_FILES"
              },
              {
                "link": 9,
                "localized_name": "prompt",
                "name": "prompt",
                "type": "STRING",
                "widget": {
                  "name": "prompt"
                }
              },
              {
                "link": 10,
                "localized_name": "aspect_ratio",
                "name": "aspect_ratio",
                "type": "COMBO",
                "widget": {
                  "name": "aspect_ratio"
                }
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  5,
                  7,
                  11
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              },
              {
                "links": null,
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              2354.416645670207,
              1308.284764723154
            ],
            "properties": {
              "Node name for S&R": "GeminiImage2Node",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              480,
              396.65625
            ],
            "type": "GeminiImage2Node",
            "widgets_values": [
              "",
              "gemini-3-pro-image-preview",
              1,
              "fixed",
              "16:9",
              "2K",
              "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."
            ]
          }
        ],
        "outputNode": {
          "bounding": [
            2906.4161122605633,
            1384.7424319789518,
            120,
            100
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "2a0fa53c-8840-4a6c-89c1-0c26b921407a",
            "linkIds": [
              5
            ],
            "localized_name": "IMAGE",
            "name": "IMAGE",
            "pos": [
              2926.4161122605633,
              1404.7424319789518
            ],
            "type": "IMAGE"
          },
          {
            "id": "0cc3a5b8-24ab-4c53-843e-654df60c7385",
            "linkIds": [
              12
            ],
            "name": "STRING",
            "pos": [
              2926.4161122605633,
              1424.7424319789518
            ],
            "type": "STRING"
          },
          {
            "id": "b257ea65-71bc-40cc-a144-4a3eb1bb05c0",
            "label": "IMAGES",
            "linkIds": [
              13
            ],
            "name": "IMAGE_1",
            "pos": [
              2926.4161122605633,
              1444.7424319789518
            ],
            "type": "IMAGE"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 0,
          "lastLinkId": 13,
          "lastNodeId": 9,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      },
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "Vue"
        },
        "groups": [],
        "id": "f2228dc9-64e8-43b1-a4ca-b8a57eed8f64",
        "inputNode": {
          "bounding": [
            1538.4162218932536,
            1360.7424319789518,
            120,
            100
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "0cce5c00-af31-4ed7-bc88-4a03f774e6b8",
            "linkIds": [
              3
            ],
            "name": "value",
            "pos": [
              1638.4162218932536,
              1380.7424319789518
            ],
            "type": "STRING"
          },
          {
            "id": "3caab8c6-6b7e-4342-ad7c-f7fd98191c05",
            "label": "image0",
            "linkIds": [
              6,
              8,
              14
            ],
            "localized_name": "images.image0",
            "name": "images.image0",
            "pos": [
              1638.4162218932536,
              1400.7424319789518
            ],
            "type": "IMAGE"
          },
          {
            "id": "d972ea9d-b00c-4f61-bd3a-581b58a66f6b",
            "linkIds": [
              10
            ],
            "localized_name": "aspect_ratio",
            "name": "aspect_ratio",
            "pos": [
              1638.4162218932536,
              1420.7424319789518
            ],
            "type": "COMBO"
          }
        ],
        "links": [
          {
            "id": 11,
            "origin_id": 9,
            "origin_slot": 0,
            "target_id": 8,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 9,
            "origin_id": 3,
            "origin_slot": 0,
            "target_id": 9,
            "target_slot": 2,
            "type": "STRING"
          },
          {
            "id": 3,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 3,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 6,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 8,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 8,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 9,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 10,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 9,
            "target_slot": 3,
            "type": "COMBO"
          },
          {
            "id": 5,
            "origin_id": 9,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 12,
            "origin_id": 3,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 13,
            "origin_id": 8,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 2,
            "type": "IMAGE"
          },
          {
            "id": 14,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 10,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 15,
            "origin_id": 8,
            "origin_slot": 0,
            "target_id": 11,
            "target_slot": 0,
            "type": "IMAGE"
          }
        ],
        "name": "New Subgraph",
        "nodes": [
          {
            "flags": {},
            "id": 3,
            "inputs": [
              {
                "link": 3,
                "name": "value",
                "type": "STRING",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  9,
                  12
                ],
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1754.4161685123258,
              1308.2848343010835
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "proxyWidgets": [
                [
                  "-1",
                  "value"
                ],
                [
                  "6",
                  "value"
                ],
                [
                  "6",
                  "control_after_generate"
                ]
              ],
              "ver": "0.9.2"
            },
            "size": [
              480,
              189
            ],
            "type": "6d92985e-3e1e-49e2-acea-91c5259d86a8",
            "widgets_values": [
              ""
            ]
          },
          {
            "flags": {},
            "id": 8,
            "inputs": [
              {
                "label": "image0",
                "link": 6,
                "localized_name": "images.image0",
                "name": "images.image0",
                "type": "IMAGE"
              },
              {
                "label": "image1",
                "link": 11,
                "localized_name": "images.image1",
                "name": "images.image1",
                "type": "IMAGE"
              },
              {
                "label": "image2",
                "link": null,
                "localized_name": "images.image2",
                "name": "images.image2",
                "shape": 7,
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 1,
            "outputs": [
              {
                "links": [
                  13,
                  15
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              2558.0002715632495,
              1837.9998294132495
            ],
            "properties": {
              "Node name for S&R": "BatchImagesNode",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              270,
              96
            ],
            "type": "BatchImagesNode",
            "widgets_values": []
          },
          {
            "bgcolor": "#653",
            "color": "#432",
            "flags": {},
            "id": 9,
            "inputs": [
              {
                "link": 8,
                "localized_name": "images",
                "name": "images",
                "shape": 7,
                "type": "IMAGE"
              },
              {
                "link": null,
                "localized_name": "files",
                "name": "files",
                "shape": 7,
                "type": "GEMINI_INPUT_FILES"
              },
              {
                "link": 9,
                "localized_name": "prompt",
                "name": "prompt",
                "type": "STRING",
                "widget": {
                  "name": "prompt"
                }
              },
              {
                "link": 10,
                "localized_name": "aspect_ratio",
                "name": "aspect_ratio",
                "type": "COMBO",
                "widget": {
                  "name": "aspect_ratio"
                }
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  5,
                  7,
                  11
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              },
              {
                "links": null,
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              2354.4162540892944,
              1308.2848343010835
            ],
            "properties": {
              "Node name for S&R": "GeminiImage2Node",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              480,
              396.65625
            ],
            "type": "GeminiImage2Node",
            "widgets_values": [
              "",
              "gemini-3-pro-image-preview",
              2,
              "fixed",
              "16:9",
              "2K",
              "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."
            ]
          },
          {
            "flags": {},
            "id": 10,
            "inputs": [
              {
                "link": 14,
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [],
            "pos": [
              2050.000047849463,
              1700.0000366184754
            ],
            "properties": {
              "Node name for S&R": "PreviewImage",
              "cnr_id": "comfy-core",
              "ver": "0.10.0"
            },
            "size": [
              225,
              248
            ],
            "type": "PreviewImage",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 11,
            "inputs": [
              {
                "link": 15,
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [],
            "pos": [
              2870.00024883722,
              1970.000033111828
            ],
            "properties": {
              "Node name for S&R": "PreviewImage",
              "cnr_id": "comfy-core",
              "ver": "0.10.0"
            },
            "size": [
              225,
              248
            ],
            "type": "PreviewImage",
            "widgets_values": []
          }
        ],
        "outputNode": {
          "bounding": [
            2906.4161122605633,
            1384.7424319789518,
            120,
            100
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "2a0fa53c-8840-4a6c-89c1-0c26b921407a",
            "linkIds": [
              5
            ],
            "localized_name": "IMAGE",
            "name": "IMAGE",
            "pos": [
              2926.4161122605633,
              1404.7424319789518
            ],
            "type": "IMAGE"
          },
          {
            "id": "0cc3a5b8-24ab-4c53-843e-654df60c7385",
            "linkIds": [
              12
            ],
            "name": "STRING",
            "pos": [
              2926.4161122605633,
              1424.7424319789518
            ],
            "type": "STRING"
          },
          {
            "id": "b257ea65-71bc-40cc-a144-4a3eb1bb05c0",
            "label": "IMAGES",
            "linkIds": [
              13
            ],
            "name": "IMAGE_1",
            "pos": [
              2926.4161122605633,
              1444.7424319789518
            ],
            "type": "IMAGE"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 0,
          "lastLinkId": 15,
          "lastNodeId": 11,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      },
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "Vue"
        },
        "groups": [],
        "id": "6d92985e-3e1e-49e2-acea-91c5259d86a8",
        "inputNode": {
          "bounding": [
            90.40727678453659,
            2325.662789361009,
            144,
            72
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "da7d2f59-a52d-4f36-a474-9079e0b97ff1",
            "linkIds": [
              9
            ],
            "name": "value",
            "pos": [
              173.6727306537805,
              1956.3856578008408
            ],
            "type": "STRING"
          }
        ],
        "links": [
          {
            "id": 1,
            "origin_id": 7,
            "origin_slot": 0,
            "target_id": 1,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 2,
            "origin_id": 8,
            "origin_slot": 0,
            "target_id": 1,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 3,
            "origin_id": 1,
            "origin_slot": 0,
            "target_id": 2,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 4,
            "origin_id": 9,
            "origin_slot": 0,
            "target_id": 3,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 6,
            "origin_id": 3,
            "origin_slot": 0,
            "target_id": 8,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 7,
            "origin_id": 6,
            "origin_slot": 0,
            "target_id": 9,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 8,
            "origin_id": 1,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 9,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 7,
            "target_slot": 0,
            "type": "STRING"
          }
        ],
        "name": "Batch Prompt Iterator",
        "nodes": [
          {
            "flags": {},
            "id": 8,
            "inputs": [
              {
                "link": 6,
                "localized_name": "replace",
                "name": "replace",
                "type": "STRING",
                "widget": {
                  "name": "replace"
                }
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [
              {
                "links": [
                  2
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1458.4071265833052,
              1856.462824138249
            ],
            "properties": {
              "Node name for S&R": "RegexReplace",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              270,
              522
            ],
            "type": "RegexReplace",
            "widgets_values": [
              "(?:^(?!\\s*\\*?\\s*$).+$\\n(?:^\\s*\\*?\\s*$\\n)*){0}^(?!\\s*\\*?\\s*$)(.+)$",
              "(?<=\\{)\\d+(?=\\})",
              "",
              true,
              false,
              false,
              0
            ]
          },
          {
            "flags": {},
            "id": 6,
            "inputs": [],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  7
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              }
            ],
            "pos": [
              810.4071259347734,
              2012.4627471341084
            ],
            "properties": {
              "Node name for S&R": "PrimitiveInt",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              355.0875,
              126
            ],
            "title": "Int - Select Prompt Number (not index)",
            "type": "PrimitiveInt",
            "widgets_values": [
              2,
              "fixed"
            ]
          },
          {
            "flags": {
              "collapsed": true
            },
            "id": 9,
            "inputs": [
              {
                "link": 7,
                "localized_name": "a",
                "name": "a",
                "shape": 7,
                "type": "INT,FLOAT"
              },
              {
                "link": null,
                "localized_name": "b",
                "name": "b",
                "shape": 7,
                "type": "INT,FLOAT"
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  4
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              }
            ],
            "pos": [
              829.9998717200663,
              1933.9997188073237
            ],
            "properties": {
              "Node name for S&R": "SimpleMath+",
              "cnr_id": "comfyui_essentials",
              "ver": "1.1.0"
            },
            "size": [
              257.980078125,
              54
            ],
            "title": "Convert Prompt Number to Index",
            "type": "SimpleMath+",
            "widgets_values": [
              "a-1"
            ]
          },
          {
            "flags": {
              "collapsed": true
            },
            "id": 3,
            "inputs": [
              {
                "link": 4,
                "localized_name": "input",
                "name": "input",
                "type": "*"
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [
              {
                "links": [
                  6
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1177.9998019226534,
              1933.9997188073237
            ],
            "properties": {
              "Node name for S&R": "SomethingToString",
              "cnr_id": "comfyui-kjnodes",
              "ver": "c661baadd9683c0033cd2a6ad90157c6d099a6c2"
            },
            "size": [
              210,
              39.6
            ],
            "type": "SomethingToString",
            "widgets_values": [
              "",
              ""
            ]
          },
          {
            "bgcolor": "#653",
            "color": "#432",
            "flags": {},
            "id": 5,
            "inputs": [],
            "mode": 0,
            "order": 1,
            "outputs": [],
            "pos": [
              1741.9996692102889,
              1861.9999291723602
            ],
            "properties": {},
            "size": [
              432,
              1737.9937499999999
            ],
            "type": "MarkdownNote",
            "widgets_values": [
              "# Prompt Selector Regex Pattern\n\n## Pattern\n(?:^(?!\\s*\\*?\\s*$).+$\\n(?:^\\s*\\*?\\s*$\\n)*){0}^(?!\\s*\\*?\\s*$)(.+)$\n\n## Settings\n- mode: \"First Group\"\n- multiline: true\n- dotall: false\n- group_index: 1\n\n## How it works\n\n| Part                      | Meaning                                         |\n|---------------------------|-------------------------------------------------|\n| (?!\\s*\\*?\\s*$)            | Lookahead: line is NOT blank or just *          |\n| ^(?!\\s*\\*?\\s*$).+$        | Match a content line                            |\n| \\n                        | Newline after content                           |\n| (?:^\\s*\\*?\\s*$\\n)*        | Consume zero or more separator lines (blank/*)  |\n| {0}                       | Skip n blocks (replaceable index)               |\n| ^(?!\\s*\\*?\\s*$)(.+)$      | Capture the target prompt                       |\n\n## Index Replacement\nUse Regex Replace with pattern: (?<=\\{)\\d+(?=\\})\n\n## Supported Formats\n\n**Newline only:**\n\ntest1\ntest2\ntest3\n\n**Blank lines:**\n\ntest1\n\n\ntest2\n\n\ntest3\n\n\n**Asterisk separator:**\n\ntest1\n*\ntest2\n*\ntest3\n\n**Asterisk with blanks:**\n\ntest1\n\n*\n\ntest2\n\n*\n\ntest3"
            ]
          },
          {
            "flags": {},
            "id": 1,
            "inputs": [
              {
                "link": 1,
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                }
              },
              {
                "link": 2,
                "localized_name": "regex_pattern",
                "name": "regex_pattern",
                "type": "STRING",
                "widget": {
                  "name": "regex_pattern"
                }
              }
            ],
            "mode": 0,
            "order": 5,
            "outputs": [
              {
                "links": [
                  3,
                  8
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              2197.999852045479,
              1861.9999291723602
            ],
            "properties": {
              "Node name for S&R": "RegexExtract",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              480,
              453.1875
            ],
            "type": "RegexExtract",
            "widgets_values": [
              "",
              "",
              "First Group",
              true,
              true,
              false,
              1
            ]
          },
          {
            "flags": {},
            "id": 2,
            "inputs": [
              {
                "link": 3,
                "localized_name": "source",
                "name": "source",
                "type": "*"
              }
            ],
            "mode": 0,
            "order": 6,
            "outputs": [],
            "pos": [
              2401.999824191367,
              2233.999978646654
            ],
            "properties": {
              "Node name for S&R": "PreviewAny",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              276,
              270
            ],
            "type": "PreviewAny",
            "widgets_values": [
              null,
              null,
              null
            ]
          },
          {
            "flags": {},
            "id": 7,
            "inputs": [
              {
                "link": 9,
                "localized_name": "value",
                "name": "value",
                "type": "STRING",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 7,
            "outputs": [
              {
                "links": [
                  1
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              313.9998641890731,
              2018.0002309549918
            ],
            "properties": {
              "Node name for S&R": "PrimitiveStringMultiline",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              480,
              594
            ],
            "type": "PrimitiveStringMultiline",
            "widgets_values": [
              ""
            ]
          }
        ],
        "outputNode": {
          "bounding": [
            2942,
            2258,
            144,
            72
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "90326b5a-6290-4028-9573-5338419fba1b",
            "linkIds": [
              8
            ],
            "name": "STRING",
            "pos": [
              2470,
              1900
            ],
            "type": "STRING"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 0,
          "lastLinkId": 9,
          "lastNodeId": 9,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      },
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "Vue"
        },
        "groups": [],
        "id": "e3dd2fcb-0e5e-47a8-963b-adea96749eb0",
        "inputNode": {
          "bounding": [
            1538.4162218932536,
            1360.7424319789518,
            120,
            100
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "0cce5c00-af31-4ed7-bc88-4a03f774e6b8",
            "linkIds": [
              3
            ],
            "name": "value",
            "pos": [
              1638.4162218932536,
              1380.7424319789518
            ],
            "type": "STRING"
          },
          {
            "id": "3caab8c6-6b7e-4342-ad7c-f7fd98191c05",
            "label": "image0",
            "linkIds": [
              6,
              8,
              14
            ],
            "localized_name": "images.image0",
            "name": "images.image0",
            "pos": [
              1638.4162218932536,
              1400.7424319789518
            ],
            "type": "IMAGE"
          },
          {
            "id": "d972ea9d-b00c-4f61-bd3a-581b58a66f6b",
            "linkIds": [
              10
            ],
            "localized_name": "aspect_ratio",
            "name": "aspect_ratio",
            "pos": [
              1638.4162218932536,
              1420.7424319789518
            ],
            "type": "COMBO"
          }
        ],
        "links": [
          {
            "id": 11,
            "origin_id": 9,
            "origin_slot": 0,
            "target_id": 8,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 9,
            "origin_id": 3,
            "origin_slot": 0,
            "target_id": 9,
            "target_slot": 2,
            "type": "STRING"
          },
          {
            "id": 3,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 3,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 6,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 8,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 8,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 9,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 10,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 9,
            "target_slot": 3,
            "type": "COMBO"
          },
          {
            "id": 5,
            "origin_id": 9,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 12,
            "origin_id": 3,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 13,
            "origin_id": 8,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 2,
            "type": "IMAGE"
          },
          {
            "id": 14,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 10,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 15,
            "origin_id": 8,
            "origin_slot": 0,
            "target_id": 11,
            "target_slot": 0,
            "type": "IMAGE"
          }
        ],
        "name": "New Subgraph",
        "nodes": [
          {
            "flags": {},
            "id": 3,
            "inputs": [
              {
                "link": 3,
                "name": "value",
                "type": "STRING",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  9,
                  12
                ],
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1754.4160876593255,
              1308.2848083337078
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "proxyWidgets": [
                [
                  "-1",
                  "value"
                ],
                [
                  "6",
                  "value"
                ],
                [
                  "6",
                  "control_after_generate"
                ]
              ],
              "ver": "0.9.2"
            },
            "size": [
              480,
              189
            ],
            "type": "a39f1ec1-8086-4164-97cb-340ed88c8168",
            "widgets_values": [
              ""
            ]
          },
          {
            "flags": {},
            "id": 8,
            "inputs": [
              {
                "label": "image0",
                "link": 6,
                "localized_name": "images.image0",
                "name": "images.image0",
                "type": "IMAGE"
              },
              {
                "label": "image1",
                "link": 11,
                "localized_name": "images.image1",
                "name": "images.image1",
                "type": "IMAGE"
              },
              {
                "label": "image2",
                "link": null,
                "localized_name": "images.image2",
                "name": "images.image2",
                "shape": 7,
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 1,
            "outputs": [
              {
                "links": [
                  13,
                  15
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              2558.000157263878,
              1837.9999033276297
            ],
            "properties": {
              "Node name for S&R": "BatchImagesNode",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              270,
              96
            ],
            "type": "BatchImagesNode",
            "widgets_values": []
          },
          {
            "bgcolor": "#653",
            "color": "#432",
            "flags": {},
            "id": 9,
            "inputs": [
              {
                "link": 8,
                "localized_name": "images",
                "name": "images",
                "shape": 7,
                "type": "IMAGE"
              },
              {
                "link": null,
                "localized_name": "files",
                "name": "files",
                "shape": 7,
                "type": "GEMINI_INPUT_FILES"
              },
              {
                "link": 9,
                "localized_name": "prompt",
                "name": "prompt",
                "type": "STRING",
                "widget": {
                  "name": "prompt"
                }
              },
              {
                "link": 10,
                "localized_name": "aspect_ratio",
                "name": "aspect_ratio",
                "type": "COMBO",
                "widget": {
                  "name": "aspect_ratio"
                }
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  5,
                  7,
                  11
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              },
              {
                "links": null,
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              2354.416334245448,
              1308.2847880697282
            ],
            "properties": {
              "Node name for S&R": "GeminiImage2Node",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              480,
              396.65625
            ],
            "type": "GeminiImage2Node",
            "widgets_values": [
              "",
              "gemini-3-pro-image-preview",
              3,
              "fixed",
              "16:9",
              "2K",
              "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."
            ]
          },
          {
            "flags": {},
            "id": 10,
            "inputs": [
              {
                "link": 14,
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [],
            "pos": [
              2049.9999599404846,
              1700.000095254207
            ],
            "properties": {
              "Node name for S&R": "PreviewImage",
              "cnr_id": "comfy-core",
              "ver": "0.10.0"
            },
            "size": [
              225,
              223.53125
            ],
            "type": "PreviewImage",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 11,
            "inputs": [
              {
                "link": 15,
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [],
            "pos": [
              2869.9998803566987,
              1969.9999250713959
            ],
            "properties": {
              "Node name for S&R": "PreviewImage",
              "cnr_id": "comfy-core",
              "ver": "0.10.0"
            },
            "size": [
              225,
              48
            ],
            "type": "PreviewImage",
            "widgets_values": []
          }
        ],
        "outputNode": {
          "bounding": [
            2906.4161122605633,
            1384.7424319789518,
            120,
            100
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "2a0fa53c-8840-4a6c-89c1-0c26b921407a",
            "linkIds": [
              5
            ],
            "localized_name": "IMAGE",
            "name": "IMAGE",
            "pos": [
              2926.4161122605633,
              1404.7424319789518
            ],
            "type": "IMAGE"
          },
          {
            "id": "0cc3a5b8-24ab-4c53-843e-654df60c7385",
            "linkIds": [
              12
            ],
            "name": "STRING",
            "pos": [
              2926.4161122605633,
              1424.7424319789518
            ],
            "type": "STRING"
          },
          {
            "id": "b257ea65-71bc-40cc-a144-4a3eb1bb05c0",
            "label": "IMAGES",
            "linkIds": [
              13
            ],
            "name": "IMAGE_1",
            "pos": [
              2926.4161122605633,
              1444.7424319789518
            ],
            "type": "IMAGE"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 0,
          "lastLinkId": 15,
          "lastNodeId": 11,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      },
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "Vue"
        },
        "groups": [],
        "id": "a39f1ec1-8086-4164-97cb-340ed88c8168",
        "inputNode": {
          "bounding": [
            90.40727678453659,
            2325.662789361009,
            144,
            72
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "da7d2f59-a52d-4f36-a474-9079e0b97ff1",
            "linkIds": [
              9
            ],
            "name": "value",
            "pos": [
              173.6727306537805,
              1956.3856578008408
            ],
            "type": "STRING"
          }
        ],
        "links": [
          {
            "id": 1,
            "origin_id": 7,
            "origin_slot": 0,
            "target_id": 1,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 2,
            "origin_id": 8,
            "origin_slot": 0,
            "target_id": 1,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 3,
            "origin_id": 1,
            "origin_slot": 0,
            "target_id": 2,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 4,
            "origin_id": 9,
            "origin_slot": 0,
            "target_id": 3,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 6,
            "origin_id": 3,
            "origin_slot": 0,
            "target_id": 8,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 7,
            "origin_id": 6,
            "origin_slot": 0,
            "target_id": 9,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 8,
            "origin_id": 1,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 9,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 7,
            "target_slot": 0,
            "type": "STRING"
          }
        ],
        "name": "Batch Prompt Iterator",
        "nodes": [
          {
            "flags": {},
            "id": 8,
            "inputs": [
              {
                "link": 6,
                "localized_name": "replace",
                "name": "replace",
                "type": "STRING",
                "widget": {
                  "name": "replace"
                }
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [
              {
                "links": [
                  2
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1458.4071265833052,
              1856.462824138249
            ],
            "properties": {
              "Node name for S&R": "RegexReplace",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              270,
              522
            ],
            "type": "RegexReplace",
            "widgets_values": [
              "(?:^(?!\\s*\\*?\\s*$).+$\\n(?:^\\s*\\*?\\s*$\\n)*){0}^(?!\\s*\\*?\\s*$)(.+)$",
              "(?<=\\{)\\d+(?=\\})",
              "",
              true,
              false,
              false,
              0
            ]
          },
          {
            "flags": {},
            "id": 6,
            "inputs": [],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  7
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              }
            ],
            "pos": [
              810.4071259347734,
              2012.4627471341084
            ],
            "properties": {
              "Node name for S&R": "PrimitiveInt",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              355.0875,
              126
            ],
            "title": "Int - Select Prompt Number (not index)",
            "type": "PrimitiveInt",
            "widgets_values": [
              3,
              "fixed"
            ]
          },
          {
            "flags": {
              "collapsed": true
            },
            "id": 9,
            "inputs": [
              {
                "link": 7,
                "localized_name": "a",
                "name": "a",
                "shape": 7,
                "type": "INT,FLOAT"
              },
              {
                "link": null,
                "localized_name": "b",
                "name": "b",
                "shape": 7,
                "type": "INT,FLOAT"
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  4
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              }
            ],
            "pos": [
              829.9998717200663,
              1933.9997188073237
            ],
            "properties": {
              "Node name for S&R": "SimpleMath+",
              "cnr_id": "comfyui_essentials",
              "ver": "1.1.0"
            },
            "size": [
              257.980078125,
              54
            ],
            "title": "Convert Prompt Number to Index",
            "type": "SimpleMath+",
            "widgets_values": [
              "a-1"
            ]
          },
          {
            "flags": {
              "collapsed": true
            },
            "id": 3,
            "inputs": [
              {
                "link": 4,
                "localized_name": "input",
                "name": "input",
                "type": "*"
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [
              {
                "links": [
                  6
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1177.9998019226534,
              1933.9997188073237
            ],
            "properties": {
              "Node name for S&R": "SomethingToString",
              "cnr_id": "comfyui-kjnodes",
              "ver": "c661baadd9683c0033cd2a6ad90157c6d099a6c2"
            },
            "size": [
              210,
              39.6
            ],
            "type": "SomethingToString",
            "widgets_values": [
              "",
              ""
            ]
          },
          {
            "bgcolor": "#653",
            "color": "#432",
            "flags": {},
            "id": 5,
            "inputs": [],
            "mode": 0,
            "order": 1,
            "outputs": [],
            "pos": [
              1741.9996692102889,
              1861.9999291723602
            ],
            "properties": {},
            "size": [
              432,
              1737.9937499999999
            ],
            "type": "MarkdownNote",
            "widgets_values": [
              "# Prompt Selector Regex Pattern\n\n## Pattern\n(?:^(?!\\s*\\*?\\s*$).+$\\n(?:^\\s*\\*?\\s*$\\n)*){0}^(?!\\s*\\*?\\s*$)(.+)$\n\n## Settings\n- mode: \"First Group\"\n- multiline: true\n- dotall: false\n- group_index: 1\n\n## How it works\n\n| Part                      | Meaning                                         |\n|---------------------------|-------------------------------------------------|\n| (?!\\s*\\*?\\s*$)            | Lookahead: line is NOT blank or just *          |\n| ^(?!\\s*\\*?\\s*$).+$        | Match a content line                            |\n| \\n                        | Newline after content                           |\n| (?:^\\s*\\*?\\s*$\\n)*        | Consume zero or more separator lines (blank/*)  |\n| {0}                       | Skip n blocks (replaceable index)               |\n| ^(?!\\s*\\*?\\s*$)(.+)$      | Capture the target prompt                       |\n\n## Index Replacement\nUse Regex Replace with pattern: (?<=\\{)\\d+(?=\\})\n\n## Supported Formats\n\n**Newline only:**\n\ntest1\ntest2\ntest3\n\n**Blank lines:**\n\ntest1\n\n\ntest2\n\n\ntest3\n\n\n**Asterisk separator:**\n\ntest1\n*\ntest2\n*\ntest3\n\n**Asterisk with blanks:**\n\ntest1\n\n*\n\ntest2\n\n*\n\ntest3"
            ]
          },
          {
            "flags": {},
            "id": 1,
            "inputs": [
              {
                "link": 1,
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                }
              },
              {
                "link": 2,
                "localized_name": "regex_pattern",
                "name": "regex_pattern",
                "type": "STRING",
                "widget": {
                  "name": "regex_pattern"
                }
              }
            ],
            "mode": 0,
            "order": 5,
            "outputs": [
              {
                "links": [
                  3,
                  8
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              2197.999852045479,
              1861.9999291723602
            ],
            "properties": {
              "Node name for S&R": "RegexExtract",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              480,
              453.1875
            ],
            "type": "RegexExtract",
            "widgets_values": [
              "",
              "",
              "First Group",
              true,
              true,
              false,
              1
            ]
          },
          {
            "flags": {},
            "id": 2,
            "inputs": [
              {
                "link": 3,
                "localized_name": "source",
                "name": "source",
                "type": "*"
              }
            ],
            "mode": 0,
            "order": 6,
            "outputs": [],
            "pos": [
              2401.999824191367,
              2233.999978646654
            ],
            "properties": {
              "Node name for S&R": "PreviewAny",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              276,
              270
            ],
            "type": "PreviewAny",
            "widgets_values": [
              null,
              null,
              null
            ]
          },
          {
            "flags": {},
            "id": 7,
            "inputs": [
              {
                "link": 9,
                "localized_name": "value",
                "name": "value",
                "type": "STRING",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 7,
            "outputs": [
              {
                "links": [
                  1
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              313.9998641890731,
              2018.0002309549918
            ],
            "properties": {
              "Node name for S&R": "PrimitiveStringMultiline",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              480,
              594
            ],
            "type": "PrimitiveStringMultiline",
            "widgets_values": [
              ""
            ]
          }
        ],
        "outputNode": {
          "bounding": [
            2942,
            2258,
            144,
            72
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "90326b5a-6290-4028-9573-5338419fba1b",
            "linkIds": [
              8
            ],
            "name": "STRING",
            "pos": [
              2470,
              1900
            ],
            "type": "STRING"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 0,
          "lastLinkId": 9,
          "lastNodeId": 9,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      },
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "Vue"
        },
        "groups": [],
        "id": "601fd020-3eba-4b24-b15f-a2a9c0307d3a",
        "inputNode": {
          "bounding": [
            1538.4162218932536,
            1360.7424319789518,
            120,
            100
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "0cce5c00-af31-4ed7-bc88-4a03f774e6b8",
            "linkIds": [
              3
            ],
            "name": "value",
            "pos": [
              1638.4162218932536,
              1380.7424319789518
            ],
            "type": "STRING"
          },
          {
            "id": "3caab8c6-6b7e-4342-ad7c-f7fd98191c05",
            "label": "image0",
            "linkIds": [
              6,
              8
            ],
            "localized_name": "images.image0",
            "name": "images.image0",
            "pos": [
              1638.4162218932536,
              1400.7424319789518
            ],
            "type": "IMAGE"
          },
          {
            "id": "d972ea9d-b00c-4f61-bd3a-581b58a66f6b",
            "linkIds": [
              10
            ],
            "localized_name": "aspect_ratio",
            "name": "aspect_ratio",
            "pos": [
              1638.4162218932536,
              1420.7424319789518
            ],
            "type": "COMBO"
          }
        ],
        "links": [
          {
            "id": 11,
            "origin_id": 9,
            "origin_slot": 0,
            "target_id": 8,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 9,
            "origin_id": 3,
            "origin_slot": 0,
            "target_id": 9,
            "target_slot": 2,
            "type": "STRING"
          },
          {
            "id": 3,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 3,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 6,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 8,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 8,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 9,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 10,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 9,
            "target_slot": 3,
            "type": "COMBO"
          },
          {
            "id": 5,
            "origin_id": 9,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 12,
            "origin_id": 3,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 13,
            "origin_id": 8,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 2,
            "type": "IMAGE"
          }
        ],
        "name": "New Subgraph",
        "nodes": [
          {
            "flags": {},
            "id": 3,
            "inputs": [
              {
                "link": 3,
                "name": "value",
                "type": "STRING",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  9,
                  12
                ],
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1754.4159856553579,
              1308.284711906006
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "proxyWidgets": [
                [
                  "-1",
                  "value"
                ],
                [
                  "6",
                  "value"
                ],
                [
                  "6",
                  "control_after_generate"
                ]
              ],
              "ver": "0.9.2"
            },
            "size": [
              480,
              189
            ],
            "type": "acb845ee-315b-479a-8579-7ad2af961ba0",
            "widgets_values": [
              ""
            ]
          },
          {
            "flags": {},
            "id": 8,
            "inputs": [
              {
                "label": "image0",
                "link": 6,
                "localized_name": "images.image0",
                "name": "images.image0",
                "type": "IMAGE"
              },
              {
                "label": "image1",
                "link": 11,
                "localized_name": "images.image1",
                "name": "images.image1",
                "type": "IMAGE"
              },
              {
                "label": "image2",
                "link": null,
                "localized_name": "images.image2",
                "name": "images.image2",
                "shape": 7,
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 1,
            "outputs": [
              {
                "links": [
                  13
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              2557.99995350925,
              1837.9999714287865
            ],
            "properties": {
              "Node name for S&R": "BatchImagesNode",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              270,
              96
            ],
            "type": "BatchImagesNode",
            "widgets_values": []
          },
          {
            "bgcolor": "#653",
            "color": "#432",
            "flags": {},
            "id": 9,
            "inputs": [
              {
                "link": 8,
                "localized_name": "images",
                "name": "images",
                "shape": 7,
                "type": "IMAGE"
              },
              {
                "link": null,
                "localized_name": "files",
                "name": "files",
                "shape": 7,
                "type": "GEMINI_INPUT_FILES"
              },
              {
                "link": 9,
                "localized_name": "prompt",
                "name": "prompt",
                "type": "STRING",
                "widget": {
                  "name": "prompt"
                }
              },
              {
                "link": 10,
                "localized_name": "aspect_ratio",
                "name": "aspect_ratio",
                "type": "COMBO",
                "widget": {
                  "name": "aspect_ratio"
                }
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  5,
                  7,
                  11
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              },
              {
                "links": null,
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              2354.4161279831555,
              1308.284711906006
            ],
            "properties": {
              "Node name for S&R": "GeminiImage2Node",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              480,
              396.65625
            ],
            "type": "GeminiImage2Node",
            "widgets_values": [
              "",
              "gemini-3-pro-image-preview",
              4,
              "fixed",
              "16:9",
              "2K",
              "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."
            ]
          }
        ],
        "outputNode": {
          "bounding": [
            2906.4161122605633,
            1384.7424319789518,
            120,
            100
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "2a0fa53c-8840-4a6c-89c1-0c26b921407a",
            "linkIds": [
              5
            ],
            "localized_name": "IMAGE",
            "name": "IMAGE",
            "pos": [
              2926.4161122605633,
              1404.7424319789518
            ],
            "type": "IMAGE"
          },
          {
            "id": "0cc3a5b8-24ab-4c53-843e-654df60c7385",
            "linkIds": [
              12
            ],
            "name": "STRING",
            "pos": [
              2926.4161122605633,
              1424.7424319789518
            ],
            "type": "STRING"
          },
          {
            "id": "b257ea65-71bc-40cc-a144-4a3eb1bb05c0",
            "label": "IMAGES",
            "linkIds": [
              13
            ],
            "name": "IMAGE_1",
            "pos": [
              2926.4161122605633,
              1444.7424319789518
            ],
            "type": "IMAGE"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 0,
          "lastLinkId": 13,
          "lastNodeId": 9,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      },
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "Vue"
        },
        "groups": [],
        "id": "eaabb89a-2cd6-4960-ad44-1b152bff77c1",
        "inputNode": {
          "bounding": [
            1538.4162218932536,
            1360.7424319789518,
            120,
            100
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "0cce5c00-af31-4ed7-bc88-4a03f774e6b8",
            "linkIds": [
              3
            ],
            "name": "value",
            "pos": [
              1638.4162218932536,
              1380.7424319789518
            ],
            "type": "STRING"
          },
          {
            "id": "3caab8c6-6b7e-4342-ad7c-f7fd98191c05",
            "label": "image0",
            "linkIds": [
              6,
              8,
              14
            ],
            "localized_name": "images.image0",
            "name": "images.image0",
            "pos": [
              1638.4162218932536,
              1400.7424319789518
            ],
            "type": "IMAGE"
          },
          {
            "id": "d972ea9d-b00c-4f61-bd3a-581b58a66f6b",
            "linkIds": [
              10
            ],
            "localized_name": "aspect_ratio",
            "name": "aspect_ratio",
            "pos": [
              1638.4162218932536,
              1420.7424319789518
            ],
            "type": "COMBO"
          }
        ],
        "links": [
          {
            "id": 11,
            "origin_id": 9,
            "origin_slot": 0,
            "target_id": 8,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 9,
            "origin_id": 3,
            "origin_slot": 0,
            "target_id": 9,
            "target_slot": 2,
            "type": "STRING"
          },
          {
            "id": 3,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 3,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 6,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 8,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 8,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 9,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 10,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 9,
            "target_slot": 3,
            "type": "COMBO"
          },
          {
            "id": 5,
            "origin_id": 9,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 12,
            "origin_id": 3,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 13,
            "origin_id": 8,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 2,
            "type": "IMAGE"
          },
          {
            "id": 14,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 10,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 15,
            "origin_id": 8,
            "origin_slot": 0,
            "target_id": 11,
            "target_slot": 0,
            "type": "IMAGE"
          }
        ],
        "name": "New Subgraph",
        "nodes": [
          {
            "flags": {},
            "id": 3,
            "inputs": [
              {
                "link": 3,
                "name": "value",
                "type": "STRING",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  9,
                  12
                ],
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1754.4159025945255,
              1308.2848074283156
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "proxyWidgets": [
                [
                  "-1",
                  "value"
                ],
                [
                  "6",
                  "value"
                ],
                [
                  "6",
                  "control_after_generate"
                ]
              ],
              "ver": "0.9.2"
            },
            "size": [
              480,
              189
            ],
            "type": "4682df2b-bfbf-4fc5-8bfb-a6eb6aaea892",
            "widgets_values": [
              ""
            ]
          },
          {
            "flags": {},
            "id": 8,
            "inputs": [
              {
                "label": "image0",
                "link": 6,
                "localized_name": "images.image0",
                "name": "images.image0",
                "type": "IMAGE"
              },
              {
                "label": "image1",
                "link": 11,
                "localized_name": "images.image1",
                "name": "images.image1",
                "type": "IMAGE"
              },
              {
                "label": "image2",
                "link": null,
                "localized_name": "images.image2",
                "name": "images.image2",
                "shape": 7,
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 1,
            "outputs": [
              {
                "links": [
                  13,
                  15
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              2557.999928946322,
              1837.999979410667
            ],
            "properties": {
              "Node name for S&R": "BatchImagesNode",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              270,
              96
            ],
            "type": "BatchImagesNode",
            "widgets_values": []
          },
          {
            "bgcolor": "#653",
            "color": "#432",
            "flags": {},
            "id": 9,
            "inputs": [
              {
                "link": 8,
                "localized_name": "images",
                "name": "images",
                "shape": 7,
                "type": "IMAGE"
              },
              {
                "link": null,
                "localized_name": "files",
                "name": "files",
                "shape": 7,
                "type": "GEMINI_INPUT_FILES"
              },
              {
                "link": 9,
                "localized_name": "prompt",
                "name": "prompt",
                "type": "STRING",
                "widget": {
                  "name": "prompt"
                }
              },
              {
                "link": 10,
                "localized_name": "aspect_ratio",
                "name": "aspect_ratio",
                "type": "COMBO",
                "widget": {
                  "name": "aspect_ratio"
                }
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  5,
                  7,
                  11
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              },
              {
                "links": null,
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              2354.4159952941054,
              1308.2847967155744
            ],
            "properties": {
              "Node name for S&R": "GeminiImage2Node",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              480,
              396.65625
            ],
            "type": "GeminiImage2Node",
            "widgets_values": [
              "",
              "gemini-3-pro-image-preview",
              5,
              "fixed",
              "16:9",
              "2K",
              "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."
            ]
          },
          {
            "flags": {},
            "id": 10,
            "inputs": [
              {
                "link": 14,
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [],
            "pos": [
              2049.999731660014,
              1700.0001132450197
            ],
            "properties": {
              "Node name for S&R": "PreviewImage",
              "cnr_id": "comfy-core",
              "ver": "0.10.0"
            },
            "size": [
              225,
              188
            ],
            "type": "PreviewImage",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 11,
            "inputs": [
              {
                "link": 15,
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [],
            "pos": [
              2869.999971340255,
              1970.0000238831735
            ],
            "properties": {
              "Node name for S&R": "PreviewImage",
              "cnr_id": "comfy-core",
              "ver": "0.10.0"
            },
            "size": [
              225,
              188
            ],
            "type": "PreviewImage",
            "widgets_values": []
          }
        ],
        "outputNode": {
          "bounding": [
            2906.4161122605633,
            1384.7424319789518,
            120,
            100
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "2a0fa53c-8840-4a6c-89c1-0c26b921407a",
            "linkIds": [
              5
            ],
            "localized_name": "IMAGE",
            "name": "IMAGE",
            "pos": [
              2926.4161122605633,
              1404.7424319789518
            ],
            "type": "IMAGE"
          },
          {
            "id": "0cc3a5b8-24ab-4c53-843e-654df60c7385",
            "linkIds": [
              12
            ],
            "name": "STRING",
            "pos": [
              2926.4161122605633,
              1424.7424319789518
            ],
            "type": "STRING"
          },
          {
            "id": "b257ea65-71bc-40cc-a144-4a3eb1bb05c0",
            "label": "IMAGES",
            "linkIds": [
              13
            ],
            "name": "IMAGE_1",
            "pos": [
              2926.4161122605633,
              1444.7424319789518
            ],
            "type": "IMAGE"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 0,
          "lastLinkId": 15,
          "lastNodeId": 11,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      },
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "Vue"
        },
        "groups": [],
        "id": "86a340d1-ba23-44b6-8470-6b3d64167d65",
        "inputNode": {
          "bounding": [
            1538.4162218932536,
            1360.7424319789518,
            120,
            100
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "0cce5c00-af31-4ed7-bc88-4a03f774e6b8",
            "linkIds": [
              3
            ],
            "name": "value",
            "pos": [
              1638.4162218932536,
              1380.7424319789518
            ],
            "type": "STRING"
          },
          {
            "id": "3caab8c6-6b7e-4342-ad7c-f7fd98191c05",
            "label": "image0",
            "linkIds": [
              6,
              8
            ],
            "localized_name": "images.image0",
            "name": "images.image0",
            "pos": [
              1638.4162218932536,
              1400.7424319789518
            ],
            "type": "IMAGE"
          },
          {
            "id": "d972ea9d-b00c-4f61-bd3a-581b58a66f6b",
            "linkIds": [
              10
            ],
            "localized_name": "aspect_ratio",
            "name": "aspect_ratio",
            "pos": [
              1638.4162218932536,
              1420.7424319789518
            ],
            "type": "COMBO"
          }
        ],
        "links": [
          {
            "id": 11,
            "origin_id": 9,
            "origin_slot": 0,
            "target_id": 8,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 9,
            "origin_id": 3,
            "origin_slot": 0,
            "target_id": 9,
            "target_slot": 2,
            "type": "STRING"
          },
          {
            "id": 3,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 3,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 6,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 8,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 8,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 9,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 10,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 9,
            "target_slot": 3,
            "type": "COMBO"
          },
          {
            "id": 5,
            "origin_id": 9,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 12,
            "origin_id": 3,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 13,
            "origin_id": 8,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 2,
            "type": "IMAGE"
          },
          {
            "id": 15,
            "origin_id": 8,
            "origin_slot": 0,
            "target_id": 11,
            "target_slot": 0,
            "type": "IMAGE"
          }
        ],
        "name": "New Subgraph",
        "nodes": [
          {
            "flags": {},
            "id": 3,
            "inputs": [
              {
                "link": 3,
                "name": "value",
                "type": "STRING",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  9,
                  12
                ],
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1754.4159293737875,
              1308.2847679959984
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "proxyWidgets": [
                [
                  "-1",
                  "value"
                ],
                [
                  "6",
                  "value"
                ],
                [
                  "6",
                  "control_after_generate"
                ]
              ],
              "ver": "0.9.2"
            },
            "size": [
              480,
              189
            ],
            "type": "e5719f6e-fb77-48b8-ba45-c60901a55fe7",
            "widgets_values": [
              ""
            ]
          },
          {
            "flags": {},
            "id": 8,
            "inputs": [
              {
                "label": "image0",
                "link": 6,
                "localized_name": "images.image0",
                "name": "images.image0",
                "type": "IMAGE"
              },
              {
                "label": "image1",
                "link": 11,
                "localized_name": "images.image1",
                "name": "images.image1",
                "type": "IMAGE"
              },
              {
                "label": "image2",
                "link": null,
                "localized_name": "images.image2",
                "name": "images.image2",
                "shape": 7,
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 1,
            "outputs": [
              {
                "links": [
                  13,
                  15
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              }
            ],
            "pos": [
              2558.0001153652784,
              1837.9999940823955
            ],
            "properties": {
              "Node name for S&R": "BatchImagesNode",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              270,
              96
            ],
            "type": "BatchImagesNode",
            "widgets_values": []
          },
          {
            "bgcolor": "#653",
            "color": "#432",
            "flags": {},
            "id": 9,
            "inputs": [
              {
                "link": 8,
                "localized_name": "images",
                "name": "images",
                "shape": 7,
                "type": "IMAGE"
              },
              {
                "link": null,
                "localized_name": "files",
                "name": "files",
                "shape": 7,
                "type": "GEMINI_INPUT_FILES"
              },
              {
                "link": 9,
                "localized_name": "prompt",
                "name": "prompt",
                "type": "STRING",
                "widget": {
                  "name": "prompt"
                }
              },
              {
                "link": 10,
                "localized_name": "aspect_ratio",
                "name": "aspect_ratio",
                "type": "COMBO",
                "widget": {
                  "name": "aspect_ratio"
                }
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  5,
                  7,
                  11
                ],
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE"
              },
              {
                "links": null,
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              2354.4161175789723,
              1308.2847679959984
            ],
            "properties": {
              "Node name for S&R": "GeminiImage2Node",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              480,
              396.65625
            ],
            "type": "GeminiImage2Node",
            "widgets_values": [
              "",
              "gemini-3-pro-image-preview",
              6,
              "fixed",
              "16:9",
              "2K",
              "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."
            ]
          },
          {
            "flags": {},
            "id": 11,
            "inputs": [
              {
                "link": 15,
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [],
            "pos": [
              2869.99992505472,
              1970.0000266657835
            ],
            "properties": {
              "Node name for S&R": "PreviewImage",
              "cnr_id": "comfy-core",
              "ver": "0.10.0"
            },
            "size": [
              225,
              48
            ],
            "type": "PreviewImage",
            "widgets_values": []
          }
        ],
        "outputNode": {
          "bounding": [
            2906.4161122605633,
            1384.7424319789518,
            120,
            100
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "2a0fa53c-8840-4a6c-89c1-0c26b921407a",
            "linkIds": [
              5
            ],
            "localized_name": "IMAGE",
            "name": "IMAGE",
            "pos": [
              2926.4161122605633,
              1404.7424319789518
            ],
            "type": "IMAGE"
          },
          {
            "id": "0cc3a5b8-24ab-4c53-843e-654df60c7385",
            "linkIds": [
              12
            ],
            "name": "STRING",
            "pos": [
              2926.4161122605633,
              1424.7424319789518
            ],
            "type": "STRING"
          },
          {
            "id": "b257ea65-71bc-40cc-a144-4a3eb1bb05c0",
            "label": "IMAGES",
            "linkIds": [
              13
            ],
            "name": "IMAGE_1",
            "pos": [
              2926.4161122605633,
              1444.7424319789518
            ],
            "type": "IMAGE"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 0,
          "lastLinkId": 15,
          "lastNodeId": 11,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      },
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "Vue"
        },
        "groups": [],
        "id": "acb845ee-315b-479a-8579-7ad2af961ba0",
        "inputNode": {
          "bounding": [
            90.40727678453659,
            2325.662789361009,
            144,
            72
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "da7d2f59-a52d-4f36-a474-9079e0b97ff1",
            "linkIds": [
              9
            ],
            "name": "value",
            "pos": [
              173.6727306537805,
              1956.3856578008408
            ],
            "type": "STRING"
          }
        ],
        "links": [
          {
            "id": 1,
            "origin_id": 7,
            "origin_slot": 0,
            "target_id": 1,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 2,
            "origin_id": 8,
            "origin_slot": 0,
            "target_id": 1,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 3,
            "origin_id": 1,
            "origin_slot": 0,
            "target_id": 2,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 4,
            "origin_id": 9,
            "origin_slot": 0,
            "target_id": 3,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 6,
            "origin_id": 3,
            "origin_slot": 0,
            "target_id": 8,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 7,
            "origin_id": 6,
            "origin_slot": 0,
            "target_id": 9,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 8,
            "origin_id": 1,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 9,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 7,
            "target_slot": 0,
            "type": "STRING"
          }
        ],
        "name": "Batch Prompt Iterator",
        "nodes": [
          {
            "flags": {},
            "id": 8,
            "inputs": [
              {
                "link": 6,
                "localized_name": "replace",
                "name": "replace",
                "type": "STRING",
                "widget": {
                  "name": "replace"
                }
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [
              {
                "links": [
                  2
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1458.4071265833052,
              1856.462824138249
            ],
            "properties": {
              "Node name for S&R": "RegexReplace",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              270,
              522
            ],
            "type": "RegexReplace",
            "widgets_values": [
              "(?:^(?!\\s*\\*?\\s*$).+$\\n(?:^\\s*\\*?\\s*$\\n)*){0}^(?!\\s*\\*?\\s*$)(.+)$",
              "(?<=\\{)\\d+(?=\\})",
              "",
              true,
              false,
              false,
              0
            ]
          },
          {
            "flags": {},
            "id": 6,
            "inputs": [],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  7
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              }
            ],
            "pos": [
              810.4071259347734,
              2012.4627471341084
            ],
            "properties": {
              "Node name for S&R": "PrimitiveInt",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              355.0875,
              126
            ],
            "title": "Int - Select Prompt Number (not index)",
            "type": "PrimitiveInt",
            "widgets_values": [
              4,
              "fixed"
            ]
          },
          {
            "flags": {
              "collapsed": true
            },
            "id": 9,
            "inputs": [
              {
                "link": 7,
                "localized_name": "a",
                "name": "a",
                "shape": 7,
                "type": "INT,FLOAT"
              },
              {
                "link": null,
                "localized_name": "b",
                "name": "b",
                "shape": 7,
                "type": "INT,FLOAT"
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  4
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              }
            ],
            "pos": [
              829.9998717200663,
              1933.9997188073237
            ],
            "properties": {
              "Node name for S&R": "SimpleMath+",
              "cnr_id": "comfyui_essentials",
              "ver": "1.1.0"
            },
            "size": [
              257.980078125,
              54
            ],
            "title": "Convert Prompt Number to Index",
            "type": "SimpleMath+",
            "widgets_values": [
              "a-1"
            ]
          },
          {
            "flags": {
              "collapsed": true
            },
            "id": 3,
            "inputs": [
              {
                "link": 4,
                "localized_name": "input",
                "name": "input",
                "type": "*"
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [
              {
                "links": [
                  6
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1177.9998019226534,
              1933.9997188073237
            ],
            "properties": {
              "Node name for S&R": "SomethingToString",
              "cnr_id": "comfyui-kjnodes",
              "ver": "c661baadd9683c0033cd2a6ad90157c6d099a6c2"
            },
            "size": [
              210,
              39.6
            ],
            "type": "SomethingToString",
            "widgets_values": [
              "",
              ""
            ]
          },
          {
            "bgcolor": "#653",
            "color": "#432",
            "flags": {},
            "id": 5,
            "inputs": [],
            "mode": 0,
            "order": 1,
            "outputs": [],
            "pos": [
              1741.9996692102889,
              1861.9999291723602
            ],
            "properties": {},
            "size": [
              432,
              1737.9937499999999
            ],
            "type": "MarkdownNote",
            "widgets_values": [
              "# Prompt Selector Regex Pattern\n\n## Pattern\n(?:^(?!\\s*\\*?\\s*$).+$\\n(?:^\\s*\\*?\\s*$\\n)*){0}^(?!\\s*\\*?\\s*$)(.+)$\n\n## Settings\n- mode: \"First Group\"\n- multiline: true\n- dotall: false\n- group_index: 1\n\n## How it works\n\n| Part                      | Meaning                                         |\n|---------------------------|-------------------------------------------------|\n| (?!\\s*\\*?\\s*$)            | Lookahead: line is NOT blank or just *          |\n| ^(?!\\s*\\*?\\s*$).+$        | Match a content line                            |\n| \\n                        | Newline after content                           |\n| (?:^\\s*\\*?\\s*$\\n)*        | Consume zero or more separator lines (blank/*)  |\n| {0}                       | Skip n blocks (replaceable index)               |\n| ^(?!\\s*\\*?\\s*$)(.+)$      | Capture the target prompt                       |\n\n## Index Replacement\nUse Regex Replace with pattern: (?<=\\{)\\d+(?=\\})\n\n## Supported Formats\n\n**Newline only:**\n\ntest1\ntest2\ntest3\n\n**Blank lines:**\n\ntest1\n\n\ntest2\n\n\ntest3\n\n\n**Asterisk separator:**\n\ntest1\n*\ntest2\n*\ntest3\n\n**Asterisk with blanks:**\n\ntest1\n\n*\n\ntest2\n\n*\n\ntest3"
            ]
          },
          {
            "flags": {},
            "id": 1,
            "inputs": [
              {
                "link": 1,
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                }
              },
              {
                "link": 2,
                "localized_name": "regex_pattern",
                "name": "regex_pattern",
                "type": "STRING",
                "widget": {
                  "name": "regex_pattern"
                }
              }
            ],
            "mode": 0,
            "order": 5,
            "outputs": [
              {
                "links": [
                  3,
                  8
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              2197.999852045479,
              1861.9999291723602
            ],
            "properties": {
              "Node name for S&R": "RegexExtract",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              480,
              453.1875
            ],
            "type": "RegexExtract",
            "widgets_values": [
              "",
              "",
              "First Group",
              true,
              true,
              false,
              1
            ]
          },
          {
            "flags": {},
            "id": 2,
            "inputs": [
              {
                "link": 3,
                "localized_name": "source",
                "name": "source",
                "type": "*"
              }
            ],
            "mode": 0,
            "order": 6,
            "outputs": [],
            "pos": [
              2401.999824191367,
              2233.999978646654
            ],
            "properties": {
              "Node name for S&R": "PreviewAny",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              276,
              270
            ],
            "type": "PreviewAny",
            "widgets_values": [
              null,
              null,
              null
            ]
          },
          {
            "flags": {},
            "id": 7,
            "inputs": [
              {
                "link": 9,
                "localized_name": "value",
                "name": "value",
                "type": "STRING",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 7,
            "outputs": [
              {
                "links": [
                  1
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              313.9998641890731,
              2018.0002309549918
            ],
            "properties": {
              "Node name for S&R": "PrimitiveStringMultiline",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              480,
              594
            ],
            "type": "PrimitiveStringMultiline",
            "widgets_values": [
              ""
            ]
          }
        ],
        "outputNode": {
          "bounding": [
            2942,
            2258,
            144,
            72
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "90326b5a-6290-4028-9573-5338419fba1b",
            "linkIds": [
              8
            ],
            "name": "STRING",
            "pos": [
              2470,
              1900
            ],
            "type": "STRING"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 0,
          "lastLinkId": 9,
          "lastNodeId": 9,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      },
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "Vue"
        },
        "groups": [],
        "id": "4682df2b-bfbf-4fc5-8bfb-a6eb6aaea892",
        "inputNode": {
          "bounding": [
            90.40727678453659,
            2325.662789361009,
            144,
            72
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "da7d2f59-a52d-4f36-a474-9079e0b97ff1",
            "linkIds": [
              9
            ],
            "name": "value",
            "pos": [
              173.6727306537805,
              1956.3856578008408
            ],
            "type": "STRING"
          }
        ],
        "links": [
          {
            "id": 1,
            "origin_id": 7,
            "origin_slot": 0,
            "target_id": 1,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 2,
            "origin_id": 8,
            "origin_slot": 0,
            "target_id": 1,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 3,
            "origin_id": 1,
            "origin_slot": 0,
            "target_id": 2,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 4,
            "origin_id": 9,
            "origin_slot": 0,
            "target_id": 3,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 6,
            "origin_id": 3,
            "origin_slot": 0,
            "target_id": 8,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 7,
            "origin_id": 6,
            "origin_slot": 0,
            "target_id": 9,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 8,
            "origin_id": 1,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 9,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 7,
            "target_slot": 0,
            "type": "STRING"
          }
        ],
        "name": "Batch Prompt Iterator",
        "nodes": [
          {
            "flags": {},
            "id": 8,
            "inputs": [
              {
                "link": 6,
                "localized_name": "replace",
                "name": "replace",
                "type": "STRING",
                "widget": {
                  "name": "replace"
                }
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [
              {
                "links": [
                  2
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1458.4071265833052,
              1856.462824138249
            ],
            "properties": {
              "Node name for S&R": "RegexReplace",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              270,
              522
            ],
            "type": "RegexReplace",
            "widgets_values": [
              "(?:^(?!\\s*\\*?\\s*$).+$\\n(?:^\\s*\\*?\\s*$\\n)*){0}^(?!\\s*\\*?\\s*$)(.+)$",
              "(?<=\\{)\\d+(?=\\})",
              "",
              true,
              false,
              false,
              0
            ]
          },
          {
            "flags": {},
            "id": 6,
            "inputs": [],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  7
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              }
            ],
            "pos": [
              810.4071259347734,
              2012.4627471341084
            ],
            "properties": {
              "Node name for S&R": "PrimitiveInt",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              355.0875,
              126
            ],
            "title": "Int - Select Prompt Number (not index)",
            "type": "PrimitiveInt",
            "widgets_values": [
              5,
              "fixed"
            ]
          },
          {
            "flags": {
              "collapsed": true
            },
            "id": 9,
            "inputs": [
              {
                "link": 7,
                "localized_name": "a",
                "name": "a",
                "shape": 7,
                "type": "INT,FLOAT"
              },
              {
                "link": null,
                "localized_name": "b",
                "name": "b",
                "shape": 7,
                "type": "INT,FLOAT"
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  4
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              }
            ],
            "pos": [
              829.9998717200663,
              1933.9997188073237
            ],
            "properties": {
              "Node name for S&R": "SimpleMath+",
              "cnr_id": "comfyui_essentials",
              "ver": "1.1.0"
            },
            "size": [
              257.980078125,
              54
            ],
            "title": "Convert Prompt Number to Index",
            "type": "SimpleMath+",
            "widgets_values": [
              "a-1"
            ]
          },
          {
            "flags": {
              "collapsed": true
            },
            "id": 3,
            "inputs": [
              {
                "link": 4,
                "localized_name": "input",
                "name": "input",
                "type": "*"
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [
              {
                "links": [
                  6
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1177.9998019226534,
              1933.9997188073237
            ],
            "properties": {
              "Node name for S&R": "SomethingToString",
              "cnr_id": "comfyui-kjnodes",
              "ver": "c661baadd9683c0033cd2a6ad90157c6d099a6c2"
            },
            "size": [
              210,
              39.6
            ],
            "type": "SomethingToString",
            "widgets_values": [
              "",
              ""
            ]
          },
          {
            "bgcolor": "#653",
            "color": "#432",
            "flags": {},
            "id": 5,
            "inputs": [],
            "mode": 0,
            "order": 1,
            "outputs": [],
            "pos": [
              1741.9996692102889,
              1861.9999291723602
            ],
            "properties": {},
            "size": [
              432,
              1737.9937499999999
            ],
            "type": "MarkdownNote",
            "widgets_values": [
              "# Prompt Selector Regex Pattern\n\n## Pattern\n(?:^(?!\\s*\\*?\\s*$).+$\\n(?:^\\s*\\*?\\s*$\\n)*){0}^(?!\\s*\\*?\\s*$)(.+)$\n\n## Settings\n- mode: \"First Group\"\n- multiline: true\n- dotall: false\n- group_index: 1\n\n## How it works\n\n| Part                      | Meaning                                         |\n|---------------------------|-------------------------------------------------|\n| (?!\\s*\\*?\\s*$)            | Lookahead: line is NOT blank or just *          |\n| ^(?!\\s*\\*?\\s*$).+$        | Match a content line                            |\n| \\n                        | Newline after content                           |\n| (?:^\\s*\\*?\\s*$\\n)*        | Consume zero or more separator lines (blank/*)  |\n| {0}                       | Skip n blocks (replaceable index)               |\n| ^(?!\\s*\\*?\\s*$)(.+)$      | Capture the target prompt                       |\n\n## Index Replacement\nUse Regex Replace with pattern: (?<=\\{)\\d+(?=\\})\n\n## Supported Formats\n\n**Newline only:**\n\ntest1\ntest2\ntest3\n\n**Blank lines:**\n\ntest1\n\n\ntest2\n\n\ntest3\n\n\n**Asterisk separator:**\n\ntest1\n*\ntest2\n*\ntest3\n\n**Asterisk with blanks:**\n\ntest1\n\n*\n\ntest2\n\n*\n\ntest3"
            ]
          },
          {
            "flags": {},
            "id": 1,
            "inputs": [
              {
                "link": 1,
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                }
              },
              {
                "link": 2,
                "localized_name": "regex_pattern",
                "name": "regex_pattern",
                "type": "STRING",
                "widget": {
                  "name": "regex_pattern"
                }
              }
            ],
            "mode": 0,
            "order": 5,
            "outputs": [
              {
                "links": [
                  3,
                  8
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              2197.999852045479,
              1861.9999291723602
            ],
            "properties": {
              "Node name for S&R": "RegexExtract",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              480,
              453.1875
            ],
            "type": "RegexExtract",
            "widgets_values": [
              "",
              "",
              "First Group",
              true,
              true,
              false,
              1
            ]
          },
          {
            "flags": {},
            "id": 2,
            "inputs": [
              {
                "link": 3,
                "localized_name": "source",
                "name": "source",
                "type": "*"
              }
            ],
            "mode": 0,
            "order": 6,
            "outputs": [],
            "pos": [
              2401.999824191367,
              2233.999978646654
            ],
            "properties": {
              "Node name for S&R": "PreviewAny",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              276,
              270
            ],
            "type": "PreviewAny",
            "widgets_values": [
              null,
              null,
              null
            ]
          },
          {
            "flags": {},
            "id": 7,
            "inputs": [
              {
                "link": 9,
                "localized_name": "value",
                "name": "value",
                "type": "STRING",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 7,
            "outputs": [
              {
                "links": [
                  1
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              313.9998641890731,
              2018.0002309549918
            ],
            "properties": {
              "Node name for S&R": "PrimitiveStringMultiline",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              480,
              594
            ],
            "type": "PrimitiveStringMultiline",
            "widgets_values": [
              ""
            ]
          }
        ],
        "outputNode": {
          "bounding": [
            2942,
            2258,
            144,
            72
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "90326b5a-6290-4028-9573-5338419fba1b",
            "linkIds": [
              8
            ],
            "name": "STRING",
            "pos": [
              2470,
              1900
            ],
            "type": "STRING"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 0,
          "lastLinkId": 9,
          "lastNodeId": 9,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      },
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "Vue"
        },
        "groups": [],
        "id": "e5719f6e-fb77-48b8-ba45-c60901a55fe7",
        "inputNode": {
          "bounding": [
            90.40727678453659,
            2325.662789361009,
            144,
            72
          ],
          "id": -10
        },
        "inputs": [
          {
            "id": "da7d2f59-a52d-4f36-a474-9079e0b97ff1",
            "linkIds": [
              9
            ],
            "name": "value",
            "pos": [
              173.6727306537805,
              1956.3856578008408
            ],
            "type": "STRING"
          }
        ],
        "links": [
          {
            "id": 1,
            "origin_id": 7,
            "origin_slot": 0,
            "target_id": 1,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 2,
            "origin_id": 8,
            "origin_slot": 0,
            "target_id": 1,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 3,
            "origin_id": 1,
            "origin_slot": 0,
            "target_id": 2,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 4,
            "origin_id": 9,
            "origin_slot": 0,
            "target_id": 3,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 6,
            "origin_id": 3,
            "origin_slot": 0,
            "target_id": 8,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 7,
            "origin_id": 6,
            "origin_slot": 0,
            "target_id": 9,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 8,
            "origin_id": 1,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 9,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 7,
            "target_slot": 0,
            "type": "STRING"
          }
        ],
        "name": "Batch Prompt Iterator",
        "nodes": [
          {
            "flags": {},
            "id": 8,
            "inputs": [
              {
                "link": 6,
                "localized_name": "replace",
                "name": "replace",
                "type": "STRING",
                "widget": {
                  "name": "replace"
                }
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [
              {
                "links": [
                  2
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1458.4071265833052,
              1856.462824138249
            ],
            "properties": {
              "Node name for S&R": "RegexReplace",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              270,
              522
            ],
            "type": "RegexReplace",
            "widgets_values": [
              "(?:^(?!\\s*\\*?\\s*$).+$\\n(?:^\\s*\\*?\\s*$\\n)*){0}^(?!\\s*\\*?\\s*$)(.+)$",
              "(?<=\\{)\\d+(?=\\})",
              "",
              true,
              false,
              false,
              0
            ]
          },
          {
            "flags": {},
            "id": 6,
            "inputs": [],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  7
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              }
            ],
            "pos": [
              810.4071259347734,
              2012.4627471341084
            ],
            "properties": {
              "Node name for S&R": "PrimitiveInt",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              355.0875,
              126
            ],
            "title": "Int - Select Prompt Number (not index)",
            "type": "PrimitiveInt",
            "widgets_values": [
              6,
              "fixed"
            ]
          },
          {
            "flags": {
              "collapsed": true
            },
            "id": 9,
            "inputs": [
              {
                "link": 7,
                "localized_name": "a",
                "name": "a",
                "shape": 7,
                "type": "INT,FLOAT"
              },
              {
                "link": null,
                "localized_name": "b",
                "name": "b",
                "shape": 7,
                "type": "INT,FLOAT"
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  4
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              }
            ],
            "pos": [
              829.9998717200663,
              1933.9997188073237
            ],
            "properties": {
              "Node name for S&R": "SimpleMath+",
              "cnr_id": "comfyui_essentials",
              "ver": "1.1.0"
            },
            "size": [
              257.980078125,
              54
            ],
            "title": "Convert Prompt Number to Index",
            "type": "SimpleMath+",
            "widgets_values": [
              "a-1"
            ]
          },
          {
            "flags": {
              "collapsed": true
            },
            "id": 3,
            "inputs": [
              {
                "link": 4,
                "localized_name": "input",
                "name": "input",
                "type": "*"
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [
              {
                "links": [
                  6
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1177.9998019226534,
              1933.9997188073237
            ],
            "properties": {
              "Node name for S&R": "SomethingToString",
              "cnr_id": "comfyui-kjnodes",
              "ver": "c661baadd9683c0033cd2a6ad90157c6d099a6c2"
            },
            "size": [
              210,
              39.6
            ],
            "type": "SomethingToString",
            "widgets_values": [
              "",
              ""
            ]
          },
          {
            "bgcolor": "#653",
            "color": "#432",
            "flags": {},
            "id": 5,
            "inputs": [],
            "mode": 0,
            "order": 1,
            "outputs": [],
            "pos": [
              1741.9996692102889,
              1861.9999291723602
            ],
            "properties": {},
            "size": [
              432,
              1737.9937499999999
            ],
            "type": "MarkdownNote",
            "widgets_values": [
              "# Prompt Selector Regex Pattern\n\n## Pattern\n(?:^(?!\\s*\\*?\\s*$).+$\\n(?:^\\s*\\*?\\s*$\\n)*){0}^(?!\\s*\\*?\\s*$)(.+)$\n\n## Settings\n- mode: \"First Group\"\n- multiline: true\n- dotall: false\n- group_index: 1\n\n## How it works\n\n| Part                      | Meaning                                         |\n|---------------------------|-------------------------------------------------|\n| (?!\\s*\\*?\\s*$)            | Lookahead: line is NOT blank or just *          |\n| ^(?!\\s*\\*?\\s*$).+$        | Match a content line                            |\n| \\n                        | Newline after content                           |\n| (?:^\\s*\\*?\\s*$\\n)*        | Consume zero or more separator lines (blank/*)  |\n| {0}                       | Skip n blocks (replaceable index)               |\n| ^(?!\\s*\\*?\\s*$)(.+)$      | Capture the target prompt                       |\n\n## Index Replacement\nUse Regex Replace with pattern: (?<=\\{)\\d+(?=\\})\n\n## Supported Formats\n\n**Newline only:**\n\ntest1\ntest2\ntest3\n\n**Blank lines:**\n\ntest1\n\n\ntest2\n\n\ntest3\n\n\n**Asterisk separator:**\n\ntest1\n*\ntest2\n*\ntest3\n\n**Asterisk with blanks:**\n\ntest1\n\n*\n\ntest2\n\n*\n\ntest3"
            ]
          },
          {
            "flags": {},
            "id": 1,
            "inputs": [
              {
                "link": 1,
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                }
              },
              {
                "link": 2,
                "localized_name": "regex_pattern",
                "name": "regex_pattern",
                "type": "STRING",
                "widget": {
                  "name": "regex_pattern"
                }
              }
            ],
            "mode": 0,
            "order": 5,
            "outputs": [
              {
                "links": [
                  3,
                  8
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              2197.999852045479,
              1861.9999291723602
            ],
            "properties": {
              "Node name for S&R": "RegexExtract",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              480,
              453.1875
            ],
            "type": "RegexExtract",
            "widgets_values": [
              "",
              "",
              "First Group",
              true,
              true,
              false,
              1
            ]
          },
          {
            "flags": {},
            "id": 2,
            "inputs": [
              {
                "link": 3,
                "localized_name": "source",
                "name": "source",
                "type": "*"
              }
            ],
            "mode": 0,
            "order": 6,
            "outputs": [],
            "pos": [
              2401.999824191367,
              2233.999978646654
            ],
            "properties": {
              "Node name for S&R": "PreviewAny",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              276,
              270
            ],
            "type": "PreviewAny",
            "widgets_values": [
              null,
              null,
              null
            ]
          },
          {
            "flags": {},
            "id": 7,
            "inputs": [
              {
                "link": 9,
                "localized_name": "value",
                "name": "value",
                "type": "STRING",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 7,
            "outputs": [
              {
                "links": [
                  1
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              313.9998641890731,
              2018.0002309549918
            ],
            "properties": {
              "Node name for S&R": "PrimitiveStringMultiline",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              480,
              594
            ],
            "type": "PrimitiveStringMultiline",
            "widgets_values": [
              ""
            ]
          }
        ],
        "outputNode": {
          "bounding": [
            2942,
            2258,
            144,
            72
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "90326b5a-6290-4028-9573-5338419fba1b",
            "linkIds": [
              8
            ],
            "name": "STRING",
            "pos": [
              2470,
              1900
            ],
            "type": "STRING"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 0,
          "lastLinkId": 9,
          "lastNodeId": 9,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      }
    ]
  },
  "extra": {
    "VHS_KeepIntermediate": true,
    "VHS_MetadataImage": true,
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "ds": {
      "offset": [
        -1343.7385390636764,
        -867.0409641626214
      ],
      "scale": 0.5559917313492256
    },
    "frontendVersion": "1.38.11",
    "workflowRendererVersion": "Vue"
  },
  "groups": [],
  "id": "987b0c19-0edf-4fae-962a-1fd3cf8d155e",
  "last_link_id": 87,
  "last_node_id": 61,
  "links": [
    [
      1,
      2,
      0,
      1,
      0,
      "STRING"
    ],
    [
      2,
      6,
      0,
      2,
      0,
      "IMAGE"
    ],
    [
      12,
      2,
      0,
      10,
      0,
      "STRING"
    ],
    [
      14,
      7,
      0,
      10,
      2,
      "COMBO"
    ],
    [
      15,
      10,
      0,
      5,
      0,
      "IMAGE"
    ],
    [
      16,
      10,
      1,
      11,
      0,
      "STRING"
    ],
    [
      28,
      19,
      0,
      18,
      0,
      "IMAGE"
    ],
    [
      31,
      19,
      1,
      20,
      0,
      "STRING"
    ],
    [
      33,
      22,
      0,
      21,
      0,
      "IMAGE"
    ],
    [
      36,
      22,
      1,
      23,
      0,
      "STRING"
    ],
    [
      38,
      25,
      0,
      24,
      0,
      "IMAGE"
    ],
    [
      41,
      25,
      1,
      26,
      0,
      "STRING"
    ],
    [
      42,
      28,
      0,
      27,
      0,
      "IMAGE"
    ],
    [
      45,
      28,
      1,
      29,
      0,
      "STRING"
    ],
    [
      46,
      31,
      0,
      30,
      0,
      "IMAGE"
    ],
    [
      49,
      31,
      1,
      32,
      0,
      "STRING"
    ],
    [
      60,
      46,
      0,
      19,
      1,
      "IMAGE"
    ],
    [
      61,
      46,
      0,
      47,
      0,
      "IMAGE"
    ],
    [
      62,
      47,
      0,
      22,
      1,
      "IMAGE"
    ],
    [
      64,
      47,
      0,
      48,
      0,
      "IMAGE"
    ],
    [
      65,
      48,
      0,
      25,
      1,
      "IMAGE"
    ],
    [
      66,
      48,
      0,
      49,
      0,
      "IMAGE"
    ],
    [
      67,
      49,
      0,
      28,
      1,
      "IMAGE"
    ],
    [
      68,
      49,
      0,
      50,
      0,
      "IMAGE"
    ],
    [
      69,
      50,
      0,
      31,
      1,
      "IMAGE"
    ],
    [
      70,
      2,
      0,
      51,
      0,
      "STRING"
    ],
    [
      71,
      51,
      0,
      52,
      0,
      "STRING"
    ],
    [
      72,
      52,
      0,
      19,
      0,
      "STRING"
    ],
    [
      73,
      52,
      0,
      53,
      0,
      "STRING"
    ],
    [
      74,
      53,
      0,
      22,
      0,
      "STRING"
    ],
    [
      75,
      53,
      0,
      56,
      0,
      "STRING"
    ],
    [
      76,
      56,
      0,
      25,
      0,
      "STRING"
    ],
    [
      77,
      56,
      0,
      59,
      0,
      "STRING"
    ],
    [
      78,
      59,
      0,
      28,
      0,
      "STRING"
    ],
    [
      79,
      59,
      0,
      60,
      0,
      "STRING"
    ],
    [
      80,
      60,
      0,
      31,
      0,
      "STRING"
    ],
    [
      81,
      7,
      0,
      19,
      2,
      "COMBO"
    ],
    [
      82,
      7,
      0,
      22,
      2,
      "COMBO"
    ],
    [
      83,
      7,
      0,
      25,
      2,
      "COMBO"
    ],
    [
      84,
      7,
      0,
      28,
      2,
      "COMBO"
    ],
    [
      85,
      7,
      0,
      31,
      2,
      "COMBO"
    ],
    [
      86,
      6,
      0,
      10,
      1,
      "IMAGE"
    ],
    [
      87,
      6,
      0,
      46,
      0,
      "IMAGE"
    ]
  ],
  "nodes": [
    {
      "flags": {},
      "id": 5,
      "inputs": [
        {
          "link": 15,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 8,
      "outputs": [],
      "pos": [
        1700,
        1230
      ],
      "properties": {
        "Node name for S&R": "SaveImage",
        "cnr_id": "comfy-core",
        "ver": "0.9.2"
      },
      "size": [
        800,
        556.453125
      ],
      "title": "Save Image 1",
      "type": "SaveImage",
      "widgets_values": [
        "ComfyUI-image_1"
      ]
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {},
      "id": 6,
      "inputs": [],
      "mode": 0,
      "order": 0,
      "outputs": [
        {
          "links": [
            2,
            86,
            87
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "pos": [
        149.9998728353683,
        1229.9999499895139
      ],
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "ver": "0.9.2"
      },
      "size": [
        750,
        552.546875
      ],
      "title": "Load Reference Image",
      "type": "LoadImage",
      "widgets_values": [
        "sportbike_rider.png",
        "image"
      ]
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {},
      "id": 7,
      "inputs": [],
      "mode": 0,
      "order": 1,
      "outputs": [
        {
          "links": [
            14,
            81,
            82,
            83,
            84,
            85
          ],
          "name": "COMBO",
          "type": "COMBO",
          "widget": {
            "name": "aspect_ratio"
          }
        }
      ],
      "pos": [
        529.9986511083428,
        1030.0002298602803
      ],
      "properties": {
        "Run widget replace on values": false
      },
      "size": [
        372,
        118.65625
      ],
      "title": "Aspect Ratio for Generated Images",
      "type": "PrimitiveNode",
      "widgets_values": [
        "16:9",
        "fixed",
        ""
      ]
    },
    {
      "flags": {},
      "id": 10,
      "inputs": [
        {
          "link": 12,
          "name": "value",
          "type": "STRING",
          "widget": {
            "name": "value"
          }
        },
        {
          "label": "image0",
          "link": 86,
          "name": "images.image0",
          "type": "IMAGE"
        },
        {
          "link": 14,
          "name": "aspect_ratio",
          "type": "COMBO",
          "widget": {
            "name": "aspect_ratio"
          }
        }
      ],
      "mode": 0,
      "order": 5,
      "outputs": [
        {
          "links": [
            15
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": [
            16
          ],
          "name": "STRING",
          "type": "STRING"
        },
        {
          "label": "IMAGES",
          "links": [],
          "name": "IMAGE_1",
          "type": "IMAGE"
        }
      ],
      "pos": [
        1700.000304923993,
        870.0000813907453
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "proxyWidgets": [
          [
            "-1",
            "value"
          ],
          [
            "-1",
            "aspect_ratio"
          ],
          [
            "9",
            "seed"
          ]
        ],
        "ver": "0.10.0"
      },
      "size": [
        400,
        271.65625
      ],
      "title": "Generate Image 1",
      "type": "d33c1791-dfd2-4102-8540-aa63e4434cd2",
      "widgets_values": [
        "",
        "16:9"
      ]
    },
    {
      "flags": {},
      "id": 11,
      "inputs": [
        {
          "link": 16,
          "name": "source",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 9,
      "outputs": [],
      "pos": [
        2130.000300082877,
        870.0000813907453
      ],
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.9.2"
      },
      "size": [
        370,
        153
      ],
      "title": "Preview Prompt 1",
      "type": "PreviewAny",
      "widgets_values": [
        null,
        null,
        null
      ]
    },
    {
      "flags": {},
      "id": 18,
      "inputs": [
        {
          "link": 28,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 15,
      "outputs": [],
      "pos": [
        2600,
        1230
      ],
      "properties": {
        "Node name for S&R": "SaveImage",
        "cnr_id": "comfy-core",
        "ver": "0.9.2"
      },
      "size": [
        800,
        556.453125
      ],
      "title": "Save Image 1",
      "type": "SaveImage",
      "widgets_values": [
        "ComfyUI-image_2"
      ]
    },
    {
      "flags": {},
      "id": 19,
      "inputs": [
        {
          "link": 72,
          "name": "value",
          "type": "STRING",
          "widget": {
            "name": "value"
          }
        },
        {
          "label": "image0",
          "link": 60,
          "name": "images.image0",
          "type": "IMAGE"
        },
        {
          "link": 81,
          "name": "aspect_ratio",
          "type": "COMBO",
          "widget": {
            "name": "aspect_ratio"
          }
        }
      ],
      "mode": 0,
      "order": 12,
      "outputs": [
        {
          "links": [
            28
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": [
            31
          ],
          "name": "STRING",
          "type": "STRING"
        },
        {
          "label": "IMAGES",
          "links": [],
          "name": "IMAGE_1",
          "type": "IMAGE"
        }
      ],
      "pos": [
        2599.9998669014594,
        870.0000813907453
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "proxyWidgets": [
          [
            "-1",
            "value"
          ],
          [
            "-1",
            "aspect_ratio"
          ],
          [
            "9",
            "seed"
          ]
        ],
        "ver": "0.10.0"
      },
      "size": [
        400,
        271.65625
      ],
      "title": "Generate Image 2",
      "type": "f2228dc9-64e8-43b1-a4ca-b8a57eed8f64",
      "widgets_values": [
        "",
        "16:9"
      ]
    },
    {
      "flags": {},
      "id": 20,
      "inputs": [
        {
          "link": 31,
          "name": "source",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 16,
      "outputs": [],
      "pos": [
        3030.0004096576204,
        870.0000813907453
      ],
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.9.2"
      },
      "size": [
        370,
        153
      ],
      "title": "Preview Prompt 2",
      "type": "PreviewAny",
      "widgets_values": [
        null,
        null,
        null
      ]
    },
    {
      "flags": {},
      "id": 21,
      "inputs": [
        {
          "link": 33,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 20,
      "outputs": [],
      "pos": [
        3500,
        1230
      ],
      "properties": {
        "Node name for S&R": "SaveImage",
        "cnr_id": "comfy-core",
        "ver": "0.9.2"
      },
      "size": [
        800,
        556.453125
      ],
      "title": "Save Image 3",
      "type": "SaveImage",
      "widgets_values": [
        "ComfyUI-image_3"
      ]
    },
    {
      "flags": {},
      "id": 22,
      "inputs": [
        {
          "link": 74,
          "name": "value",
          "type": "STRING",
          "widget": {
            "name": "value"
          }
        },
        {
          "label": "image0",
          "link": 62,
          "name": "images.image0",
          "type": "IMAGE"
        },
        {
          "link": 82,
          "name": "aspect_ratio",
          "type": "COMBO",
          "widget": {
            "name": "aspect_ratio"
          }
        }
      ],
      "mode": 0,
      "order": 17,
      "outputs": [
        {
          "links": [
            33
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": [
            36
          ],
          "name": "STRING",
          "type": "STRING"
        },
        {
          "label": "IMAGES",
          "links": [],
          "name": "IMAGE_1",
          "type": "IMAGE"
        }
      ],
      "pos": [
        3500.0000859956576,
        870.0000813907453
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "proxyWidgets": [
          [
            "-1",
            "value"
          ],
          [
            "-1",
            "aspect_ratio"
          ],
          [
            "9",
            "seed"
          ]
        ],
        "ver": "0.10.0"
      },
      "size": [
        400,
        271.65625
      ],
      "title": "Generate Image 3",
      "type": "e3dd2fcb-0e5e-47a8-963b-adea96749eb0",
      "widgets_values": [
        "",
        "16:9"
      ]
    },
    {
      "flags": {},
      "id": 23,
      "inputs": [
        {
          "link": 36,
          "name": "source",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 21,
      "outputs": [],
      "pos": [
        3930.0010668296404,
        870.0000813907453
      ],
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.9.2"
      },
      "size": [
        370,
        153
      ],
      "title": "Preview Prompt 3",
      "type": "PreviewAny",
      "widgets_values": [
        null,
        null,
        null
      ]
    },
    {
      "flags": {},
      "id": 24,
      "inputs": [
        {
          "link": 38,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 24,
      "outputs": [],
      "pos": [
        4400,
        1230
      ],
      "properties": {
        "Node name for S&R": "SaveImage",
        "cnr_id": "comfy-core",
        "ver": "0.9.2"
      },
      "size": [
        800,
        556.453125
      ],
      "title": "Save Image 4",
      "type": "SaveImage",
      "widgets_values": [
        "ComfyUI-image_4"
      ]
    },
    {
      "flags": {},
      "id": 25,
      "inputs": [
        {
          "link": 76,
          "name": "value",
          "type": "STRING",
          "widget": {
            "name": "value"
          }
        },
        {
          "label": "image0",
          "link": 65,
          "name": "images.image0",
          "type": "IMAGE"
        },
        {
          "link": 83,
          "name": "aspect_ratio",
          "type": "COMBO",
          "widget": {
            "name": "aspect_ratio"
          }
        }
      ],
      "mode": 0,
      "order": 22,
      "outputs": [
        {
          "links": [
            38
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": [
            41
          ],
          "name": "STRING",
          "type": "STRING"
        },
        {
          "label": "IMAGES",
          "links": [],
          "name": "IMAGE_1",
          "type": "IMAGE"
        }
      ],
      "pos": [
        4400.000743167678,
        870.0000813907453
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "proxyWidgets": [
          [
            "-1",
            "value"
          ],
          [
            "-1",
            "aspect_ratio"
          ],
          [
            "9",
            "seed"
          ]
        ],
        "ver": "0.10.0"
      },
      "size": [
        400,
        271.65625
      ],
      "title": "Generate Image 4",
      "type": "601fd020-3eba-4b24-b15f-a2a9c0307d3a",
      "widgets_values": [
        "",
        "16:9"
      ]
    },
    {
      "flags": {},
      "id": 26,
      "inputs": [
        {
          "link": 41,
          "name": "source",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 25,
      "outputs": [],
      "pos": [
        4829.999971690373,
        870.0000813907453
      ],
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.9.2"
      },
      "size": [
        370,
        153
      ],
      "title": "Preview Prompt 4",
      "type": "PreviewAny",
      "widgets_values": [
        null,
        null,
        null
      ]
    },
    {
      "flags": {},
      "id": 27,
      "inputs": [
        {
          "link": 42,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 28,
      "outputs": [],
      "pos": [
        5300,
        1230
      ],
      "properties": {
        "Node name for S&R": "SaveImage",
        "cnr_id": "comfy-core",
        "ver": "0.9.2"
      },
      "size": [
        800,
        556.453125
      ],
      "title": "Save Image 5",
      "type": "SaveImage",
      "widgets_values": [
        "ComfyUI-image_5"
      ]
    },
    {
      "flags": {},
      "id": 28,
      "inputs": [
        {
          "link": 78,
          "name": "value",
          "type": "STRING",
          "widget": {
            "name": "value"
          }
        },
        {
          "label": "image0",
          "link": 67,
          "name": "images.image0",
          "type": "IMAGE"
        },
        {
          "link": 84,
          "name": "aspect_ratio",
          "type": "COMBO",
          "widget": {
            "name": "aspect_ratio"
          }
        }
      ],
      "mode": 0,
      "order": 26,
      "outputs": [
        {
          "links": [
            42
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": [
            45
          ],
          "name": "STRING",
          "type": "STRING"
        },
        {
          "label": "IMAGES",
          "links": [],
          "name": "IMAGE_1",
          "type": "IMAGE"
        }
      ],
      "pos": [
        5300.000962261875,
        870.0000813907453
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "proxyWidgets": [
          [
            "-1",
            "value"
          ],
          [
            "-1",
            "aspect_ratio"
          ],
          [
            "9",
            "seed"
          ]
        ],
        "ver": "0.10.0"
      },
      "size": [
        400,
        271.65625
      ],
      "title": "Generate Image 5",
      "type": "eaabb89a-2cd6-4960-ad44-1b152bff77c1",
      "widgets_values": [
        "",
        "16:9"
      ]
    },
    {
      "flags": {},
      "id": 29,
      "inputs": [
        {
          "link": 45,
          "name": "source",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 29,
      "outputs": [],
      "pos": [
        5730.000190784572,
        870.0000813907453
      ],
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.9.2"
      },
      "size": [
        370,
        153
      ],
      "title": "Preview Prompt 5",
      "type": "PreviewAny",
      "widgets_values": [
        null,
        null,
        null
      ]
    },
    {
      "flags": {},
      "id": 30,
      "inputs": [
        {
          "link": 46,
          "name": "images",
          "type": "IMAGE"
        }
      ],
      "mode": 0,
      "order": 31,
      "outputs": [],
      "pos": [
        6200,
        1230
      ],
      "properties": {
        "Node name for S&R": "SaveImage",
        "cnr_id": "comfy-core",
        "ver": "0.9.2"
      },
      "size": [
        800,
        556.453125
      ],
      "title": "Save Image 6",
      "type": "SaveImage",
      "widgets_values": [
        "ComfyUI-image_6"
      ]
    },
    {
      "flags": {},
      "id": 31,
      "inputs": [
        {
          "link": 80,
          "name": "value",
          "type": "STRING",
          "widget": {
            "name": "value"
          }
        },
        {
          "label": "image0",
          "link": 69,
          "name": "images.image0",
          "type": "IMAGE"
        },
        {
          "link": 85,
          "name": "aspect_ratio",
          "type": "COMBO",
          "widget": {
            "name": "aspect_ratio"
          }
        }
      ],
      "mode": 0,
      "order": 30,
      "outputs": [
        {
          "links": [
            46
          ],
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": [
            49
          ],
          "name": "STRING",
          "type": "STRING"
        },
        {
          "label": "IMAGES",
          "links": [],
          "name": "IMAGE_1",
          "type": "IMAGE"
        }
      ],
      "pos": [
        6200.001181356074,
        870.0000813907453
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "proxyWidgets": [
          [
            "-1",
            "value"
          ],
          [
            "-1",
            "aspect_ratio"
          ],
          [
            "9",
            "seed"
          ]
        ],
        "ver": "0.10.0"
      },
      "size": [
        400,
        271.65625
      ],
      "title": "Generate Image 6",
      "type": "86a340d1-ba23-44b6-8470-6b3d64167d65",
      "widgets_values": [
        "",
        "16:9"
      ]
    },
    {
      "flags": {},
      "id": 32,
      "inputs": [
        {
          "link": 49,
          "name": "source",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 32,
      "outputs": [],
      "pos": [
        6629.9999718009485,
        870.0000813907453
      ],
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.9.2"
      },
      "size": [
        370,
        153
      ],
      "title": "Preview Prompt 6",
      "type": "PreviewAny",
      "widgets_values": [
        null,
        null,
        null
      ]
    },
    {
      "bgcolor": "#653",
      "color": "#432",
      "flags": {},
      "id": 2,
      "inputs": [
        {
          "link": 2,
          "name": "images",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": null,
          "name": "audio",
          "shape": 7,
          "type": "AUDIO"
        },
        {
          "link": null,
          "name": "video",
          "shape": 7,
          "type": "VIDEO"
        },
        {
          "link": null,
          "name": "files",
          "shape": 7,
          "type": "GEMINI_INPUT_FILES"
        }
      ],
      "mode": 0,
      "order": 2,
      "outputs": [
        {
          "links": [
            1,
            12,
            70
          ],
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        999.9998196029763,
        1229.999960637579
      ],
      "properties": {
        "Node name for S&R": "GeminiNode",
        "cnr_id": "comfy-core",
        "ver": "0.9.2"
      },
      "size": [
        500,
        404.65625
      ],
      "type": "GeminiNode",
      "widgets_values": [
        "Generate 6 different prompts following the instructions below. \nEach prompt idea needs to be 50-80 words max and be separated by *.\nEach prompt should be unique, varying the camera angles and shot type. Add subtle detail and maintain consistent elements.",
        "gemini-3-pro-preview",
        12345,
        "fixed",
        ""
      ]
    },
    {
      "flags": {},
      "id": 1,
      "inputs": [
        {
          "link": 1,
          "name": "source",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 4,
      "outputs": [],
      "pos": [
        1000.0000864367205,
        529.9999403703914
      ],
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.9.2"
      },
      "size": [
        500,
        620
      ],
      "title": "Preview All Generated Prompts",
      "type": "PreviewAny",
      "widgets_values": [
        null,
        null,
        null
      ]
    },
    {
      "flags": {},
      "id": 46,
      "inputs": [
        {
          "link": 87,
          "name": "",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 3,
      "outputs": [
        {
          "links": [
            60,
            61
          ],
          "name": "",
          "type": "IMAGE"
        }
      ],
      "pos": [
        2280,
        570
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        225,
        12
      ],
      "type": "Reroute"
    },
    {
      "flags": {},
      "id": 47,
      "inputs": [
        {
          "link": 61,
          "name": "",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 7,
      "outputs": [
        {
          "links": [
            62,
            64
          ],
          "name": "",
          "type": "IMAGE"
        }
      ],
      "pos": [
        3180,
        570
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        225,
        12
      ],
      "type": "Reroute"
    },
    {
      "flags": {},
      "id": 48,
      "inputs": [
        {
          "link": 64,
          "name": "",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 11,
      "outputs": [
        {
          "links": [
            65,
            66
          ],
          "name": "",
          "type": "IMAGE"
        }
      ],
      "pos": [
        4080,
        570
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        225,
        12
      ],
      "type": "Reroute"
    },
    {
      "flags": {},
      "id": 49,
      "inputs": [
        {
          "link": 66,
          "name": "",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 14,
      "outputs": [
        {
          "links": [
            67,
            68
          ],
          "name": "",
          "type": "IMAGE"
        }
      ],
      "pos": [
        4970,
        570
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        225,
        12
      ],
      "type": "Reroute"
    },
    {
      "flags": {},
      "id": 50,
      "inputs": [
        {
          "link": 68,
          "name": "",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 19,
      "outputs": [
        {
          "links": [
            69
          ],
          "name": "",
          "type": "IMAGE"
        }
      ],
      "pos": [
        5880,
        570
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        225,
        12
      ],
      "type": "Reroute"
    },
    {
      "flags": {},
      "id": 51,
      "inputs": [
        {
          "link": 70,
          "name": "",
          "type": "*",
          "widget": {
            "name": "value"
          }
        }
      ],
      "mode": 0,
      "order": 6,
      "outputs": [
        {
          "links": [
            71
          ],
          "name": "",
          "type": "STRING"
        }
      ],
      "pos": [
        1700,
        730
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        225,
        12
      ],
      "type": "Reroute"
    },
    {
      "flags": {},
      "id": 52,
      "inputs": [
        {
          "link": 71,
          "name": "",
          "type": "*",
          "widget": {
            "name": "value"
          }
        }
      ],
      "mode": 0,
      "order": 10,
      "outputs": [
        {
          "links": [
            72,
            73
          ],
          "name": "",
          "type": "STRING"
        }
      ],
      "pos": [
        2280,
        730
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        225,
        12
      ],
      "type": "Reroute"
    },
    {
      "flags": {},
      "id": 53,
      "inputs": [
        {
          "link": 73,
          "name": "",
          "type": "*",
          "widget": {
            "name": "value"
          }
        }
      ],
      "mode": 0,
      "order": 13,
      "outputs": [
        {
          "links": [
            74,
            75
          ],
          "name": "",
          "type": "STRING"
        }
      ],
      "pos": [
        3180,
        730
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        225,
        12
      ],
      "type": "Reroute"
    },
    {
      "flags": {},
      "id": 56,
      "inputs": [
        {
          "link": 75,
          "name": "",
          "type": "*",
          "widget": {
            "name": "value"
          }
        }
      ],
      "mode": 0,
      "order": 18,
      "outputs": [
        {
          "links": [
            76,
            77
          ],
          "name": "",
          "type": "STRING"
        }
      ],
      "pos": [
        4080,
        730
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        225,
        12
      ],
      "type": "Reroute"
    },
    {
      "flags": {},
      "id": 59,
      "inputs": [
        {
          "link": 77,
          "name": "",
          "type": "*",
          "widget": {
            "name": "value"
          }
        }
      ],
      "mode": 0,
      "order": 23,
      "outputs": [
        {
          "links": [
            78,
            79
          ],
          "name": "",
          "type": "STRING"
        }
      ],
      "pos": [
        4970,
        730
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        225,
        12
      ],
      "type": "Reroute"
    },
    {
      "flags": {},
      "id": 60,
      "inputs": [
        {
          "link": 79,
          "name": "",
          "type": "*",
          "widget": {
            "name": "value"
          }
        }
      ],
      "mode": 0,
      "order": 27,
      "outputs": [
        {
          "links": [
            80
          ],
          "name": "",
          "type": "STRING"
        }
      ],
      "pos": [
        5880,
        730
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        225,
        12
      ],
      "type": "Reroute"
    }
  ],
  "revision": 0,
  "version": 0.4
}