{
  "id": "9ae6082b-c7f4-433c-9971-7a8f65a3ea65",
  "revision": 0,
  "last_node_id": 99,
  "last_link_id": 124,
  "nodes": [
    {
      "id": 73,
      "type": "SaveImage",
      "pos": [
        309.99983180839604,
        239.99998948802474
      ],
      "size": [
        520,
        570
      ],
      "flags": {
        "collapsed": false
      },
      "order": 3,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 101
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.18.1",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65,
        "Node name for S&R": "SaveImage",
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.7",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "Ernie-Image"
      ]
    },
    {
      "id": 88,
      "type": "03921aea-a70e-44b4-bc77-f6bda10f2120",
      "pos": [
        -120,
        240
      ],
      "size": [
        400,
        540
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [
        {
          "label": "prompt",
          "name": "value",
          "type": "STRING",
          "widget": {
            "name": "value"
          },
          "link": null
        },
        {
          "label": "prompt_enhancement",
          "name": "value_1",
          "type": "BOOLEAN",
          "widget": {
            "name": "value_1"
          },
          "link": null
        },
        {
          "label": "prompt_enhancer",
          "name": "clip_name_1",
          "type": "COMBO",
          "widget": {
            "name": "clip_name_1"
          },
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            101
          ]
        }
      ],
      "properties": {
        "proxyWidgets": [
          [
            "78",
            "value"
          ],
          [
            "76",
            "value"
          ],
          [
            "71",
            "width"
          ],
          [
            "71",
            "height"
          ],
          [
            "70",
            "steps"
          ],
          [
            "70",
            "cfg"
          ],
          [
            "70",
            "seed"
          ],
          [
            "66",
            "unet_name"
          ],
          [
            "62",
            "clip_name"
          ],
          [
            "91",
            "clip_name"
          ],
          [
            "63",
            "vae_name"
          ]
        ],
        "cnr_id": "comfy-core",
        "ver": "0.18.1",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65,
        "ue_properties": {
          "widget_ue_connectable": {
            "value": true,
            "value_1": true
          },
          "version": "7.7",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": []
    },
    {
      "id": 89,
      "type": "MarkdownNote",
      "pos": [
        -670.000084095802,
        239.99998948802474
      ],
      "size": [
        510,
        910
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.7",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Model Links (for Local Users)\n\n**diffusion_models**\n\n- [ernie-image.safetensors](https://huggingface.co/Comfy-Org/ERNIE-Image/resolve/main/diffusion_models/ernie-image.safetensors)\n\n**text_encoders**\n\n- [ministral-3-3b.safetensors](https://huggingface.co/Comfy-Org/ERNIE-Image/resolve/main/text_encoders/ministral-3-3b.safetensors)\n- [ernie-image-prompt-enhancer.safetensors](https://huggingface.co/Comfy-Org/ERNIE-Image/resolve/main/text_encoders/ernie-image-prompt-enhancer.safetensors)\n\n**vae**\n\n- [flux2-vae.safetensors](https://huggingface.co/Comfy-Org/ERNIE-Image/resolve/main/vae/flux2-vae.safetensors)\n\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│   ├── 📂 diffusion_models/\n│   │   └── ernie-image.safetensors\n│   ├── 📂 text_encoders/\n│   │   ├── ministral-3-3b.safetensors\n│   │   └── ernie-image-prompt-enhancer.safetensors\n│   └── 📂 vae/\n│       └── flux2-vae.safetensors\n```\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)"
      ],
      "color": "#222",
      "bgcolor": "#000"
    },
    {
      "id": 90,
      "type": "MarkdownNote",
      "pos": [
        -120.00008409580198,
        869.999915904198
      ],
      "size": [
        400,
        130
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {
        "ue_properties": {
          "widget_ue_connectable": {},
          "version": "7.7",
          "input_ue_unconnectable": {}
        }
      },
      "widgets_values": [
        "Try 50 steps, if you want to compare with the original setting"
      ],
      "color": "#222",
      "bgcolor": "#000"
    }
  ],
  "links": [
    [
      101,
      88,
      0,
      73,
      0,
      "IMAGE"
    ]
  ],
  "groups": [],
  "definitions": {
    "subgraphs": [
      {
        "id": "03921aea-a70e-44b4-bc77-f6bda10f2120",
        "version": 1,
        "state": {
          "lastGroupId": 6,
          "lastNodeId": 99,
          "lastLinkId": 124,
          "lastRerouteId": 0
        },
        "revision": 0,
        "config": {},
        "name": "Text to Image (Ernie Image)",
        "inputNode": {
          "id": -10,
          "bounding": [
            -1350,
            370,
            163.50390625,
            260
          ]
        },
        "outputNode": {
          "id": -20,
          "bounding": [
            1110,
            260,
            120,
            60
          ]
        },
        "inputs": [
          {
            "id": "504de359-52a4-49aa-b6be-23c1cdb0cbde",
            "name": "value",
            "type": "STRING",
            "linkIds": [
              102
            ],
            "label": "prompt",
            "pos": [
              -1206.49609375,
              390
            ]
          },
          {
            "id": "29f699c6-9263-41f6-b37d-69b9fc3913dd",
            "name": "value_1",
            "type": "BOOLEAN",
            "linkIds": [
              103
            ],
            "label": "prompt_enhancement",
            "pos": [
              -1206.49609375,
              410
            ]
          },
          {
            "id": "968e6213-d1e9-4268-8f47-1d6b9a39a43e",
            "name": "width",
            "type": "INT",
            "linkIds": [
              104,
              113
            ],
            "pos": [
              -1206.49609375,
              430
            ]
          },
          {
            "id": "181c49ef-740d-4385-aa11-79718951ccb9",
            "name": "height",
            "type": "INT",
            "linkIds": [
              105,
              114
            ],
            "pos": [
              -1206.49609375,
              450
            ]
          },
          {
            "id": "1e85f808-66a1-41df-be52-334142b35419",
            "name": "steps",
            "type": "INT",
            "linkIds": [
              106
            ],
            "pos": [
              -1206.49609375,
              470
            ]
          },
          {
            "id": "2806addf-a252-4aa3-a5b7-397ab36dccec",
            "name": "cfg",
            "type": "FLOAT",
            "linkIds": [
              107
            ],
            "pos": [
              -1206.49609375,
              490
            ]
          },
          {
            "id": "5d036a66-5dc0-4d7c-b9a9-349e454738aa",
            "name": "seed",
            "type": "INT",
            "linkIds": [
              108
            ],
            "pos": [
              -1206.49609375,
              510
            ]
          },
          {
            "id": "360f9a40-aac5-4e9c-bc98-9d55a4a58be2",
            "name": "unet_name",
            "type": "COMBO",
            "linkIds": [
              109
            ],
            "pos": [
              -1206.49609375,
              530
            ]
          },
          {
            "id": "886301c7-6e88-4cec-96fa-8ae20e8340c5",
            "name": "clip_name",
            "type": "COMBO",
            "linkIds": [
              110
            ],
            "pos": [
              -1206.49609375,
              550
            ]
          },
          {
            "id": "1d73a545-6d01-462f-bc61-966d4b918ff2",
            "name": "clip_name_1",
            "type": "COMBO",
            "linkIds": [
              120
            ],
            "label": "prompt_enhancer",
            "pos": [
              -1206.49609375,
              570
            ]
          },
          {
            "id": "8c61dc8c-e260-4b36-b73e-d36f90a0bbe3",
            "name": "vae_name",
            "type": "COMBO",
            "linkIds": [
              121
            ],
            "pos": [
              -1206.49609375,
              590
            ]
          }
        ],
        "outputs": [
          {
            "id": "f4cb34c8-4090-4281-b428-7338a339d274",
            "name": "IMAGE",
            "type": "IMAGE",
            "linkIds": [
              84
            ],
            "localized_name": "IMAGE",
            "pos": [
              1130,
              280
            ]
          }
        ],
        "widgets": [],
        "nodes": [
          {
            "id": 71,
            "type": "EmptyFlux2LatentImage",
            "pos": [
              -459.9999796181471,
              1040.0000439914468
            ],
            "size": [
              270,
              170
            ],
            "flags": {},
            "order": 6,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "width",
                "name": "width",
                "type": "INT",
                "widget": {
                  "name": "width"
                },
                "link": 104
              },
              {
                "localized_name": "height",
                "name": "height",
                "type": "INT",
                "widget": {
                  "name": "height"
                },
                "link": 105
              }
            ],
            "outputs": [
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "links": [
                  80
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.18.1",
              "Node name for S&R": "EmptyFlux2LatentImage",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65,
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.7",
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              1024,
              1024,
              1
            ]
          },
          {
            "id": 66,
            "type": "UNETLoader",
            "pos": [
              -469.99999864668473,
              319.9999014517264
            ],
            "size": [
              270,
              110
            ],
            "flags": {},
            "order": 3,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "unet_name",
                "name": "unet_name",
                "type": "COMBO",
                "widget": {
                  "name": "unet_name"
                },
                "link": 109
              }
            ],
            "outputs": [
              {
                "localized_name": "MODEL",
                "name": "MODEL",
                "type": "MODEL",
                "links": [
                  85
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.3.73",
              "Node name for S&R": "UNETLoader",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65,
              "models": [
                {
                  "name": "ernie-image.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/ERNIE-Image/resolve/main/diffusion_models/ernie-image.safetensors",
                  "directory": "diffusion_models"
                }
              ],
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.7",
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              "ernie-image.safetensors",
              "default"
            ]
          },
          {
            "id": 65,
            "type": "VAEDecode",
            "pos": [
              709.9999280813329,
              279.99996172812985
            ],
            "size": [
              230,
              100
            ],
            "flags": {},
            "order": 2,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "samples",
                "name": "samples",
                "type": "LATENT",
                "link": 73
              },
              {
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE",
                "link": 74
              }
            ],
            "outputs": [
              {
                "localized_name": "IMAGE",
                "name": "IMAGE",
                "type": "IMAGE",
                "slot_index": 0,
                "links": [
                  84
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.3.64",
              "Node name for S&R": "VAEDecode",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65,
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.7",
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": []
          },
          {
            "id": 70,
            "type": "KSampler",
            "pos": [
              350.0000613973036,
              279.99996172812985
            ],
            "size": [
              320,
              350
            ],
            "flags": {},
            "order": 5,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "model",
                "name": "model",
                "type": "MODEL",
                "link": 85
              },
              {
                "localized_name": "positive",
                "name": "positive",
                "type": "CONDITIONING",
                "link": 76
              },
              {
                "localized_name": "negative",
                "name": "negative",
                "type": "CONDITIONING",
                "link": 83
              },
              {
                "localized_name": "latent_image",
                "name": "latent_image",
                "type": "LATENT",
                "link": 80
              },
              {
                "localized_name": "seed",
                "name": "seed",
                "type": "INT",
                "widget": {
                  "name": "seed"
                },
                "link": 108
              },
              {
                "localized_name": "steps",
                "name": "steps",
                "type": "INT",
                "widget": {
                  "name": "steps"
                },
                "link": 106
              },
              {
                "localized_name": "cfg",
                "name": "cfg",
                "type": "FLOAT",
                "widget": {
                  "name": "cfg"
                },
                "link": 107
              }
            ],
            "outputs": [
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "slot_index": 0,
                "links": [
                  73
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.3.64",
              "Node name for S&R": "KSampler",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65,
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.7",
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              182596410725960,
              "randomize",
              20,
              4,
              "euler",
              "simple",
              1
            ]
          },
          {
            "id": 67,
            "type": "CLIPTextEncode",
            "pos": [
              -139.99998446243728,
              319.9999014517264
            ],
            "size": [
              410,
              370
            ],
            "flags": {},
            "order": 4,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "clip",
                "name": "clip",
                "type": "CLIP",
                "link": 79
              },
              {
                "localized_name": "text",
                "name": "text",
                "type": "STRING",
                "widget": {
                  "name": "text"
                },
                "link": 100
              }
            ],
            "outputs": [
              {
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "type": "CONDITIONING",
                "links": [
                  76
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.3.73",
              "Node name for S&R": "CLIPTextEncode",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65,
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.7",
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              ""
            ],
            "color": "#232",
            "bgcolor": "#353"
          },
          {
            "id": 72,
            "type": "CLIPTextEncode",
            "pos": [
              -129.99996543389977,
              769.9999393925939
            ],
            "size": [
              390,
              140
            ],
            "flags": {},
            "order": 7,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "clip",
                "name": "clip",
                "type": "CLIP",
                "link": 82
              }
            ],
            "outputs": [
              {
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "type": "CONDITIONING",
                "links": [
                  83
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.3.73",
              "Node name for S&R": "CLIPTextEncode",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65,
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.7",
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              ""
            ],
            "color": "#223",
            "bgcolor": "#335"
          },
          {
            "id": 83,
            "type": "StringReplace",
            "pos": [
              -499.9999875370205,
              -640.0000158201264
            ],
            "size": [
              430,
              450
            ],
            "flags": {},
            "order": 12,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "replace",
                "name": "replace",
                "type": "STRING",
                "widget": {
                  "name": "replace"
                },
                "link": 92
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  115
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.18.1",
              "Node name for S&R": "StringReplace",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65,
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.7",
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              "<s>[SYSTEM_PROMPT]你是一个专业的文生图 Prompt 增强助手。你将收到用户的简短图片描述及目标生成分辨率，请据此扩写为一段内容丰富、细节充分的视觉描述，以帮助文生图模型生成高质量的图片。仅输出增强后的描述，不要包含任何解释或前缀。[/SYSTEM_PROMPT][INST]{\"prompt\": \"{prompt}\", \"width\": {width}, \"height\": {height}}[/INST]",
              "{prompt}",
              ""
            ]
          },
          {
            "id": 78,
            "type": "PrimitiveStringMultiline",
            "pos": [
              -949.9999487582014,
              -650.0000348486639
            ],
            "size": [
              400,
              200
            ],
            "flags": {},
            "order": 11,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "value",
                "name": "value",
                "type": "STRING",
                "widget": {
                  "name": "value"
                },
                "link": 102
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  87,
                  92
                ]
              }
            ],
            "title": "String (Multiline - Prompt)",
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.18.1",
              "Node name for S&R": "PrimitiveStringMultiline",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65,
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.7",
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              "High-fashion style summer outfit infographic featuring color-coordinated floating elements arranged in an elegant expanded circular composition. It includes a breathable straw hat, a sleeveless organic cotton top, a flowing pleated skirt, handcrafted leather sandals, and a woven palm leaf handbag. Exquisite annotations highlight fabric breathability, refreshing texture, moisture-wicking properties, and seasonal comfort. The color palette adopts warm neutral tones—ivory white, terracotta, sand, and soft tan. Subtle dynamic trajectories and flowing fabric swirls suggest a gentle summer breeze, while bright natural sunlight creates soft shadows and sun-kissed sheen, in a Mediterranean style."
            ]
          },
          {
            "id": 74,
            "type": "TextGenerate",
            "pos": [
              529.9999947393183,
              -650.0000348486639
            ],
            "size": [
              400,
              482.65625
            ],
            "flags": {},
            "order": 8,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "clip",
                "name": "clip",
                "type": "CLIP",
                "link": 112
              },
              {
                "localized_name": "image",
                "name": "image",
                "shape": 7,
                "type": "IMAGE",
                "link": null
              },
              {
                "localized_name": "prompt",
                "name": "prompt",
                "type": "STRING",
                "widget": {
                  "name": "prompt"
                },
                "link": 119
              }
            ],
            "outputs": [
              {
                "localized_name": "generated_text",
                "name": "generated_text",
                "type": "STRING",
                "links": [
                  89
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.18.1",
              "Node name for S&R": "TextGenerate",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65,
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.7",
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              "",
              2048,
              "on",
              0.6,
              64,
              0.8,
              0.05,
              1.05,
              0,
              0,
              false
            ]
          },
          {
            "id": 76,
            "type": "PrimitiveBoolean",
            "pos": [
              -499.9999875370205,
              59.99995227196496
            ],
            "size": [
              270,
              100
            ],
            "flags": {},
            "order": 10,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "value",
                "name": "value",
                "type": "BOOLEAN",
                "widget": {
                  "name": "value"
                },
                "link": 103
              }
            ],
            "outputs": [
              {
                "localized_name": "BOOLEAN",
                "name": "BOOLEAN",
                "type": "BOOLEAN",
                "links": [
                  88
                ]
              }
            ],
            "title": "Enable prompt enhancement?",
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.18.1",
              "Node name for S&R": "PrimitiveBoolean",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65,
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.7",
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              true
            ]
          },
          {
            "id": 75,
            "type": "ComfySwitchNode",
            "pos": [
              529.9999947393183,
              20.00001254836866
            ],
            "size": [
              270,
              130
            ],
            "flags": {},
            "order": 9,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "on_false",
                "name": "on_false",
                "type": "STRING",
                "link": 87
              },
              {
                "localized_name": "on_true",
                "name": "on_true",
                "type": "STRING",
                "link": 89
              },
              {
                "localized_name": "switch",
                "name": "switch",
                "type": "BOOLEAN",
                "widget": {
                  "name": "switch"
                },
                "link": 88
              }
            ],
            "outputs": [
              {
                "localized_name": "output",
                "name": "output",
                "type": "STRING",
                "links": [
                  100,
                  124
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.18.1",
              "Node name for S&R": "ComfySwitchNode",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65,
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.7",
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              false
            ]
          },
          {
            "id": 62,
            "type": "CLIPLoader",
            "pos": [
              -459.9999796181471,
              520.00000924137
            ],
            "size": [
              270,
              150
            ],
            "flags": {},
            "order": 0,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "clip_name",
                "name": "clip_name",
                "type": "COMBO",
                "widget": {
                  "name": "clip_name"
                },
                "link": 110
              }
            ],
            "outputs": [
              {
                "localized_name": "CLIP",
                "name": "CLIP",
                "type": "CLIP",
                "links": [
                  79,
                  82
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.3.73",
              "Node name for S&R": "CLIPLoader",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65,
              "models": [
                {
                  "name": "ministral-3-3b.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/ERNIE-Image/resolve/main/text_encoders/ministral-3-3b.safetensors",
                  "directory": "text_encoders"
                }
              ],
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.7",
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              "ministral-3-3b.safetensors",
              "flux2",
              "default"
            ]
          },
          {
            "id": 63,
            "type": "VAELoader",
            "pos": [
              -459.9999796181471,
              769.9999393925939
            ],
            "size": [
              270,
              110
            ],
            "flags": {},
            "order": 1,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "vae_name",
                "name": "vae_name",
                "type": "COMBO",
                "widget": {
                  "name": "vae_name"
                },
                "link": 121
              }
            ],
            "outputs": [
              {
                "localized_name": "VAE",
                "name": "VAE",
                "type": "VAE",
                "links": [
                  74
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.3.73",
              "Node name for S&R": "VAELoader",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65,
              "models": [
                {
                  "name": "flux2-vae.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/ERNIE-Image/resolve/main/vae/flux2-vae.safetensors",
                  "directory": "vae"
                }
              ],
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.7",
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              "flux2-vae.safetensors"
            ]
          },
          {
            "id": 91,
            "type": "CLIPLoader",
            "pos": [
              -499.9999875370205,
              -150.00003815566242
            ],
            "size": [
              510,
              150
            ],
            "flags": {},
            "order": 13,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "clip_name",
                "name": "clip_name",
                "type": "COMBO",
                "widget": {
                  "name": "clip_name"
                },
                "link": 120
              }
            ],
            "outputs": [
              {
                "localized_name": "CLIP",
                "name": "CLIP",
                "type": "CLIP",
                "links": [
                  112
                ]
              }
            ],
            "title": "Load CLIP (PE)",
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.19.0",
              "Node name for S&R": "CLIPLoader",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65,
              "models": [
                {
                  "name": "ernie-image-prompt-enhancer.safetensors",
                  "url": "https://huggingface.co/Comfy-Org/ERNIE-Image/resolve/main/text_encoders/ernie-image-prompt-enhancer.safetensors",
                  "directory": "text_encoders"
                }
              ],
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.7",
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              "ernie-image-prompt-enhancer.safetensors",
              "flux2",
              "default"
            ]
          },
          {
            "id": 92,
            "type": "PreviewAny",
            "pos": [
              -949.9999487582014,
              -400.0000365021632
            ],
            "size": [
              400,
              180
            ],
            "flags": {},
            "order": 14,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "source",
                "name": "source",
                "type": "*",
                "link": 113
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  116
                ]
              }
            ],
            "title": "Preview as Text (Int to String)",
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.19.0",
              "Node name for S&R": "PreviewAny",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65,
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.7",
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              null,
              null,
              null
            ]
          },
          {
            "id": 93,
            "type": "PreviewAny",
            "pos": [
              -949.9999487582014,
              -180.0000270459982
            ],
            "size": [
              400,
              180
            ],
            "flags": {},
            "order": 15,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "source",
                "name": "source",
                "type": "*",
                "link": 114
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  118
                ]
              }
            ],
            "title": "Preview as Text (Int to String)",
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.19.0",
              "Node name for S&R": "PreviewAny",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65,
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.7",
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              null,
              null,
              null
            ]
          },
          {
            "id": 94,
            "type": "StringReplace",
            "pos": [
              -29.999979734354838,
              -640.0000158201264
            ],
            "size": [
              230,
              450
            ],
            "flags": {},
            "order": 16,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                },
                "link": 115
              },
              {
                "localized_name": "replace",
                "name": "replace",
                "type": "STRING",
                "widget": {
                  "name": "replace"
                },
                "link": 116
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  117
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.18.1",
              "Node name for S&R": "StringReplace",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65,
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.7",
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              "",
              "{width}",
              ""
            ]
          },
          {
            "id": 95,
            "type": "StringReplace",
            "pos": [
              219.99995041686884,
              -640.0000158201264
            ],
            "size": [
              250,
              450
            ],
            "flags": {},
            "order": 17,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "string",
                "name": "string",
                "type": "STRING",
                "widget": {
                  "name": "string"
                },
                "link": 117
              },
              {
                "localized_name": "replace",
                "name": "replace",
                "type": "STRING",
                "widget": {
                  "name": "replace"
                },
                "link": 118
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": [
                  119
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.18.1",
              "Node name for S&R": "StringReplace",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65,
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.7",
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              "",
              "{height}",
              ""
            ]
          },
          {
            "id": 97,
            "type": "PreviewAny",
            "pos": [
              970.000013651648,
              -650.0000348486639
            ],
            "size": [
              570,
              790
            ],
            "flags": {},
            "order": 18,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "source",
                "name": "source",
                "type": "*",
                "link": 124
              }
            ],
            "outputs": [
              {
                "localized_name": "STRING",
                "name": "STRING",
                "type": "STRING",
                "links": []
              }
            ],
            "title": "Preview as Text (Int to String)",
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.19.0",
              "Node name for S&R": "PreviewAny",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65,
              "ue_properties": {
                "widget_ue_connectable": {},
                "version": "7.7",
                "input_ue_unconnectable": {}
              }
            },
            "widgets_values": [
              null,
              null,
              null
            ]
          }
        ],
        "groups": [
          {
            "id": 6,
            "title": "Text to Image",
            "bounding": [
              -510,
              200,
              1450,
              1060
            ],
            "color": "#3f789e",
            "font_size": 24,
            "flags": {}
          },
          {
            "id": 2,
            "title": "Image Size",
            "bounding": [
              -480,
              940,
              310,
              290
            ],
            "color": "#3f789e",
            "font_size": 24,
            "flags": {}
          },
          {
            "id": 3,
            "title": "Prompt",
            "bounding": [
              -160,
              250,
              470,
              670
            ],
            "color": "#3f789e",
            "font_size": 24,
            "flags": {}
          },
          {
            "id": 4,
            "title": "Model",
            "bounding": [
              -490,
              250,
              320,
              670
            ],
            "color": "#3f789e",
            "font_size": 24,
            "flags": {}
          },
          {
            "id": 5,
            "title": "Prompt Enhancement",
            "bounding": [
              -510,
              -720,
              1450,
              890
            ],
            "color": "#3f789e",
            "font_size": 24,
            "flags": {}
          }
        ],
        "links": [
          {
            "id": 73,
            "origin_id": 70,
            "origin_slot": 0,
            "target_id": 65,
            "target_slot": 0,
            "type": "LATENT"
          },
          {
            "id": 74,
            "origin_id": 63,
            "origin_slot": 0,
            "target_id": 65,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 85,
            "origin_id": 66,
            "origin_slot": 0,
            "target_id": 70,
            "target_slot": 0,
            "type": "MODEL"
          },
          {
            "id": 76,
            "origin_id": 67,
            "origin_slot": 0,
            "target_id": 70,
            "target_slot": 1,
            "type": "CONDITIONING"
          },
          {
            "id": 83,
            "origin_id": 72,
            "origin_slot": 0,
            "target_id": 70,
            "target_slot": 2,
            "type": "CONDITIONING"
          },
          {
            "id": 80,
            "origin_id": 71,
            "origin_slot": 0,
            "target_id": 70,
            "target_slot": 3,
            "type": "LATENT"
          },
          {
            "id": 79,
            "origin_id": 62,
            "origin_slot": 0,
            "target_id": 67,
            "target_slot": 0,
            "type": "CLIP"
          },
          {
            "id": 100,
            "origin_id": 75,
            "origin_slot": 0,
            "target_id": 67,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 82,
            "origin_id": 62,
            "origin_slot": 0,
            "target_id": 72,
            "target_slot": 0,
            "type": "CLIP"
          },
          {
            "id": 92,
            "origin_id": 78,
            "origin_slot": 0,
            "target_id": 83,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 87,
            "origin_id": 78,
            "origin_slot": 0,
            "target_id": 75,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 89,
            "origin_id": 74,
            "origin_slot": 0,
            "target_id": 75,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 88,
            "origin_id": 76,
            "origin_slot": 0,
            "target_id": 75,
            "target_slot": 2,
            "type": "BOOLEAN"
          },
          {
            "id": 84,
            "origin_id": 65,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 102,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 78,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 103,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 76,
            "target_slot": 0,
            "type": "BOOLEAN"
          },
          {
            "id": 104,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 71,
            "target_slot": 0,
            "type": "INT"
          },
          {
            "id": 105,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 71,
            "target_slot": 1,
            "type": "INT"
          },
          {
            "id": 106,
            "origin_id": -10,
            "origin_slot": 4,
            "target_id": 70,
            "target_slot": 5,
            "type": "INT"
          },
          {
            "id": 107,
            "origin_id": -10,
            "origin_slot": 5,
            "target_id": 70,
            "target_slot": 6,
            "type": "FLOAT"
          },
          {
            "id": 108,
            "origin_id": -10,
            "origin_slot": 6,
            "target_id": 70,
            "target_slot": 4,
            "type": "INT"
          },
          {
            "id": 109,
            "origin_id": -10,
            "origin_slot": 7,
            "target_id": 66,
            "target_slot": 0,
            "type": "COMBO"
          },
          {
            "id": 110,
            "origin_id": -10,
            "origin_slot": 8,
            "target_id": 62,
            "target_slot": 0,
            "type": "COMBO"
          },
          {
            "id": 112,
            "origin_id": 91,
            "origin_slot": 0,
            "target_id": 74,
            "target_slot": 0,
            "type": "CLIP"
          },
          {
            "id": 113,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 92,
            "target_slot": 0,
            "type": "*"
          },
          {
            "id": 114,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 93,
            "target_slot": 0,
            "type": "*"
          },
          {
            "id": 115,
            "origin_id": 83,
            "origin_slot": 0,
            "target_id": 94,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 116,
            "origin_id": 92,
            "origin_slot": 0,
            "target_id": 94,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 117,
            "origin_id": 94,
            "origin_slot": 0,
            "target_id": 95,
            "target_slot": 0,
            "type": "STRING"
          },
          {
            "id": 118,
            "origin_id": 93,
            "origin_slot": 0,
            "target_id": 95,
            "target_slot": 1,
            "type": "STRING"
          },
          {
            "id": 119,
            "origin_id": 95,
            "origin_slot": 0,
            "target_id": 74,
            "target_slot": 2,
            "type": "STRING"
          },
          {
            "id": 120,
            "origin_id": -10,
            "origin_slot": 9,
            "target_id": 91,
            "target_slot": 0,
            "type": "COMBO"
          },
          {
            "id": 121,
            "origin_id": -10,
            "origin_slot": 10,
            "target_id": 63,
            "target_slot": 0,
            "type": "COMBO"
          },
          {
            "id": 124,
            "origin_id": 75,
            "origin_slot": 0,
            "target_id": 97,
            "target_slot": 0,
            "type": "STRING"
          }
        ],
        "extra": {
          "ue_links": []
        }
      }
    ]
  },
  "config": {},
  "extra": {
    "frontendVersion": "1.42.10",
    "workflowRendererVersion": "LG",
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true,
    "ue_links": [],
    "ds": {
      "scale": 0.4475028105769698,
      "offset": [
        1075.096009503514,
        1302.9297925934272
      ]
    }
  },
  "version": 0.4
}