{
  "config": {},
  "definitions": {
    "subgraphs": [
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "Vue-corrected"
        },
        "groups": [],
        "id": "da09b826-d678-40e0-a4e4-5f2178043ab6",
        "inputNode": {
          "bounding": [
            73.67273065378049,
            1936.3856578008408,
            120,
            60
          ],
          "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": 66,
            "origin_slot": 0,
            "target_id": 64,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 2,
            "origin_id": 8,
            "origin_slot": 0,
            "target_id": 64,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 3,
            "origin_id": 64,
            "origin_slot": 0,
            "target_id": 65,
            "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": 2,
            "type": "STRING"
          },
          {
            "id": 7,
            "origin_id": 62,
            "origin_slot": 0,
            "target_id": 9,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 8,
            "origin_id": 64,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 9,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 66,
            "target_slot": 0,
            "type": "STRING"
          }
        ],
        "name": "Batch Prompt Iterator",
        "nodes": [
          {
            "flags": {},
            "id": 8,
            "inputs": [
              {
                "link": null,
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                }
              },
              {
                "link": null,
                "localized_name": "regex_pattern",
                "name": "regex_pattern",
                "type": "STRING",
                "widget": {
                  "name": "regex_pattern"
                }
              },
              {
                "link": 6,
                "localized_name": "replace",
                "name": "replace",
                "type": "STRING",
                "widget": {
                  "name": "replace"
                }
              },
              {
                "link": null,
                "localized_name": "case_insensitive",
                "name": "case_insensitive",
                "shape": 7,
                "type": "BOOLEAN",
                "widget": {
                  "name": "case_insensitive"
                }
              },
              {
                "link": null,
                "localized_name": "multiline",
                "name": "multiline",
                "shape": 7,
                "type": "BOOLEAN",
                "widget": {
                  "name": "multiline"
                }
              },
              {
                "link": null,
                "localized_name": "dotall",
                "name": "dotall",
                "shape": 7,
                "type": "BOOLEAN",
                "widget": {
                  "name": "dotall"
                }
              },
              {
                "link": null,
                "localized_name": "count",
                "name": "count",
                "shape": 7,
                "type": "INT",
                "widget": {
                  "name": "count"
                }
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [
              {
                "links": [
                  2
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1213.6726054860876,
              1545.3856867818743
            ],
            "properties": {
              "Node name for S&R": "RegexReplace",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              225,
              435
            ],
            "type": "RegexReplace",
            "widgets_values": [
              "(?:^(?!\\s*\\*?\\s*$).+$\\n(?:^\\s*\\*?\\s*$\\n)*){0}^(?!\\s*\\*?\\s*$)(.+)$",
              "(?<=\\{)\\d+(?=\\})",
              "",
              true,
              false,
              false,
              0
            ]
          },
          {
            "flags": {},
            "id": 62,
            "inputs": [
              {
                "link": null,
                "localized_name": "value",
                "name": "value",
                "type": "INT",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  7
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              }
            ],
            "pos": [
              673.6726049456445,
              1675.385622611757
            ],
            "properties": {
              "Node name for S&R": "PrimitiveInt",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              295.91953125,
              105
            ],
            "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"
              },
              {
                "link": null,
                "localized_name": "value",
                "name": "value",
                "type": "STRING",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  4
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              }
            ],
            "pos": [
              689.9998931000553,
              1609.9997656727699
            ],
            "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": "*"
              },
              {
                "link": null,
                "localized_name": "prefix",
                "name": "prefix",
                "shape": 7,
                "type": "STRING",
                "widget": {
                  "name": "prefix"
                }
              },
              {
                "link": null,
                "localized_name": "suffix",
                "name": "suffix",
                "shape": 7,
                "type": "STRING",
                "widget": {
                  "name": "suffix"
                }
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [
              {
                "links": [
                  6
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              979.9998349355445,
              1609.9997656727699
            ],
            "properties": {
              "Node name for S&R": "SomethingToString",
              "cnr_id": "comfyui-kjnodes",
              "ver": "c661baadd9683c0033cd2a6ad90157c6d099a6c2"
            },
            "size": [
              210,
              34
            ],
            "type": "SomethingToString",
            "widgets_values": [
              "",
              ""
            ]
          },
          {
            "bgcolor": "#653",
            "color": "#432",
            "flags": {},
            "id": 63,
            "inputs": [],
            "mode": 0,
            "order": 1,
            "outputs": [],
            "pos": [
              1449.9997243419075,
              1549.9999409769669
            ],
            "properties": {},
            "size": [
              360,
              1448.328125
            ],
            "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": 64,
            "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"
                }
              },
              {
                "link": null,
                "localized_name": "mode",
                "name": "mode",
                "type": "COMBO",
                "widget": {
                  "name": "mode"
                }
              },
              {
                "link": null,
                "localized_name": "case_insensitive",
                "name": "case_insensitive",
                "type": "BOOLEAN",
                "widget": {
                  "name": "case_insensitive"
                }
              },
              {
                "link": null,
                "localized_name": "multiline",
                "name": "multiline",
                "type": "BOOLEAN",
                "widget": {
                  "name": "multiline"
                }
              },
              {
                "link": null,
                "localized_name": "dotall",
                "name": "dotall",
                "type": "BOOLEAN",
                "widget": {
                  "name": "dotall"
                }
              },
              {
                "link": null,
                "localized_name": "group_index",
                "name": "group_index",
                "type": "INT",
                "widget": {
                  "name": "group_index"
                }
              }
            ],
            "mode": 0,
            "order": 5,
            "outputs": [
              {
                "links": [
                  3,
                  8
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1829.999876704566,
              1549.9999409769669
            ],
            "properties": {
              "Node name for S&R": "RegexExtract",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              400,
              377.65625
            ],
            "type": "RegexExtract",
            "widgets_values": [
              "",
              "",
              "First Group",
              true,
              true,
              false,
              1
            ]
          },
          {
            "flags": {},
            "id": 65,
            "inputs": [
              {
                "link": 3,
                "localized_name": "source",
                "name": "source",
                "type": "*"
              }
            ],
            "mode": 0,
            "order": 6,
            "outputs": [
              {
                "links": null,
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1999.999853492806,
              1859.9999822055452
            ],
            "properties": {
              "Node name for S&R": "PreviewAny",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              230,
              225
            ],
            "type": "PreviewAny",
            "widgets_values": [
              null,
              null,
              null
            ]
          },
          {
            "flags": {},
            "id": 66,
            "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": [
              259.9998868242276,
              1680.0001924624933
            ],
            "properties": {
              "Node name for S&R": "PrimitiveStringMultiline",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              400,
              495
            ],
            "type": "PrimitiveStringMultiline",
            "widgets_values": [
              ""
            ]
          }
        ],
        "outputNode": {
          "bounding": [
            2450,
            1880,
            120,
            60
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "90326b5a-6290-4028-9573-5338419fba1b",
            "linkIds": [
              8
            ],
            "name": "STRING",
            "pos": [
              2470,
              1900
            ],
            "type": "STRING"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 0,
          "lastLinkId": 87,
          "lastNodeId": 131,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      },
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "Vue-corrected"
        },
        "groups": [],
        "id": "d33c1791-dfd2-4102-8540-aa63e4434cd2",
        "inputNode": {
          "bounding": [
            1280.3468515777113,
            1132.2853599824598,
            100,
            83.33333333333334
          ],
          "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": 69,
            "origin_slot": 0,
            "target_id": 68,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 9,
            "origin_id": 67,
            "origin_slot": 0,
            "target_id": 69,
            "target_slot": 2,
            "type": "STRING"
          },
          {
            "id": 3,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 67,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 6,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 68,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 8,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 69,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 10,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 69,
            "target_slot": 5,
            "type": "COMBO"
          },
          {
            "id": 5,
            "origin_id": 69,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 12,
            "origin_id": 67,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 13,
            "origin_id": 68,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 2,
            "type": "IMAGE"
          }
        ],
        "name": "New Subgraph",
        "nodes": [
          {
            "flags": {},
            "id": 67,
            "inputs": [
              {
                "link": 3,
                "name": "value",
                "type": "STRING",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  9,
                  12
                ],
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1460.347278954948,
              1088.570637269295
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "proxyWidgets": [
                [
                  "66",
                  "value"
                ],
                [
                  "62",
                  "value"
                ],
                [
                  "62",
                  "control_after_generate"
                ]
              ],
              "ver": "0.9.2"
            },
            "size": [
              400,
              157.5
            ],
            "type": "da09b826-d678-40e0-a4e4-5f2178043ab6",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 68,
            "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": [
              2130.0001973070803,
              1529.999930934657
            ],
            "properties": {
              "Node name for S&R": "BatchImagesNode",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              225,
              86
            ],
            "type": "BatchImagesNode",
            "widgets_values": []
          },
          {
            "bgcolor": "#653",
            "color": "#432",
            "flags": {},
            "id": 69,
            "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": null,
                "localized_name": "model",
                "name": "model",
                "type": "COMBO",
                "widget": {
                  "name": "model"
                }
              },
              {
                "link": null,
                "localized_name": "seed",
                "name": "seed",
                "type": "INT",
                "widget": {
                  "name": "seed"
                }
              },
              {
                "link": 10,
                "localized_name": "aspect_ratio",
                "name": "aspect_ratio",
                "type": "COMBO",
                "widget": {
                  "name": "aspect_ratio"
                }
              },
              {
                "link": null,
                "localized_name": "resolution",
                "name": "resolution",
                "type": "COMBO",
                "widget": {
                  "name": "resolution"
                }
              },
              {
                "link": null,
                "localized_name": "response_modalities",
                "name": "response_modalities",
                "type": "COMBO",
                "widget": {
                  "name": "response_modalities"
                }
              },
              {
                "link": null,
                "localized_name": "system_prompt",
                "name": "system_prompt",
                "shape": 7,
                "type": "STRING",
                "widget": {
                  "name": "system_prompt"
                }
              }
            ],
            "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": [
              1960.3472047251726,
              1088.570637269295
            ],
            "properties": {
              "Node name for S&R": "GeminiImage2Node",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              400,
              330.546875
            ],
            "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": [
            2420.3467602171363,
            1152.2853599824598,
            100,
            83.33333333333334
          ],
          "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": 87,
          "lastNodeId": 131,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      },
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "Vue-corrected"
        },
        "groups": [],
        "id": "f2228dc9-64e8-43b1-a4ca-b8a57eed8f64",
        "inputNode": {
          "bounding": [
            1280.3468515777113,
            1132.2853599824598,
            100,
            83.33333333333334
          ],
          "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": 72,
            "origin_slot": 0,
            "target_id": 71,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 9,
            "origin_id": 70,
            "origin_slot": 0,
            "target_id": 72,
            "target_slot": 2,
            "type": "STRING"
          },
          {
            "id": 3,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 70,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 6,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 71,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 8,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 72,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 10,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 72,
            "target_slot": 5,
            "type": "COMBO"
          },
          {
            "id": 5,
            "origin_id": 72,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 12,
            "origin_id": 70,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 13,
            "origin_id": 71,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 2,
            "type": "IMAGE"
          },
          {
            "id": 14,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 73,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 15,
            "origin_id": 71,
            "origin_slot": 0,
            "target_id": 74,
            "target_slot": 0,
            "type": "IMAGE"
          }
        ],
        "name": "New Subgraph",
        "nodes": [
          {
            "flags": {},
            "id": 70,
            "inputs": [
              {
                "link": 3,
                "name": "value",
                "type": "STRING",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  9,
                  12
                ],
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1460.3468070936049,
              1088.5706952509029
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "proxyWidgets": [
                [
                  "82",
                  "value"
                ],
                [
                  "76",
                  "value"
                ],
                [
                  "76",
                  "control_after_generate"
                ]
              ],
              "ver": "0.9.2"
            },
            "size": [
              400,
              157.5
            ],
            "type": "6d92985e-3e1e-49e2-acea-91c5259d86a8",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 71,
            "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": [
              2130.000226302708,
              1529.9998578443747
            ],
            "properties": {
              "Node name for S&R": "BatchImagesNode",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              225,
              86
            ],
            "type": "BatchImagesNode",
            "widgets_values": []
          },
          {
            "bgcolor": "#653",
            "color": "#432",
            "flags": {},
            "id": 72,
            "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": null,
                "localized_name": "model",
                "name": "model",
                "type": "COMBO",
                "widget": {
                  "name": "model"
                }
              },
              {
                "link": null,
                "localized_name": "seed",
                "name": "seed",
                "type": "INT",
                "widget": {
                  "name": "seed"
                }
              },
              {
                "link": 10,
                "localized_name": "aspect_ratio",
                "name": "aspect_ratio",
                "type": "COMBO",
                "widget": {
                  "name": "aspect_ratio"
                }
              },
              {
                "link": null,
                "localized_name": "resolution",
                "name": "resolution",
                "type": "COMBO",
                "widget": {
                  "name": "resolution"
                }
              },
              {
                "link": null,
                "localized_name": "response_modalities",
                "name": "response_modalities",
                "type": "COMBO",
                "widget": {
                  "name": "response_modalities"
                }
              },
              {
                "link": null,
                "localized_name": "system_prompt",
                "name": "system_prompt",
                "shape": 7,
                "type": "STRING",
                "widget": {
                  "name": "system_prompt"
                }
              }
            ],
            "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": [
              1960.3468784077454,
              1088.5706952509029
            ],
            "properties": {
              "Node name for S&R": "GeminiImage2Node",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              400,
              330.546875
            ],
            "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": 73,
            "inputs": [
              {
                "link": 14,
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [],
            "pos": [
              1706.6667065412194,
              1415.0000305153962
            ],
            "properties": {
              "Node name for S&R": "PreviewImage",
              "cnr_id": "comfy-core",
              "ver": "0.10.0"
            },
            "size": [
              187.5,
              206.66666666666669
            ],
            "type": "PreviewImage",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 74,
            "inputs": [
              {
                "link": 15,
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [],
            "pos": [
              2390.0002073643504,
              1640.0000275931902
            ],
            "properties": {
              "Node name for S&R": "PreviewImage",
              "cnr_id": "comfy-core",
              "ver": "0.10.0"
            },
            "size": [
              187.5,
              206.66666666666669
            ],
            "type": "PreviewImage",
            "widgets_values": []
          }
        ],
        "outputNode": {
          "bounding": [
            2420.3467602171363,
            1152.2853599824598,
            100,
            83.33333333333334
          ],
          "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": 87,
          "lastNodeId": 131,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      },
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "Vue-corrected"
        },
        "groups": [],
        "id": "6d92985e-3e1e-49e2-acea-91c5259d86a8",
        "inputNode": {
          "bounding": [
            73.67273065378049,
            1936.3856578008408,
            120,
            60
          ],
          "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": 82,
            "origin_slot": 0,
            "target_id": 80,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 2,
            "origin_id": 75,
            "origin_slot": 0,
            "target_id": 80,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 3,
            "origin_id": 80,
            "origin_slot": 0,
            "target_id": 81,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 4,
            "origin_id": 77,
            "origin_slot": 0,
            "target_id": 78,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 6,
            "origin_id": 78,
            "origin_slot": 0,
            "target_id": 75,
            "target_slot": 2,
            "type": "STRING"
          },
          {
            "id": 7,
            "origin_id": 76,
            "origin_slot": 0,
            "target_id": 77,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 8,
            "origin_id": 80,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 9,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 82,
            "target_slot": 0,
            "type": "STRING"
          }
        ],
        "name": "Batch Prompt Iterator",
        "nodes": [
          {
            "flags": {},
            "id": 75,
            "inputs": [
              {
                "link": null,
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                }
              },
              {
                "link": null,
                "localized_name": "regex_pattern",
                "name": "regex_pattern",
                "type": "STRING",
                "widget": {
                  "name": "regex_pattern"
                }
              },
              {
                "link": 6,
                "localized_name": "replace",
                "name": "replace",
                "type": "STRING",
                "widget": {
                  "name": "replace"
                }
              },
              {
                "link": null,
                "localized_name": "case_insensitive",
                "name": "case_insensitive",
                "shape": 7,
                "type": "BOOLEAN",
                "widget": {
                  "name": "case_insensitive"
                }
              },
              {
                "link": null,
                "localized_name": "multiline",
                "name": "multiline",
                "shape": 7,
                "type": "BOOLEAN",
                "widget": {
                  "name": "multiline"
                }
              },
              {
                "link": null,
                "localized_name": "dotall",
                "name": "dotall",
                "shape": 7,
                "type": "BOOLEAN",
                "widget": {
                  "name": "dotall"
                }
              },
              {
                "link": null,
                "localized_name": "count",
                "name": "count",
                "shape": 7,
                "type": "INT",
                "widget": {
                  "name": "count"
                }
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [
              {
                "links": [
                  2
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1213.6726054860876,
              1545.3856867818743
            ],
            "properties": {
              "Node name for S&R": "RegexReplace",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              225,
              435
            ],
            "type": "RegexReplace",
            "widgets_values": [
              "(?:^(?!\\s*\\*?\\s*$).+$\\n(?:^\\s*\\*?\\s*$\\n)*){0}^(?!\\s*\\*?\\s*$)(.+)$",
              "(?<=\\{)\\d+(?=\\})",
              "",
              true,
              false,
              false,
              0
            ]
          },
          {
            "flags": {},
            "id": 76,
            "inputs": [
              {
                "link": null,
                "localized_name": "value",
                "name": "value",
                "type": "INT",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  7
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              }
            ],
            "pos": [
              673.6726049456445,
              1675.385622611757
            ],
            "properties": {
              "Node name for S&R": "PrimitiveInt",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              295.91953125,
              105
            ],
            "title": "Int - Select Prompt Number (not index)",
            "type": "PrimitiveInt",
            "widgets_values": [
              2,
              "fixed"
            ]
          },
          {
            "flags": {
              "collapsed": true
            },
            "id": 77,
            "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"
              },
              {
                "link": null,
                "localized_name": "value",
                "name": "value",
                "type": "STRING",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  4
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              }
            ],
            "pos": [
              689.9998931000553,
              1609.9997656727699
            ],
            "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": 78,
            "inputs": [
              {
                "link": 4,
                "localized_name": "input",
                "name": "input",
                "type": "*"
              },
              {
                "link": null,
                "localized_name": "prefix",
                "name": "prefix",
                "shape": 7,
                "type": "STRING",
                "widget": {
                  "name": "prefix"
                }
              },
              {
                "link": null,
                "localized_name": "suffix",
                "name": "suffix",
                "shape": 7,
                "type": "STRING",
                "widget": {
                  "name": "suffix"
                }
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [
              {
                "links": [
                  6
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              979.9998349355445,
              1609.9997656727699
            ],
            "properties": {
              "Node name for S&R": "SomethingToString",
              "cnr_id": "comfyui-kjnodes",
              "ver": "c661baadd9683c0033cd2a6ad90157c6d099a6c2"
            },
            "size": [
              210,
              34
            ],
            "type": "SomethingToString",
            "widgets_values": [
              "",
              ""
            ]
          },
          {
            "bgcolor": "#653",
            "color": "#432",
            "flags": {},
            "id": 79,
            "inputs": [],
            "mode": 0,
            "order": 1,
            "outputs": [],
            "pos": [
              1449.9997243419075,
              1549.9999409769669
            ],
            "properties": {},
            "size": [
              360,
              1448.328125
            ],
            "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": 80,
            "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"
                }
              },
              {
                "link": null,
                "localized_name": "mode",
                "name": "mode",
                "type": "COMBO",
                "widget": {
                  "name": "mode"
                }
              },
              {
                "link": null,
                "localized_name": "case_insensitive",
                "name": "case_insensitive",
                "type": "BOOLEAN",
                "widget": {
                  "name": "case_insensitive"
                }
              },
              {
                "link": null,
                "localized_name": "multiline",
                "name": "multiline",
                "type": "BOOLEAN",
                "widget": {
                  "name": "multiline"
                }
              },
              {
                "link": null,
                "localized_name": "dotall",
                "name": "dotall",
                "type": "BOOLEAN",
                "widget": {
                  "name": "dotall"
                }
              },
              {
                "link": null,
                "localized_name": "group_index",
                "name": "group_index",
                "type": "INT",
                "widget": {
                  "name": "group_index"
                }
              }
            ],
            "mode": 0,
            "order": 5,
            "outputs": [
              {
                "links": [
                  3,
                  8
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1829.999876704566,
              1549.9999409769669
            ],
            "properties": {
              "Node name for S&R": "RegexExtract",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              400,
              377.65625
            ],
            "type": "RegexExtract",
            "widgets_values": [
              "",
              "",
              "First Group",
              true,
              true,
              false,
              1
            ]
          },
          {
            "flags": {},
            "id": 81,
            "inputs": [
              {
                "link": 3,
                "localized_name": "source",
                "name": "source",
                "type": "*"
              }
            ],
            "mode": 0,
            "order": 6,
            "outputs": [
              {
                "links": null,
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1999.999853492806,
              1859.9999822055452
            ],
            "properties": {
              "Node name for S&R": "PreviewAny",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              230,
              225
            ],
            "type": "PreviewAny",
            "widgets_values": [
              null,
              null,
              null
            ]
          },
          {
            "flags": {},
            "id": 82,
            "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": [
              259.9998868242276,
              1680.0001924624933
            ],
            "properties": {
              "Node name for S&R": "PrimitiveStringMultiline",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              400,
              495
            ],
            "type": "PrimitiveStringMultiline",
            "widgets_values": [
              ""
            ]
          }
        ],
        "outputNode": {
          "bounding": [
            2450,
            1880,
            120,
            60
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "90326b5a-6290-4028-9573-5338419fba1b",
            "linkIds": [
              8
            ],
            "name": "STRING",
            "pos": [
              2470,
              1900
            ],
            "type": "STRING"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 0,
          "lastLinkId": 87,
          "lastNodeId": 131,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      },
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "Vue-corrected"
        },
        "groups": [],
        "id": "e3dd2fcb-0e5e-47a8-963b-adea96749eb0",
        "inputNode": {
          "bounding": [
            1280.3468515777113,
            1132.2853599824598,
            100,
            83.33333333333334
          ],
          "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": 85,
            "origin_slot": 0,
            "target_id": 84,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 9,
            "origin_id": 83,
            "origin_slot": 0,
            "target_id": 85,
            "target_slot": 2,
            "type": "STRING"
          },
          {
            "id": 3,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 83,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 6,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 84,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 8,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 85,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 10,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 85,
            "target_slot": 5,
            "type": "COMBO"
          },
          {
            "id": 5,
            "origin_id": 85,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 12,
            "origin_id": 83,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 13,
            "origin_id": 84,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 2,
            "type": "IMAGE"
          },
          {
            "id": 14,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 86,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 15,
            "origin_id": 84,
            "origin_slot": 0,
            "target_id": 87,
            "target_slot": 0,
            "type": "IMAGE"
          }
        ],
        "name": "New Subgraph",
        "nodes": [
          {
            "flags": {},
            "id": 83,
            "inputs": [
              {
                "link": 3,
                "name": "value",
                "type": "STRING",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  9,
                  12
                ],
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1460.3467397161046,
              1088.5706736114232
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "proxyWidgets": [
                [
                  "95",
                  "value"
                ],
                [
                  "89",
                  "value"
                ],
                [
                  "89",
                  "control_after_generate"
                ]
              ],
              "ver": "0.9.2"
            },
            "size": [
              400,
              157.5
            ],
            "type": "a39f1ec1-8086-4164-97cb-340ed88c8168",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 84,
            "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": [
              2130.0001310532316,
              1529.9999194396914
            ],
            "properties": {
              "Node name for S&R": "BatchImagesNode",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              225,
              86
            ],
            "type": "BatchImagesNode",
            "widgets_values": []
          },
          {
            "bgcolor": "#653",
            "color": "#432",
            "flags": {},
            "id": 85,
            "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": null,
                "localized_name": "model",
                "name": "model",
                "type": "COMBO",
                "widget": {
                  "name": "model"
                }
              },
              {
                "link": null,
                "localized_name": "seed",
                "name": "seed",
                "type": "INT",
                "widget": {
                  "name": "seed"
                }
              },
              {
                "link": 10,
                "localized_name": "aspect_ratio",
                "name": "aspect_ratio",
                "type": "COMBO",
                "widget": {
                  "name": "aspect_ratio"
                }
              },
              {
                "link": null,
                "localized_name": "resolution",
                "name": "resolution",
                "type": "COMBO",
                "widget": {
                  "name": "resolution"
                }
              },
              {
                "link": null,
                "localized_name": "response_modalities",
                "name": "response_modalities",
                "type": "COMBO",
                "widget": {
                  "name": "response_modalities"
                }
              },
              {
                "link": null,
                "localized_name": "system_prompt",
                "name": "system_prompt",
                "shape": 7,
                "type": "STRING",
                "widget": {
                  "name": "system_prompt"
                }
              }
            ],
            "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": [
              1960.3469452045401,
              1088.5706567247735
            ],
            "properties": {
              "Node name for S&R": "GeminiImage2Node",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              400,
              330.546875
            ],
            "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": 86,
            "inputs": [
              {
                "link": 14,
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [],
            "pos": [
              1706.6666332837372,
              1415.000079378506
            ],
            "properties": {
              "Node name for S&R": "PreviewImage",
              "cnr_id": "comfy-core",
              "ver": "0.10.0"
            },
            "size": [
              187.5,
              186.27604166666669
            ],
            "type": "PreviewImage",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 87,
            "inputs": [
              {
                "link": 15,
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [],
            "pos": [
              2389.999900297249,
              1639.9999375594966
            ],
            "properties": {
              "Node name for S&R": "PreviewImage",
              "cnr_id": "comfy-core",
              "ver": "0.10.0"
            },
            "size": [
              187.5,
              40
            ],
            "type": "PreviewImage",
            "widgets_values": []
          }
        ],
        "outputNode": {
          "bounding": [
            2420.3467602171363,
            1152.2853599824598,
            100,
            83.33333333333334
          ],
          "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": 87,
          "lastNodeId": 131,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      },
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "Vue-corrected"
        },
        "groups": [],
        "id": "a39f1ec1-8086-4164-97cb-340ed88c8168",
        "inputNode": {
          "bounding": [
            73.67273065378049,
            1936.3856578008408,
            120,
            60
          ],
          "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": 95,
            "origin_slot": 0,
            "target_id": 93,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 2,
            "origin_id": 88,
            "origin_slot": 0,
            "target_id": 93,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 3,
            "origin_id": 93,
            "origin_slot": 0,
            "target_id": 94,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 4,
            "origin_id": 90,
            "origin_slot": 0,
            "target_id": 91,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 6,
            "origin_id": 91,
            "origin_slot": 0,
            "target_id": 88,
            "target_slot": 2,
            "type": "STRING"
          },
          {
            "id": 7,
            "origin_id": 89,
            "origin_slot": 0,
            "target_id": 90,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 8,
            "origin_id": 93,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 9,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 95,
            "target_slot": 0,
            "type": "STRING"
          }
        ],
        "name": "Batch Prompt Iterator",
        "nodes": [
          {
            "flags": {},
            "id": 88,
            "inputs": [
              {
                "link": null,
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                }
              },
              {
                "link": null,
                "localized_name": "regex_pattern",
                "name": "regex_pattern",
                "type": "STRING",
                "widget": {
                  "name": "regex_pattern"
                }
              },
              {
                "link": 6,
                "localized_name": "replace",
                "name": "replace",
                "type": "STRING",
                "widget": {
                  "name": "replace"
                }
              },
              {
                "link": null,
                "localized_name": "case_insensitive",
                "name": "case_insensitive",
                "shape": 7,
                "type": "BOOLEAN",
                "widget": {
                  "name": "case_insensitive"
                }
              },
              {
                "link": null,
                "localized_name": "multiline",
                "name": "multiline",
                "shape": 7,
                "type": "BOOLEAN",
                "widget": {
                  "name": "multiline"
                }
              },
              {
                "link": null,
                "localized_name": "dotall",
                "name": "dotall",
                "shape": 7,
                "type": "BOOLEAN",
                "widget": {
                  "name": "dotall"
                }
              },
              {
                "link": null,
                "localized_name": "count",
                "name": "count",
                "shape": 7,
                "type": "INT",
                "widget": {
                  "name": "count"
                }
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [
              {
                "links": [
                  2
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1213.6726054860876,
              1545.3856867818743
            ],
            "properties": {
              "Node name for S&R": "RegexReplace",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              225,
              435
            ],
            "type": "RegexReplace",
            "widgets_values": [
              "(?:^(?!\\s*\\*?\\s*$).+$\\n(?:^\\s*\\*?\\s*$\\n)*){0}^(?!\\s*\\*?\\s*$)(.+)$",
              "(?<=\\{)\\d+(?=\\})",
              "",
              true,
              false,
              false,
              0
            ]
          },
          {
            "flags": {},
            "id": 89,
            "inputs": [
              {
                "link": null,
                "localized_name": "value",
                "name": "value",
                "type": "INT",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  7
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              }
            ],
            "pos": [
              673.6726049456445,
              1675.385622611757
            ],
            "properties": {
              "Node name for S&R": "PrimitiveInt",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              295.91953125,
              105
            ],
            "title": "Int - Select Prompt Number (not index)",
            "type": "PrimitiveInt",
            "widgets_values": [
              3,
              "fixed"
            ]
          },
          {
            "flags": {
              "collapsed": true
            },
            "id": 90,
            "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"
              },
              {
                "link": null,
                "localized_name": "value",
                "name": "value",
                "type": "STRING",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  4
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              }
            ],
            "pos": [
              689.9998931000553,
              1609.9997656727699
            ],
            "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": 91,
            "inputs": [
              {
                "link": 4,
                "localized_name": "input",
                "name": "input",
                "type": "*"
              },
              {
                "link": null,
                "localized_name": "prefix",
                "name": "prefix",
                "shape": 7,
                "type": "STRING",
                "widget": {
                  "name": "prefix"
                }
              },
              {
                "link": null,
                "localized_name": "suffix",
                "name": "suffix",
                "shape": 7,
                "type": "STRING",
                "widget": {
                  "name": "suffix"
                }
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [
              {
                "links": [
                  6
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              979.9998349355445,
              1609.9997656727699
            ],
            "properties": {
              "Node name for S&R": "SomethingToString",
              "cnr_id": "comfyui-kjnodes",
              "ver": "c661baadd9683c0033cd2a6ad90157c6d099a6c2"
            },
            "size": [
              210,
              34
            ],
            "type": "SomethingToString",
            "widgets_values": [
              "",
              ""
            ]
          },
          {
            "bgcolor": "#653",
            "color": "#432",
            "flags": {},
            "id": 92,
            "inputs": [],
            "mode": 0,
            "order": 1,
            "outputs": [],
            "pos": [
              1449.9997243419075,
              1549.9999409769669
            ],
            "properties": {},
            "size": [
              360,
              1448.328125
            ],
            "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": 93,
            "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"
                }
              },
              {
                "link": null,
                "localized_name": "mode",
                "name": "mode",
                "type": "COMBO",
                "widget": {
                  "name": "mode"
                }
              },
              {
                "link": null,
                "localized_name": "case_insensitive",
                "name": "case_insensitive",
                "type": "BOOLEAN",
                "widget": {
                  "name": "case_insensitive"
                }
              },
              {
                "link": null,
                "localized_name": "multiline",
                "name": "multiline",
                "type": "BOOLEAN",
                "widget": {
                  "name": "multiline"
                }
              },
              {
                "link": null,
                "localized_name": "dotall",
                "name": "dotall",
                "type": "BOOLEAN",
                "widget": {
                  "name": "dotall"
                }
              },
              {
                "link": null,
                "localized_name": "group_index",
                "name": "group_index",
                "type": "INT",
                "widget": {
                  "name": "group_index"
                }
              }
            ],
            "mode": 0,
            "order": 5,
            "outputs": [
              {
                "links": [
                  3,
                  8
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1829.999876704566,
              1549.9999409769669
            ],
            "properties": {
              "Node name for S&R": "RegexExtract",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              400,
              377.65625
            ],
            "type": "RegexExtract",
            "widgets_values": [
              "",
              "",
              "First Group",
              true,
              true,
              false,
              1
            ]
          },
          {
            "flags": {},
            "id": 94,
            "inputs": [
              {
                "link": 3,
                "localized_name": "source",
                "name": "source",
                "type": "*"
              }
            ],
            "mode": 0,
            "order": 6,
            "outputs": [
              {
                "links": null,
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1999.999853492806,
              1859.9999822055452
            ],
            "properties": {
              "Node name for S&R": "PreviewAny",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              230,
              225
            ],
            "type": "PreviewAny",
            "widgets_values": [
              null,
              null,
              null
            ]
          },
          {
            "flags": {},
            "id": 95,
            "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": [
              259.9998868242276,
              1680.0001924624933
            ],
            "properties": {
              "Node name for S&R": "PrimitiveStringMultiline",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              400,
              495
            ],
            "type": "PrimitiveStringMultiline",
            "widgets_values": [
              ""
            ]
          }
        ],
        "outputNode": {
          "bounding": [
            2450,
            1880,
            120,
            60
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "90326b5a-6290-4028-9573-5338419fba1b",
            "linkIds": [
              8
            ],
            "name": "STRING",
            "pos": [
              2470,
              1900
            ],
            "type": "STRING"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 0,
          "lastLinkId": 87,
          "lastNodeId": 131,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      },
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "Vue-corrected"
        },
        "groups": [],
        "id": "601fd020-3eba-4b24-b15f-a2a9c0307d3a",
        "inputNode": {
          "bounding": [
            1280.3468515777113,
            1132.2853599824598,
            100,
            83.33333333333334
          ],
          "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": 98,
            "origin_slot": 0,
            "target_id": 97,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 9,
            "origin_id": 96,
            "origin_slot": 0,
            "target_id": 98,
            "target_slot": 2,
            "type": "STRING"
          },
          {
            "id": 3,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 96,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 6,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 97,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 8,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 98,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 10,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 98,
            "target_slot": 5,
            "type": "COMBO"
          },
          {
            "id": 5,
            "origin_id": 98,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 12,
            "origin_id": 96,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 13,
            "origin_id": 97,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 2,
            "type": "IMAGE"
          }
        ],
        "name": "New Subgraph",
        "nodes": [
          {
            "flags": {},
            "id": 96,
            "inputs": [
              {
                "link": 3,
                "name": "value",
                "type": "STRING",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  9,
                  12
                ],
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1460.3466547127982,
              1088.570593255005
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "proxyWidgets": [
                [
                  "115",
                  "value"
                ],
                [
                  "109",
                  "value"
                ],
                [
                  "109",
                  "control_after_generate"
                ]
              ],
              "ver": "0.9.2"
            },
            "size": [
              400,
              157.5
            ],
            "type": "acb845ee-315b-479a-8579-7ad2af961ba0",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 97,
            "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": [
              2129.9999612577085,
              1529.9999761906554
            ],
            "properties": {
              "Node name for S&R": "BatchImagesNode",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              225,
              86
            ],
            "type": "BatchImagesNode",
            "widgets_values": []
          },
          {
            "bgcolor": "#653",
            "color": "#432",
            "flags": {},
            "id": 98,
            "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": null,
                "localized_name": "model",
                "name": "model",
                "type": "COMBO",
                "widget": {
                  "name": "model"
                }
              },
              {
                "link": null,
                "localized_name": "seed",
                "name": "seed",
                "type": "INT",
                "widget": {
                  "name": "seed"
                }
              },
              {
                "link": 10,
                "localized_name": "aspect_ratio",
                "name": "aspect_ratio",
                "type": "COMBO",
                "widget": {
                  "name": "aspect_ratio"
                }
              },
              {
                "link": null,
                "localized_name": "resolution",
                "name": "resolution",
                "type": "COMBO",
                "widget": {
                  "name": "resolution"
                }
              },
              {
                "link": null,
                "localized_name": "response_modalities",
                "name": "response_modalities",
                "type": "COMBO",
                "widget": {
                  "name": "response_modalities"
                }
              },
              {
                "link": null,
                "localized_name": "system_prompt",
                "name": "system_prompt",
                "shape": 7,
                "type": "STRING",
                "widget": {
                  "name": "system_prompt"
                }
              }
            ],
            "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": [
              1960.3467733192963,
              1088.570593255005
            ],
            "properties": {
              "Node name for S&R": "GeminiImage2Node",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              400,
              330.546875
            ],
            "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": [
            2420.3467602171363,
            1152.2853599824598,
            100,
            83.33333333333334
          ],
          "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": 87,
          "lastNodeId": 131,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      },
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "Vue-corrected"
        },
        "groups": [],
        "id": "eaabb89a-2cd6-4960-ad44-1b152bff77c1",
        "inputNode": {
          "bounding": [
            1280.3468515777113,
            1132.2853599824598,
            100,
            83.33333333333334
          ],
          "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": 101,
            "origin_slot": 0,
            "target_id": 100,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 9,
            "origin_id": 99,
            "origin_slot": 0,
            "target_id": 101,
            "target_slot": 2,
            "type": "STRING"
          },
          {
            "id": 3,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 99,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 6,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 100,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 8,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 101,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 10,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 101,
            "target_slot": 5,
            "type": "COMBO"
          },
          {
            "id": 5,
            "origin_id": 101,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 12,
            "origin_id": 99,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 13,
            "origin_id": 100,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 2,
            "type": "IMAGE"
          },
          {
            "id": 14,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 102,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 15,
            "origin_id": 100,
            "origin_slot": 0,
            "target_id": 103,
            "target_slot": 0,
            "type": "IMAGE"
          }
        ],
        "name": "New Subgraph",
        "nodes": [
          {
            "flags": {},
            "id": 99,
            "inputs": [
              {
                "link": 3,
                "name": "value",
                "type": "STRING",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  9,
                  12
                ],
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1460.346585495438,
              1088.5706728569298
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "proxyWidgets": [
                [
                  "123",
                  "value"
                ],
                [
                  "117",
                  "value"
                ],
                [
                  "117",
                  "control_after_generate"
                ]
              ],
              "ver": "0.9.2"
            },
            "size": [
              400,
              157.5
            ],
            "type": "4682df2b-bfbf-4fc5-8bfb-a6eb6aaea892",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 100,
            "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": [
              2129.999940788602,
              1529.9999828422226
            ],
            "properties": {
              "Node name for S&R": "BatchImagesNode",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              225,
              86
            ],
            "type": "BatchImagesNode",
            "widgets_values": []
          },
          {
            "bgcolor": "#653",
            "color": "#432",
            "flags": {},
            "id": 101,
            "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": null,
                "localized_name": "model",
                "name": "model",
                "type": "COMBO",
                "widget": {
                  "name": "model"
                }
              },
              {
                "link": null,
                "localized_name": "seed",
                "name": "seed",
                "type": "INT",
                "widget": {
                  "name": "seed"
                }
              },
              {
                "link": 10,
                "localized_name": "aspect_ratio",
                "name": "aspect_ratio",
                "type": "COMBO",
                "widget": {
                  "name": "aspect_ratio"
                }
              },
              {
                "link": null,
                "localized_name": "resolution",
                "name": "resolution",
                "type": "COMBO",
                "widget": {
                  "name": "resolution"
                }
              },
              {
                "link": null,
                "localized_name": "response_modalities",
                "name": "response_modalities",
                "type": "COMBO",
                "widget": {
                  "name": "response_modalities"
                }
              },
              {
                "link": null,
                "localized_name": "system_prompt",
                "name": "system_prompt",
                "shape": 7,
                "type": "STRING",
                "widget": {
                  "name": "system_prompt"
                }
              }
            ],
            "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": [
              1960.346662745088,
              1088.5706639296454
            ],
            "properties": {
              "Node name for S&R": "GeminiImage2Node",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              400,
              330.546875
            ],
            "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": 102,
            "inputs": [
              {
                "link": 14,
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [],
            "pos": [
              1706.6664430500116,
              1415.0000943708499
            ],
            "properties": {
              "Node name for S&R": "PreviewImage",
              "cnr_id": "comfy-core",
              "ver": "0.10.0"
            },
            "size": [
              187.5,
              156.66666666666669
            ],
            "type": "PreviewImage",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 103,
            "inputs": [
              {
                "link": 15,
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [],
            "pos": [
              2389.999976116879,
              1640.0000199026447
            ],
            "properties": {
              "Node name for S&R": "PreviewImage",
              "cnr_id": "comfy-core",
              "ver": "0.10.0"
            },
            "size": [
              187.5,
              156.66666666666669
            ],
            "type": "PreviewImage",
            "widgets_values": []
          }
        ],
        "outputNode": {
          "bounding": [
            2420.3467602171363,
            1152.2853599824598,
            100,
            83.33333333333334
          ],
          "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": 87,
          "lastNodeId": 131,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      },
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "Vue-corrected"
        },
        "groups": [],
        "id": "86a340d1-ba23-44b6-8470-6b3d64167d65",
        "inputNode": {
          "bounding": [
            1280.3468515777113,
            1132.2853599824598,
            100,
            83.33333333333334
          ],
          "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": 106,
            "origin_slot": 0,
            "target_id": 105,
            "target_slot": 1,
            "type": "IMAGE"
          },
          {
            "id": 9,
            "origin_id": 104,
            "origin_slot": 0,
            "target_id": 106,
            "target_slot": 2,
            "type": "STRING"
          },
          {
            "id": 3,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 104,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 6,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 105,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 8,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 106,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 10,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 106,
            "target_slot": 5,
            "type": "COMBO"
          },
          {
            "id": 5,
            "origin_id": 106,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 12,
            "origin_id": 104,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 13,
            "origin_id": 105,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 2,
            "type": "IMAGE"
          },
          {
            "id": 15,
            "origin_id": 105,
            "origin_slot": 0,
            "target_id": 107,
            "target_slot": 0,
            "type": "IMAGE"
          }
        ],
        "name": "New Subgraph",
        "nodes": [
          {
            "flags": {},
            "id": 104,
            "inputs": [
              {
                "link": 3,
                "name": "value",
                "type": "STRING",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  9,
                  12
                ],
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1460.3466078114898,
              1088.5706399966655
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "proxyWidgets": [
                [
                  "131",
                  "value"
                ],
                [
                  "125",
                  "value"
                ],
                [
                  "125",
                  "control_after_generate"
                ]
              ],
              "ver": "0.9.2"
            },
            "size": [
              400,
              157.5
            ],
            "type": "e5719f6e-fb77-48b8-ba45-c60901a55fe7",
            "widgets_values": []
          },
          {
            "flags": {},
            "id": 105,
            "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": [
              2130.0000961377323,
              1529.9999950686629
            ],
            "properties": {
              "Node name for S&R": "BatchImagesNode",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              225,
              86
            ],
            "type": "BatchImagesNode",
            "widgets_values": []
          },
          {
            "bgcolor": "#653",
            "color": "#432",
            "flags": {},
            "id": 106,
            "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": null,
                "localized_name": "model",
                "name": "model",
                "type": "COMBO",
                "widget": {
                  "name": "model"
                }
              },
              {
                "link": null,
                "localized_name": "seed",
                "name": "seed",
                "type": "INT",
                "widget": {
                  "name": "seed"
                }
              },
              {
                "link": 10,
                "localized_name": "aspect_ratio",
                "name": "aspect_ratio",
                "type": "COMBO",
                "widget": {
                  "name": "aspect_ratio"
                }
              },
              {
                "link": null,
                "localized_name": "resolution",
                "name": "resolution",
                "type": "COMBO",
                "widget": {
                  "name": "resolution"
                }
              },
              {
                "link": null,
                "localized_name": "response_modalities",
                "name": "response_modalities",
                "type": "COMBO",
                "widget": {
                  "name": "response_modalities"
                }
              },
              {
                "link": null,
                "localized_name": "system_prompt",
                "name": "system_prompt",
                "shape": 7,
                "type": "STRING",
                "widget": {
                  "name": "system_prompt"
                }
              }
            ],
            "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": [
              1960.3467646491436,
              1088.5706399966655
            ],
            "properties": {
              "Node name for S&R": "GeminiImage2Node",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              400,
              330.546875
            ],
            "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": 107,
            "inputs": [
              {
                "link": 15,
                "localized_name": "images",
                "name": "images",
                "type": "IMAGE"
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [],
            "pos": [
              2389.9999375456,
              1640.0000222214862
            ],
            "properties": {
              "Node name for S&R": "PreviewImage",
              "cnr_id": "comfy-core",
              "ver": "0.10.0"
            },
            "size": [
              187.5,
              40
            ],
            "type": "PreviewImage",
            "widgets_values": []
          }
        ],
        "outputNode": {
          "bounding": [
            2420.3467602171363,
            1152.2853599824598,
            100,
            83.33333333333334
          ],
          "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": 87,
          "lastNodeId": 131,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      },
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "Vue-corrected"
        },
        "groups": [],
        "id": "acb845ee-315b-479a-8579-7ad2af961ba0",
        "inputNode": {
          "bounding": [
            73.67273065378049,
            1936.3856578008408,
            120,
            60
          ],
          "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": 115,
            "origin_slot": 0,
            "target_id": 113,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 2,
            "origin_id": 108,
            "origin_slot": 0,
            "target_id": 113,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 3,
            "origin_id": 113,
            "origin_slot": 0,
            "target_id": 114,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 4,
            "origin_id": 110,
            "origin_slot": 0,
            "target_id": 111,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 6,
            "origin_id": 111,
            "origin_slot": 0,
            "target_id": 108,
            "target_slot": 2,
            "type": "STRING"
          },
          {
            "id": 7,
            "origin_id": 109,
            "origin_slot": 0,
            "target_id": 110,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 8,
            "origin_id": 113,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 9,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 115,
            "target_slot": 0,
            "type": "STRING"
          }
        ],
        "name": "Batch Prompt Iterator",
        "nodes": [
          {
            "flags": {},
            "id": 108,
            "inputs": [
              {
                "link": null,
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                }
              },
              {
                "link": null,
                "localized_name": "regex_pattern",
                "name": "regex_pattern",
                "type": "STRING",
                "widget": {
                  "name": "regex_pattern"
                }
              },
              {
                "link": 6,
                "localized_name": "replace",
                "name": "replace",
                "type": "STRING",
                "widget": {
                  "name": "replace"
                }
              },
              {
                "link": null,
                "localized_name": "case_insensitive",
                "name": "case_insensitive",
                "shape": 7,
                "type": "BOOLEAN",
                "widget": {
                  "name": "case_insensitive"
                }
              },
              {
                "link": null,
                "localized_name": "multiline",
                "name": "multiline",
                "shape": 7,
                "type": "BOOLEAN",
                "widget": {
                  "name": "multiline"
                }
              },
              {
                "link": null,
                "localized_name": "dotall",
                "name": "dotall",
                "shape": 7,
                "type": "BOOLEAN",
                "widget": {
                  "name": "dotall"
                }
              },
              {
                "link": null,
                "localized_name": "count",
                "name": "count",
                "shape": 7,
                "type": "INT",
                "widget": {
                  "name": "count"
                }
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [
              {
                "links": [
                  2
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1213.6726054860876,
              1545.3856867818743
            ],
            "properties": {
              "Node name for S&R": "RegexReplace",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              225,
              435
            ],
            "type": "RegexReplace",
            "widgets_values": [
              "(?:^(?!\\s*\\*?\\s*$).+$\\n(?:^\\s*\\*?\\s*$\\n)*){0}^(?!\\s*\\*?\\s*$)(.+)$",
              "(?<=\\{)\\d+(?=\\})",
              "",
              true,
              false,
              false,
              0
            ]
          },
          {
            "flags": {},
            "id": 109,
            "inputs": [
              {
                "link": null,
                "localized_name": "value",
                "name": "value",
                "type": "INT",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  7
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              }
            ],
            "pos": [
              673.6726049456445,
              1675.385622611757
            ],
            "properties": {
              "Node name for S&R": "PrimitiveInt",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              295.91953125,
              105
            ],
            "title": "Int - Select Prompt Number (not index)",
            "type": "PrimitiveInt",
            "widgets_values": [
              4,
              "fixed"
            ]
          },
          {
            "flags": {
              "collapsed": true
            },
            "id": 110,
            "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"
              },
              {
                "link": null,
                "localized_name": "value",
                "name": "value",
                "type": "STRING",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  4
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              }
            ],
            "pos": [
              689.9998931000553,
              1609.9997656727699
            ],
            "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": 111,
            "inputs": [
              {
                "link": 4,
                "localized_name": "input",
                "name": "input",
                "type": "*"
              },
              {
                "link": null,
                "localized_name": "prefix",
                "name": "prefix",
                "shape": 7,
                "type": "STRING",
                "widget": {
                  "name": "prefix"
                }
              },
              {
                "link": null,
                "localized_name": "suffix",
                "name": "suffix",
                "shape": 7,
                "type": "STRING",
                "widget": {
                  "name": "suffix"
                }
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [
              {
                "links": [
                  6
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              979.9998349355445,
              1609.9997656727699
            ],
            "properties": {
              "Node name for S&R": "SomethingToString",
              "cnr_id": "comfyui-kjnodes",
              "ver": "c661baadd9683c0033cd2a6ad90157c6d099a6c2"
            },
            "size": [
              210,
              34
            ],
            "type": "SomethingToString",
            "widgets_values": [
              "",
              ""
            ]
          },
          {
            "bgcolor": "#653",
            "color": "#432",
            "flags": {},
            "id": 112,
            "inputs": [],
            "mode": 0,
            "order": 1,
            "outputs": [],
            "pos": [
              1449.9997243419075,
              1549.9999409769669
            ],
            "properties": {},
            "size": [
              360,
              1448.328125
            ],
            "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": 113,
            "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"
                }
              },
              {
                "link": null,
                "localized_name": "mode",
                "name": "mode",
                "type": "COMBO",
                "widget": {
                  "name": "mode"
                }
              },
              {
                "link": null,
                "localized_name": "case_insensitive",
                "name": "case_insensitive",
                "type": "BOOLEAN",
                "widget": {
                  "name": "case_insensitive"
                }
              },
              {
                "link": null,
                "localized_name": "multiline",
                "name": "multiline",
                "type": "BOOLEAN",
                "widget": {
                  "name": "multiline"
                }
              },
              {
                "link": null,
                "localized_name": "dotall",
                "name": "dotall",
                "type": "BOOLEAN",
                "widget": {
                  "name": "dotall"
                }
              },
              {
                "link": null,
                "localized_name": "group_index",
                "name": "group_index",
                "type": "INT",
                "widget": {
                  "name": "group_index"
                }
              }
            ],
            "mode": 0,
            "order": 5,
            "outputs": [
              {
                "links": [
                  3,
                  8
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1829.999876704566,
              1549.9999409769669
            ],
            "properties": {
              "Node name for S&R": "RegexExtract",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              400,
              377.65625
            ],
            "type": "RegexExtract",
            "widgets_values": [
              "",
              "",
              "First Group",
              true,
              true,
              false,
              1
            ]
          },
          {
            "flags": {},
            "id": 114,
            "inputs": [
              {
                "link": 3,
                "localized_name": "source",
                "name": "source",
                "type": "*"
              }
            ],
            "mode": 0,
            "order": 6,
            "outputs": [
              {
                "links": null,
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1999.999853492806,
              1859.9999822055452
            ],
            "properties": {
              "Node name for S&R": "PreviewAny",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              230,
              225
            ],
            "type": "PreviewAny",
            "widgets_values": [
              null,
              null,
              null
            ]
          },
          {
            "flags": {},
            "id": 115,
            "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": [
              259.9998868242276,
              1680.0001924624933
            ],
            "properties": {
              "Node name for S&R": "PrimitiveStringMultiline",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              400,
              495
            ],
            "type": "PrimitiveStringMultiline",
            "widgets_values": [
              ""
            ]
          }
        ],
        "outputNode": {
          "bounding": [
            2450,
            1880,
            120,
            60
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "90326b5a-6290-4028-9573-5338419fba1b",
            "linkIds": [
              8
            ],
            "name": "STRING",
            "pos": [
              2470,
              1900
            ],
            "type": "STRING"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 0,
          "lastLinkId": 87,
          "lastNodeId": 131,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      },
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "Vue-corrected"
        },
        "groups": [],
        "id": "4682df2b-bfbf-4fc5-8bfb-a6eb6aaea892",
        "inputNode": {
          "bounding": [
            73.67273065378049,
            1936.3856578008408,
            120,
            60
          ],
          "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": 123,
            "origin_slot": 0,
            "target_id": 121,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 2,
            "origin_id": 116,
            "origin_slot": 0,
            "target_id": 121,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 3,
            "origin_id": 121,
            "origin_slot": 0,
            "target_id": 122,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 4,
            "origin_id": 118,
            "origin_slot": 0,
            "target_id": 119,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 6,
            "origin_id": 119,
            "origin_slot": 0,
            "target_id": 116,
            "target_slot": 2,
            "type": "STRING"
          },
          {
            "id": 7,
            "origin_id": 117,
            "origin_slot": 0,
            "target_id": 118,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 8,
            "origin_id": 121,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 9,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 123,
            "target_slot": 0,
            "type": "STRING"
          }
        ],
        "name": "Batch Prompt Iterator",
        "nodes": [
          {
            "flags": {},
            "id": 116,
            "inputs": [
              {
                "link": null,
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                }
              },
              {
                "link": null,
                "localized_name": "regex_pattern",
                "name": "regex_pattern",
                "type": "STRING",
                "widget": {
                  "name": "regex_pattern"
                }
              },
              {
                "link": 6,
                "localized_name": "replace",
                "name": "replace",
                "type": "STRING",
                "widget": {
                  "name": "replace"
                }
              },
              {
                "link": null,
                "localized_name": "case_insensitive",
                "name": "case_insensitive",
                "shape": 7,
                "type": "BOOLEAN",
                "widget": {
                  "name": "case_insensitive"
                }
              },
              {
                "link": null,
                "localized_name": "multiline",
                "name": "multiline",
                "shape": 7,
                "type": "BOOLEAN",
                "widget": {
                  "name": "multiline"
                }
              },
              {
                "link": null,
                "localized_name": "dotall",
                "name": "dotall",
                "shape": 7,
                "type": "BOOLEAN",
                "widget": {
                  "name": "dotall"
                }
              },
              {
                "link": null,
                "localized_name": "count",
                "name": "count",
                "shape": 7,
                "type": "INT",
                "widget": {
                  "name": "count"
                }
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [
              {
                "links": [
                  2
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1213.6726054860876,
              1545.3856867818743
            ],
            "properties": {
              "Node name for S&R": "RegexReplace",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              225,
              435
            ],
            "type": "RegexReplace",
            "widgets_values": [
              "(?:^(?!\\s*\\*?\\s*$).+$\\n(?:^\\s*\\*?\\s*$\\n)*){0}^(?!\\s*\\*?\\s*$)(.+)$",
              "(?<=\\{)\\d+(?=\\})",
              "",
              true,
              false,
              false,
              0
            ]
          },
          {
            "flags": {},
            "id": 117,
            "inputs": [
              {
                "link": null,
                "localized_name": "value",
                "name": "value",
                "type": "INT",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  7
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              }
            ],
            "pos": [
              673.6726049456445,
              1675.385622611757
            ],
            "properties": {
              "Node name for S&R": "PrimitiveInt",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              295.91953125,
              105
            ],
            "title": "Int - Select Prompt Number (not index)",
            "type": "PrimitiveInt",
            "widgets_values": [
              5,
              "fixed"
            ]
          },
          {
            "flags": {
              "collapsed": true
            },
            "id": 118,
            "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"
              },
              {
                "link": null,
                "localized_name": "value",
                "name": "value",
                "type": "STRING",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  4
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              }
            ],
            "pos": [
              689.9998931000553,
              1609.9997656727699
            ],
            "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": 119,
            "inputs": [
              {
                "link": 4,
                "localized_name": "input",
                "name": "input",
                "type": "*"
              },
              {
                "link": null,
                "localized_name": "prefix",
                "name": "prefix",
                "shape": 7,
                "type": "STRING",
                "widget": {
                  "name": "prefix"
                }
              },
              {
                "link": null,
                "localized_name": "suffix",
                "name": "suffix",
                "shape": 7,
                "type": "STRING",
                "widget": {
                  "name": "suffix"
                }
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [
              {
                "links": [
                  6
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              979.9998349355445,
              1609.9997656727699
            ],
            "properties": {
              "Node name for S&R": "SomethingToString",
              "cnr_id": "comfyui-kjnodes",
              "ver": "c661baadd9683c0033cd2a6ad90157c6d099a6c2"
            },
            "size": [
              210,
              34
            ],
            "type": "SomethingToString",
            "widgets_values": [
              "",
              ""
            ]
          },
          {
            "bgcolor": "#653",
            "color": "#432",
            "flags": {},
            "id": 120,
            "inputs": [],
            "mode": 0,
            "order": 1,
            "outputs": [],
            "pos": [
              1449.9997243419075,
              1549.9999409769669
            ],
            "properties": {},
            "size": [
              360,
              1448.328125
            ],
            "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": 121,
            "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"
                }
              },
              {
                "link": null,
                "localized_name": "mode",
                "name": "mode",
                "type": "COMBO",
                "widget": {
                  "name": "mode"
                }
              },
              {
                "link": null,
                "localized_name": "case_insensitive",
                "name": "case_insensitive",
                "type": "BOOLEAN",
                "widget": {
                  "name": "case_insensitive"
                }
              },
              {
                "link": null,
                "localized_name": "multiline",
                "name": "multiline",
                "type": "BOOLEAN",
                "widget": {
                  "name": "multiline"
                }
              },
              {
                "link": null,
                "localized_name": "dotall",
                "name": "dotall",
                "type": "BOOLEAN",
                "widget": {
                  "name": "dotall"
                }
              },
              {
                "link": null,
                "localized_name": "group_index",
                "name": "group_index",
                "type": "INT",
                "widget": {
                  "name": "group_index"
                }
              }
            ],
            "mode": 0,
            "order": 5,
            "outputs": [
              {
                "links": [
                  3,
                  8
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1829.999876704566,
              1549.9999409769669
            ],
            "properties": {
              "Node name for S&R": "RegexExtract",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              400,
              377.65625
            ],
            "type": "RegexExtract",
            "widgets_values": [
              "",
              "",
              "First Group",
              true,
              true,
              false,
              1
            ]
          },
          {
            "flags": {},
            "id": 122,
            "inputs": [
              {
                "link": 3,
                "localized_name": "source",
                "name": "source",
                "type": "*"
              }
            ],
            "mode": 0,
            "order": 6,
            "outputs": [
              {
                "links": null,
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1999.999853492806,
              1859.9999822055452
            ],
            "properties": {
              "Node name for S&R": "PreviewAny",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              230,
              225
            ],
            "type": "PreviewAny",
            "widgets_values": [
              null,
              null,
              null
            ]
          },
          {
            "flags": {},
            "id": 123,
            "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": [
              259.9998868242276,
              1680.0001924624933
            ],
            "properties": {
              "Node name for S&R": "PrimitiveStringMultiline",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              400,
              495
            ],
            "type": "PrimitiveStringMultiline",
            "widgets_values": [
              ""
            ]
          }
        ],
        "outputNode": {
          "bounding": [
            2450,
            1880,
            120,
            60
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "90326b5a-6290-4028-9573-5338419fba1b",
            "linkIds": [
              8
            ],
            "name": "STRING",
            "pos": [
              2470,
              1900
            ],
            "type": "STRING"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 0,
          "lastLinkId": 87,
          "lastNodeId": 131,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      },
      {
        "config": {},
        "extra": {
          "workflowRendererVersion": "Vue-corrected"
        },
        "groups": [],
        "id": "e5719f6e-fb77-48b8-ba45-c60901a55fe7",
        "inputNode": {
          "bounding": [
            73.67273065378049,
            1936.3856578008408,
            120,
            60
          ],
          "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": 131,
            "origin_slot": 0,
            "target_id": 129,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 2,
            "origin_id": 124,
            "origin_slot": 0,
            "target_id": 129,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 3,
            "origin_id": 129,
            "origin_slot": 0,
            "target_id": 130,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 4,
            "origin_id": 126,
            "origin_slot": 0,
            "target_id": 127,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 6,
            "origin_id": 127,
            "origin_slot": 0,
            "target_id": 124,
            "target_slot": 2,
            "type": "STRING"
          },
          {
            "id": 7,
            "origin_id": 125,
            "origin_slot": 0,
            "target_id": 126,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 8,
            "origin_id": 129,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 9,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 131,
            "target_slot": 0,
            "type": "STRING"
          }
        ],
        "name": "Batch Prompt Iterator",
        "nodes": [
          {
            "flags": {},
            "id": 124,
            "inputs": [
              {
                "link": null,
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                }
              },
              {
                "link": null,
                "localized_name": "regex_pattern",
                "name": "regex_pattern",
                "type": "STRING",
                "widget": {
                  "name": "regex_pattern"
                }
              },
              {
                "link": 6,
                "localized_name": "replace",
                "name": "replace",
                "type": "STRING",
                "widget": {
                  "name": "replace"
                }
              },
              {
                "link": null,
                "localized_name": "case_insensitive",
                "name": "case_insensitive",
                "shape": 7,
                "type": "BOOLEAN",
                "widget": {
                  "name": "case_insensitive"
                }
              },
              {
                "link": null,
                "localized_name": "multiline",
                "name": "multiline",
                "shape": 7,
                "type": "BOOLEAN",
                "widget": {
                  "name": "multiline"
                }
              },
              {
                "link": null,
                "localized_name": "dotall",
                "name": "dotall",
                "shape": 7,
                "type": "BOOLEAN",
                "widget": {
                  "name": "dotall"
                }
              },
              {
                "link": null,
                "localized_name": "count",
                "name": "count",
                "shape": 7,
                "type": "INT",
                "widget": {
                  "name": "count"
                }
              }
            ],
            "mode": 0,
            "order": 4,
            "outputs": [
              {
                "links": [
                  2
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1213.6726054860876,
              1545.3856867818743
            ],
            "properties": {
              "Node name for S&R": "RegexReplace",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              225,
              435
            ],
            "type": "RegexReplace",
            "widgets_values": [
              "(?:^(?!\\s*\\*?\\s*$).+$\\n(?:^\\s*\\*?\\s*$\\n)*){0}^(?!\\s*\\*?\\s*$)(.+)$",
              "(?<=\\{)\\d+(?=\\})",
              "",
              true,
              false,
              false,
              0
            ]
          },
          {
            "flags": {},
            "id": 125,
            "inputs": [
              {
                "link": null,
                "localized_name": "value",
                "name": "value",
                "type": "INT",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 0,
            "outputs": [
              {
                "links": [
                  7
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              }
            ],
            "pos": [
              673.6726049456445,
              1675.385622611757
            ],
            "properties": {
              "Node name for S&R": "PrimitiveInt",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              295.91953125,
              105
            ],
            "title": "Int - Select Prompt Number (not index)",
            "type": "PrimitiveInt",
            "widgets_values": [
              6,
              "fixed"
            ]
          },
          {
            "flags": {
              "collapsed": true
            },
            "id": 126,
            "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"
              },
              {
                "link": null,
                "localized_name": "value",
                "name": "value",
                "type": "STRING",
                "widget": {
                  "name": "value"
                }
              }
            ],
            "mode": 0,
            "order": 2,
            "outputs": [
              {
                "links": [
                  4
                ],
                "localized_name": "INT",
                "name": "INT",
                "type": "INT"
              },
              {
                "links": null,
                "localized_name": "FLOAT",
                "name": "FLOAT",
                "type": "FLOAT"
              }
            ],
            "pos": [
              689.9998931000553,
              1609.9997656727699
            ],
            "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": 127,
            "inputs": [
              {
                "link": 4,
                "localized_name": "input",
                "name": "input",
                "type": "*"
              },
              {
                "link": null,
                "localized_name": "prefix",
                "name": "prefix",
                "shape": 7,
                "type": "STRING",
                "widget": {
                  "name": "prefix"
                }
              },
              {
                "link": null,
                "localized_name": "suffix",
                "name": "suffix",
                "shape": 7,
                "type": "STRING",
                "widget": {
                  "name": "suffix"
                }
              }
            ],
            "mode": 0,
            "order": 3,
            "outputs": [
              {
                "links": [
                  6
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              979.9998349355445,
              1609.9997656727699
            ],
            "properties": {
              "Node name for S&R": "SomethingToString",
              "cnr_id": "comfyui-kjnodes",
              "ver": "c661baadd9683c0033cd2a6ad90157c6d099a6c2"
            },
            "size": [
              210,
              34
            ],
            "type": "SomethingToString",
            "widgets_values": [
              "",
              ""
            ]
          },
          {
            "bgcolor": "#653",
            "color": "#432",
            "flags": {},
            "id": 128,
            "inputs": [],
            "mode": 0,
            "order": 1,
            "outputs": [],
            "pos": [
              1449.9997243419075,
              1549.9999409769669
            ],
            "properties": {},
            "size": [
              360,
              1448.328125
            ],
            "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": 129,
            "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"
                }
              },
              {
                "link": null,
                "localized_name": "mode",
                "name": "mode",
                "type": "COMBO",
                "widget": {
                  "name": "mode"
                }
              },
              {
                "link": null,
                "localized_name": "case_insensitive",
                "name": "case_insensitive",
                "type": "BOOLEAN",
                "widget": {
                  "name": "case_insensitive"
                }
              },
              {
                "link": null,
                "localized_name": "multiline",
                "name": "multiline",
                "type": "BOOLEAN",
                "widget": {
                  "name": "multiline"
                }
              },
              {
                "link": null,
                "localized_name": "dotall",
                "name": "dotall",
                "type": "BOOLEAN",
                "widget": {
                  "name": "dotall"
                }
              },
              {
                "link": null,
                "localized_name": "group_index",
                "name": "group_index",
                "type": "INT",
                "widget": {
                  "name": "group_index"
                }
              }
            ],
            "mode": 0,
            "order": 5,
            "outputs": [
              {
                "links": [
                  3,
                  8
                ],
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1829.999876704566,
              1549.9999409769669
            ],
            "properties": {
              "Node name for S&R": "RegexExtract",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              400,
              377.65625
            ],
            "type": "RegexExtract",
            "widgets_values": [
              "",
              "",
              "First Group",
              true,
              true,
              false,
              1
            ]
          },
          {
            "flags": {},
            "id": 130,
            "inputs": [
              {
                "link": 3,
                "localized_name": "source",
                "name": "source",
                "type": "*"
              }
            ],
            "mode": 0,
            "order": 6,
            "outputs": [
              {
                "links": null,
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING"
              }
            ],
            "pos": [
              1999.999853492806,
              1859.9999822055452
            ],
            "properties": {
              "Node name for S&R": "PreviewAny",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              230,
              225
            ],
            "type": "PreviewAny",
            "widgets_values": [
              null,
              null,
              null
            ]
          },
          {
            "flags": {},
            "id": 131,
            "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": [
              259.9998868242276,
              1680.0001924624933
            ],
            "properties": {
              "Node name for S&R": "PrimitiveStringMultiline",
              "cnr_id": "comfy-core",
              "ver": "0.9.2"
            },
            "size": [
              400,
              495
            ],
            "type": "PrimitiveStringMultiline",
            "widgets_values": [
              ""
            ]
          }
        ],
        "outputNode": {
          "bounding": [
            2450,
            1880,
            120,
            60
          ],
          "id": -20
        },
        "outputs": [
          {
            "id": "90326b5a-6290-4028-9573-5338419fba1b",
            "linkIds": [
              8
            ],
            "name": "STRING",
            "pos": [
              2470,
              1900
            ],
            "type": "STRING"
          }
        ],
        "revision": 0,
        "state": {
          "lastGroupId": 0,
          "lastLinkId": 87,
          "lastNodeId": 131,
          "lastRerouteId": 0
        },
        "version": 1,
        "widgets": []
      }
    ]
  },
  "extra": {
    "VHS_KeepIntermediate": true,
    "VHS_MetadataImage": true,
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "ds": {
      "offset": [
        889.3220461025173,
        -41.739827426983396
      ],
      "scale": 0.36848586597455496
    },
    "frontendVersion": "1.38.11",
    "workflowRendererVersion": "Vue-corrected"
  },
  "groups": [],
  "id": "987b0c19-0edf-4fae-962a-1fd3cf8d155e",
  "last_link_id": 87,
  "last_node_id": 131,
  "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,
          "localized_name": "images",
          "name": "images",
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "filename_prefix",
          "name": "filename_prefix",
          "type": "STRING",
          "widget": {
            "name": "filename_prefix"
          }
        }
      ],
      "mode": 0,
      "order": 8,
      "outputs": [],
      "pos": [
        1414.999641133429,
        1023.3329728309272
      ],
      "properties": {
        "Node name for S&R": "SaveImage",
        "cnr_id": "comfy-core",
        "ver": "0.9.2"
      },
      "size": [
        666.65625,
        463.6875
      ],
      "title": "Save Image 1",
      "type": "SaveImage",
      "widgets_values": [
        "ComfyUI-image_1"
      ]
    },
    {
      "bgcolor": "#353",
      "color": "#232",
      "flags": {},
      "id": 6,
      "inputs": [
        {
          "link": null,
          "localized_name": "image",
          "name": "image",
          "type": "COMBO",
          "widget": {
            "name": "image"
          }
        },
        {
          "link": null,
          "localized_name": "choose file to upload",
          "name": "upload",
          "type": "IMAGEUPLOAD",
          "widget": {
            "name": "upload"
          }
        }
      ],
      "mode": 0,
      "order": 0,
      "outputs": [
        {
          "links": [
            2,
            86,
            87
          ],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": null,
          "localized_name": "MASK",
          "name": "MASK",
          "type": "MASK"
        }
      ],
      "pos": [
        123.33321561706487,
        1023.3328359402549
      ],
      "properties": {
        "Node name for S&R": "LoadImage",
        "cnr_id": "comfy-core",
        "ver": "0.9.2"
      },
      "size": [
        625,
        460.4375
      ],
      "title": "Load Reference Image",
      "type": "LoadImage",
      "widgets_values": [
        "f076b4b3a7d2968cb0382a93479cf1e5af6117ccf4427bf131097b2daabfa6b4.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": [
        439.9987714783438,
        856.6665260570815
      ],
      "properties": {
        "Run widget replace on values": false
      },
      "size": [
        310,
        118
      ],
      "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,
          "localized_name": "images.image0",
          "name": "images.image0",
          "type": "IMAGE"
        },
        {
          "link": 14,
          "localized_name": "aspect_ratio",
          "name": "aspect_ratio",
          "type": "COMBO",
          "widget": {
            "name": "aspect_ratio"
          }
        }
      ],
      "mode": 0,
      "order": 5,
      "outputs": [
        {
          "links": [
            15
          ],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": [
            16
          ],
          "name": "STRING",
          "type": "STRING"
        },
        {
          "label": "IMAGES",
          "links": [],
          "name": "IMAGE_1",
          "type": "IMAGE"
        }
      ],
      "pos": [
        1414.9997780241013,
        723.3330948566604
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "proxyWidgets": [
          [
            "67",
            "value"
          ],
          [
            "69",
            "aspect_ratio"
          ],
          [
            "69",
            "seed"
          ]
        ],
        "ver": "0.10.0"
      },
      "size": [
        333.3125,
        230
      ],
      "title": "Generate Image 1",
      "type": "d33c1791-dfd2-4102-8540-aa63e4434cd2",
      "widgets_values": []
    },
    {
      "flags": {},
      "id": 11,
      "inputs": [
        {
          "link": 16,
          "localized_name": "source",
          "name": "source",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 9,
      "outputs": [
        {
          "links": null,
          "localized_name": "STRING",
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        1773.3332888185626,
        723.3330948566604
      ],
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.9.2"
      },
      "size": [
        308.3125,
        151.328125
      ],
      "title": "Preview Prompt 1",
      "type": "PreviewAny",
      "widgets_values": [
        null,
        null,
        null
      ]
    },
    {
      "flags": {},
      "id": 18,
      "inputs": [
        {
          "link": 28,
          "localized_name": "images",
          "name": "images",
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "filename_prefix",
          "name": "filename_prefix",
          "type": "STRING",
          "widget": {
            "name": "filename_prefix"
          }
        }
      ],
      "mode": 0,
      "order": 15,
      "outputs": [],
      "pos": [
        2164.999130733088,
        1023.3329728309272
      ],
      "properties": {
        "Node name for S&R": "SaveImage",
        "cnr_id": "comfy-core",
        "ver": "0.9.2"
      },
      "size": [
        666.65625,
        463.6875
      ],
      "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,
          "localized_name": "images.image0",
          "name": "images.image0",
          "type": "IMAGE"
        },
        {
          "link": 81,
          "localized_name": "aspect_ratio",
          "name": "aspect_ratio",
          "type": "COMBO",
          "widget": {
            "name": "aspect_ratio"
          }
        }
      ],
      "mode": 0,
      "order": 12,
      "outputs": [
        {
          "links": [
            28
          ],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": [
            31
          ],
          "name": "STRING",
          "type": "STRING"
        },
        {
          "label": "IMAGES",
          "links": [],
          "name": "IMAGE_1",
          "type": "IMAGE"
        }
      ],
      "pos": [
        2161.0182282857554,
        677.5598530009524
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "proxyWidgets": [
          [
            "70",
            "value"
          ],
          [
            "72",
            "aspect_ratio"
          ],
          [
            "72",
            "seed"
          ],
          [
            "73",
            "$$canvas-image-preview"
          ],
          [
            "74",
            "$$canvas-image-preview"
          ]
        ],
        "ver": "0.10.0"
      },
      "size": [
        333.3125,
        690
      ],
      "title": "Generate Image 2",
      "type": "f2228dc9-64e8-43b1-a4ca-b8a57eed8f64",
      "widgets_values": []
    },
    {
      "flags": {},
      "id": 20,
      "inputs": [
        {
          "link": 31,
          "localized_name": "source",
          "name": "source",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 16,
      "outputs": [
        {
          "links": null,
          "localized_name": "STRING",
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        2523.3329153088935,
        723.3330948566604
      ],
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.9.2"
      },
      "size": [
        308.3125,
        151.328125
      ],
      "title": "Preview Prompt 2",
      "type": "PreviewAny",
      "widgets_values": [
        null,
        null,
        null
      ]
    },
    {
      "flags": {},
      "id": 21,
      "inputs": [
        {
          "link": 33,
          "localized_name": "images",
          "name": "images",
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "filename_prefix",
          "name": "filename_prefix",
          "type": "STRING",
          "widget": {
            "name": "filename_prefix"
          }
        }
      ],
      "mode": 0,
      "order": 20,
      "outputs": [],
      "pos": [
        2914.9990310047633,
        1023.3329728309272
      ],
      "properties": {
        "Node name for S&R": "SaveImage",
        "cnr_id": "comfy-core",
        "ver": "0.9.2"
      },
      "size": [
        666.65625,
        463.6875
      ],
      "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,
          "localized_name": "images.image0",
          "name": "images.image0",
          "type": "IMAGE"
        },
        {
          "link": 82,
          "localized_name": "aspect_ratio",
          "name": "aspect_ratio",
          "type": "COMBO",
          "widget": {
            "name": "aspect_ratio"
          }
        }
      ],
      "mode": 0,
      "order": 17,
      "outputs": [
        {
          "links": [
            33
          ],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": [
            36
          ],
          "name": "STRING",
          "type": "STRING"
        },
        {
          "label": "IMAGES",
          "links": [],
          "name": "IMAGE_1",
          "type": "IMAGE"
        }
      ],
      "pos": [
        2914.9984984691446,
        723.3327832918798
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "proxyWidgets": [
          [
            "83",
            "value"
          ],
          [
            "85",
            "aspect_ratio"
          ],
          [
            "85",
            "seed"
          ],
          [
            "86",
            "$$canvas-image-preview"
          ],
          [
            "87",
            "$$canvas-image-preview"
          ]
        ],
        "ver": "0.10.0"
      },
      "size": [
        333.3125,
        690
      ],
      "title": "Generate Image 3",
      "type": "e3dd2fcb-0e5e-47a8-963b-adea96749eb0",
      "widgets_values": []
    },
    {
      "flags": {},
      "id": 23,
      "inputs": [
        {
          "link": 36,
          "localized_name": "source",
          "name": "source",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 21,
      "outputs": [
        {
          "links": null,
          "localized_name": "STRING",
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        3273.333363143258,
        723.3330948566604
      ],
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.9.2"
      },
      "size": [
        308.3125,
        151.328125
      ],
      "title": "Preview Prompt 3",
      "type": "PreviewAny",
      "widgets_values": [
        null,
        null,
        null
      ]
    },
    {
      "flags": {},
      "id": 24,
      "inputs": [
        {
          "link": 38,
          "localized_name": "images",
          "name": "images",
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "filename_prefix",
          "name": "filename_prefix",
          "type": "STRING",
          "widget": {
            "name": "filename_prefix"
          }
        }
      ],
      "mode": 0,
      "order": 24,
      "outputs": [],
      "pos": [
        3664.9989312764387,
        1023.3329728309272
      ],
      "properties": {
        "Node name for S&R": "SaveImage",
        "cnr_id": "comfy-core",
        "ver": "0.9.2"
      },
      "size": [
        666.65625,
        463.6875
      ],
      "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,
          "localized_name": "images.image0",
          "name": "images.image0",
          "type": "IMAGE"
        },
        {
          "link": 83,
          "localized_name": "aspect_ratio",
          "name": "aspect_ratio",
          "type": "COMBO",
          "widget": {
            "name": "aspect_ratio"
          }
        }
      ],
      "mode": 0,
      "order": 22,
      "outputs": [
        {
          "links": [
            38
          ],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": [
            41
          ],
          "name": "STRING",
          "type": "STRING"
        },
        {
          "label": "IMAGES",
          "links": [],
          "name": "IMAGE_1",
          "type": "IMAGE"
        }
      ],
      "pos": [
        3664.999205057783,
        723.3330948566604
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "proxyWidgets": [
          [
            "96",
            "value"
          ],
          [
            "98",
            "aspect_ratio"
          ],
          [
            "98",
            "seed"
          ]
        ],
        "ver": "0.10.0"
      },
      "size": [
        333.3125,
        230
      ],
      "title": "Generate Image 4",
      "type": "601fd020-3eba-4b24-b15f-a2a9c0307d3a",
      "widgets_values": []
    },
    {
      "flags": {},
      "id": 26,
      "inputs": [
        {
          "link": 41,
          "localized_name": "source",
          "name": "source",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 25,
      "outputs": [
        {
          "links": null,
          "localized_name": "STRING",
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        4023.331894508211,
        723.3330948566604
      ],
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.9.2"
      },
      "size": [
        308.3125,
        151.328125
      ],
      "title": "Preview Prompt 4",
      "type": "PreviewAny",
      "widgets_values": [
        null,
        null,
        null
      ]
    },
    {
      "flags": {},
      "id": 27,
      "inputs": [
        {
          "link": 42,
          "localized_name": "images",
          "name": "images",
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "filename_prefix",
          "name": "filename_prefix",
          "type": "STRING",
          "widget": {
            "name": "filename_prefix"
          }
        }
      ],
      "mode": 0,
      "order": 28,
      "outputs": [],
      "pos": [
        4414.998283985425,
        1023.3329728309272
      ],
      "properties": {
        "Node name for S&R": "SaveImage",
        "cnr_id": "comfy-core",
        "ver": "0.9.2"
      },
      "size": [
        666.65625,
        463.6875
      ],
      "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,
          "localized_name": "images.image0",
          "name": "images.image0",
          "type": "IMAGE"
        },
        {
          "link": 84,
          "localized_name": "aspect_ratio",
          "name": "aspect_ratio",
          "type": "COMBO",
          "widget": {
            "name": "aspect_ratio"
          }
        }
      ],
      "mode": 0,
      "order": 26,
      "outputs": [
        {
          "links": [
            42
          ],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": [
            45
          ],
          "name": "STRING",
          "type": "STRING"
        },
        {
          "label": "IMAGES",
          "links": [],
          "name": "IMAGE_1",
          "type": "IMAGE"
        }
      ],
      "pos": [
        4414.997758043611,
        723.3327832918798
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "proxyWidgets": [
          [
            "99",
            "value"
          ],
          [
            "101",
            "aspect_ratio"
          ],
          [
            "101",
            "seed"
          ],
          [
            "102",
            "$$canvas-image-preview"
          ],
          [
            "103",
            "$$canvas-image-preview"
          ]
        ],
        "ver": "0.10.0"
      },
      "size": [
        333.3125,
        690
      ],
      "title": "Generate Image 5",
      "type": "eaabb89a-2cd6-4960-ad44-1b152bff77c1",
      "widgets_values": []
    },
    {
      "flags": {},
      "id": 29,
      "inputs": [
        {
          "link": 45,
          "localized_name": "source",
          "name": "source",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 29,
      "outputs": [
        {
          "links": null,
          "localized_name": "STRING",
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        4773.332068561231,
        723.3330948566604
      ],
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.9.2"
      },
      "size": [
        308.3125,
        151.328125
      ],
      "title": "Preview Prompt 5",
      "type": "PreviewAny",
      "widgets_values": [
        null,
        null,
        null
      ]
    },
    {
      "flags": {},
      "id": 30,
      "inputs": [
        {
          "link": 46,
          "localized_name": "images",
          "name": "images",
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "filename_prefix",
          "name": "filename_prefix",
          "type": "STRING",
          "widget": {
            "name": "filename_prefix"
          }
        }
      ],
      "mode": 0,
      "order": 31,
      "outputs": [],
      "pos": [
        5164.998184257101,
        1023.3329728309272
      ],
      "properties": {
        "Node name for S&R": "SaveImage",
        "cnr_id": "comfy-core",
        "ver": "0.9.2"
      },
      "size": [
        666.65625,
        463.6875
      ],
      "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,
          "localized_name": "images.image0",
          "name": "images.image0",
          "type": "IMAGE"
        },
        {
          "link": 85,
          "localized_name": "aspect_ratio",
          "name": "aspect_ratio",
          "type": "COMBO",
          "widget": {
            "name": "aspect_ratio"
          }
        }
      ],
      "mode": 0,
      "order": 30,
      "outputs": [
        {
          "links": [
            46
          ],
          "localized_name": "IMAGE",
          "name": "IMAGE",
          "type": "IMAGE"
        },
        {
          "links": [
            49
          ],
          "name": "STRING",
          "type": "STRING"
        },
        {
          "label": "IMAGES",
          "links": [],
          "name": "IMAGE_1",
          "type": "IMAGE"
        }
      ],
      "pos": [
        5164.998454875619,
        723.3329166724767
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "proxyWidgets": [
          [
            "104",
            "value"
          ],
          [
            "106",
            "aspect_ratio"
          ],
          [
            "106",
            "seed"
          ],
          [
            "107",
            "$$canvas-image-preview"
          ]
        ],
        "ver": "0.10.0"
      },
      "size": [
        333.3125,
        462
      ],
      "title": "Generate Image 6",
      "type": "86a340d1-ba23-44b6-8470-6b3d64167d65",
      "widgets_values": []
    },
    {
      "flags": {},
      "id": 32,
      "inputs": [
        {
          "link": 49,
          "localized_name": "source",
          "name": "source",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 32,
      "outputs": [
        {
          "links": null,
          "localized_name": "STRING",
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        5523.331968832907,
        723.3330948566604
      ],
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.9.2"
      },
      "size": [
        308.3125,
        151.328125
      ],
      "title": "Preview Prompt 6",
      "type": "PreviewAny",
      "widgets_values": [
        null,
        null,
        null
      ]
    },
    {
      "bgcolor": "#653",
      "color": "#432",
      "flags": {},
      "id": 2,
      "inputs": [
        {
          "link": 2,
          "localized_name": "images",
          "name": "images",
          "shape": 7,
          "type": "IMAGE"
        },
        {
          "link": null,
          "localized_name": "audio",
          "name": "audio",
          "shape": 7,
          "type": "AUDIO"
        },
        {
          "link": null,
          "localized_name": "video",
          "name": "video",
          "shape": 7,
          "type": "VIDEO"
        },
        {
          "link": null,
          "localized_name": "files",
          "name": "files",
          "shape": 7,
          "type": "GEMINI_INPUT_FILES"
        },
        {
          "link": null,
          "localized_name": "prompt",
          "name": "prompt",
          "type": "STRING",
          "widget": {
            "name": "prompt"
          }
        },
        {
          "link": null,
          "localized_name": "model",
          "name": "model",
          "type": "COMBO",
          "widget": {
            "name": "model"
          }
        },
        {
          "link": null,
          "localized_name": "seed",
          "name": "seed",
          "type": "INT",
          "widget": {
            "name": "seed"
          }
        },
        {
          "link": null,
          "localized_name": "system_prompt",
          "name": "system_prompt",
          "shape": 7,
          "type": "STRING",
          "widget": {
            "name": "system_prompt"
          }
        }
      ],
      "mode": 0,
      "order": 2,
      "outputs": [
        {
          "links": [
            1,
            12,
            70
          ],
          "localized_name": "STRING",
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        831.6663245262716,
        1023.3329728309272
      ],
      "properties": {
        "Node name for S&R": "GeminiNode",
        "cnr_id": "comfy-core",
        "ver": "0.9.2"
      },
      "size": [
        416.65625,
        337.1875
      ],
      "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,
          "localized_name": "source",
          "name": "source",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 4,
      "outputs": [
        {
          "links": null,
          "localized_name": "STRING",
          "name": "STRING",
          "type": "STRING"
        }
      ],
      "pos": [
        831.6664614169438,
        439.99979311444196
      ],
      "properties": {
        "Node name for S&R": "PreviewAny",
        "cnr_id": "comfy-core",
        "ver": "0.9.2"
      },
      "size": [
        416.65625,
        516.65625
      ],
      "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": [
        1898.3328158949346,
        473.3330824692111
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        225,
        26
      ],
      "type": "Reroute"
    },
    {
      "flags": {},
      "id": 47,
      "inputs": [
        {
          "link": 61,
          "name": "",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 7,
      "outputs": [
        {
          "links": [
            62,
            64
          ],
          "name": "",
          "type": "IMAGE"
        }
      ],
      "pos": [
        2648.3327161666098,
        473.3330824692111
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        225,
        26
      ],
      "type": "Reroute"
    },
    {
      "flags": {},
      "id": 48,
      "inputs": [
        {
          "link": 64,
          "name": "",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 11,
      "outputs": [
        {
          "links": [
            65,
            66
          ],
          "name": "",
          "type": "IMAGE"
        }
      ],
      "pos": [
        3398.332616438285,
        473.3330824692111
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        225,
        26
      ],
      "type": "Reroute"
    },
    {
      "flags": {},
      "id": 49,
      "inputs": [
        {
          "link": 66,
          "name": "",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 14,
      "outputs": [
        {
          "links": [
            67,
            68
          ],
          "name": "",
          "type": "IMAGE"
        }
      ],
      "pos": [
        4139.998065023223,
        473.3330824692111
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        225,
        26
      ],
      "type": "Reroute"
    },
    {
      "flags": {},
      "id": 50,
      "inputs": [
        {
          "link": 68,
          "name": "",
          "type": "*"
        }
      ],
      "mode": 0,
      "order": 19,
      "outputs": [
        {
          "links": [
            69
          ],
          "name": "",
          "type": "IMAGE"
        }
      ],
      "pos": [
        4898.3318694189475,
        473.3330824692111
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        225,
        26
      ],
      "type": "Reroute"
    },
    {
      "flags": {},
      "id": 51,
      "inputs": [
        {
          "link": 70,
          "name": "",
          "type": "*",
          "widget": {
            "name": "value"
          }
        }
      ],
      "mode": 0,
      "order": 6,
      "outputs": [
        {
          "links": [
            71
          ],
          "name": "",
          "type": "STRING"
        }
      ],
      "pos": [
        1414.999641133429,
        606.6663767789601
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        225,
        26
      ],
      "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": [
        1898.3328158949346,
        606.6663767789601
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        225,
        26
      ],
      "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": [
        2648.3327161666098,
        606.6663767789601
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        225,
        26
      ],
      "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": [
        3398.332616438285,
        606.6663767789601
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        225,
        26
      ],
      "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": [
        4139.998065023223,
        606.6663767789601
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        225,
        26
      ],
      "type": "Reroute"
    },
    {
      "flags": {},
      "id": 60,
      "inputs": [
        {
          "link": 79,
          "name": "",
          "type": "*",
          "widget": {
            "name": "value"
          }
        }
      ],
      "mode": 0,
      "order": 27,
      "outputs": [
        {
          "links": [
            80
          ],
          "name": "",
          "type": "STRING"
        }
      ],
      "pos": [
        4898.3318694189475,
        606.6663767789601
      ],
      "properties": {
        "horizontal": false,
        "showOutputText": false
      },
      "size": [
        225,
        26
      ],
      "type": "Reroute"
    }
  ],
  "revision": 0,
  "version": 0.4
}