Files
aigc-home/docs/hel-892/offline/documents/2b55cf10a5b2759d.json
T

1854 lines
49 KiB
JSON

{
"dependencies": {
"check_state": "unchecked",
"checked_at": null,
"missing": [],
"model_locations": "待目标机提供",
"models": [
"Krea2\\krea2_style_reference.safetensors",
"Krea2\\krea2_turbo_int8_convrot.safetensors",
"krea2_style_reference.safetensors",
"krea2_turbo_int8_convrot.safetensors",
"qwen3vl_4b_fp8_scaled.safetensors",
"qwen_image_vae.safetensors"
],
"node_packs": [],
"node_types": [
"BasicScheduler",
"CFGGuider",
"CLIPLoader",
"ComfySwitchNode",
"ConditioningZeroOut",
"EmptyLatentImage",
"FluxKontextMultiReferenceLatentMethod",
"GetImageSize",
"KSamplerSelect",
"LoadImage",
"LoraLoaderModelOnly",
"MarkdownNote",
"ModelSamplingFlux",
"PreviewAny",
"PrimitiveBoolean",
"PrimitiveStringMultiline",
"RandomNoise",
"ResolutionSelector",
"SamplerCustomAdvanced",
"SaveImage",
"StringConcatenate",
"TextEncodeQwenImageEditPlus",
"TextGenerate",
"UNETLoader",
"VAEDecode",
"VAELoader",
"b0e5ca93-2731-42b9-8e0a-d28ea851ff81"
],
"source": null
},
"draft": true,
"errors": [
{
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
"symptom": "包含子图:需原 ComfyUI API 导出及差分核对"
},
{
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
"symptom": "待提供目标机节点定义:SaveImage"
},
{
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
"symptom": "待提供目标机节点定义:ResolutionSelector"
},
{
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
"symptom": "GetImageSize 包含静音/旁路状态,需 API 导出核对"
},
{
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
"symptom": "待提供目标机节点定义:b0e5ca93-2731-42b9-8e0a-d28ea851ff81"
},
{
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
"symptom": "待提供目标机节点定义:LoadImage"
},
{
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
"symptom": "未得到可执行节点"
}
],
"io": {
"inputs": [],
"outputs": []
},
"materials": [],
"params": [],
"purpose": "Krea2 图像风格参考图增加 LoadImage、参考 latent 方法和 TextEncodeQwenImageEditPlus。",
"snapshot_sha": "74234e98afe7498fb5daf1f36ac2d78acc339464f950703b8c019892f982b90b",
"source_links": [
{
"link": [
44,
30,
0,
29,
0,
"IMAGE"
],
"scope": ""
},
{
"link": [
132,
71,
0,
30,
3,
"INT"
],
"scope": ""
},
{
"link": [
133,
71,
1,
30,
4,
"INT"
],
"scope": ""
},
{
"link": [
136,
69,
0,
30,
11,
"IMAGE"
],
"scope": ""
},
{
"link": [
137,
69,
0,
75,
0,
"IMAGE"
],
"scope": ""
},
{
"link": {
"id": 16,
"origin_id": 10,
"origin_slot": 0,
"target_id": 15,
"target_slot": 0,
"type": "MODEL"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 18,
"origin_id": 11,
"origin_slot": 0,
"target_id": 16,
"target_slot": 0,
"type": "CLIP"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 19,
"origin_id": 17,
"origin_slot": 0,
"target_id": 16,
"target_slot": 4,
"type": "STRING"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 21,
"origin_id": 18,
"origin_slot": 0,
"target_id": 17,
"target_slot": 0,
"type": "STRING"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 22,
"origin_id": 19,
"origin_slot": 0,
"target_id": 17,
"target_slot": 1,
"type": "STRING"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 27,
"origin_id": 21,
"origin_slot": 0,
"target_id": 20,
"target_slot": 0,
"type": "STRING"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 34,
"origin_id": 19,
"origin_slot": 0,
"target_id": 21,
"target_slot": 0,
"type": "STRING"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 33,
"origin_id": 16,
"origin_slot": 0,
"target_id": 21,
"target_slot": 1,
"type": "STRING"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 32,
"origin_id": 24,
"origin_slot": 0,
"target_id": 21,
"target_slot": 2,
"type": "BOOLEAN"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 45,
"origin_id": -10,
"origin_slot": 0,
"target_id": 19,
"target_slot": 0,
"type": "STRING"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 46,
"origin_id": -10,
"origin_slot": 1,
"target_id": 24,
"target_slot": 0,
"type": "BOOLEAN"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 49,
"origin_id": -10,
"origin_slot": 2,
"target_id": 16,
"target_slot": 5,
"type": "INT"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 50,
"origin_id": -10,
"origin_slot": 3,
"target_id": 5,
"target_slot": 0,
"type": "INT"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 51,
"origin_id": -10,
"origin_slot": 4,
"target_id": 5,
"target_slot": 1,
"type": "INT"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 58,
"origin_id": -10,
"origin_slot": 6,
"target_id": 15,
"target_slot": 1,
"type": "COMBO"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 59,
"origin_id": -10,
"origin_slot": 7,
"target_id": 15,
"target_slot": 2,
"type": "FLOAT"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 61,
"origin_id": -10,
"origin_slot": 8,
"target_id": 10,
"target_slot": 0,
"type": "COMBO"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 62,
"origin_id": -10,
"origin_slot": 9,
"target_id": 11,
"target_slot": 0,
"type": "COMBO"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 63,
"origin_id": -10,
"origin_slot": 10,
"target_id": 12,
"target_slot": 0,
"type": "COMBO"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 73,
"origin_id": 11,
"origin_slot": 0,
"target_id": 52,
"target_slot": 0,
"type": "CLIP"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 75,
"origin_id": 52,
"origin_slot": 0,
"target_id": 53,
"target_slot": 0,
"type": "CONDITIONING"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 77,
"origin_id": 53,
"origin_slot": 0,
"target_id": 13,
"target_slot": 0,
"type": "CONDITIONING"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 78,
"origin_id": -10,
"origin_slot": 11,
"target_id": 52,
"target_slot": 2,
"type": "IMAGE"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 86,
"origin_id": 64,
"origin_slot": 0,
"target_id": 57,
"target_slot": 0,
"type": "MODEL"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 87,
"origin_id": 63,
"origin_slot": 0,
"target_id": 58,
"target_slot": 0,
"type": "NOISE"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 88,
"origin_id": 57,
"origin_slot": 0,
"target_id": 58,
"target_slot": 1,
"type": "GUIDER"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 89,
"origin_id": 59,
"origin_slot": 0,
"target_id": 58,
"target_slot": 2,
"type": "SAMPLER"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 90,
"origin_id": 60,
"origin_slot": 0,
"target_id": 58,
"target_slot": 3,
"type": "SIGMAS"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 91,
"origin_id": 61,
"origin_slot": 0,
"target_id": 58,
"target_slot": 4,
"type": "LATENT"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 92,
"origin_id": 64,
"origin_slot": 0,
"target_id": 60,
"target_slot": 0,
"type": "MODEL"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 93,
"origin_id": 58,
"origin_slot": 0,
"target_id": 62,
"target_slot": 0,
"type": "LATENT"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 95,
"origin_id": 15,
"origin_slot": 0,
"target_id": 64,
"target_slot": 0,
"type": "MODEL"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 96,
"origin_id": 53,
"origin_slot": 0,
"target_id": 57,
"target_slot": 1,
"type": "CONDITIONING"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 97,
"origin_id": 13,
"origin_slot": 0,
"target_id": 57,
"target_slot": 2,
"type": "CONDITIONING"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 98,
"origin_id": 62,
"origin_slot": 0,
"target_id": -20,
"target_slot": 0,
"type": "IMAGE"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 99,
"origin_id": -10,
"origin_slot": 3,
"target_id": 64,
"target_slot": 3,
"type": "INT"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 100,
"origin_id": -10,
"origin_slot": 4,
"target_id": 64,
"target_slot": 4,
"type": "INT"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 101,
"origin_id": -10,
"origin_slot": 3,
"target_id": 61,
"target_slot": 0,
"type": "INT"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 102,
"origin_id": -10,
"origin_slot": 4,
"target_id": 61,
"target_slot": 1,
"type": "INT"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 103,
"origin_id": 12,
"origin_slot": 0,
"target_id": 62,
"target_slot": 1,
"type": "VAE"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 112,
"origin_id": 20,
"origin_slot": 0,
"target_id": 52,
"target_slot": 5,
"type": "STRING"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 113,
"origin_id": -10,
"origin_slot": 5,
"target_id": 63,
"target_slot": 0,
"type": "INT"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
},
{
"link": {
"id": 120,
"origin_id": 12,
"origin_slot": 0,
"target_id": 52,
"target_slot": 1,
"type": "VAE"
},
"scope": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/"
}
],
"source_nodes": [
{
"class_type": "SaveImage",
"inputs": [
{
"link": 44,
"localized_name": "图片",
"name": "images",
"type": "IMAGE"
},
{
"link": null,
"localized_name": "文件名前缀",
"name": "filename_prefix",
"type": "STRING",
"widget": {
"name": "filename_prefix"
}
}
],
"mode": 0,
"node_id": "29",
"source_values": [
"Krea2_turbo_style_reference"
],
"title": null
},
{
"class_type": "MarkdownNote",
"inputs": [],
"mode": 0,
"node_id": "48",
"source_values": [
"Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Model Links\n\n- [ostris/krea2_turbo_style_reference](https://huggingface.co/ostris/krea2_turbo_style_reference)\n\n**diffusion_models**\n\n- [krea2_turbo_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/Krea-2/resolve/main/diffusion_models/krea2_turbo_int8_convrot.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**\n\n- [krea2_style_reference.safetensors](https://huggingface.co/Comfy-Org/Krea-2/resolve/main/loras/krea2_style_reference.safetensors)\n\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 diffusion_models/\n│ │ └── krea2_turbo_int8_convrot.safetensors\n│ ├── 📂 text_encoders/\n│ │ └── qwen3vl_4b_fp8_scaled.safetensors\n│ ├── 📂 vae/\n│ │ └── qwen_image_vae.safetensors\n│ └── 📂 loras/\n│ └── krea2_style_reference.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"
],
"title": "Model Links"
},
{
"class_type": "ResolutionSelector",
"inputs": [
{
"link": null,
"localized_name": "宽高比",
"name": "aspect_ratio",
"type": "COMBO",
"widget": {
"name": "aspect_ratio"
}
},
{
"link": null,
"localized_name": "百万像素",
"name": "megapixels",
"type": "FLOAT",
"widget": {
"name": "megapixels"
}
},
{
"link": null,
"localized_name": "倍数",
"name": "multiple",
"type": "INT",
"widget": {
"name": "multiple"
}
}
],
"mode": 0,
"node_id": "71",
"source_values": [
"1:1 (Square)",
1,
8
],
"title": null
},
{
"class_type": "GetImageSize",
"inputs": [
{
"label": "图像",
"link": 137,
"localized_name": "图像",
"name": "image",
"type": "IMAGE"
}
],
"mode": 4,
"node_id": "75",
"source_values": [],
"title": null
},
{
"class_type": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81",
"inputs": [
{
"label": "prompt",
"link": null,
"name": "value",
"type": "STRING",
"widget": {
"name": "value"
}
},
{
"label": "prompt_enhance",
"link": null,
"name": "value_1",
"type": "BOOLEAN",
"widget": {
"name": "value_1"
}
},
{
"label": "LLM_max_token",
"link": null,
"name": "max_length",
"type": "INT",
"widget": {
"name": "max_length"
}
},
{
"link": 132,
"name": "width",
"type": "INT",
"widget": {
"name": "width"
}
},
{
"link": 133,
"name": "height",
"type": "INT",
"widget": {
"name": "height"
}
},
{
"link": null,
"name": "seed",
"type": "INT",
"widget": {
"name": "seed"
}
},
{
"link": null,
"name": "lora_name",
"type": "COMBO",
"widget": {
"name": "lora_name"
}
},
{
"label": "lora_strength",
"link": null,
"name": "strength_model",
"type": "FLOAT",
"widget": {
"name": "strength_model"
}
},
{
"link": null,
"name": "unet_name",
"type": "COMBO",
"widget": {
"name": "unet_name"
}
},
{
"link": null,
"name": "clip_name",
"type": "COMBO",
"widget": {
"name": "clip_name"
}
},
{
"link": null,
"name": "vae_name",
"type": "COMBO",
"widget": {
"name": "vae_name"
}
},
{
"link": 136,
"name": "image1",
"shape": 7,
"type": "IMAGE"
}
],
"mode": 0,
"node_id": "30",
"source_values": [
"a white yeti with horns reading a book that is titled \"Krea2 Style Reference\"",
false,
512,
1024,
1024,
465267279053083,
"Krea2\\krea2_style_reference.safetensors",
1,
"Krea2\\krea2_turbo_int8_convrot.safetensors",
"qwen3vl_4b_fp8_scaled.safetensors",
"qwen_image_vae.safetensors"
],
"title": null
},
{
"class_type": "LoadImage",
"inputs": [
{
"label": "Reference Image",
"link": null,
"localized_name": "图像",
"name": "image",
"type": "COMBO",
"widget": {
"name": "image"
}
},
{
"link": null,
"localized_name": "选择文件上传",
"name": "upload",
"type": "IMAGEUPLOAD",
"widget": {
"name": "upload"
}
}
],
"mode": 0,
"node_id": "69",
"source_values": [
"微信图片_20260727203512_143_6.jpg",
"image"
],
"title": null
},
{
"class_type": "EmptyLatentImage",
"inputs": [
{
"link": 50,
"localized_name": "宽度",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
}
},
{
"link": 51,
"localized_name": "高度",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
}
},
{
"link": null,
"localized_name": "批量大小",
"name": "batch_size",
"type": "INT",
"widget": {
"name": "batch_size"
}
}
],
"mode": 0,
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/5",
"source_values": [
1024,
1024,
1
],
"title": null
},
{
"class_type": "UNETLoader",
"inputs": [
{
"link": 61,
"localized_name": "UNet名称",
"name": "unet_name",
"type": "COMBO",
"widget": {
"name": "unet_name"
}
},
{
"link": null,
"localized_name": "数据类型",
"name": "weight_dtype",
"type": "COMBO",
"widget": {
"name": "weight_dtype"
}
}
],
"mode": 0,
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/10",
"source_values": [
"krea2_turbo_int8_convrot.safetensors",
"default"
],
"title": null
},
{
"class_type": "CLIPLoader",
"inputs": [
{
"link": 62,
"localized_name": "CLIP名称",
"name": "clip_name",
"type": "COMBO",
"widget": {
"name": "clip_name"
}
},
{
"link": null,
"localized_name": "类型",
"name": "type",
"type": "COMBO",
"widget": {
"name": "type"
}
},
{
"link": null,
"localized_name": "设备",
"name": "device",
"shape": 7,
"type": "COMBO",
"widget": {
"name": "device"
}
}
],
"mode": 0,
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/11",
"source_values": [
"qwen3vl_4b_fp8_scaled.safetensors",
"krea2",
"default"
],
"title": null
},
{
"class_type": "VAELoader",
"inputs": [
{
"link": 63,
"localized_name": "vae名称",
"name": "vae_name",
"type": "COMBO",
"widget": {
"name": "vae_name"
}
}
],
"mode": 0,
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/12",
"source_values": [
"qwen_image_vae.safetensors"
],
"title": null
},
{
"class_type": "ConditioningZeroOut",
"inputs": [
{
"link": 77,
"localized_name": "条件",
"name": "conditioning",
"type": "CONDITIONING"
}
],
"mode": 0,
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/13",
"source_values": [],
"title": null
},
{
"class_type": "LoraLoaderModelOnly",
"inputs": [
{
"link": 16,
"localized_name": "模型",
"name": "model",
"type": "MODEL"
},
{
"link": 58,
"localized_name": "LoRA名称",
"name": "lora_name",
"type": "COMBO",
"widget": {
"name": "lora_name"
}
},
{
"link": 59,
"localized_name": "模型强度",
"name": "strength_model",
"type": "FLOAT",
"widget": {
"name": "strength_model"
}
}
],
"mode": 0,
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/15",
"source_values": [
"krea2_style_reference.safetensors",
1
],
"title": null
},
{
"class_type": "TextGenerate",
"inputs": [
{
"link": 18,
"localized_name": "clip",
"name": "clip",
"type": "CLIP"
},
{
"link": null,
"localized_name": "图像",
"name": "image",
"shape": 7,
"type": "IMAGE"
},
{
"link": null,
"localized_name": "视频",
"name": "video",
"shape": 7,
"type": "IMAGE"
},
{
"link": null,
"localized_name": "音频",
"name": "audio",
"shape": 7,
"type": "AUDIO"
},
{
"link": 19,
"localized_name": "提示词",
"name": "prompt",
"type": "STRING",
"widget": {
"name": "prompt"
}
},
{
"link": 49,
"localized_name": "最大长度",
"name": "max_length",
"type": "INT",
"widget": {
"name": "max_length"
}
},
{
"link": null,
"localized_name": "采样模式",
"name": "sampling_mode",
"type": "COMFY_DYNAMICCOMBO_V3",
"widget": {
"name": "sampling_mode"
}
},
{
"link": null,
"localized_name": "温度",
"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": "最小概率",
"name": "sampling_mode.min_p",
"type": "FLOAT",
"widget": {
"name": "sampling_mode.min_p"
}
},
{
"link": null,
"localized_name": "重复惩罚",
"name": "sampling_mode.repetition_penalty",
"type": "FLOAT",
"widget": {
"name": "sampling_mode.repetition_penalty"
}
},
{
"link": null,
"localized_name": "种子",
"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": "思考模式",
"name": "thinking",
"shape": 7,
"type": "BOOLEAN",
"widget": {
"name": "thinking"
}
},
{
"link": null,
"localized_name": "use_default_template",
"name": "use_default_template",
"shape": 7,
"type": "BOOLEAN",
"widget": {
"name": "use_default_template"
}
}
],
"mode": 0,
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/16",
"source_values": [
"",
512,
"on",
0.7,
64,
0.95,
0.05,
1.05,
0,
0,
false,
true
],
"title": null
},
{
"class_type": "StringConcatenate",
"inputs": [
{
"link": 21,
"localized_name": "字符串A",
"name": "string_a",
"type": "STRING",
"widget": {
"name": "string_a"
}
},
{
"link": 22,
"localized_name": "字符串B",
"name": "string_b",
"type": "STRING",
"widget": {
"name": "string_b"
}
},
{
"label": "分隔符",
"link": null,
"localized_name": "分隔符",
"name": "delimiter",
"type": "STRING",
"widget": {
"name": "delimiter"
}
}
],
"mode": 0,
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/17",
"source_values": [
"",
"",
""
],
"title": null
},
{
"class_type": "PrimitiveStringMultiline",
"inputs": [
{
"link": null,
"localized_name": "值",
"name": "value",
"type": "STRING",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/18",
"source_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"
],
"title": "Text String (System Prompt)"
},
{
"class_type": "PrimitiveStringMultiline",
"inputs": [
{
"label": "prompt",
"link": 45,
"localized_name": "值",
"name": "value",
"type": "STRING",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/19",
"source_values": [
"a white yeti with horns reading a book that is titled \"Ostris + Krea2 Style Reference\""
],
"title": "Text String (User Prompt)"
},
{
"class_type": "PreviewAny",
"inputs": [
{
"link": 27,
"localized_name": "源",
"name": "source",
"type": "*"
}
],
"mode": 0,
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/20",
"source_values": [],
"title": null
},
{
"class_type": "ComfySwitchNode",
"inputs": [
{
"link": 34,
"localized_name": "为假时",
"name": "on_false",
"type": "STRING"
},
{
"link": 33,
"localized_name": "为真时",
"name": "on_true",
"type": "STRING"
},
{
"link": 32,
"localized_name": "切换",
"name": "switch",
"type": "BOOLEAN",
"widget": {
"name": "switch"
}
}
],
"mode": 0,
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/21",
"source_values": [
false
],
"title": null
},
{
"class_type": "PrimitiveBoolean",
"inputs": [
{
"link": 46,
"localized_name": "值",
"name": "value",
"type": "BOOLEAN",
"widget": {
"name": "value"
}
}
],
"mode": 0,
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/24",
"source_values": [
false
],
"title": "Boolean (Refine Prompt?)"
},
{
"class_type": "TextEncodeQwenImageEditPlus",
"inputs": [
{
"link": 73,
"localized_name": "clip",
"name": "clip",
"type": "CLIP"
},
{
"link": 120,
"localized_name": "vae",
"name": "vae",
"shape": 7,
"type": "VAE"
},
{
"link": 78,
"localized_name": "图像1",
"name": "image1",
"shape": 7,
"type": "IMAGE"
},
{
"link": null,
"localized_name": "图像2",
"name": "image2",
"shape": 7,
"type": "IMAGE"
},
{
"link": null,
"localized_name": "图像3",
"name": "image3",
"shape": 7,
"type": "IMAGE"
},
{
"link": 112,
"localized_name": "提示词",
"name": "prompt",
"type": "STRING",
"widget": {
"name": "prompt"
}
}
],
"mode": 0,
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/52",
"source_values": [
"cute"
],
"title": null
},
{
"class_type": "FluxKontextMultiReferenceLatentMethod",
"inputs": [
{
"link": 75,
"localized_name": "条件化",
"name": "conditioning",
"type": "CONDITIONING"
},
{
"link": null,
"localized_name": "参考潜在方法",
"name": "reference_latents_method",
"type": "COMBO",
"widget": {
"name": "reference_latents_method"
}
}
],
"mode": 0,
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/53",
"source_values": [
"index_timestep_zero"
],
"title": null
},
{
"class_type": "CFGGuider",
"inputs": [
{
"link": 86,
"localized_name": "模型",
"name": "model",
"type": "MODEL"
},
{
"link": 96,
"localized_name": "正面条件",
"name": "positive",
"type": "CONDITIONING"
},
{
"link": 97,
"localized_name": "负面条件",
"name": "negative",
"type": "CONDITIONING"
},
{
"link": null,
"localized_name": "CFG",
"name": "cfg",
"type": "FLOAT",
"widget": {
"name": "cfg"
}
}
],
"mode": 0,
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/57",
"source_values": [
1
],
"title": null
},
{
"class_type": "SamplerCustomAdvanced",
"inputs": [
{
"link": 87,
"localized_name": "噪波",
"name": "noise",
"type": "NOISE"
},
{
"link": 88,
"localized_name": "引导器",
"name": "guider",
"type": "GUIDER"
},
{
"link": 89,
"localized_name": "采样器",
"name": "sampler",
"type": "SAMPLER"
},
{
"link": 90,
"localized_name": "西格玛",
"name": "sigmas",
"type": "SIGMAS"
},
{
"link": 91,
"localized_name": "Latent图像",
"name": "latent_image",
"type": "LATENT"
}
],
"mode": 0,
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/58",
"source_values": [],
"title": null
},
{
"class_type": "KSamplerSelect",
"inputs": [
{
"link": null,
"localized_name": "采样器名称",
"name": "sampler_name",
"type": "COMBO",
"widget": {
"name": "sampler_name"
}
}
],
"mode": 0,
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/59",
"source_values": [
"euler"
],
"title": null
},
{
"class_type": "BasicScheduler",
"inputs": [
{
"link": 92,
"localized_name": "模型",
"name": "model",
"type": "MODEL"
},
{
"link": null,
"localized_name": "调度器",
"name": "scheduler",
"type": "COMBO",
"widget": {
"name": "scheduler"
}
},
{
"link": null,
"localized_name": "步数",
"name": "steps",
"type": "INT",
"widget": {
"name": "steps"
}
},
{
"link": null,
"localized_name": "降噪",
"name": "denoise",
"type": "FLOAT",
"widget": {
"name": "denoise"
}
}
],
"mode": 0,
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/60",
"source_values": [
"simple",
8,
1
],
"title": null
},
{
"class_type": "EmptyLatentImage",
"inputs": [
{
"link": 101,
"localized_name": "宽度",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
}
},
{
"link": 102,
"localized_name": "高度",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
}
},
{
"link": null,
"localized_name": "批量大小",
"name": "batch_size",
"type": "INT",
"widget": {
"name": "batch_size"
}
}
],
"mode": 0,
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/61",
"source_values": [
1024,
1024,
1
],
"title": null
},
{
"class_type": "VAEDecode",
"inputs": [
{
"link": 93,
"localized_name": "Latent",
"name": "samples",
"type": "LATENT"
},
{
"link": 103,
"localized_name": "vae",
"name": "vae",
"type": "VAE"
}
],
"mode": 0,
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/62",
"source_values": [],
"title": null
},
{
"class_type": "RandomNoise",
"inputs": [
{
"link": 113,
"localized_name": "噪波随机种",
"name": "noise_seed",
"type": "INT",
"widget": {
"name": "noise_seed"
}
}
],
"mode": 0,
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/63",
"source_values": [
355028178891957,
"randomize"
],
"title": null
},
{
"class_type": "ModelSamplingFlux",
"inputs": [
{
"link": 95,
"localized_name": "模型",
"name": "model",
"type": "MODEL"
},
{
"link": null,
"localized_name": "最大移位",
"name": "max_shift",
"type": "FLOAT",
"widget": {
"name": "max_shift"
}
},
{
"link": null,
"localized_name": "基础移位",
"name": "base_shift",
"type": "FLOAT",
"widget": {
"name": "base_shift"
}
},
{
"link": 99,
"localized_name": "宽度",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
}
},
{
"link": 100,
"localized_name": "高度",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
}
}
],
"mode": 0,
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/64",
"source_values": [
1.15,
0.5,
1024,
1024
],
"title": null
}
],
"source_notes": [
{
"content": [
"Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Model Links\n\n- [ostris/krea2_turbo_style_reference](https://huggingface.co/ostris/krea2_turbo_style_reference)\n\n**diffusion_models**\n\n- [krea2_turbo_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/Krea-2/resolve/main/diffusion_models/krea2_turbo_int8_convrot.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**\n\n- [krea2_style_reference.safetensors](https://huggingface.co/Comfy-Org/Krea-2/resolve/main/loras/krea2_style_reference.safetensors)\n\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 diffusion_models/\n│ │ └── krea2_turbo_int8_convrot.safetensors\n│ ├── 📂 text_encoders/\n│ │ └── qwen3vl_4b_fp8_scaled.safetensors\n│ ├── 📂 vae/\n│ │ └── qwen_image_vae.safetensors\n│ └── 📂 loras/\n│ └── krea2_style_reference.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"
],
"node_id": "48"
}
],
"source_path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_图像风格参考.json",
"source_review": {
"complete": false,
"evidence": {
"link_count": 48,
"model_references": [
"Krea2\\krea2_style_reference.safetensors",
"Krea2\\krea2_turbo_int8_convrot.safetensors",
"krea2_style_reference.safetensors",
"krea2_turbo_int8_convrot.safetensors",
"qwen3vl_4b_fp8_scaled.safetensors",
"qwen_image_vae.safetensors"
],
"named_value_count": 0,
"node_count": 29,
"note_node_ids": [
"48"
],
"unnamed_widget_node_ids": [
"29",
"71",
"30",
"69",
"b0e5ca93-2731-42b9-8e0a-d28ea851ff81/5",
"b0e5ca93-2731-42b9-8e0a-d28ea851ff81/10",
"b0e5ca93-2731-42b9-8e0a-d28ea851ff81/11",
"b0e5ca93-2731-42b9-8e0a-d28ea851ff81/12",
"b0e5ca93-2731-42b9-8e0a-d28ea851ff81/15",
"b0e5ca93-2731-42b9-8e0a-d28ea851ff81/16",
"b0e5ca93-2731-42b9-8e0a-d28ea851ff81/17",
"b0e5ca93-2731-42b9-8e0a-d28ea851ff81/18",
"b0e5ca93-2731-42b9-8e0a-d28ea851ff81/19",
"b0e5ca93-2731-42b9-8e0a-d28ea851ff81/21",
"b0e5ca93-2731-42b9-8e0a-d28ea851ff81/24",
"b0e5ca93-2731-42b9-8e0a-d28ea851ff81/52",
"b0e5ca93-2731-42b9-8e0a-d28ea851ff81/53",
"b0e5ca93-2731-42b9-8e0a-d28ea851ff81/57",
"b0e5ca93-2731-42b9-8e0a-d28ea851ff81/59",
"b0e5ca93-2731-42b9-8e0a-d28ea851ff81/60",
"b0e5ca93-2731-42b9-8e0a-d28ea851ff81/61",
"b0e5ca93-2731-42b9-8e0a-d28ea851ff81/63",
"b0e5ca93-2731-42b9-8e0a-d28ea851ff81/64"
]
},
"instruction": "先核对参考图的实际连线及编码器;此图与纯文生图需要的素材不同。",
"purpose": "Krea2 图像风格参考图增加 LoadImage、参考 latent 方法和 TextEncodeQwenImageEditPlus。",
"reviewed_named_fields": [],
"scope": [
"结构及用途局部审校",
"源具名参数/注释/连线/素材模型用途人工语义局部审校"
],
"semantic_review": {
"batch": "HEL-892-third",
"conclusions": [
"69图像经136进入30槽11,并经137送75读取尺寸",
"子图15为style_reference LoRA、52为TextEncodeQwenImageEditPlus,条件经多参考latent方法处理。48列样式参考模型来源",
"先检查参考图风格与生成内容描述分别起作用,不能当作直接复制人物身份的编辑图。"
],
"evidence_refs": {
"nodes": [
{
"node_id": "48",
"pointer": "/source_nodes/1"
},
{
"node_id": "75",
"pointer": "/source_nodes/3"
},
{
"node_id": "30",
"pointer": "/source_nodes/4"
},
{
"node_id": "69",
"pointer": "/source_nodes/5"
},
{
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/11",
"pointer": "/source_nodes/8"
},
{
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/15",
"pointer": "/source_nodes/11"
},
{
"node_id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81/52",
"pointer": "/source_nodes/19"
}
],
"notes": [
{
"node_id": "48",
"pointer": "/source_notes/0"
}
],
"source_graph": "/source_links(按scope区分主图与子图;连线ID仅在各自scope内有效)"
},
"mechanical_inventory": {
"link_count": 48,
"named_value_count": 0,
"note_count": 1,
"position_widget_node_count": 23
},
"named_parameter_finding": "未发现可由源文件确认的具名参数",
"operation_check": "69图像经136进入30槽11,并经137送75读取尺寸;子图15为style_reference LoRA、52为TextEncodeQwenImageEditPlus,条件经多参考latent方法处理。48列样式参考模型来源;先检查参考图风格与生成内容描述分别起作用,不能当作直接复制人物身份的编辑图。",
"unknowns": [
"位置数组未按位置具名,具名字段单位/合法范围/调整效果未获定义验证",
"注释中的效果、性能、版本支持为源作者陈述,未作外部或环境验证",
"静音/旁路、虚拟节点、子图、开关与连线覆盖的实际执行结果待原前端API导出",
"模型/素材引用只表示源文件出现,实际安装、位置、可用性和输出编码待真实环境核对"
]
},
"source_sha": "939988a3e2158046d42d4af8126297392be72287",
"unconfirmed": [
"逐参数语义、单位、范围和调整效果未定稿",
"UI 位置控件未具名,含子图和旁路的实际执行路径待黄金导出",
"模型/节点包位置、素材可用性及实际输出未在目标环境核对"
]
},
"source_review_sha": "dbcc1449d813acbb9fd51b73c79285d7a389a2a709d603f1dc3ac65b515f5107",
"status": {
"doc_done": false,
"exec_verified": false,
"imported": true
},
"steps": [
"先核对参考图的实际连线及编码器;此图与纯文生图需要的素材不同。",
"69图像经136进入30槽11,并经137送75读取尺寸;子图15为style_reference LoRA、52为TextEncodeQwenImageEditPlus,条件经多参考latent方法处理。48列样式参考模型来源;先检查参考图风格与生成内容描述分别起作用,不能当作直接复制人物身份的编辑图。",
"打开源工作流 example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_图像风格参考.json,逐项核对下列源节点与注释。",
"补齐节点定义、模型来源及所需素材;完成输入输出映射核对。",
"明确触发真实测试后核对产物;本批未提交生成任务。"
],
"title": "krea2_turbo_文生图_图像风格参考"
}