{
 "49": {
  "inputs": {
   "image": "yellow_arch_daisy_field.png"
  },
  "class_type": "LoadImage",
  "_meta": {
   "title": "Load Image"
  }
 },
 "80:1": {
  "inputs": {
   "unet_name": "ming_image_0.2_design_int8_convrot.safetensors",
   "weight_dtype": "default"
  },
  "class_type": "UNETLoader",
  "_meta": {
   "title": "Load Diffusion Model"
  }
 },
 "80:14": {
  "inputs": {
   "vae_name": "ming_image_vae_bf16.safetensors"
  },
  "class_type": "VAELoader",
  "_meta": {
   "title": "Load VAE"
  }
 },
 "80:57": {
  "inputs": {
   "clip": [
    "80:23",
    0
   ],
   "prompt": [
    "339:249",
    0
   ],
   "vae": [
    "80:14",
    0
   ],
   "images.image_1": [
    "49",
    0
   ]
  },
  "class_type": "TextEncodeMingImageEdit",
  "_meta": {
   "title": "Text Encode Ming Image Edit"
  }
 },
 "80:23": {
  "inputs": {
   "clip_name": "ming_image_0.2_ling_mini_2.0_int8_convrot.safetensors",
   "type": "qwen_image",
   "device": "default"
  },
  "class_type": "CLIPLoader",
  "_meta": {
   "title": "Load CLIP"
  }
 },
 "80:42": {
  "inputs": {
   "max_shift": 1.15,
   "base_shift": 0.5,
   "model": [
    "80:68",
    0
   ],
   "width": [
    "80:78",
    0
   ],
   "height": [
    "80:79",
    0
   ]
  },
  "class_type": "ModelSamplingFlux",
  "_meta": {
   "title": "ModelSamplingFlux"
  }
 },
 "80:68": {
  "inputs": {
   "attention": "comfy kitchen attention",
   "model": [
    "80:1",
    0
   ]
  },
  "class_type": "ModelAttentionBackend",
  "_meta": {
   "title": "Model Attention Backend"
  }
 },
 "80:21": {
  "inputs": {
   "scheduler": "simple",
   "steps": 12,
   "denoise": 1,
   "model": [
    "80:42",
    0
   ]
  },
  "class_type": "BasicScheduler",
  "_meta": {
   "title": "BasicScheduler"
  }
 },
 "80:26": {
  "inputs": {
   "noise_seed": 247081603831298
  },
  "class_type": "RandomNoise",
  "_meta": {
   "title": "RandomNoise"
  }
 },
 "80:41": {
  "inputs": {
   "batch_size": 1,
   "width": [
    "80:78",
    0
   ],
   "height": [
    "80:79",
    0
   ]
  },
  "class_type": "EmptyLatentImage",
  "_meta": {
   "title": "Empty Latent Image"
  }
 },
 "80:75": {
  "inputs": {
   "s_noise": 1.02,
   "s_noise_end": 1,
   "noise_clip_std": 0
  },
  "class_type": "SamplerLCM",
  "_meta": {
   "title": "SamplerLCM"
  }
 },
 "80:76": {
  "inputs": {
   "model": [
    "80:42",
    0
   ],
   "conditioning": [
    "80:57",
    0
   ]
  },
  "class_type": "BasicGuider",
  "_meta": {
   "title": "Basic Guider"
  }
 },
 "80:78": {
  "inputs": {
   "value": [
    "81",
    0
   ]
  },
  "class_type": "PrimitiveInt",
  "_meta": {
   "title": "Int (Width)"
  }
 },
 "80:79": {
  "inputs": {
   "value": [
    "81",
    1
   ]
  },
  "class_type": "PrimitiveInt",
  "_meta": {
   "title": "Int"
  }
 },
 "80:3": {
  "inputs": {
   "noise": [
    "80:26",
    0
   ],
   "guider": [
    "80:76",
    0
   ],
   "sampler": [
    "80:75",
    0
   ],
   "sigmas": [
    "80:21",
    0
   ],
   "latent_image": [
    "80:41",
    0
   ]
  },
  "class_type": "SamplerCustomAdvanced",
  "_meta": {
   "title": "SamplerCustomAdvanced"
  }
 },
 "80:15": {
  "inputs": {
   "samples": [
    "80:3",
    0
   ],
   "vae": [
    "80:14",
    0
   ]
  },
  "class_type": "VAEDecode",
  "_meta": {
   "title": "VAE Decode"
  }
 },
 "81": {
  "inputs": {
   "image": [
    "49",
    0
   ]
  },
  "class_type": "GetImageSize",
  "_meta": {
   "title": "Get Image Size"
  }
 },
 "91": {
  "inputs": {
   "width": 896,
   "height": 1152,
   "editor_state": {
    "__value__": []
   },
   "last_incoming": {
    "__value__": [
     {
      "x": 0,
      "y": 0,
      "width": 896,
      "height": 1152,
      "metadata": {
       "type": "obj",
       "text": "",
       "desc": "the whole picture reprinted as a mid-century screen-print poster sheet: flat unmodulated colour planes, hand-cut stencil edges, warm off-white paper stock with fine print grain, one faint ink misregistration, a thin dark-ink rule inset a few millimetres from the trimmed edge, no photographic depth of field",
       "palette": [
        "#F5F0E3",
        "#E4B23C",
        "#2F5FA8",
        "#1E2A38"
       ]
      }
     },
     {
      "x": 0,
      "y": 0,
      "width": 896,
      "height": 555,
      "metadata": {
       "type": "obj",
       "text": "",
       "desc": "the sunlit tiled facade redrawn as two flat ochre plates, one in full sun and one in shade, split by one crisp diagonal shadow that runs from the top edge near the centre down to the left edge about a fifth of the way down; the tile grout becomes a sparse regular grid of thin lighter lines",
       "palette": [
        "#E4B23C",
        "#C6952F",
        "#F0C85A"
       ]
      }
     },
     {
      "x": 57,
      "y": 205,
      "width": 193,
      "height": 350,
      "metadata": {
       "type": "obj",
       "text": "",
       "desc": "the left round-headed arch opening cut cleanly through the facade: inside it a flat pale-blue sky with one simplified cream cloud bank, edges stencil-cut, no gradients",
       "palette": [
        "#4E86C8",
        "#A9C9E8",
        "#F5F0E3"
       ]
      }
     },
     {
      "x": 357,
      "y": 192,
      "width": 196,
      "height": 363,
      "metadata": {
       "type": "obj",
       "text": "",
       "desc": "the centre arch opening, the tallest of the three: flat pale-blue sky, one low cream cloud shape near its base, and the daisy horizon showing as a thin band of small white dots across the bottom of the opening",
       "palette": [
        "#4E86C8",
        "#A9C9E8",
        "#F5F0E3"
       ]
      }
     },
     {
      "x": 652,
      "y": 200,
      "width": 203,
      "height": 355,
      "metadata": {
       "type": "obj",
       "text": "",
       "desc": "the right arch opening holding a single tree: trunk and crown reduced to a two-tone silhouette of dark olive green and deep umber against the pale blue sky, branches simplified to a few decisive lines, foliage as clustered flat shapes, no leaf texture",
       "palette": [
        "#4E86C8",
        "#6E8B4A",
        "#3B4A2E"
       ]
      }
     },
     {
      "x": 0,
      "y": 500,
      "width": 896,
      "height": 652,
      "metadata": {
       "type": "obj",
       "text": "",
       "desc": "the daisy meadow drawn as poster shapes: the field as broad olive-green swathes rising to a soft ridge line, every daisy a simple white petal rosette with a flat ochre centre, evenly staggered and overlapping in loose rows, the nearest flowers large and crisp, the distant ones small pale dots",
       "palette": [
        "#8FA05A",
        "#B7C68A",
        "#F5F0E3",
        "#E4A62C"
       ]
      }
     },
     {
      "x": 348,
      "y": 486,
      "width": 170,
      "height": 88,
      "metadata": {
       "type": "obj",
       "text": "",
       "desc": "an open parasol held high above her, seen from behind: the canopy a flat disc of deep rust-red silk with a black scalloped lace edge printed as a row of small half-circles and straight thin dark ribs radiating from the centre, a slim dark-wood shaft falling to her raised hand; the canopy tilted slightly to the left, one paler rust tone on its sunlit right half",
       "palette": [
        "#9E3B2E",
        "#6E2A22",
        "#1E2A38"
       ]
      }
     },
     {
      "x": 372,
      "y": 566,
      "width": 112,
      "height": 280,
      "metadata": {
       "type": "obj",
       "text": "",
       "desc": "a graceful woman standing with her back to the camera, full length, drawn in the same flat screen-print language: a classical floor-length gown of deep rust-red silk, high waisted with one soft vertical fold falling from her shoulder blades to the hem, printed as two flat planes of rust separated by a single crisp fold line; her long hair gathered in a low classical chignon with a thin printed ribbon and two loose strands; bare shoulders and arms as flat warm-skin planes with one darker shadow tone along her right side; slim, tall and perfectly still, her weight on her left foot, one arm raised holding the parasol and the other relaxed at her side; her hem and feet disappearing into the daisies, the pressed grass in front of her printed as a few flat dark strokes",
       "palette": [
        "#9E3B2E",
        "#E8B893",
        "#1E2A38"
       ]
      }
     },
     {
      "x": 0,
      "y": 956,
      "width": 896,
      "height": 196,
      "metadata": {
       "type": "obj",
       "text": "",
       "desc": "a full-width band of warm cream paper across the foot of the poster, printed flat with a single thin ochre rule along its top edge and no texture, holding the typography with generous air between the lines",
       "palette": [
        "#F3EADA",
        "#C6952F"
       ]
      }
     },
     {
      "x": 81,
      "y": 984,
      "width": 734,
      "height": 38,
      "metadata": {
       "type": "text",
       "text": "WHERE THE LIGHT LINGERS",
       "desc": "the title set in an elegant thin-stroke classical serif, all capitals with very wide letterspacing, ink navy, one line, centred in the band with generous air above and below; spelled exactly as written",
       "palette": [
        "#1E2A38"
       ]
      }
     },
     {
      "x": 134,
      "y": 1042,
      "width": 628,
      "height": 24,
      "metadata": {
       "type": "text",
       "text": "a meadow, a parasol, an unhurried summer",
       "desc": "a single lower-case line in a small italic serif, ochre ink, wide letterspacing, centred, the commas kept; spelled exactly as written",
       "palette": [
        "#C6952F"
       ]
      }
     },
     {
      "x": 197,
      "y": 1104,
      "width": 502,
      "height": 16,
      "metadata": {
       "type": "text",
       "text": "COMFY ORG",
       "desc": "a very small line of wide-tracked capitals in ink navy at the very foot of the band, centred; spelled exactly C O M F Y space O R G",
       "palette": [
        "#1E2A38"
       ]
      }
     }
    ]
   },
   "background": [
    "49",
    0
   ]
  },
  "class_type": "CreateBoundingBoxes",
  "_meta": {
   "title": "Create Bounding Boxes"
  }
 },
 "92": {
  "inputs": {
   "source": [
    "91",
    1
   ]
  },
  "class_type": "PreviewAny",
  "_meta": {
   "title": "Preview as Text"
  }
 },
 "93": {
  "inputs": {
   "high_level_description": "A mid-century screen-print travel poster: a graceful classical woman in a long gown stands with her back to the camera under an open parasol in a meadow of white daisies, before a sunlit ochre facade pierced by three round-headed arches, the poster typography set in a cream band across the foot.",
   "background": "the poster environment: a tiled ochre facade pierced by three round-headed arches that open onto a flat pale-blue sky with one cream cloud bank; through the right arch a single tree; a daisy meadow filling the lower half of the frame",
   "style": "art_style",
   "aesthetics": "mid-century modern, vintage travel poster, classical grace and stillness, elegant romantic figure, nostalgic, print-era, artful",
   "lighting": "hard late-afternoon sun from the upper right throwing one crisp diagonal shadow across the facade; bright even light over the meadow; the woman and her parasol reading as one clean silhouette against the pale blue sky; no gradients, no lens effects",
   "medium": "graphic_design",
   "color_palette": {
    "__value__": []
   },
   "element": [
    "91",
    2
   ],
   "style.art_style": "mid-century screen-print travel-poster illustration, flat unmodulated colour planes, hand-cut stencil edges, posterised simplification, slight ink misregistration, warm off-white paper stock with fine print grain; the figure printed in the same flat language with only two or three tones per form"
  },
  "class_type": "BuildJsonPromptIdeogram",
  "_meta": {
   "title": "Build JSON Prompt (Ideogram)"
  }
 },
 "94": {
  "inputs": {
   "source": [
    "93",
    0
   ]
  },
  "class_type": "PreviewAny",
  "_meta": {
   "title": "Preview as Text"
  }
 },
 "98": {
  "inputs": {
   "images": [
    "91",
    0
   ]
  },
  "class_type": "PreviewImage",
  "_meta": {
   "title": "Preview Image"
  }
 },
 "250": {
  "inputs": {
   "source": [
    "339:249",
    0
   ]
  },
  "class_type": "PreviewAny",
  "_meta": {
   "title": "PreviewAny (Ming caption)"
  }
 },
 "339:200": {
  "inputs": {
   "indent": 0,
   "dictionary": [
    "93",
    0
   ]
  },
  "class_type": "ConvertDictionaryToString",
  "_meta": {
   "title": "Convert Dictionary to String (Ideogram prompt \u2192 text)"
  }
 },
 "339:201": {
  "inputs": {
   "indent": 0,
   "array": [
    "91",
    2
   ]
  },
  "class_type": "ConvertArrayToString",
  "_meta": {
   "title": "Convert Array to String (boxes \u2192 text, the queue)"
  }
 },
 "339:202": {
  "inputs": {
   "regex_pattern": "[^{]",
   "replace": "",
   "case_insensitive": true,
   "multiline": false,
   "dotall": false,
   "count": 0,
   "string": [
    "339:201",
    0
   ]
  },
  "class_type": "RegexReplace",
  "_meta": {
   "title": "Replace Text (Regex) (count the boxes)"
  }
 },
 "339:203": {
  "inputs": {
   "string": [
    "339:202",
    0
   ]
  },
  "class_type": "StringLength",
  "_meta": {
   "title": "Text Length"
  }
 },
 "339:204": {
  "inputs": {
   "regex_pattern": "\"lighting\":\\s*\"([^\"]*)\"",
   "mode": "First Group",
   "case_insensitive": false,
   "multiline": false,
   "dotall": false,
   "group_index": 1,
   "string": [
    "339:200",
    0
   ]
  },
  "class_type": "RegexExtract",
  "_meta": {
   "title": "Extract Text"
  }
 },
 "339:205": {
  "inputs": {
   "regex_pattern": "\"medium\":\\s*\"([^\"]*)\"",
   "mode": "First Group",
   "case_insensitive": false,
   "multiline": false,
   "dotall": false,
   "group_index": 1,
   "string": [
    "339:200",
    0
   ]
  },
  "class_type": "RegexExtract",
  "_meta": {
   "title": "Extract Text"
  }
 },
 "339:206": {
  "inputs": {
   "regex_pattern": "\"(?:art_style|photo)\":\\s*\"([^\"]*)\"",
   "mode": "First Group",
   "case_insensitive": false,
   "multiline": false,
   "dotall": false,
   "group_index": 1,
   "string": [
    "339:200",
    0
   ]
  },
  "class_type": "RegexExtract",
  "_meta": {
   "title": "Extract Text"
  }
 },
 "339:207": {
  "inputs": {
   "regex_pattern": "\"aesthetics\":\\s*\"([^\"]*)\"",
   "mode": "First Group",
   "case_insensitive": false,
   "multiline": false,
   "dotall": false,
   "group_index": 1,
   "string": [
    "339:200",
    0
   ]
  },
  "class_type": "RegexExtract",
  "_meta": {
   "title": "Extract Text"
  }
 },
 "339:208": {
  "inputs": {
   "regex_pattern": "\"background\":\\s*\"([^\"]*)\"",
   "mode": "First Group",
   "case_insensitive": false,
   "multiline": false,
   "dotall": false,
   "group_index": 1,
   "string": [
    "339:200",
    0
   ]
  },
  "class_type": "RegexExtract",
  "_meta": {
   "title": "Extract Text"
  }
 },
 "339:209": {
  "inputs": {
   "regex_pattern": "\"color_palette\":\\s*(\\[[^\\]]*\\])",
   "mode": "First Group",
   "case_insensitive": false,
   "multiline": false,
   "dotall": false,
   "group_index": 1,
   "string": [
    "339:200",
    0
   ]
  },
  "class_type": "RegexExtract",
  "_meta": {
   "title": "Extract Text"
  }
 },
 "339:210": {
  "inputs": {
   "regex_pattern": "^$",
   "replace": "[]",
   "case_insensitive": true,
   "multiline": false,
   "dotall": false,
   "count": 0,
   "string": [
    "339:209",
    0
   ]
  },
  "class_type": "RegexReplace",
  "_meta": {
   "title": "Replace Text (Regex)"
  }
 },
 "339:211": {
  "inputs": {
   "f_string": "{a}; {b}; aesthetics: {c}",
   "values.a": [
    "339:205",
    0
   ],
   "values.b": [
    "339:206",
    0
   ],
   "values.c": [
    "339:207",
    0
   ]
  },
  "class_type": "StringFormat",
  "_meta": {
   "title": "Format Text"
  }
 },
 "339:212": {
  "inputs": {
   "regex_pattern": "\"high_level_description\":\\s*\"([^\"]*)\"",
   "mode": "First Group",
   "case_insensitive": false,
   "multiline": false,
   "dotall": false,
   "group_index": 1,
   "string": [
    "339:200",
    0
   ]
  },
  "class_type": "RegexExtract",
  "_meta": {
   "title": "Extract Text"
  }
 },
 "339:213": {
  "inputs": {
   "f_string": "{a} {b}",
   "values.a": [
    "339:212",
    0
   ],
   "values.b": [
    "339:208",
    0
   ]
  },
  "class_type": "StringFormat",
  "_meta": {
   "title": "Format Text"
  }
 },
 "339:214": {
  "inputs": {
   "regex_pattern": "\"",
   "replace": "\\\"",
   "case_insensitive": true,
   "multiline": false,
   "dotall": false,
   "count": 0,
   "string": [
    "339:213",
    0
   ]
  },
  "class_type": "RegexReplace",
  "_meta": {
   "title": "Replace Text (Regex)"
  }
 },
 "339:215": {
  "inputs": {
   "f_string": "  {{\"description\": \"{a}\", \"coordinates\": \"cx: 0.500, cy: 0.500, w: 1.000, h: 1.000\", \"hierarchy_and_relation\": \"Base layer: fills the whole canvas, behind every other layer.\", \"color_specs\": {b}}}",
   "values.a": [
    "339:214",
    0
   ],
   "values.b": [
    "339:210",
    0
   ]
  },
  "class_type": "StringFormat",
  "_meta": {
   "title": "Format Text (base layer, whole canvas)"
  }
 },
 "339:216": {
  "inputs": {
   "inputs.input0": [
    "339:215",
    0
   ],
   "inputs.input1": [
    "339:201",
    0
   ]
  },
  "class_type": "CreateList",
  "_meta": {
   "title": "Create List (seed = base layer + queue)"
  }
 },
 "339:217": {
  "inputs": {
   "mode": "For",
   "cache_iterations": false,
   "initial_iteration_value": [
    "339:216",
    0
   ],
   "mode.start_iteration_index": 0,
   "mode.max_iteration": 12,
   "mode.step": 1
  },
  "class_type": "StartLoop",
  "_meta": {
   "title": "Start Loop (one iteration per box)"
  }
 },
 "339:218": {
  "inputs": {
   "index": 0,
   "list": [
    "339:217",
    4
   ]
  },
  "class_type": "GetItemFromList",
  "_meta": {
   "title": "Get Item From List (layers so far)"
  }
 },
 "339:219": {
  "inputs": {
   "index": 1,
   "list": [
    "339:217",
    4
   ]
  },
  "class_type": "GetItemFromList",
  "_meta": {
   "title": "Get Item From List (remaining boxes)"
  }
 },
 "339:220": {
  "inputs": {
   "regex_pattern": "\\{[^{}]*\\}",
   "mode": "First Match",
   "case_insensitive": false,
   "multiline": false,
   "dotall": false,
   "group_index": 0,
   "string": [
    "339:219",
    0
   ]
  },
  "class_type": "RegexExtract",
  "_meta": {
   "title": "Extract Text (next box)"
  }
 },
 "339:221": {
  "inputs": {
   "regex_pattern": "\"bbox\":\\s*\\[\\s*(-?\\d+)\\s*,\\s*(-?\\d+)\\s*,\\s*(-?\\d+)\\s*,\\s*(-?\\d+)\\s*\\]",
   "mode": "First Group",
   "case_insensitive": false,
   "multiline": false,
   "dotall": false,
   "group_index": 1,
   "string": [
    "339:220",
    0
   ]
  },
  "class_type": "RegexExtract",
  "_meta": {
   "title": "Extract Text"
  }
 },
 "339:222": {
  "inputs": {
   "regex_pattern": "\"bbox\":\\s*\\[\\s*(-?\\d+)\\s*,\\s*(-?\\d+)\\s*,\\s*(-?\\d+)\\s*,\\s*(-?\\d+)\\s*\\]",
   "mode": "First Group",
   "case_insensitive": false,
   "multiline": false,
   "dotall": false,
   "group_index": 2,
   "string": [
    "339:220",
    0
   ]
  },
  "class_type": "RegexExtract",
  "_meta": {
   "title": "Extract Text"
  }
 },
 "339:223": {
  "inputs": {
   "regex_pattern": "\"bbox\":\\s*\\[\\s*(-?\\d+)\\s*,\\s*(-?\\d+)\\s*,\\s*(-?\\d+)\\s*,\\s*(-?\\d+)\\s*\\]",
   "mode": "First Group",
   "case_insensitive": false,
   "multiline": false,
   "dotall": false,
   "group_index": 3,
   "string": [
    "339:220",
    0
   ]
  },
  "class_type": "RegexExtract",
  "_meta": {
   "title": "Extract Text"
  }
 },
 "339:224": {
  "inputs": {
   "regex_pattern": "\"bbox\":\\s*\\[\\s*(-?\\d+)\\s*,\\s*(-?\\d+)\\s*,\\s*(-?\\d+)\\s*,\\s*(-?\\d+)\\s*\\]",
   "mode": "First Group",
   "case_insensitive": false,
   "multiline": false,
   "dotall": false,
   "group_index": 4,
   "string": [
    "339:220",
    0
   ]
  },
  "class_type": "RegexExtract",
  "_meta": {
   "title": "Extract Text"
  }
 },
 "339:225": {
  "inputs": {
   "value": [
    "339:221",
    0
   ]
  },
  "class_type": "ComfyNumberConvert",
  "_meta": {
   "title": "Convert Number"
  }
 },
 "339:226": {
  "inputs": {
   "value": [
    "339:222",
    0
   ]
  },
  "class_type": "ComfyNumberConvert",
  "_meta": {
   "title": "Convert Number"
  }
 },
 "339:227": {
  "inputs": {
   "value": [
    "339:223",
    0
   ]
  },
  "class_type": "ComfyNumberConvert",
  "_meta": {
   "title": "Convert Number"
  }
 },
 "339:228": {
  "inputs": {
   "value": [
    "339:224",
    0
   ]
  },
  "class_type": "ComfyNumberConvert",
  "_meta": {
   "title": "Convert Number"
  }
 },
 "339:229": {
  "inputs": {
   "expression": "(a + b) / 2000",
   "values.a": [
    "339:225",
    0
   ],
   "values.b": [
    "339:227",
    0
   ]
  },
  "class_type": "ComfyMathExpression",
  "_meta": {
   "title": "Math Expression"
  }
 },
 "339:230": {
  "inputs": {
   "expression": "(a + b) / 2000",
   "values.a": [
    "339:226",
    0
   ],
   "values.b": [
    "339:228",
    0
   ]
  },
  "class_type": "ComfyMathExpression",
  "_meta": {
   "title": "Math Expression"
  }
 },
 "339:231": {
  "inputs": {
   "expression": "(b - a) / 1000",
   "values.a": [
    "339:226",
    0
   ],
   "values.b": [
    "339:228",
    0
   ]
  },
  "class_type": "ComfyMathExpression",
  "_meta": {
   "title": "Math Expression"
  }
 },
 "339:232": {
  "inputs": {
   "expression": "(b - a) / 1000",
   "values.a": [
    "339:225",
    0
   ],
   "values.b": [
    "339:227",
    0
   ]
  },
  "class_type": "ComfyMathExpression",
  "_meta": {
   "title": "Math Expression"
  }
 },
 "339:233": {
  "inputs": {
   "f_string": "cx: {a:.3f}, cy: {b:.3f}, w: {c:.3f}, h: {d:.3f}",
   "values.a": [
    "339:230",
    0
   ],
   "values.b": [
    "339:229",
    0
   ],
   "values.c": [
    "339:231",
    0
   ],
   "values.d": [
    "339:232",
    0
   ]
  },
  "class_type": "StringFormat",
  "_meta": {
   "title": "Format Text (Ming coordinates)"
  }
 },
 "339:234": {
  "inputs": {
   "regex_pattern": "\"desc\":\\s*\"([^\"]*)\"",
   "mode": "First Group",
   "case_insensitive": false,
   "multiline": false,
   "dotall": false,
   "group_index": 1,
   "string": [
    "339:220",
    0
   ]
  },
  "class_type": "RegexExtract",
  "_meta": {
   "title": "Extract Text"
  }
 },
 "339:235": {
  "inputs": {
   "regex_pattern": "\"",
   "replace": "\\\"",
   "case_insensitive": true,
   "multiline": false,
   "dotall": false,
   "count": 0,
   "string": [
    "339:234",
    0
   ]
  },
  "class_type": "RegexReplace",
  "_meta": {
   "title": "Replace Text (Regex)"
  }
 },
 "339:236": {
  "inputs": {
   "regex_pattern": "\"text\":\\s*\"([^\"]*)\"",
   "mode": "First Group",
   "case_insensitive": false,
   "multiline": false,
   "dotall": false,
   "group_index": 1,
   "string": [
    "339:220",
    0
   ]
  },
  "class_type": "RegexExtract",
  "_meta": {
   "title": "Extract Text"
  }
 },
 "339:237": {
  "inputs": {
   "f_string": "Text layer reading \"{a}\". ",
   "values.a": [
    "339:236",
    0
   ]
  },
  "class_type": "StringFormat",
  "_meta": {
   "title": "Format Text"
  }
 },
 "339:238": {
  "inputs": {
   "regex_pattern": "Text layer reading \"\"\\.\\s*",
   "replace": "",
   "case_insensitive": true,
   "multiline": false,
   "dotall": false,
   "count": 0,
   "string": [
    "339:237",
    0
   ]
  },
  "class_type": "RegexReplace",
  "_meta": {
   "title": "Replace Text (Regex)"
  }
 },
 "339:239": {
  "inputs": {
   "regex_pattern": "\"color_palette\":\\s*(\\[[^\\]]*\\])",
   "mode": "First Group",
   "case_insensitive": false,
   "multiline": false,
   "dotall": false,
   "group_index": 1,
   "string": [
    "339:220",
    0
   ]
  },
  "class_type": "RegexExtract",
  "_meta": {
   "title": "Extract Text"
  }
 },
 "339:240": {
  "inputs": {
   "regex_pattern": "^$",
   "replace": "[]",
   "case_insensitive": true,
   "multiline": false,
   "dotall": false,
   "count": 0,
   "string": [
    "339:239",
    0
   ]
  },
  "class_type": "RegexReplace",
  "_meta": {
   "title": "Replace Text (Regex)"
  }
 },
 "339:241": {
  "inputs": {
   "regex_pattern": "\"",
   "replace": "\\\"",
   "case_insensitive": true,
   "multiline": false,
   "dotall": false,
   "count": 0,
   "string": [
    "339:238",
    0
   ]
  },
  "class_type": "RegexReplace",
  "_meta": {
   "title": "Replace Text (Regex)"
  }
 },
 "339:242": {
  "inputs": {
   "f_string": "  {{\"description\": \"{a}{b}\", \"coordinates\": \"{c}\", \"hierarchy_and_relation\": \"Sits above the layers listed before it.\", \"color_specs\": {d}}}",
   "values.a": [
    "339:241",
    0
   ],
   "values.b": [
    "339:235",
    0
   ],
   "values.c": [
    "339:233",
    0
   ],
   "values.d": [
    "339:240",
    0
   ]
  },
  "class_type": "StringFormat",
  "_meta": {
   "title": "Format Text (this box as a Ming layer)"
  }
 },
 "339:243": {
  "inputs": {
   "f_string": "{a},\n{b}",
   "values.a": [
    "339:218",
    0
   ],
   "values.b": [
    "339:242",
    0
   ]
  },
  "class_type": "StringFormat",
  "_meta": {
   "title": "Format Text (layers + this layer)"
  }
 },
 "339:244": {
  "inputs": {
   "regex_pattern": "^\\s*\\[?\\s*\\{[^{}]*\\}\\s*,?",
   "replace": "",
   "case_insensitive": true,
   "multiline": false,
   "dotall": false,
   "count": 0,
   "string": [
    "339:219",
    0
   ]
  },
  "class_type": "RegexReplace",
  "_meta": {
   "title": "Replace Text (Regex) (queue minus this box)"
  }
 },
 "339:245": {
  "inputs": {
   "inputs.input0": [
    "339:243",
    0
   ],
   "inputs.input1": [
    "339:244",
    0
   ]
  },
  "class_type": "CreateList",
  "_meta": {
   "title": "Create List"
  }
 },
 "339:246": {
  "inputs": {
   "inputs.input0": [
    "339:243",
    0
   ]
  },
  "class_type": "CreateList",
  "_meta": {
   "title": "Create List"
  }
 },
 "339:247": {
  "inputs": {
   "accumulate": false,
   "output_value": [
    "339:246",
    0
   ],
   "next_iteration_value": [
    "339:245",
    0
   ]
  },
  "class_type": "EndLoop",
  "_meta": {
   "title": "End Loop"
  }
 },
 "339:249": {
  "inputs": {
   "f_string": "{{\"canvas_settings\": {{\"aspect_ratio\": \"{a}\", \"ambient_lighting\": \"{b}\", \"image_style\": \"{c}\"}}, \"layers\": [\n{d}\n]}}",
   "values.a": [
    "339:338:335",
    0
   ],
   "values.b": [
    "339:204",
    0
   ],
   "values.c": [
    "339:211",
    0
   ],
   "values.d": [
    "339:247",
    0
   ]
  },
  "class_type": "StringFormat",
  "_meta": {
   "title": "Format Text (Ming caption, Figma style)"
  }
 },
 "339:338:324": {
  "inputs": {
   "inputs.input0": [
    "81",
    0
   ],
   "inputs.input1": [
    "81",
    1
   ]
  },
  "class_type": "CreateList",
  "_meta": {
   "title": "Create List (aspect ratio: width + height)"
  }
 },
 "339:338:337": {
  "inputs": {
   "expression": "ceil(1.5 * log2(max(a, b))) + 2",
   "values.a": [
    "81",
    0
   ],
   "values.b": [
    "81",
    1
   ]
  },
  "class_type": "ComfyMathExpression",
  "_meta": {
   "title": "Math Expression (loop iterations: ceil(1.5 \u00d7 log2(max(w, h))) + 2)"
  }
 },
 "339:338:325": {
  "inputs": {
   "mode": "simple",
   "cache_iterations": false,
   "initial_iteration_value": [
    "339:338:324",
    0
   ],
   "mode.num_iterations": [
    "339:338:337",
    1
   ]
  },
  "class_type": "StartLoop",
  "_meta": {
   "title": "Start Loop (Euclid gcd; iterations come from width/height)"
  }
 },
 "339:338:326": {
  "inputs": {
   "index": 0,
   "list": [
    "339:338:325",
    4
   ]
  },
  "class_type": "GetItemFromList",
  "_meta": {
   "title": "Get Item From List (a)"
  }
 },
 "339:338:327": {
  "inputs": {
   "index": 1,
   "list": [
    "339:338:325",
    4
   ]
  },
  "class_type": "GetItemFromList",
  "_meta": {
   "title": "Get Item From List (b)"
  }
 },
 "339:338:328": {
  "inputs": {
   "expression": "a % b if b > 0 else 0",
   "values.a": [
    "339:338:326",
    0
   ],
   "values.b": [
    "339:338:327",
    0
   ]
  },
  "class_type": "ComfyMathExpression",
  "_meta": {
   "title": "Math Expression (r = a mod b)"
  }
 },
 "339:338:329": {
  "inputs": {
   "expression": "b if b > 0 else a",
   "values.a": [
    "339:338:326",
    0
   ],
   "values.b": [
    "339:338:327",
    0
   ]
  },
  "class_type": "ComfyMathExpression",
  "_meta": {
   "title": "Math Expression (next a = b if b > 0 else a)"
  }
 },
 "339:338:330": {
  "inputs": {
   "inputs.input0": [
    "339:338:329",
    1
   ],
   "inputs.input1": [
    "339:338:328",
    1
   ]
  },
  "class_type": "CreateList",
  "_meta": {
   "title": "Create List (next pair)"
  }
 },
 "339:338:331": {
  "inputs": {
   "accumulate": false,
   "output_value": [
    "339:338:330",
    0
   ],
   "next_iteration_value": [
    "339:338:330",
    0
   ]
  },
  "class_type": "EndLoop",
  "_meta": {
   "title": "End Loop"
  }
 },
 "339:338:332": {
  "inputs": {
   "index": 0,
   "list": [
    "339:338:331",
    0
   ]
  },
  "class_type": "GetItemFromList",
  "_meta": {
   "title": "Get Item From List (gcd)"
  }
 },
 "339:338:333": {
  "inputs": {
   "expression": "a / b",
   "values.a": [
    "81",
    0
   ],
   "values.b": [
    "339:338:332",
    0
   ]
  },
  "class_type": "ComfyMathExpression",
  "_meta": {
   "title": "Math Expression (width / gcd)"
  }
 },
 "339:338:334": {
  "inputs": {
   "expression": "a / b",
   "values.a": [
    "81",
    1
   ],
   "values.b": [
    "339:338:332",
    0
   ]
  },
  "class_type": "ComfyMathExpression",
  "_meta": {
   "title": "Math Expression (height / gcd)"
  }
 },
 "339:338:335": {
  "inputs": {
   "f_string": "{a}:{b}, {c} \u00d7 {d} px",
   "values.a": [
    "339:338:333",
    1
   ],
   "values.b": [
    "339:338:334",
    1
   ],
   "values.c": [
    "81",
    0
   ],
   "values.d": [
    "81",
    1
   ]
  },
  "class_type": "StringFormat",
  "_meta": {
   "title": "Format Text (canvas aspect ratio + pixels)"
  }
 },
 "340": {
  "inputs": {
   "direction": "right",
   "match_image_size": true,
   "spacing_width": 0,
   "spacing_color": "white",
   "image1": [
    "49",
    0
   ],
   "image2": [
    "98",
    0
   ]
  },
  "class_type": "ImageStitch",
  "_meta": {
   "title": "Stitch Images"
  }
 },
 "341": {
  "inputs": {
   "direction": "right",
   "match_image_size": true,
   "spacing_width": 0,
   "spacing_color": "white",
   "image1": [
    "340",
    0
   ],
   "image2": [
    "344",
    0
   ]
  },
  "class_type": "ImageStitch",
  "_meta": {
   "title": "Stitch Images"
  }
 },
 "342": {
  "inputs": {
   "images": [
    "341",
    0
   ]
  },
  "class_type": "PreviewImage",
  "_meta": {
   "title": "Preview Image"
  }
 },
 "344": {
  "inputs": {
   "filename_prefix": "Ming_Image",
   "format": "png",
   "images": [
    "80:15",
    0
   ],
   "format.bit_depth": "8-bit",
   "format.input_color_space": "sRGB"
  },
  "class_type": "SaveImageAdvanced",
  "_meta": {
   "title": "Save Image (Advanced)"
  }
 }
}