{
  "id": "08988737-a544-4ab1-99fb-22d67b7c36e3",
  "revision": 0,
  "last_node_id": 73,
  "last_link_id": 103,
  "nodes": [
    {
      "id": 47,
      "type": "MarkdownNote",
      "pos": [
        -1200,
        970
      ],
      "size": [
        690,
        510
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "LoRA Trigger Words and Settings",
      "properties": {
        "ue_properties": {
          "version": "7.0.1",
          "widget_ue_connectable": {}
        }
      },
      "widgets_values": [
        "Download the style LoRAs used in this workflow from [Comfy-Org/Krea-2/loras](https://huggingface.co/Comfy-Org/Krea-2/tree/main/loras). Place the `.safetensors` files in `ComfyUI/models/loras/`.\n\n| LoRA                   | Trigger Words                        | Recommended Strength |\n|------------------------|--------------------------------------|-------|\n| `krea2_darkbrush`      | `monochrome ink wash style`          | `1.0` |\n| `krea2_dotmatrix`      | `monochrome stippling style`         | `1.0` |\n| `krea2_kidsdrawing`    | `naive expressive sketch style`      | `1.0` |\n| `krea2_neondrip`       | `textured abstract style`            | `1.0` |\n| `krea2_rainywindow`    | `rainy window style`                 | `1.0` |\n| `krea2_retroanime`     | `purple retro anime style`           | `1.0` |\n| `krea2_softwatercolor` | `art deco watercolor style`          | `1.0` |\n| `krea2_sunsetblur`     | `ethereal motion blur style`         | `1.0` |\n| `krea2_vintagetarot`   | `vintage tarot style`                | `1.0` |"
      ],
      "color": "#222",
      "bgcolor": "#000"
    },
    {
      "id": 51,
      "type": "CLIPTextEncode",
      "pos": [
        1060.0655110677048,
        -608.3115641276036
      ],
      "size": [
        480,
        420
      ],
      "flags": {},
      "order": 20,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 72
        },
        {
          "name": "text",
          "type": "STRING",
          "widget": {
            "name": "text"
          },
          "link": 73
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "slot_index": 0,
          "links": [
            75,
            80
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.25.0",
        "Node name for S&R": "CLIPTextEncode",
        "ue_properties": {
          "version": "7.0.1",
          "widget_ue_connectable": {}
        }
      },
      "widgets_values": [
        "A high-contrast, hyper-stylized fashion editorial portrait shot against a saturated mustard-yellow seamless backdrop, with the central figure rendered in crisp desaturated black-and-white, creating a striking duotone aesthetic reminiscent of David LaChapelle meets Helmut Newton with a punk-gothic edge.\n\nThe subject is a fierce young woman with a platinum-bleached, spiked liberty mohawk crown of hair, her expression cold and commanding as she stares directly into the lens. She wears a cropped black leather biker jacket exploding with oversized metallic conical studs and spikes across the shoulders, paired with a minimal black bikini bottom, sheer black thigh-high stockings, and chunky knee-high lace-up combat platform boots. Her toned, athletic physique is fully exposed at the midriff.\n\nShe sits regally upon an ornate throne carved in the shape of a snarling, fanged beast's head — part dragon, part demonic feline — its silver-grey surface intricately detailed with bones, scales, and gothic ornamentation. Her booted foot rests on a battered metal road case wrapped in heavy chains and covered in stickers and band decals.\n\nIn her right hand she grips a massive medieval war scythe, its long wooden shaft wrapped in leather, the enormous curved blade arcing dramatically over her head. Perched on her left fist, talons gripping her knuckles, is a majestic American bald eagle with pristine white head feathers and a sharp yellow beak, staring off to the side with predatory alertness.\n\nStudio lighting is hard and theatrical, casting crisp shadows. The composition is symmetrical, iconic, and poster-like — punk rock goddess of war meets American mythology. Hyperrealistic, high-fashion photography, 8k, sharp detail, magazine cover quality."
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 52,
      "type": "EmptyLatentImage",
      "pos": [
        1130.0655110677048,
        -8.31156412760366
      ],
      "size": [
        320,
        170
      ],
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 98
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 99
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "slot_index": 0,
          "links": [
            77
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.25.0",
        "Node name for S&R": "EmptyLatentImage",
        "ue_properties": {
          "version": "7.0.1",
          "widget_ue_connectable": {}
        }
      },
      "widgets_values": [
        512,
        512,
        1
      ]
    },
    {
      "id": 53,
      "type": "KSampler",
      "pos": [
        1600.065511067705,
        -458.3115641276036
      ],
      "size": [
        320,
        590
      ],
      "flags": {},
      "order": 22,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 74
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 75
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 76
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 77
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "slot_index": 0,
          "links": [
            78
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.25.0",
        "Node name for S&R": "KSampler",
        "ue_properties": {
          "version": "7.0.1",
          "widget_ue_connectable": {}
        }
      },
      "widgets_values": [
        1053943103342884,
        "randomize",
        8,
        1,
        "euler",
        "simple",
        1
      ]
    },
    {
      "id": 58,
      "type": "ConditioningZeroOut",
      "pos": [
        1310.0655110677055,
        -138.31156412760367
      ],
      "size": [
        230,
        30
      ],
      "flags": {
        "collapsed": true
      },
      "order": 21,
      "mode": 0,
      "inputs": [
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 80
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            76
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.25.0",
        "Node name for S&R": "ConditioningZeroOut",
        "ue_properties": {
          "version": "7.0.1",
          "widget_ue_connectable": {}
        }
      },
      "widgets_values": []
    },
    {
      "id": 60,
      "type": "TextGenerate",
      "pos": [
        1020.0655110677036,
        291.6884358723963
      ],
      "size": [
        400,
        412
      ],
      "flags": {},
      "order": 15,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 82
        },
        {
          "name": "image",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "video",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "audio",
          "shape": 7,
          "type": "AUDIO",
          "link": null
        },
        {
          "name": "prompt",
          "type": "STRING",
          "widget": {
            "name": "prompt"
          },
          "link": 83
        }
      ],
      "outputs": [
        {
          "name": "generated_text",
          "type": "STRING",
          "links": [
            88
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.25.0",
        "Node name for S&R": "TextGenerate",
        "ue_properties": {
          "version": "7.0.1",
          "widget_ue_connectable": {}
        }
      },
      "widgets_values": [
        "",
        512,
        "on",
        0.7,
        64,
        0.95,
        0.05,
        1.05,
        0,
        0,
        false,
        true
      ]
    },
    {
      "id": 61,
      "type": "StringConcatenate",
      "pos": [
        750.0655110677043,
        951.6884358723967
      ],
      "size": [
        230,
        121
      ],
      "flags": {
        "collapsed": true
      },
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "string_a",
          "type": "STRING",
          "widget": {
            "name": "string_a"
          },
          "link": 84
        },
        {
          "name": "string_b",
          "type": "STRING",
          "widget": {
            "name": "string_b"
          },
          "link": 85
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            83
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.25.0",
        "Node name for S&R": "StringConcatenate",
        "ue_properties": {
          "version": "7.0.1",
          "widget_ue_connectable": {}
        }
      },
      "widgets_values": [
        "",
        "",
        ""
      ]
    },
    {
      "id": 64,
      "type": "PreviewAny",
      "pos": [
        1460.0655110677053,
        301.68843587239627
      ],
      "size": [
        470,
        550
      ],
      "flags": {
        "collapsed": false
      },
      "order": 17,
      "mode": 0,
      "inputs": [
        {
          "name": "source",
          "type": "*",
          "link": 86
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            93,
            94
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.25.0",
        "Node name for S&R": "PreviewAny",
        "ue_properties": {
          "version": "7.0.1",
          "widget_ue_connectable": {}
        }
      },
      "widgets_values": [
        null,
        null,
        null
      ]
    },
    {
      "id": 65,
      "type": "ComfySwitchNode",
      "pos": [
        1130.0655110677048,
        911.6884358723964
      ],
      "size": [
        270,
        130
      ],
      "flags": {},
      "order": 16,
      "mode": 0,
      "inputs": [
        {
          "name": "on_false",
          "type": "STRING",
          "link": 87
        },
        {
          "name": "on_true",
          "type": "STRING",
          "link": 88
        },
        {
          "name": "switch",
          "type": "BOOLEAN",
          "widget": {
            "name": "switch"
          },
          "link": 89
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "STRING",
          "links": [
            86
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.25.0",
        "Node name for S&R": "ComfySwitchNode",
        "ue_properties": {
          "version": "7.0.1",
          "widget_ue_connectable": {}
        }
      },
      "widgets_values": [
        false
      ]
    },
    {
      "id": 66,
      "type": "ComfySwitchNode",
      "pos": [
        1600.065511067705,
        -628.3115641276036
      ],
      "size": [
        320,
        130
      ],
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [
        {
          "name": "on_false",
          "type": "MODEL",
          "link": 101
        },
        {
          "name": "on_true",
          "type": "MODEL",
          "link": 91
        },
        {
          "name": "switch",
          "type": "BOOLEAN",
          "widget": {
            "name": "switch"
          },
          "link": 92
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "MODEL",
          "links": [
            74
          ]
        }
      ],
      "title": "Switch (Model)",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.25.0",
        "Node name for S&R": "ComfySwitchNode",
        "ue_properties": {
          "version": "7.0.1",
          "widget_ue_connectable": {}
        }
      },
      "widgets_values": [
        false
      ]
    },
    {
      "id": 69,
      "type": "StringConcatenate",
      "pos": [
        1990.0655110677048,
        601.6884358723968
      ],
      "size": [
        350,
        250
      ],
      "flags": {
        "collapsed": false
      },
      "order": 18,
      "mode": 0,
      "inputs": [
        {
          "name": "string_a",
          "type": "STRING",
          "widget": {
            "name": "string_a"
          },
          "link": 93
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            95
          ]
        }
      ],
      "title": "Concatenate Text (LoRA Trigger Word)",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.25.0",
        "Node name for S&R": "StringConcatenate",
        "ue_properties": {
          "version": "7.0.1",
          "widget_ue_connectable": {}
        }
      },
      "widgets_values": [
        "",
        "muted minimalist sketch style",
        ", "
      ]
    },
    {
      "id": 57,
      "type": "VAELoader",
      "pos": [
        550.0655110677044,
        31.688435872396365
      ],
      "size": [
        450,
        120
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            79
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.25.0",
        "Node name for S&R": "VAELoader",
        "models": [
          {
            "name": "qwen_image_vae.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Krea-2/resolve/main/vae/qwen_image_vae.safetensors",
            "directory": "vae"
          }
        ],
        "ue_properties": {
          "version": "7.0.1",
          "widget_ue_connectable": {}
        }
      },
      "widgets_values": [
        "qwen_image_vae.safetensors"
      ]
    },
    {
      "id": 54,
      "type": "VAEDecode",
      "pos": [
        1970.0655110677048,
        -628.3115641276036
      ],
      "size": [
        230,
        100
      ],
      "flags": {
        "collapsed": false
      },
      "order": 23,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 78
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 79
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "slot_index": 0,
          "links": [
            97,
            102
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.25.0",
        "Node name for S&R": "VAEDecode",
        "ue_properties": {
          "version": "7.0.1",
          "widget_ue_connectable": {}
        }
      },
      "widgets_values": []
    },
    {
      "id": 71,
      "type": "UnetLoaderGGUF",
      "pos": [
        549.662406775565,
        -596.4276010965638
      ],
      "size": [
        431.2200249565965,
        86.3224826388888
      ],
      "flags": {},
      "order": 2,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            100,
            101
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui-gguf",
        "ver": "1.1.10",
        "Node name for S&R": "UnetLoaderGGUF",
        "ue_properties": {
          "version": "7.0.1"
        }
      },
      "widgets_values": [
        "krea2_turbo-Q8_0.gguf"
      ]
    },
    {
      "id": 70,
      "type": "ComfySwitchNode",
      "pos": [
        2010.0655110677046,
        311.6884358723963
      ],
      "size": [
        340,
        130
      ],
      "flags": {},
      "order": 19,
      "mode": 0,
      "inputs": [
        {
          "name": "on_false",
          "type": "STRING",
          "link": 94
        },
        {
          "name": "on_true",
          "type": "STRING",
          "link": 95
        },
        {
          "name": "switch",
          "type": "BOOLEAN",
          "widget": {
            "name": "switch"
          },
          "link": 96
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "STRING",
          "links": [
            73
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.25.0",
        "Node name for S&R": "ComfySwitchNode",
        "ue_properties": {
          "version": "7.0.1",
          "widget_ue_connectable": {}
        }
      },
      "widgets_values": [
        false
      ]
    },
    {
      "id": 50,
      "type": "MarkdownNote",
      "pos": [
        -1200,
        -90
      ],
      "size": [
        700,
        990
      ],
      "flags": {},
      "order": 3,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Note: Krea-2",
      "properties": {
        "ue_properties": {
          "version": "7.0.1",
          "widget_ue_connectable": {}
        }
      },
      "widgets_values": [
        "Guide: [krea-2](https://docs.comfy.org/tutorials/image/krea/krea-2)\n\nThis workflow generates images with **Krea-2 Turbo**, a fast distilled text-to-image model. The workflow is organized into a few parts: each handles a different step so you can generate quickly without digging through every node.\n\n## Text to Image (Krea-2 Turbo) Subgraph\n\nDouble-click this node to open the full pipeline. Inside, the canvas is grouped into several areas:\n\n**Models**: Loads the diffusion model, text encoder, VAE, and optional style LoRA (`LoraLoaderModelOnly`).\n\n**Prompt**: Enter your image description in **Text String (User Prompt)**.\n\n**Prompt Enhancement**: Expands your prompt before generation. Enabled by default (`prompt_enhance`). You can turn it off to use your prompt as-is, or replace the built-in module with **OpenAI** or **Gemini** API nodes.\n\n**Feature Switch**: Quick toggles on the left side of the subgraph:\n- `prompt_enhance`: enable or disable prompt expansion\n- `enable_lora?`: enable or disable the style LoRA\n\n**Image Generation**: Handles latent sizing, sampling (8 steps), and VAE decode to produce the final image.\n\nWhen using a LoRA, set `enable_lora?` to true, select the matching file in **LoraLoaderModelOnly**, and adjust `lora_strength` as needed.\n\n## LoRA & Trigger Word (CustomCombo)\n\nOn the main canvas, the **CustomCombo** node is where you choose which style LoRA you are using (e.g. `krea2_coolblue`, `krea2_darkbrush`). The workflow uses your selection to automatically append the correct **trigger word** to your prompt.\n\n- Download LoRA files from [Comfy-Org/Krea-2/loras](https://huggingface.co/Comfy-Org/Krea-2/tree/main/loras) and place them in `ComfyUI/models/loras/`\n- Select the LoRA name that matches the file loaded inside the subgraph\n- The trigger word is applied for you: no need to type it manually\n- For trigger words and recommended strength values, see the **LoRA Trigger Words and Settings** note beside this workflow\n"
      ],
      "color": "#222",
      "bgcolor": "#000"
    },
    {
      "id": 48,
      "type": "MarkdownNote",
      "pos": [
        -1940,
        -90
      ],
      "size": [
        700,
        990
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "title": "Model Links",
      "properties": {
        "ue_properties": {
          "version": "7.0.1",
          "widget_ue_connectable": {}
        }
      },
      "widgets_values": [
        "Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Model Links (for Local Users)\n\nFor BF16 and NVFP4 variants, see [Comfy-Org/Krea-2](https://huggingface.co/Comfy-Org/Krea-2)\n\n**diffusion_models**\n\n- [krea2_turbo_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/Krea-2/resolve/main/diffusion_models/krea2_turbo_fp8_scaled.safetensors)\n\n**text_encoders**\n\n- [qwen3vl_4b_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/Krea-2/resolve/main/text_encoders/qwen3vl_4b_fp8_scaled.safetensors)\n\n**vae**\n\n- [qwen_image_vae.safetensors](https://huggingface.co/Comfy-Org/Krea-2/resolve/main/vae/qwen_image_vae.safetensors)\n\n**loras(optional)**\n\n- [krea2_darkbrush.safetensors](https://huggingface.co/Comfy-Org/Krea-2/resolve/main/loras/krea2_darkbrush.safetensors)\n\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│   ├── 📂 diffusion_models/\n│   │   └── krea2_turbo_fp8_scaled.safetensors\n│   ├── 📂 text_encoders/\n│   │   └── qwen3vl_4b_fp8_scaled.safetensors\n│   ├── 📂 vae/\n│   │   └── qwen_image_vae.safetensors\n│   └── 📂 loras/\n│       └── krea2_darkbrush.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)\n"
      ],
      "color": "#222",
      "bgcolor": "#000"
    },
    {
      "id": 59,
      "type": "LoraLoaderModelOnly",
      "pos": [
        551.8288605197989,
        -434.76142168919466
      ],
      "size": [
        450,
        170
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 100
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            91
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.25.0",
        "Node name for S&R": "LoraLoaderModelOnly",
        "models": [
          {
            "name": "krea2_darkbrush.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Krea-2/resolve/main/loras/krea2_darkbrush.safetensors",
            "directory": "loras"
          }
        ],
        "ue_properties": {
          "version": "7.0.1",
          "widget_ue_connectable": {}
        }
      },
      "widgets_values": [
        "krea2_darkbrush.safetensors",
        1
      ]
    },
    {
      "id": 67,
      "type": "PrimitiveBoolean",
      "pos": [
        50.06551106770395,
        311.6884358723963
      ],
      "size": [
        270,
        110
      ],
      "flags": {},
      "order": 5,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "BOOLEAN",
          "type": "BOOLEAN",
          "links": [
            92,
            96
          ]
        }
      ],
      "title": "Boolean (Enable LoRA?)",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.25.0",
        "Node name for S&R": "PrimitiveBoolean",
        "ue_properties": {
          "version": "7.0.1",
          "widget_ue_connectable": {}
        }
      },
      "widgets_values": [
        false
      ]
    },
    {
      "id": 49,
      "type": "ResolutionSelector",
      "pos": [
        -429.3232481588259,
        96.26003866067883
      ],
      "size": [
        270,
        190
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "width",
          "type": "INT",
          "links": [
            98
          ]
        },
        {
          "name": "height",
          "type": "INT",
          "links": [
            99
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.25.0",
        "Node name for S&R": "ResolutionSelector",
        "ue_properties": {
          "version": "7.0.1",
          "widget_ue_connectable": {}
        }
      },
      "widgets_values": [
        "3:4 (Portrait Standard)",
        1.5,
        8
      ]
    },
    {
      "id": 72,
      "type": "PreviewImage",
      "pos": [
        2676.686384040329,
        -1068.1849953420656
      ],
      "size": [
        814.7838302013652,
        841.1907722482445
      ],
      "flags": {},
      "order": 25,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 102
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.26.0",
        "Node name for S&R": "PreviewImage",
        "ue_properties": {
          "version": "7.0.1",
          "widget_ue_connectable": {}
        }
      },
      "widgets_values": []
    },
    {
      "id": 29,
      "type": "SaveImage",
      "pos": [
        2670.019971354197,
        -181.1145288654731
      ],
      "size": [
        827.4640325340124,
        1017.1601080739072
      ],
      "flags": {},
      "order": 24,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 97
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.25.0",
        "Node name for S&R": "SaveImage",
        "ue_properties": {
          "version": "7.0.1",
          "widget_ue_connectable": {}
        }
      },
      "widgets_values": [
        "Krea2_turbo\\ComfyUI-%date:yyyy-MM-dd%"
      ]
    },
    {
      "id": 63,
      "type": "PrimitiveStringMultiline",
      "pos": [
        -109.9344889322945,
        -648.3115641276033
      ],
      "size": [
        570,
        800
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            85,
            87
          ]
        }
      ],
      "title": "Text String (User Prompt)",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.25.0",
        "Node name for S&R": "PrimitiveStringMultiline",
        "ue_properties": {
          "version": "7.0.1",
          "widget_ue_connectable": {}
        }
      },
      "widgets_values": [
        "Ultra-realistic portrait of a stunning East Asian woman with warm natural skin tone, soft diffused daylight, crisp facial details, natural pores and fine hair texture, minimal makeup, slight smile, smooth gradient background, shallow depth of field, cinematic realism, perfect color accuracy, lifelike eyes, gentle catchlights, high dynamic range, 8K photo aesthetic."
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 62,
      "type": "PrimitiveStringMultiline",
      "pos": [
        530.0655110677042,
        291.6884358723963
      ],
      "size": [
        460,
        610
      ],
      "flags": {},
      "order": 8,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            84
          ]
        }
      ],
      "title": "Text String (System Prompt)",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.25.0",
        "Node name for S&R": "PrimitiveStringMultiline",
        "ue_properties": {
          "version": "7.0.1",
          "widget_ue_connectable": {}
        }
      },
      "widgets_values": [
        "You are an expert prompt engineer for text-to-image models. Your task is to expand the user's prompt into a highly effective image-generation prompt.\n\nThink step by step about the request before writing the answer:\n- What is the subject and mood?\n- What visual styles, mediums, and lighting options would fit? Consider two or three alternatives and pick the one that best serves the caption.\n- What composition, framing, and grounded details will help the text-to-image model?\n\nThen output a single expanded prompt paragraph. Do not output the thinking process.\n\nFollow these rules strictly:\n1. **Faithfulness First:** Preserve all original subjects, actions, colors, and spatial relationships. Do not add new objects, props, characters, or animals unless the user clearly implies them.\n2. **Practical T2I Structure:** Write a prompt that a text-to-image model can parse cleanly. Group subjects with their own attributes and actions. Use grounded phrasing for poses, interactions, and spatial layout.\n3. **Style Planning Stays Internal:** Use your internal reasoning to choose style, medium, framing, and lighting. Do not emit planning tags or wrappers in the visible answer body.\n4. **Text Rendering:** If the user requests visible text, quotes, labels, or typography, specify the exact text clearly and wrap requested words in quotes.\n5. **Avoid Over-Specification:** Do not invent highly specific clothing, colors, materials, or scene details unless the input supports them.\n6. **Structure:** Write one cohesive paragraph after the thinking block. No bullets, JSON, or markdown.\n7. **Respect Existing Detail:** If the user's prompt is already detailed, lightly polish and finalize rather than heavily expanding — preserve their phrasing and direction.\n8. **Respect the Human Form:** Treat depictions of people with dignity. Assume clothing covers genitals and intimate anatomy.\n9. **Preserve User Medium:** When the user explicitly requests a medium (e.g. \"photo of\", \"photograph of\", \"illustration of\", \"painting of\", \"sketch of\", \"3D render of\"), honor it. Do not pivot to a different medium to avoid difficulty — match the user's stated intent.\n\nUser's Input:\n\n"
      ]
    },
    {
      "id": 68,
      "type": "PrimitiveBoolean",
      "pos": [
        50.06551106770395,
        481.6884358723967
      ],
      "size": [
        270,
        110
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "BOOLEAN",
          "type": "BOOLEAN",
          "links": [
            89
          ]
        }
      ],
      "title": "Boolean (Refine Prompt?)",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.25.0",
        "Node name for S&R": "PrimitiveBoolean",
        "ue_properties": {
          "version": "7.0.1",
          "widget_ue_connectable": {}
        }
      },
      "widgets_values": [
        true
      ]
    },
    {
      "id": 56,
      "type": "CLIPLoader",
      "pos": [
        550.0655110677044,
        -208.31156412760356
      ],
      "size": [
        450,
        170
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            72,
            82
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.25.0",
        "Node name for S&R": "CLIPLoader",
        "models": [
          {
            "name": "qwen3vl_4b_fp8_scaled.safetensors",
            "url": "https://huggingface.co/Comfy-Org/Krea-2/resolve/main/text_encoders/qwen3vl_4b_fp8_scaled.safetensors",
            "directory": "text_encoders"
          }
        ],
        "ue_properties": {
          "version": "7.0.1",
          "widget_ue_connectable": {}
        }
      },
      "widgets_values": [
        "qwen3vl_4b_fp8_scaled.safetensors",
        "krea2",
        "default"
      ]
    }
  ],
  "links": [
    [
      72,
      56,
      0,
      51,
      0,
      "CLIP"
    ],
    [
      73,
      70,
      0,
      51,
      1,
      "STRING"
    ],
    [
      74,
      66,
      0,
      53,
      0,
      "MODEL"
    ],
    [
      75,
      51,
      0,
      53,
      1,
      "CONDITIONING"
    ],
    [
      76,
      58,
      0,
      53,
      2,
      "CONDITIONING"
    ],
    [
      77,
      52,
      0,
      53,
      3,
      "LATENT"
    ],
    [
      78,
      53,
      0,
      54,
      0,
      "LATENT"
    ],
    [
      79,
      57,
      0,
      54,
      1,
      "VAE"
    ],
    [
      80,
      51,
      0,
      58,
      0,
      "CONDITIONING"
    ],
    [
      82,
      56,
      0,
      60,
      0,
      "CLIP"
    ],
    [
      83,
      61,
      0,
      60,
      4,
      "STRING"
    ],
    [
      84,
      62,
      0,
      61,
      0,
      "STRING"
    ],
    [
      85,
      63,
      0,
      61,
      1,
      "STRING"
    ],
    [
      86,
      65,
      0,
      64,
      0,
      "*"
    ],
    [
      87,
      63,
      0,
      65,
      0,
      "STRING"
    ],
    [
      88,
      60,
      0,
      65,
      1,
      "STRING"
    ],
    [
      89,
      68,
      0,
      65,
      2,
      "BOOLEAN"
    ],
    [
      91,
      59,
      0,
      66,
      1,
      "MODEL"
    ],
    [
      92,
      67,
      0,
      66,
      2,
      "BOOLEAN"
    ],
    [
      93,
      64,
      0,
      69,
      0,
      "STRING"
    ],
    [
      94,
      64,
      0,
      70,
      0,
      "STRING"
    ],
    [
      95,
      69,
      0,
      70,
      1,
      "STRING"
    ],
    [
      96,
      67,
      0,
      70,
      2,
      "BOOLEAN"
    ],
    [
      97,
      54,
      0,
      29,
      0,
      "IMAGE"
    ],
    [
      98,
      49,
      0,
      52,
      0,
      "INT"
    ],
    [
      99,
      49,
      1,
      52,
      1,
      "INT"
    ],
    [
      100,
      71,
      0,
      59,
      0,
      "MODEL"
    ],
    [
      101,
      71,
      0,
      66,
      0,
      "MODEL"
    ],
    [
      102,
      54,
      0,
      72,
      0,
      "IMAGE"
    ]
  ],
  "groups": [
    {
      "id": 1,
      "title": "Models",
      "bounding": [
        530.0655110677042,
        -678.3115641276033,
        490,
        850
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 4,
      "title": "Prompt Enhancement",
      "bounding": [
        520.0655110677043,
        221.68843587239616,
        1940,
        840
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 5,
      "title": "Group",
      "bounding": [
        -119.93448893229447,
        -718.3115641276033,
        610,
        910
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 6,
      "title": "Image Generation",
      "bounding": [
        520.0655110677043,
        -718.3115641276033,
        1940,
        910
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 7,
      "title": "Prompt",
      "bounding": [
        1050.0655110677046,
        -678.3115641276033,
        500,
        570
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 8,
      "title": "Size",
      "bounding": [
        1050.0655110677046,
        -88.3115641276037,
        500,
        260
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 9,
      "title": "Feature Switch",
      "bounding": [
        -119.93448893229447,
        221.68843587239616,
        610,
        400
      ],
      "color": "#3f789e",
      "flags": {}
    }
  ],
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.45949729863574595,
      "offset": [
        2161.8179671376392,
        1092.213406385333
      ]
    },
    "frontendVersion": "1.45.19",
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true,
    "ue_links": [],
    "links_added_by_ue": []
  },
  "version": 0.4
}