The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
{
"revision": 0,
"last_node_id": "100",
"last_link_id": 0,
"nodes": [
{
"id": 100,
"type": "919de0b5-6d2b-4e3f-924a-11e077547229",
"pos": [
-1780,
1470
],
"size": [
560,
1010
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"label": "ref_image1",
"name": "image1",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"label": "ref_image2",
"name": "image2",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"label": "ref_image3",
"name": "image3",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"label": "prompt",
"name": "value_2",
"type": "STRING",
"widget": {
"name": "value_2"
},
"link": null
},
{
"label": "prompt_enhance",
"name": "value",
"type": "BOOLEAN",
"widget": {
"name": "value"
},
"link": null
},
{
"label": "LLM_thinking_mode",
"name": "thinking_1",
"shape": 7,
"type": "BOOLEAN",
"widget": {
"name": "thinking_1"
},
"link": null
},
{
"label": "LLM_max_token",
"name": "max_length_1",
"type": "INT",
"widget": {
"name": "max_length_1"
},
"link": null
},
{
"label": "width",
"name": "width_1",
"type": "INT",
"widget": {
"name": "width_1"
},
"link": null
},
{
"label": "height",
"name": "height_1",
"type": "INT",
"widget": {
"name": "height_1"
},
"link": null
},
{
"label": "seed",
"name": "noise_seed",
"type": "INT",
"widget": {
"name": "noise_seed"
},
"link": null
},
{
"label": "lora_name",
"name": "lora_name_1",
"type": "COMBO",
"widget": {
"name": "lora_name_1"
},
"link": null
},
{
"label": "lora_strength",
"name": "strength_model_1",
"type": "FLOAT",
"widget": {
"name": "strength_model_1"
},
"link": null
},
{
"label": "unet_name",
"name": "unet_name_1",
"type": "COMBO",
"widget": {
"name": "unet_name_1"
},
"link": null
},
{
"label": "clip_name",
"name": "clip_name_1",
"type": "COMBO",
"widget": {
"name": "clip_name_1"
},
"link": null
},
{
"label": "vae_name",
"name": "vae_name_1",
"type": "COMBO",
"widget": {
"name": "vae_name_1"
},
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": []
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.25.0",
"previewExposures": [
{
"name": "$$canvas-image-preview",
"sourceNodeId": "3",
"sourcePreviewName": "$$canvas-image-preview"
}
]
},
"widgets_values": [
"",
false,
false,
512,
1024,
1024,
251161685108094,
"krea2_style_reference.safetensors",
1,
"krea2_turbo_int8_convrot.safetensors",
"qwen3vl_4b_fp8_scaled.safetensors",
"qwen_image_vae.safetensors"
],
"widgets_values_named": {
"value_2": "",
"value": false,
"thinking_1": false,
"max_length_1": 512,
"width_1": 1024,
"height_1": 1024,
"noise_seed": 251161685108094,
"lora_name_1": "krea2_style_reference.safetensors",
"strength_model_1": 1,
"unet_name_1": "krea2_turbo_int8_convrot.safetensors",
"clip_name_1": "qwen3vl_4b_fp8_scaled.safetensors",
"vae_name_1": "qwen_image_vae.safetensors"
},
"title": "Image Style Reference (Krea-2 Turbo)"
}
],
"links": [],
"version": 0.4,
"definitions": {
"subgraphs": [
{
"id": "919de0b5-6d2b-4e3f-924a-11e077547229",
"version": 1,
"state": {
"lastGroupId": 10,
"lastNodeId": 100,
"lastLinkId": 159,
"lastRerouteId": 0
},
"revision": 0,
"config": {},
"name": "Image Style Reference (Krea-2 Turbo)",
"inputNode": {
"id": -10,
"bounding": [
-1626.4291338614855,
423.5393823216258,
160.76953125,
348
]
},
"outputNode": {
"id": -20,
"bounding": [
2570,
340,
128,
68
]
},
"inputs": [
{
"id": "90bc17db-52ea-4cb8-b0b3-8335545bbf3f",
"name": "image1",
"type": "IMAGE",
"linkIds": [
78
],
"label": "ref_image1",
"pos": [
-1489.6596026114855,
447.5393823216258
]
},
{
"id": "19c0d064-c357-4da4-9f89-2572f5721ceb",
"name": "image2",
"type": "IMAGE",
"linkIds": [
139
],
"label": "ref_image2",
"pos": [
-1489.6596026114855,
467.5393823216258
]
},
{
"id": "5069b6eb-f363-480f-aaa2-f4007adaac80",
"name": "image3",
"type": "IMAGE",
"linkIds": [
140
],
"label": "ref_image3",
"pos": [
-1489.6596026114855,
487.5393823216258
]
},
{
"id": "8f306a57-17a6-46e0-aae6-7e848af2aed2",
"name": "value_2",
"type": "STRING",
"linkIds": [
141
],
"label": "prompt",
"pos": [
-1489.6596026114855,
507.5393823216258
]
},
{
"id": "cde648e2-17b0-47f6-a759-8ab44f2b86f0",
"name": "value",
"type": "BOOLEAN",
"linkIds": [
142
],
"label": "prompt_enhance",
"pos": [
-1489.6596026114855,
527.5393823216258
]
},
{
"id": "a24d442c-07c4-4e9c-b622-bac15e0d96c3",
"name": "thinking_1",
"type": "BOOLEAN",
"linkIds": [
143
],
"label": "LLM_thinking_mode",
"pos": [
-1489.6596026114855,
547.5393823216258
]
},
{
"id": "5045e3c6-8452-4a4a-bb16-94420751c0a3",
"name": "max_length_1",
"type": "INT",
"linkIds": [
144
],
"label": "LLM_max_token",
"pos": [
-1489.6596026114855,
567.5393823216258
]
},
{
"id": "86cf803f-35fa-429d-b653-a68fe678991a",
"name": "width_1",
"type": "INT",
"linkIds": [
146,
147,
148
],
"label": "width",
"pos": [
-1489.6596026114855,
587.5393823216258
]
},
{
"id": "5319fce4-7ad4-4d16-b318-ce663681e28f",
"name": "height_1",
"type": "INT",
"linkIds": [
149,
150,
151
],
"label": "height",
"pos": [
-1489.6596026114855,
607.5393823216258
]
},
{
"id": "50e8a2a0-7665-415e-b0a4-3a96e64761c5",
"name": "noise_seed",
"type": "INT",
"linkIds": [
152
],
"label": "seed",
"pos": [
-1489.6596026114855,
627.5393823216258
]
},
{
"id": "e4ff14b0-c236-4793-8004-017ff85bfb5c",
"name": "lora_name_1",
"type": "COMBO",
"linkIds": [
153
],
"label": "lora_name",
"pos": [
-1489.6596026114855,
647.5393823216258
]
},
{
"id": "f6e1825d-feed-411c-ae87-b4c57993d9a9",
"name": "strength_model_1",
"type": "FLOAT",
"linkIds": [
154
],
"label": "lora_strength",
"pos": [
-1489.6596026114855,
667.5393823216258
]
},
{
"id": "7d0b1ba3-f501-4c61-bf27-ab4f7c190c31",
"name": "unet_name_1",
"type": "COMBO",
"linkIds": [
155
],
"label": "unet_name",
"pos": [
-1489.6596026114855,
687.5393823216258
]
},
{
"id": "b5aceaef-73e1-4ce9-8092-4658cb0772f5",
"name": "clip_name_1",
"type": "COMBO",
"linkIds": [
156
],
"label": "clip_name",
"pos": [
-1489.6596026114855,
707.5393823216258
]
},
{
"id": "e5ec3c31-24b4-4881-9347-fde8de16b98c",
"name": "vae_name_1",
"type": "COMBO",
"linkIds": [
157
],
"label": "vae_name",
"pos": [
-1489.6596026114855,
727.5393823216258
]
}
],
"outputs": [
{
"id": "e4073813-752d-4584-96b5-6e42eac355dd",
"name": "IMAGE",
"type": "IMAGE",
"linkIds": [
98
],
"localized_name": "IMAGE",
"pos": [
2594,
364
]
}
],
"widgets": [],
"nodes": [
{
"id": 77,
"type": "EmptyLatentImage",
"pos": [
170,
350
],
"size": [
320,
170
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 146
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 149
},
{
"localized_name": "batch_size",
"name": "batch_size",
"type": "INT",
"widget": {
"name": "batch_size"
},
"link": null
}
],
"outputs": [
{
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": []
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage",
"cnr_id": "comfy-core",
"ver": "0.25.0"
},
"widgets_values": [
1024,
1024,
1
],
"widgets_values_named": {
"width": 1024,
"height": 1024,
"batch_size": 1
}
},
{
"id": 78,
"type": "UNETLoader",
"pos": [
-410,
-240
],
"size": [
450,
140
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"localized_name": "unet_name",
"name": "unet_name",
"type": "COMBO",
"widget": {
"name": "unet_name"
},
"link": 155
},
{
"localized_name": "weight_dtype",
"name": "weight_dtype",
"type": "COMBO",
"widget": {
"name": "weight_dtype"
},
"link": null
}
],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"links": [
16
]
}
],
"properties": {
"Node name for S&R": "UNETLoader",
"cnr_id": "comfy-core",
"ver": "0.25.0",
"models": [
{
"name": "krea2_turbo_int8_convrot.safetensors",
"url": "https://huggingface.co/Comfy-Org/Krea-2/resolve/main/diffusion_models/krea2_turbo_int8_convrot.safetensors",
"directory": "diffusion_models"
}
]
},
"widgets_values": [
"krea2_turbo_int8_convrot.safetensors",
"default"
],
"widgets_values_named": {
"unet_name": "krea2_turbo_int8_convrot.safetensors",
"weight_dtype": "default"
}
},
{
"id": 79,
"type": "CLIPLoader",
"pos": [
-410,
150
],
"size": [
450,
170
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"localized_name": "clip_name",
"name": "clip_name",
"type": "COMBO",
"widget": {
"name": "clip_name"
},
"link": 156
},
{
"localized_name": "type",
"name": "type",
"type": "COMBO",
"widget": {
"name": "type"
},
"link": null
},
{
"localized_name": "device",
"name": "device",
"shape": 7,
"type": "COMBO",
"widget": {
"name": "device"
},
"link": null
}
],
"outputs": [
{
"localized_name": "CLIP",
"name": "CLIP",
"type": "CLIP",
"links": [
18,
73
]
}
],
"properties": {
"Node name for S&R": "CLIPLoader",
"cnr_id": "comfy-core",
"ver": "0.25.0",
"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"
}
]
},
"widgets_values": [
"qwen3vl_4b_fp8_scaled.safetensors",
"krea2",
"default"
],
"widgets_values_named": {
"clip_name": "qwen3vl_4b_fp8_scaled.safetensors",
"type": "krea2",
"device": "default"
}
},
{
"id": 80,
"type": "VAELoader",
"pos": [
-410,
390
],
"size": [
450,
120
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"localized_name": "vae_name",
"name": "vae_name",
"type": "COMBO",
"widget": {
"name": "vae_name"
},
"link": 157
}
],
"outputs": [
{
"localized_name": "VAE",
"name": "VAE",
"type": "VAE",
"links": [
103,
120
]
}
],
"properties": {
"Node name for S&R": "VAELoader",
"cnr_id": "comfy-core",
"ver": "0.25.0",
"models": [
{
"name": "qwen_image_vae.safetensors",
"url": "https://huggingface.co/Comfy-Org/Krea-2/resolve/main/vae/qwen_image_vae.safetensors",
"directory": "vae"
}
]
},
"widgets_values": [
"qwen_image_vae.safetensors"
],
"widgets_values_named": {
"vae_name": "qwen_image_vae.safetensors"
}
},
{
"id": 81,
"type": "ConditioningZeroOut",
"pos": [
350,
230
],
"size": [
230,
0
],
"flags": {
"collapsed": true
},
"order": 6,
"mode": 0,
"inputs": [
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 77
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
97
]
}
],
"properties": {
"Node name for S&R": "ConditioningZeroOut",
"cnr_id": "comfy-core",
"ver": "0.25.0"
}
},
{
"id": 82,
"type": "LoraLoaderModelOnly",
"pos": [
-410,
-50
],
"size": [
450,
170
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 16
},
{
"localized_name": "lora_name",
"name": "lora_name",
"type": "COMBO",
"widget": {
"name": "lora_name"
},
"link": 153
},
{
"localized_name": "strength_model",
"name": "strength_model",
"type": "FLOAT",
"widget": {
"name": "strength_model"
},
"link": 154
}
],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"links": [
95
]
}
],
"properties": {
"Node name for S&R": "LoraLoaderModelOnly",
"cnr_id": "comfy-core",
"ver": "0.25.0",
"models": [
{
"name": "krea2_style_reference.safetensors",
"url": "https://huggingface.co/Comfy-Org/Krea-2/resolve/main/loras/krea2_style_reference.safetensors",
"directory": "loras"
}
]
},
"widgets_values": [
"krea2_style_reference.safetensors",
1
],
"widgets_values_named": {
"lora_name": "krea2_style_reference.safetensors",
"strength_model": 1
}
},
{
"id": 83,
"type": "TextGenerate",
"pos": [
60,
650
],
"size": [
400,
420
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"localized_name": "clip",
"name": "clip",
"type": "CLIP",
"link": 18
},
{
"localized_name": "image",
"name": "image",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"localized_name": "video",
"name": "video",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"localized_name": "audio",
"name": "audio",
"shape": 7,
"type": "AUDIO",
"link": null
},
{
"localized_name": "prompt",
"name": "prompt",
"type": "STRING",
"widget": {
"name": "prompt"
},
"link": 19
},
{
"localized_name": "max_length",
"name": "max_length",
"type": "INT",
"widget": {
"name": "max_length"
},
"link": 144
},
{
"localized_name": "Sampling Mode",
"name": "sampling_mode",
"type": "COMFY_DYNAMICCOMBO_V3",
"widget": {
"name": "sampling_mode"
},
"link": null
},
{
"localized_name": "temperature",
"name": "sampling_mode.temperature",
"type": "FLOAT",
"widget": {
"name": "sampling_mode.temperature"
},
"link": null
},
{
"localized_name": "top_k",
"name": "sampling_mode.top_k",
"type": "INT",
"widget": {
"name": "sampling_mode.top_k"
},
"link": null
},
{
"localized_name": "top_p",
"name": "sampling_mode.top_p",
"type": "FLOAT",
"widget": {
"name": "sampling_mode.top_p"
},
"link": null
},
{
"localized_name": "min_p",
"name": "sampling_mode.min_p",
"type": "FLOAT",
"widget": {
"name": "sampling_mode.min_p"
},
"link": null
},
{
"localized_name": "repetition_penalty",
"name": "sampling_mode.repetition_penalty",
"type": "FLOAT",
"widget": {
"name": "sampling_mode.repetition_penalty"
},
"link": null
},
{
"localized_name": "seed",
"name": "sampling_mode.seed",
"type": "INT",
"widget": {
"name": "sampling_mode.seed"
},
"link": null
},
{
"localized_name": "presence_penalty",
"name": "sampling_mode.presence_penalty",
"shape": 7,
"type": "FLOAT",
"widget": {
"name": "sampling_mode.presence_penalty"
},
"link": null
},
{
"localized_name": "thinking",
"name": "thinking",
"shape": 7,
"type": "BOOLEAN",
"widget": {
"name": "thinking"
},
"link": 143
},
{
"localized_name": "use_default_template",
"name": "use_default_template",
"shape": 7,
"type": "BOOLEAN",
"widget": {
"name": "use_default_template"
},
"link": null
}
],
"outputs": [
{
"localized_name": "generated_text",
"name": "generated_text",
"type": "STRING",
"links": [
33
]
}
],
"properties": {
"Node name for S&R": "TextGenerate",
"cnr_id": "comfy-core",
"ver": "0.25.0"
},
"widgets_values": [
"",
512,
"on",
0.7,
64,
0.95,
0.05,
1.05,
0,
0,
false,
true
],
"widgets_values_named": {
"prompt": "",
"max_length": 512,
"sampling_mode": "on",
"sampling_mode.temperature": 0.7,
"sampling_mode.top_k": 64,
"sampling_mode.top_p": 0.95,
"sampling_mode.min_p": 0.05,
"sampling_mode.repetition_penalty": 1.05,
"sampling_mode.seed": 0,
"sampling_mode.presence_penalty": 0,
"thinking": false,
"use_default_template": true
}
},
{
"id": 84,
"type": "StringConcatenate",
"pos": [
-210,
1310
],
"size": [
230,
0
],
"flags": {
"collapsed": true
},
"order": 9,
"mode": 0,
"inputs": [
{
"localized_name": "string_a",
"name": "string_a",
"type": "STRING",
"widget": {
"name": "string_a"
},
"link": 21
},
{
"localized_name": "string_b",
"name": "string_b",
"type": "STRING",
"widget": {
"name": "string_b"
},
"link": 22
},
{
"localized_name": "delimiter",
"name": "delimiter",
"type": "STRING",
"widget": {
"name": "delimiter"
},
"link": null
}
],
"outputs": [
{
"localized_name": "STRING",
"name": "STRING",
"type": "STRING",
"links": [
19
]
}
],
"properties": {
"Node name for S&R": "StringConcatenate",
"cnr_id": "comfy-core",
"ver": "0.25.0"
},
"widgets_values": [
"",
"",
""
],
"widgets_values_named": {
"string_a": "",
"string_b": "",
"delimiter": ""
}
},
{
"id": 85,
"type": "PrimitiveStringMultiline",
"pos": [
-430,
650
],
"size": [
460,
610
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [
{
"localized_name": "value",
"name": "value",
"type": "STRING",
"widget": {
"name": "value"
},
"link": null
}
],
"outputs": [
{
"localized_name": "STRING",
"name": "STRING",
"type": "STRING",
"links": [
21
]
}
],
"title": "Text String (System Prompt)",
"properties": {
"Node name for S&R": "PrimitiveStringMultiline",
"cnr_id": "comfy-core",
"ver": "0.25.0"
},
"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.\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"
],
"widgets_values_named": {
"value": "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.\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": 86,
"type": "PrimitiveStringMultiline",
"pos": [
-1050,
-280
],
"size": [
570,
800
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"label": "prompt",
"localized_name": "value",
"name": "value",
"type": "STRING",
"widget": {
"name": "value"
},
"link": 141
}
],
"outputs": [
{
"localized_name": "STRING",
"name": "STRING",
"type": "STRING",
"links": [
22,
34
]
}
],
"title": "Text String (User Prompt)",
"properties": {
"Node name for S&R": "PrimitiveStringMultiline",
"cnr_id": "comfy-core",
"ver": "0.25.0"
},
"widgets_values": [
""
],
"widgets_values_named": {
"value": ""
},
"color": "#322",
"bgcolor": "#533"
},
{
"id": 87,
"type": "PreviewAny",
"pos": [
570,
710
],
"size": [
470,
550
],
"flags": {
"collapsed": false
},
"order": 11,
"mode": 0,
"inputs": [
{
"localized_name": "source",
"name": "source",
"type": "*",
"link": 27
}
],
"outputs": [
{
"localized_name": "STRING",
"name": "STRING",
"type": "STRING",
"links": [
112
]
}
],
"properties": {
"Node name for S&R": "PreviewAny",
"cnr_id": "comfy-core",
"ver": "0.25.0"
},
"widgets_values": [],
"widgets_values_named": {}
},
{
"id": 88,
"type": "ComfySwitchNode",
"pos": [
170,
1270
],
"size": [
270,
130
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"localized_name": "on_false",
"name": "on_false",
"shape": 7,
"type": "*",
"link": 34
},
{
"localized_name": "on_true",
"name": "on_true",
"shape": 7,
"type": "*",
"link": 33
},
{
"localized_name": "switch",
"name": "switch",
"type": "BOOLEAN",
"widget": {
"name": "switch"
},
"link": 32
}
],
"outputs": [
{
"localized_name": "output",
"name": "output",
"type": "*",
"links": [
27
]
}
],
"properties": {
"Node name for S&R": "ComfySwitchNode",
"cnr_id": "comfy-core",
"ver": "0.25.0"
},
"widgets_values": [
false
],
"widgets_values_named": {
"switch": false
}
},
{
"id": 89,
"type": "PrimitiveBoolean",
"pos": [
-940,
750
],
"size": [
270,
110
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"localized_name": "value",
"name": "value",
"type": "BOOLEAN",
"widget": {
"name": "value"
},
"link": 142
}
],
"outputs": [
{
"localized_name": "BOOLEAN",
"name": "BOOLEAN",
"type": "BOOLEAN",
"links": [
32
]
}
],
"title": "Boolean (Refine Prompt?)",
"properties": {
"Node name for S&R": "PrimitiveBoolean",
"cnr_id": "comfy-core",
"ver": "0.25.0"
},
"widgets_values": [
false
],
"widgets_values_named": {
"value": false
}
},
{
"id": 90,
"type": "TextEncodeQwenImageEditPlus",
"pos": [
110,
-250
],
"size": [
460,
240
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"localized_name": "clip",
"name": "clip",
"type": "CLIP",
"link": 73
},
{
"localized_name": "vae",
"name": "vae",
"shape": 7,
"type": "VAE",
"link": 120
},
{
"localized_name": "image1",
"name": "image1",
"shape": 7,
"type": "IMAGE",
"link": 78
},
{
"localized_name": "image2",
"name": "image2",
"shape": 7,
"type": "IMAGE",
"link": 139
},
{
"localized_name": "image3",
"name": "image3",
"shape": 7,
"type": "IMAGE",
"link": 140
},
{
"localized_name": "prompt",
"name": "prompt",
"type": "STRING",
"widget": {
"name": "prompt"
},
"link": 112
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
75
]
}
],
"properties": {
"Node name for S&R": "TextEncodeQwenImageEditPlus",
"cnr_id": "comfy-core",
"ver": "0.28.0"
},
"widgets_values": [
"cute"
],
"widgets_values_named": {
"prompt": "cute"
}
},
{
"id": 91,
"type": "FluxKontextMultiReferenceLatentMethod",
"pos": [
110,
40
],
"size": [
460,
140
],
"flags": {},
"order": 15,
"mode": 0,
"showAdvanced": true,
"inputs": [
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 75
},
{
"localized_name": "reference_latents_method",
"name": "reference_latents_method",
"type": "COMBO",
"widget": {
"name": "reference_latents_method"
},
"link": null
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
77,
96
]
}
],
"properties": {
"Node name for S&R": "FluxKontextMultiReferenceLatentMethod",
"cnr_id": "comfy-core",
"ver": "0.5.1",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.5.2",
"input_ue_unconnectable": {}
},
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"index_timestep_zero"
],
"widgets_values_named": {
"reference_latents_method": "index_timestep_zero"
},
"color": "#222",
"bgcolor": "#000"
},
{
"id": 92,
"type": "CFGGuider",
"pos": [
920,
-120
],
"size": [
270,
130
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 86
},
{
"localized_name": "positive",
"name": "positive",
"type": "CONDITIONING",
"link": 96
},
{
"localized_name": "negative",
"name": "negative",
"type": "CONDITIONING",
"link": 97
},
{
"localized_name": "cfg",
"name": "cfg",
"type": "FLOAT",
"widget": {
"name": "cfg"
},
"link": null
}
],
"outputs": [
{
"localized_name": "GUIDER",
"name": "GUIDER",
"type": "GUIDER",
"links": [
88
]
}
],
"properties": {
"Node name for S&R": "CFGGuider",
"cnr_id": "comfy-core",
"ver": "0.28.0"
},
"widgets_values": [
1
],
"widgets_values_named": {
"cfg": 1
}
},
{
"id": 93,
"type": "SamplerCustomAdvanced",
"pos": [
1240,
-270
],
"size": [
230,
400
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"localized_name": "noise",
"name": "noise",
"type": "NOISE",
"link": 87
},
{
"localized_name": "guider",
"name": "guider",
"type": "GUIDER",
"link": 88
},
{
"localized_name": "sampler",
"name": "sampler",
"type": "SAMPLER",
"link": 89
},
{
"localized_name": "sigmas",
"name": "sigmas",
"type": "SIGMAS",
"link": 90
},
{
"localized_name": "latent_image",
"name": "latent_image",
"type": "LATENT",
"link": 91
}
],
"outputs": [
{
"localized_name": "output",
"name": "output",
"type": "LATENT",
"links": [
93
]
},
{
"localized_name": "denoised_output",
"name": "denoised_output",
"type": "LATENT",
"links": null
}
],
"properties": {
"Node name for S&R": "SamplerCustomAdvanced",
"cnr_id": "comfy-core",
"ver": "0.28.0"
}
},
{
"id": 94,
"type": "KSamplerSelect",
"pos": [
920,
50
],
"size": [
270,
90
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"localized_name": "sampler_name",
"name": "sampler_name",
"type": "COMBO",
"widget": {
"name": "sampler_name"
},
"link": null
}
],
"outputs": [
{
"localized_name": "SAMPLER",
"name": "SAMPLER",
"type": "SAMPLER",
"links": [
89
]
}
],
"properties": {
"Node name for S&R": "KSamplerSelect",
"cnr_id": "comfy-core",
"ver": "0.28.0"
},
"widgets_values": [
"euler"
],
"widgets_values_named": {
"sampler_name": "euler"
}
},
{
"id": 95,
"type": "BasicScheduler",
"pos": [
920,
180
],
"size": [
270,
150
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 92
},
{
"localized_name": "scheduler",
"name": "scheduler",
"type": "COMBO",
"widget": {
"name": "scheduler"
},
"link": null
},
{
"localized_name": "steps",
"name": "steps",
"type": "INT",
"widget": {
"name": "steps"
},
"link": null
},
{
"localized_name": "denoise",
"name": "denoise",
"type": "FLOAT",
"widget": {
"name": "denoise"
},
"link": null
}
],
"outputs": [
{
"localized_name": "SIGMAS",
"name": "SIGMAS",
"type": "SIGMAS",
"links": [
90
]
}
],
"properties": {
"Node name for S&R": "BasicScheduler",
"cnr_id": "comfy-core",
"ver": "0.28.0"
},
"widgets_values": [
"simple",
8,
1
],
"widgets_values_named": {
"scheduler": "simple",
"steps": 8,
"denoise": 1
}
},
{
"id": 96,
"type": "EmptyLatentImage",
"pos": [
920,
360
],
"size": [
270,
150
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 147
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 151
},
{
"localized_name": "batch_size",
"name": "batch_size",
"type": "INT",
"widget": {
"name": "batch_size"
},
"link": null
}
],
"outputs": [
{
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT",
"links": [
91
]
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage",
"cnr_id": "comfy-core",
"ver": "0.28.0"
},
"widgets_values": [
1024,
1024,
1
],
"widgets_values_named": {
"width": 1024,
"height": 1024,
"batch_size": 1
}
},
{
"id": 97,
"type": "VAEDecode",
"pos": [
1750,
70
],
"size": [
230,
80
],
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"localized_name": "samples",
"name": "samples",
"type": "LATENT",
"link": 93
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 103
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
98
]
}
],
"properties": {
"Node name for S&R": "VAEDecode",
"cnr_id": "comfy-core",
"ver": "0.28.0"
}
},
{
"id": 98,
"type": "RandomNoise",
"pos": [
920,
-260
],
"size": [
270,
90
],
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"localized_name": "noise_seed",
"name": "noise_seed",
"type": "INT",
"widget": {
"name": "noise_seed"
},
"link": 152
}
],
"outputs": [
{
"localized_name": "NOISE",
"name": "NOISE",
"type": "NOISE",
"links": [
87
]
}
],
"properties": {
"Node name for S&R": "RandomNoise",
"cnr_id": "comfy-core",
"ver": "0.28.0"
},
"widgets_values": [
355028178891957,
"randomize"
],
"widgets_values_named": {
"noise_seed": 355028178891957,
"control_after_generate": "randomize"
}
},
{
"id": 99,
"type": "ModelSamplingFlux",
"pos": [
620,
40
],
"size": [
270,
210
],
"flags": {},
"order": 22,
"mode": 0,
"showAdvanced": true,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 95
},
{
"localized_name": "max_shift",
"name": "max_shift",
"type": "FLOAT",
"widget": {
"name": "max_shift"
},
"link": null
},
{
"localized_name": "base_shift",
"name": "base_shift",
"type": "FLOAT",
"widget": {
"name": "base_shift"
},
"link": null
},
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 148
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 150
}
],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"links": [
86,
92
]
}
],
"properties": {
"Node name for S&R": "ModelSamplingFlux",
"cnr_id": "comfy-core",
"ver": "0.28.0"
},
"widgets_values": [
1.15,
0.5,
1024,
1024
],
"widgets_values_named": {
"max_shift": 1.15,
"base_shift": 0.5,
"width": 1024,
"height": 1024
}
}
],
"groups": [
{
"id": 1,
"title": "Models",
"bounding": [
-430,
-320,
490,
850
],
"color": "#3f789e",
"flags": {}
},
{
"id": 4,
"title": "Prompt Enhancement",
"bounding": [
-440,
580,
1940,
840
],
"color": "#3f789e",
"flags": {}
},
{
"id": 5,
"title": "User Prompt",
"bounding": [
-1080,
-360,
610,
910
],
"color": "#3f789e",
"flags": {}
},
{
"id": 6,
"title": "Image Generation",
"bounding": [
-440,
-360,
1940,
910
],
"color": "#3f789e",
"flags": {}
},
{
"id": 7,
"title": "Prompt",
"bounding": [
90,
-320,
500,
570
],
"color": "#3f789e",
"flags": {}
},
{
"id": 8,
"title": "Size",
"bounding": [
90,
270,
500,
260
],
"color": "#3f789e",
"flags": {}
},
{
"id": 9,
"title": "Feature Switch",
"bounding": [
-1080,
580,
610,
400
],
"color": "#3f789e",
"flags": {}
}
],
"links": [
{
"id": 16,
"origin_id": 78,
"origin_slot": 0,
"target_id": 82,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 18,
"origin_id": 79,
"origin_slot": 0,
"target_id": 83,
"target_slot": 0,
"type": "CLIP"
},
{
"id": 19,
"origin_id": 84,
"origin_slot": 0,
"target_id": 83,
"target_slot": 4,
"type": "STRING"
},
{
"id": 21,
"origin_id": 85,
"origin_slot": 0,
"target_id": 84,
"target_slot": 0,
"type": "STRING"
},
{
"id": 22,
"origin_id": 86,
"origin_slot": 0,
"target_id": 84,
"target_slot": 1,
"type": "STRING"
},
{
"id": 27,
"origin_id": 88,
"origin_slot": 0,
"target_id": 87,
"target_slot": 0,
"type": "STRING"
},
{
"id": 34,
"origin_id": 86,
"origin_slot": 0,
"target_id": 88,
"target_slot": 0,
"type": "STRING"
},
{
"id": 33,
"origin_id": 83,
"origin_slot": 0,
"target_id": 88,
"target_slot": 1,
"type": "STRING"
},
{
"id": 32,
"origin_id": 89,
"origin_slot": 0,
"target_id": 88,
"target_slot": 2,
"type": "BOOLEAN"
},
{
"id": 73,
"origin_id": 79,
"origin_slot": 0,
"target_id": 90,
"target_slot": 0,
"type": "CLIP"
},
{
"id": 75,
"origin_id": 90,
"origin_slot": 0,
"target_id": 91,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 77,
"origin_id": 91,
"origin_slot": 0,
"target_id": 81,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 78,
"origin_id": -10,
"origin_slot": 0,
"target_id": 90,
"target_slot": 2,
"type": "IMAGE"
},
{
"id": 86,
"origin_id": 99,
"origin_slot": 0,
"target_id": 92,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 87,
"origin_id": 98,
"origin_slot": 0,
"target_id": 93,
"target_slot": 0,
"type": "NOISE"
},
{
"id": 88,
"origin_id": 92,
"origin_slot": 0,
"target_id": 93,
"target_slot": 1,
"type": "GUIDER"
},
{
"id": 89,
"origin_id": 94,
"origin_slot": 0,
"target_id": 93,
"target_slot": 2,
"type": "SAMPLER"
},
{
"id": 90,
"origin_id": 95,
"origin_slot": 0,
"target_id": 93,
"target_slot": 3,
"type": "SIGMAS"
},
{
"id": 91,
"origin_id": 96,
"origin_slot": 0,
"target_id": 93,
"target_slot": 4,
"type": "LATENT"
},
{
"id": 92,
"origin_id": 99,
"origin_slot": 0,
"target_id": 95,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 93,
"origin_id": 93,
"origin_slot": 0,
"target_id": 97,
"target_slot": 0,
"type": "LATENT"
},
{
"id": 95,
"origin_id": 82,
"origin_slot": 0,
"target_id": 99,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 96,
"origin_id": 91,
"origin_slot": 0,
"target_id": 92,
"target_slot": 1,
"type": "CONDITIONING"
},
{
"id": 97,
"origin_id": 81,
"origin_slot": 0,
"target_id": 92,
"target_slot": 2,
"type": "CONDITIONING"
},
{
"id": 98,
"origin_id": 97,
"origin_slot": 0,
"target_id": -20,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 103,
"origin_id": 80,
"origin_slot": 0,
"target_id": 97,
"target_slot": 1,
"type": "VAE"
},
{
"id": 112,
"origin_id": 87,
"origin_slot": 0,
"target_id": 90,
"target_slot": 5,
"type": "STRING"
},
{
"id": 120,
"origin_id": 80,
"origin_slot": 0,
"target_id": 90,
"target_slot": 1,
"type": "VAE"
},
{
"id": 139,
"origin_id": -10,
"origin_slot": 1,
"target_id": 90,
"target_slot": 3,
"type": "IMAGE"
},
{
"id": 140,
"origin_id": -10,
"origin_slot": 2,
"target_id": 90,
"target_slot": 4,
"type": "IMAGE"
},
{
"id": 141,
"origin_id": -10,
"origin_slot": 3,
"target_id": 86,
"target_slot": 0,
"type": "STRING"
},
{
"id": 142,
"origin_id": -10,
"origin_slot": 4,
"target_id": 89,
"target_slot": 0,
"type": "BOOLEAN"
},
{
"id": 143,
"origin_id": -10,
"origin_slot": 5,
"target_id": 83,
"target_slot": 14,
"type": "BOOLEAN"
},
{
"id": 144,
"origin_id": -10,
"origin_slot": 6,
"target_id": 83,
"target_slot": 5,
"type": "INT"
},
{
"id": 146,
"origin_id": -10,
"origin_slot": 7,
"target_id": 77,
"target_slot": 0,
"type": "INT"
},
{
"id": 147,
"origin_id": -10,
"origin_slot": 7,
"target_id": 96,
"target_slot": 0,
"type": "INT"
},
{
"id": 148,
"origin_id": -10,
"origin_slot": 7,
"target_id": 99,
"target_slot": 3,
"type": "INT"
},
{
"id": 149,
"origin_id": -10,
"origin_slot": 8,
"target_id": 77,
"target_slot": 1,
"type": "INT"
},
{
"id": 150,
"origin_id": -10,
"origin_slot": 8,
"target_id": 99,
"target_slot": 4,
"type": "INT"
},
{
"id": 151,
"origin_id": -10,
"origin_slot": 8,
"target_id": 96,
"target_slot": 1,
"type": "INT"
},
{
"id": 152,
"origin_id": -10,
"origin_slot": 9,
"target_id": 98,
"target_slot": 0,
"type": "INT"
},
{
"id": 153,
"origin_id": -10,
"origin_slot": 10,
"target_id": 82,
"target_slot": 1,
"type": "COMBO"
},
{
"id": 154,
"origin_id": -10,
"origin_slot": 11,
"target_id": 82,
"target_slot": 2,
"type": "FLOAT"
},
{
"id": 155,
"origin_id": -10,
"origin_slot": 12,
"target_id": 78,
"target_slot": 0,
"type": "COMBO"
},
{
"id": 156,
"origin_id": -10,
"origin_slot": 13,
"target_id": 79,
"target_slot": 0,
"type": "COMBO"
},
{
"id": 157,
"origin_id": -10,
"origin_slot": 14,
"target_id": 80,
"target_slot": 0,
"type": "COMBO"
}
],
"extra": {},
"category": "Image generation/Conditioned",
"description": "Generates images from text using Krea 2 Turbo while matching the style of uploaded reference images, with optional LLM prompt enhancement."
}
]
},
"extra": {}
}