1582 lines
40 KiB
JSON
1582 lines
40 KiB
JSON
{
|
||
"dependencies": {
|
||
"check_state": "unchecked",
|
||
"checked_at": null,
|
||
"missing": [],
|
||
"model_locations": "待目标机提供",
|
||
"models": [
|
||
"Krea2\\krea2_identity_edit_v1_2.safetensors",
|
||
"Krea2\\krea2_turbo_int8_convrot.safetensors",
|
||
"qwen3vl_4b_fp8_scaled.safetensors",
|
||
"qwen_image_vae.safetensors"
|
||
],
|
||
"node_packs": [],
|
||
"node_types": [
|
||
"CLIPLoader",
|
||
"EmptySD3LatentImage",
|
||
"GetImageSize",
|
||
"Image Comparer (rgthree)",
|
||
"ImageScaleToTotalPixels",
|
||
"KSampler",
|
||
"Krea2EditGroundedEncode",
|
||
"Krea2EditModelPatch",
|
||
"LoadImage",
|
||
"LoraLoaderModelOnly",
|
||
"Note",
|
||
"ResolutionSelector",
|
||
"SaveImage",
|
||
"UNETLoader",
|
||
"VAEDecode",
|
||
"VAEEncode",
|
||
"VAELoader"
|
||
],
|
||
"source": null
|
||
},
|
||
"draft": true,
|
||
"errors": [
|
||
{
|
||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||
"symptom": "待提供目标机节点定义:VAEDecode"
|
||
},
|
||
{
|
||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||
"symptom": "待提供目标机节点定义:CLIPLoader"
|
||
},
|
||
{
|
||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||
"symptom": "待提供目标机节点定义:EmptySD3LatentImage"
|
||
},
|
||
{
|
||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||
"symptom": "待提供目标机节点定义:KSampler"
|
||
},
|
||
{
|
||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||
"symptom": "待提供目标机节点定义:GetImageSize"
|
||
},
|
||
{
|
||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||
"symptom": "待提供目标机节点定义:VAEEncode"
|
||
},
|
||
{
|
||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||
"symptom": "待提供目标机节点定义:ResolutionSelector"
|
||
},
|
||
{
|
||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||
"symptom": "待提供目标机节点定义:Krea2EditGroundedEncode"
|
||
},
|
||
{
|
||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||
"symptom": "待提供目标机节点定义:Krea2EditModelPatch"
|
||
},
|
||
{
|
||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||
"symptom": "待提供目标机节点定义:VAELoader"
|
||
},
|
||
{
|
||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||
"symptom": "LoadImage 包含静音/旁路状态,需 API 导出核对"
|
||
},
|
||
{
|
||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||
"symptom": "ImageScaleToTotalPixels 包含静音/旁路状态,需 API 导出核对"
|
||
},
|
||
{
|
||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||
"symptom": "VAEEncode 包含静音/旁路状态,需 API 导出核对"
|
||
},
|
||
{
|
||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||
"symptom": "待提供目标机节点定义:LoadImage"
|
||
},
|
||
{
|
||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||
"symptom": "待提供目标机节点定义:ImageScaleToTotalPixels"
|
||
},
|
||
{
|
||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||
"symptom": "待提供目标机节点定义:SaveImage"
|
||
},
|
||
{
|
||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||
"symptom": "待提供目标机节点定义:Image Comparer (rgthree)"
|
||
},
|
||
{
|
||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||
"symptom": "待提供目标机节点定义:Krea2EditGroundedEncode"
|
||
},
|
||
{
|
||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||
"symptom": "待提供目标机节点定义:UNETLoader"
|
||
},
|
||
{
|
||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||
"symptom": "待提供目标机节点定义:LoraLoaderModelOnly"
|
||
},
|
||
{
|
||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||
"symptom": "未得到可执行节点"
|
||
}
|
||
],
|
||
"io": {
|
||
"inputs": [],
|
||
"outputs": []
|
||
},
|
||
"materials": [],
|
||
"params": [],
|
||
"purpose": "Krea2 identity 编辑使用 Krea2EditGroundedEncode、模型 patch、VAEEncode 与空 latent。",
|
||
"snapshot_sha": "74234e98afe7498fb5daf1f36ac2d78acc339464f950703b8c019892f982b90b",
|
||
"source_links": [
|
||
{
|
||
"link": [
|
||
2,
|
||
71,
|
||
0,
|
||
79,
|
||
0,
|
||
"MODEL"
|
||
],
|
||
"scope": ""
|
||
},
|
||
{
|
||
"link": [
|
||
3,
|
||
79,
|
||
0,
|
||
53,
|
||
0,
|
||
"MODEL"
|
||
],
|
||
"scope": ""
|
||
},
|
||
{
|
||
"link": [
|
||
4,
|
||
56,
|
||
0,
|
||
84,
|
||
0,
|
||
"CLIP"
|
||
],
|
||
"scope": ""
|
||
},
|
||
{
|
||
"link": [
|
||
5,
|
||
56,
|
||
0,
|
||
85,
|
||
0,
|
||
"CLIP"
|
||
],
|
||
"scope": ""
|
||
},
|
||
{
|
||
"link": [
|
||
6,
|
||
57,
|
||
0,
|
||
54,
|
||
1,
|
||
"VAE"
|
||
],
|
||
"scope": ""
|
||
},
|
||
{
|
||
"link": [
|
||
7,
|
||
57,
|
||
0,
|
||
73,
|
||
1,
|
||
"VAE"
|
||
],
|
||
"scope": ""
|
||
},
|
||
{
|
||
"link": [
|
||
8,
|
||
57,
|
||
0,
|
||
92,
|
||
1,
|
||
"VAE"
|
||
],
|
||
"scope": ""
|
||
},
|
||
{
|
||
"link": [
|
||
15,
|
||
73,
|
||
0,
|
||
79,
|
||
1,
|
||
"LATENT"
|
||
],
|
||
"scope": ""
|
||
},
|
||
{
|
||
"link": [
|
||
16,
|
||
57,
|
||
0,
|
||
79,
|
||
4,
|
||
"VAE"
|
||
],
|
||
"scope": ""
|
||
},
|
||
{
|
||
"link": [
|
||
21,
|
||
92,
|
||
0,
|
||
79,
|
||
2,
|
||
"LATENT"
|
||
],
|
||
"scope": ""
|
||
},
|
||
{
|
||
"link": [
|
||
22,
|
||
84,
|
||
0,
|
||
53,
|
||
1,
|
||
"CONDITIONING"
|
||
],
|
||
"scope": ""
|
||
},
|
||
{
|
||
"link": [
|
||
23,
|
||
85,
|
||
0,
|
||
53,
|
||
2,
|
||
"CONDITIONING"
|
||
],
|
||
"scope": ""
|
||
},
|
||
{
|
||
"link": [
|
||
24,
|
||
82,
|
||
0,
|
||
53,
|
||
3,
|
||
"LATENT"
|
||
],
|
||
"scope": ""
|
||
},
|
||
{
|
||
"link": [
|
||
25,
|
||
53,
|
||
0,
|
||
54,
|
||
0,
|
||
"LATENT"
|
||
],
|
||
"scope": ""
|
||
},
|
||
{
|
||
"link": [
|
||
26,
|
||
54,
|
||
0,
|
||
29,
|
||
0,
|
||
"IMAGE"
|
||
],
|
||
"scope": ""
|
||
},
|
||
{
|
||
"link": [
|
||
30,
|
||
112,
|
||
0,
|
||
82,
|
||
0,
|
||
"INT"
|
||
],
|
||
"scope": ""
|
||
},
|
||
{
|
||
"link": [
|
||
31,
|
||
112,
|
||
1,
|
||
82,
|
||
1,
|
||
"INT"
|
||
],
|
||
"scope": ""
|
||
},
|
||
{
|
||
"link": [
|
||
32,
|
||
72,
|
||
0,
|
||
113,
|
||
0,
|
||
"IMAGE"
|
||
],
|
||
"scope": ""
|
||
},
|
||
{
|
||
"link": [
|
||
36,
|
||
113,
|
||
0,
|
||
84,
|
||
1,
|
||
"IMAGE"
|
||
],
|
||
"scope": ""
|
||
},
|
||
{
|
||
"link": [
|
||
37,
|
||
113,
|
||
0,
|
||
73,
|
||
0,
|
||
"IMAGE"
|
||
],
|
||
"scope": ""
|
||
},
|
||
{
|
||
"link": [
|
||
38,
|
||
113,
|
||
0,
|
||
85,
|
||
1,
|
||
"IMAGE"
|
||
],
|
||
"scope": ""
|
||
},
|
||
{
|
||
"link": [
|
||
39,
|
||
113,
|
||
0,
|
||
79,
|
||
5,
|
||
"IMAGE"
|
||
],
|
||
"scope": ""
|
||
},
|
||
{
|
||
"link": [
|
||
40,
|
||
90,
|
||
0,
|
||
114,
|
||
0,
|
||
"IMAGE"
|
||
],
|
||
"scope": ""
|
||
},
|
||
{
|
||
"link": [
|
||
41,
|
||
114,
|
||
0,
|
||
92,
|
||
0,
|
||
"IMAGE"
|
||
],
|
||
"scope": ""
|
||
},
|
||
{
|
||
"link": [
|
||
42,
|
||
114,
|
||
0,
|
||
85,
|
||
2,
|
||
"IMAGE"
|
||
],
|
||
"scope": ""
|
||
},
|
||
{
|
||
"link": [
|
||
43,
|
||
114,
|
||
0,
|
||
84,
|
||
2,
|
||
"IMAGE"
|
||
],
|
||
"scope": ""
|
||
},
|
||
{
|
||
"link": [
|
||
44,
|
||
114,
|
||
0,
|
||
79,
|
||
6,
|
||
"IMAGE"
|
||
],
|
||
"scope": ""
|
||
},
|
||
{
|
||
"link": [
|
||
48,
|
||
113,
|
||
0,
|
||
112,
|
||
0,
|
||
"IMAGE"
|
||
],
|
||
"scope": ""
|
||
},
|
||
{
|
||
"link": [
|
||
53,
|
||
113,
|
||
0,
|
||
111,
|
||
0,
|
||
"IMAGE"
|
||
],
|
||
"scope": ""
|
||
},
|
||
{
|
||
"link": [
|
||
54,
|
||
29,
|
||
0,
|
||
111,
|
||
1,
|
||
"IMAGE"
|
||
],
|
||
"scope": ""
|
||
},
|
||
{
|
||
"link": [
|
||
55,
|
||
55,
|
||
0,
|
||
71,
|
||
0,
|
||
"MODEL"
|
||
],
|
||
"scope": ""
|
||
}
|
||
],
|
||
"source_nodes": [
|
||
{
|
||
"class_type": "VAEDecode",
|
||
"inputs": [
|
||
{
|
||
"link": 25,
|
||
"localized_name": "Latent",
|
||
"name": "samples",
|
||
"type": "LATENT"
|
||
},
|
||
{
|
||
"link": 6,
|
||
"localized_name": "vae",
|
||
"name": "vae",
|
||
"type": "VAE"
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "54",
|
||
"source_values": [],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "CLIPLoader",
|
||
"inputs": [
|
||
{
|
||
"link": null,
|
||
"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": "56",
|
||
"source_values": [
|
||
"qwen3vl_4b_fp8_scaled.safetensors",
|
||
"krea2",
|
||
"default"
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "EmptySD3LatentImage",
|
||
"inputs": [
|
||
{
|
||
"link": 30,
|
||
"localized_name": "宽度",
|
||
"name": "width",
|
||
"type": "INT",
|
||
"widget": {
|
||
"name": "width"
|
||
}
|
||
},
|
||
{
|
||
"link": 31,
|
||
"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": "82",
|
||
"source_values": [
|
||
1024,
|
||
1024,
|
||
1
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "Note",
|
||
"inputs": [],
|
||
"mode": 0,
|
||
"node_id": "100",
|
||
"source_values": [
|
||
"Files (auto-downloadable via the manager links):\n- krea2_turbo_fp8_scaled (or krea2_raw_bf16 - see GENERATE note)\n- qwen3vl_4b_fp8_scaled text encoder, type 'krea2'\n- qwen_image_vae\n- krea2_identity_edit_v1_2.safetensors LoRA (this model)"
|
||
],
|
||
"title": "Model files"
|
||
},
|
||
{
|
||
"class_type": "Note",
|
||
"inputs": [],
|
||
"mode": 0,
|
||
"node_id": "101",
|
||
"source_values": [
|
||
"YOUR IMAGE - the image being edited (your character, the photo to\nrestyle, the scene...).\n\nTwo-image mode (group 2 enabled): THIS slot is always the SCENE\n(image 1). The person always goes in group 2 (image 2).\nInputs around 1MP work best. Two-person images: stay at/below ~1.5MP."
|
||
],
|
||
"title": "How inputs work"
|
||
},
|
||
{
|
||
"class_type": "Note",
|
||
"inputs": [],
|
||
"mode": 0,
|
||
"node_id": "102",
|
||
"source_values": [
|
||
"OPTIONAL second reference - the PERSON for insert-into-scene edits\n('place this person at the table').\n\nThis group ships DISABLED (purple = bypassed) - the workflow is a\nplain single-image editor until you need it.\nEnable: right-click this group's title bar -> toggle Bypass off.\nOrder rule: scene = image 1 (group 1), person = image 2 (here)."
|
||
],
|
||
"title": "Enable for two-image edits"
|
||
},
|
||
{
|
||
"class_type": "Note",
|
||
"inputs": [],
|
||
"mode": 0,
|
||
"node_id": "106",
|
||
"source_values": [
|
||
"KREA 2 IDENTITY EDIT - v1.2 (Fidelity update)\nUse an image like a LoRA: your character/scene goes in as a reference, plain-English\ninstructions do the rest.\n\nQUICK START: 1) load your image in group 1 2) write the instruction in group 3 3) Queue.\nThe Fidelity dial (group 4) ships at 4 = strong likeness. Two-image person-into-scene: enable\ngroup 2 (right-click its title -> toggle Bypass).\n\nRequires the comfyui-krea2edit nodes from this release or newer.\ngithub.com/lbouaraba/comfyui-krea2edit - huggingface.co/conradlocke/krea2-identity-edit"
|
||
],
|
||
"title": "README"
|
||
},
|
||
{
|
||
"class_type": "Note",
|
||
"inputs": [],
|
||
"mode": 0,
|
||
"node_id": "105",
|
||
"source_values": [
|
||
"Turbo模式:10步,cfg值1。\n\n步数调节:\n8=更强的构图/指令遵循性,\n12=更多面部细节,\n10=平衡。\n\n使用krea2_raw替代turbo时:\n\n40步,cfg值3-4(此时负向提示词生效)。"
|
||
],
|
||
"title": "Sampling"
|
||
},
|
||
{
|
||
"class_type": "Note",
|
||
"inputs": [],
|
||
"mode": 0,
|
||
"node_id": "104",
|
||
"source_values": [
|
||
"THE FIDELITY DIAL (ref_boost) - how hard the model looks at your\nreference. New in this release.\n\n 1.0 = classic v1.1 behavior\n 4.0 = recommended (pre-set): much stronger face + body likeness,\n more reliable edits\n >10 = over-copy: removals/replacements start failing\n <1 = suppress the reference (creative freedom)\n\nref_boost_a: the scene dial (image 1) in two-image mode -\nleave at 1.0 unless you are exploring. ref_boost applies to the\nperson (image 2) when group 2 is enabled, else to your image.\n\nfit_mode: how inputs fit a different output aspect\nratio. fit = resample to the output shape (default, recommended); crop (legacy) = center-crop\nonly for v1/v1.1 weights."
|
||
],
|
||
"title": "Fidelity dial"
|
||
},
|
||
{
|
||
"class_type": "Note",
|
||
"inputs": [],
|
||
"mode": 0,
|
||
"node_id": "103",
|
||
"source_values": [
|
||
"用简单的英语写下编辑内容:\n 'Relight the scene with warm golden hour sunlight.'\n 'Place this person at the cafe table, holding a coffee.'\n 'Change her outfit to a red raincoat.'\n\n生成的脸部特征过于普通?请补充\n 'Preserve the exact facial identity - distinguishing features: ...'\nand describe what makes the face distinctive.\n\ngrounding_px:\n模型在读取指令时“看到”输入的尺寸大小。384-768是训练范围。出现重复/分割组合?降低它。\n下方折叠节点为负面提示——仅在CFG>1时使用;保持其提示为空。"
|
||
],
|
||
"title": "Writing instructions"
|
||
},
|
||
{
|
||
"class_type": "KSampler",
|
||
"inputs": [
|
||
{
|
||
"link": 3,
|
||
"localized_name": "模型",
|
||
"name": "model",
|
||
"type": "MODEL"
|
||
},
|
||
{
|
||
"link": 22,
|
||
"localized_name": "正面条件",
|
||
"name": "positive",
|
||
"type": "CONDITIONING"
|
||
},
|
||
{
|
||
"link": 23,
|
||
"localized_name": "负面条件",
|
||
"name": "negative",
|
||
"type": "CONDITIONING"
|
||
},
|
||
{
|
||
"link": 24,
|
||
"localized_name": "Latent图像",
|
||
"name": "latent_image",
|
||
"type": "LATENT"
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "种子",
|
||
"name": "seed",
|
||
"type": "INT",
|
||
"widget": {
|
||
"name": "seed"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "步数",
|
||
"name": "steps",
|
||
"type": "INT",
|
||
"widget": {
|
||
"name": "steps"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "cfg",
|
||
"name": "cfg",
|
||
"type": "FLOAT",
|
||
"widget": {
|
||
"name": "cfg"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "采样器名称",
|
||
"name": "sampler_name",
|
||
"type": "COMBO",
|
||
"widget": {
|
||
"name": "sampler_name"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "调度器",
|
||
"name": "scheduler",
|
||
"type": "COMBO",
|
||
"widget": {
|
||
"name": "scheduler"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "降噪",
|
||
"name": "denoise",
|
||
"type": "FLOAT",
|
||
"widget": {
|
||
"name": "denoise"
|
||
}
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "53",
|
||
"source_values": [
|
||
517913762219781,
|
||
"randomize",
|
||
10,
|
||
1,
|
||
"euler",
|
||
"simple",
|
||
1
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "GetImageSize",
|
||
"inputs": [
|
||
{
|
||
"label": "图像",
|
||
"link": 48,
|
||
"localized_name": "图像",
|
||
"name": "image",
|
||
"type": "IMAGE"
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "112",
|
||
"source_values": [],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "VAEEncode",
|
||
"inputs": [
|
||
{
|
||
"link": 37,
|
||
"localized_name": "像素",
|
||
"name": "pixels",
|
||
"type": "IMAGE"
|
||
},
|
||
{
|
||
"link": 7,
|
||
"localized_name": "vae",
|
||
"name": "vae",
|
||
"type": "VAE"
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "73",
|
||
"source_values": [],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "Note",
|
||
"inputs": [],
|
||
"mode": 0,
|
||
"node_id": "107",
|
||
"source_values": [
|
||
"输出分辨率。1MP是最佳选择;仅在进行单人编辑时才选择更高分辨率。"
|
||
],
|
||
"title": "Resolution"
|
||
},
|
||
{
|
||
"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": "83",
|
||
"source_values": [
|
||
"2:3 (Portrait Photo)",
|
||
1,
|
||
8
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "Krea2EditGroundedEncode",
|
||
"inputs": [
|
||
{
|
||
"link": 5,
|
||
"localized_name": "clip",
|
||
"name": "clip",
|
||
"type": "CLIP"
|
||
},
|
||
{
|
||
"link": 38,
|
||
"localized_name": "image",
|
||
"name": "image",
|
||
"shape": 7,
|
||
"type": "IMAGE"
|
||
},
|
||
{
|
||
"link": 42,
|
||
"localized_name": "image_b",
|
||
"name": "image_b",
|
||
"shape": 7,
|
||
"type": "IMAGE"
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "prompt",
|
||
"name": "prompt",
|
||
"type": "STRING",
|
||
"widget": {
|
||
"name": "prompt"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "grounding_px",
|
||
"name": "grounding_px",
|
||
"shape": 7,
|
||
"type": "INT",
|
||
"widget": {
|
||
"name": "grounding_px"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "system_prompt",
|
||
"name": "system_prompt",
|
||
"shape": 7,
|
||
"type": "STRING",
|
||
"widget": {
|
||
"name": "system_prompt"
|
||
}
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "85",
|
||
"source_values": [
|
||
"",
|
||
768,
|
||
""
|
||
],
|
||
"title": "negative (leave empty)"
|
||
},
|
||
{
|
||
"class_type": "Krea2EditModelPatch",
|
||
"inputs": [
|
||
{
|
||
"link": 2,
|
||
"localized_name": "model",
|
||
"name": "model",
|
||
"type": "MODEL"
|
||
},
|
||
{
|
||
"link": 15,
|
||
"localized_name": "source_latent",
|
||
"name": "source_latent",
|
||
"type": "LATENT"
|
||
},
|
||
{
|
||
"link": 21,
|
||
"localized_name": "source_latent_b",
|
||
"name": "source_latent_b",
|
||
"shape": 7,
|
||
"type": "LATENT"
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "ref_boost_mask",
|
||
"name": "ref_boost_mask",
|
||
"shape": 7,
|
||
"type": "MASK"
|
||
},
|
||
{
|
||
"link": 16,
|
||
"localized_name": "vae",
|
||
"name": "vae",
|
||
"shape": 7,
|
||
"type": "VAE"
|
||
},
|
||
{
|
||
"link": 39,
|
||
"localized_name": "source_image",
|
||
"name": "source_image",
|
||
"shape": 7,
|
||
"type": "IMAGE"
|
||
},
|
||
{
|
||
"link": 44,
|
||
"localized_name": "source_image_b",
|
||
"name": "source_image_b",
|
||
"shape": 7,
|
||
"type": "IMAGE"
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "target_latent",
|
||
"name": "target_latent",
|
||
"shape": 7,
|
||
"type": "LATENT"
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "ref_boost",
|
||
"name": "ref_boost",
|
||
"shape": 7,
|
||
"type": "FLOAT",
|
||
"widget": {
|
||
"name": "ref_boost"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "ref_boost_a",
|
||
"name": "ref_boost_a",
|
||
"shape": 7,
|
||
"type": "FLOAT",
|
||
"widget": {
|
||
"name": "ref_boost_a"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "fit_mode",
|
||
"name": "fit_mode",
|
||
"shape": 7,
|
||
"type": "COMBO",
|
||
"widget": {
|
||
"name": "fit_mode"
|
||
}
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "79",
|
||
"source_values": [
|
||
4,
|
||
1,
|
||
"fit"
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "VAELoader",
|
||
"inputs": [
|
||
{
|
||
"link": null,
|
||
"localized_name": "vae名称",
|
||
"name": "vae_name",
|
||
"type": "COMBO",
|
||
"widget": {
|
||
"name": "vae_name"
|
||
}
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "57",
|
||
"source_values": [
|
||
"qwen_image_vae.safetensors"
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "LoadImage",
|
||
"inputs": [
|
||
{
|
||
"link": null,
|
||
"localized_name": "图像",
|
||
"name": "image",
|
||
"type": "COMBO",
|
||
"widget": {
|
||
"name": "image"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "选择文件上传",
|
||
"name": "upload",
|
||
"type": "IMAGEUPLOAD",
|
||
"widget": {
|
||
"name": "upload"
|
||
}
|
||
}
|
||
],
|
||
"mode": 4,
|
||
"node_id": "90",
|
||
"source_values": [
|
||
"12816db543c1f97c0b8bf639f133288f.jpg",
|
||
"image"
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "ImageScaleToTotalPixels",
|
||
"inputs": [
|
||
{
|
||
"link": 40,
|
||
"localized_name": "图像",
|
||
"name": "image",
|
||
"type": "IMAGE"
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "缩放算法",
|
||
"name": "upscale_method",
|
||
"type": "COMBO",
|
||
"widget": {
|
||
"name": "upscale_method"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "像素数量",
|
||
"name": "megapixels",
|
||
"type": "FLOAT",
|
||
"widget": {
|
||
"name": "megapixels"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "分辨率步数",
|
||
"name": "resolution_steps",
|
||
"type": "INT",
|
||
"widget": {
|
||
"name": "resolution_steps"
|
||
}
|
||
}
|
||
],
|
||
"mode": 4,
|
||
"node_id": "114",
|
||
"source_values": [
|
||
"nearest-exact",
|
||
1,
|
||
1
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "VAEEncode",
|
||
"inputs": [
|
||
{
|
||
"link": 41,
|
||
"localized_name": "像素",
|
||
"name": "pixels",
|
||
"type": "IMAGE"
|
||
},
|
||
{
|
||
"link": 8,
|
||
"localized_name": "vae",
|
||
"name": "vae",
|
||
"type": "VAE"
|
||
}
|
||
],
|
||
"mode": 4,
|
||
"node_id": "92",
|
||
"source_values": [],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "LoadImage",
|
||
"inputs": [
|
||
{
|
||
"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": "72",
|
||
"source_values": [
|
||
"krea2_identity_edit_00019_.png",
|
||
"image"
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "ImageScaleToTotalPixels",
|
||
"inputs": [
|
||
{
|
||
"link": 32,
|
||
"localized_name": "图像",
|
||
"name": "image",
|
||
"type": "IMAGE"
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "缩放算法",
|
||
"name": "upscale_method",
|
||
"type": "COMBO",
|
||
"widget": {
|
||
"name": "upscale_method"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "像素数量",
|
||
"name": "megapixels",
|
||
"type": "FLOAT",
|
||
"widget": {
|
||
"name": "megapixels"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "分辨率步数",
|
||
"name": "resolution_steps",
|
||
"type": "INT",
|
||
"widget": {
|
||
"name": "resolution_steps"
|
||
}
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "113",
|
||
"source_values": [
|
||
"nearest-exact",
|
||
1,
|
||
1
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "SaveImage",
|
||
"inputs": [
|
||
{
|
||
"link": 26,
|
||
"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_identity_edit"
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "Image Comparer (rgthree)",
|
||
"inputs": [
|
||
{
|
||
"dir": 3,
|
||
"label": "图像_A",
|
||
"link": 53,
|
||
"localized_name": "图像_A",
|
||
"name": "image_a",
|
||
"type": "IMAGE"
|
||
},
|
||
{
|
||
"dir": 3,
|
||
"label": "图像_B",
|
||
"link": 54,
|
||
"localized_name": "图像_B",
|
||
"name": "image_b",
|
||
"type": "IMAGE"
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "111",
|
||
"source_values": [
|
||
[
|
||
{
|
||
"name": "A",
|
||
"selected": true,
|
||
"url": "/api/view?filename=rgthree.compare._temp_ljaum_00005_.png&type=temp&subfolder=&rand=0.735243510849229"
|
||
},
|
||
{
|
||
"name": "B",
|
||
"selected": true,
|
||
"url": "/api/view?filename=rgthree.compare._temp_ljaum_00006_.png&type=temp&subfolder=&rand=0.19227582039617297"
|
||
}
|
||
]
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "Krea2EditGroundedEncode",
|
||
"inputs": [
|
||
{
|
||
"link": 4,
|
||
"localized_name": "clip",
|
||
"name": "clip",
|
||
"type": "CLIP"
|
||
},
|
||
{
|
||
"link": 36,
|
||
"localized_name": "image",
|
||
"name": "image",
|
||
"shape": 7,
|
||
"type": "IMAGE"
|
||
},
|
||
{
|
||
"link": 43,
|
||
"localized_name": "image_b",
|
||
"name": "image_b",
|
||
"shape": 7,
|
||
"type": "IMAGE"
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "prompt",
|
||
"name": "prompt",
|
||
"type": "STRING",
|
||
"widget": {
|
||
"name": "prompt"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "grounding_px",
|
||
"name": "grounding_px",
|
||
"shape": 7,
|
||
"type": "INT",
|
||
"widget": {
|
||
"name": "grounding_px"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "system_prompt",
|
||
"name": "system_prompt",
|
||
"shape": 7,
|
||
"type": "STRING",
|
||
"widget": {
|
||
"name": "system_prompt"
|
||
}
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "84",
|
||
"source_values": [
|
||
"给线稿上色成彩色动漫,保持签名文字不变,纯色背景。",
|
||
768,
|
||
""
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "UNETLoader",
|
||
"inputs": [
|
||
{
|
||
"link": null,
|
||
"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": "55",
|
||
"source_values": [
|
||
"Krea2\\krea2_turbo_int8_convrot.safetensors",
|
||
"default"
|
||
],
|
||
"title": null
|
||
},
|
||
{
|
||
"class_type": "LoraLoaderModelOnly",
|
||
"inputs": [
|
||
{
|
||
"link": 55,
|
||
"localized_name": "模型",
|
||
"name": "model",
|
||
"type": "MODEL"
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "LoRA名称",
|
||
"name": "lora_name",
|
||
"type": "COMBO",
|
||
"widget": {
|
||
"name": "lora_name"
|
||
}
|
||
},
|
||
{
|
||
"link": null,
|
||
"localized_name": "模型强度",
|
||
"name": "strength_model",
|
||
"type": "FLOAT",
|
||
"widget": {
|
||
"name": "strength_model"
|
||
}
|
||
}
|
||
],
|
||
"mode": 0,
|
||
"node_id": "71",
|
||
"source_values": [
|
||
"Krea2\\krea2_identity_edit_v1_2.safetensors",
|
||
1
|
||
],
|
||
"title": null
|
||
}
|
||
],
|
||
"source_notes": [
|
||
{
|
||
"content": [
|
||
"Files (auto-downloadable via the manager links):\n- krea2_turbo_fp8_scaled (or krea2_raw_bf16 - see GENERATE note)\n- qwen3vl_4b_fp8_scaled text encoder, type 'krea2'\n- qwen_image_vae\n- krea2_identity_edit_v1_2.safetensors LoRA (this model)"
|
||
],
|
||
"node_id": "100"
|
||
},
|
||
{
|
||
"content": [
|
||
"YOUR IMAGE - the image being edited (your character, the photo to\nrestyle, the scene...).\n\nTwo-image mode (group 2 enabled): THIS slot is always the SCENE\n(image 1). The person always goes in group 2 (image 2).\nInputs around 1MP work best. Two-person images: stay at/below ~1.5MP."
|
||
],
|
||
"node_id": "101"
|
||
},
|
||
{
|
||
"content": [
|
||
"OPTIONAL second reference - the PERSON for insert-into-scene edits\n('place this person at the table').\n\nThis group ships DISABLED (purple = bypassed) - the workflow is a\nplain single-image editor until you need it.\nEnable: right-click this group's title bar -> toggle Bypass off.\nOrder rule: scene = image 1 (group 1), person = image 2 (here)."
|
||
],
|
||
"node_id": "102"
|
||
},
|
||
{
|
||
"content": [
|
||
"KREA 2 IDENTITY EDIT - v1.2 (Fidelity update)\nUse an image like a LoRA: your character/scene goes in as a reference, plain-English\ninstructions do the rest.\n\nQUICK START: 1) load your image in group 1 2) write the instruction in group 3 3) Queue.\nThe Fidelity dial (group 4) ships at 4 = strong likeness. Two-image person-into-scene: enable\ngroup 2 (right-click its title -> toggle Bypass).\n\nRequires the comfyui-krea2edit nodes from this release or newer.\ngithub.com/lbouaraba/comfyui-krea2edit - huggingface.co/conradlocke/krea2-identity-edit"
|
||
],
|
||
"node_id": "106"
|
||
},
|
||
{
|
||
"content": [
|
||
"Turbo模式:10步,cfg值1。\n\n步数调节:\n8=更强的构图/指令遵循性,\n12=更多面部细节,\n10=平衡。\n\n使用krea2_raw替代turbo时:\n\n40步,cfg值3-4(此时负向提示词生效)。"
|
||
],
|
||
"node_id": "105"
|
||
},
|
||
{
|
||
"content": [
|
||
"THE FIDELITY DIAL (ref_boost) - how hard the model looks at your\nreference. New in this release.\n\n 1.0 = classic v1.1 behavior\n 4.0 = recommended (pre-set): much stronger face + body likeness,\n more reliable edits\n >10 = over-copy: removals/replacements start failing\n <1 = suppress the reference (creative freedom)\n\nref_boost_a: the scene dial (image 1) in two-image mode -\nleave at 1.0 unless you are exploring. ref_boost applies to the\nperson (image 2) when group 2 is enabled, else to your image.\n\nfit_mode: how inputs fit a different output aspect\nratio. fit = resample to the output shape (default, recommended); crop (legacy) = center-crop\nonly for v1/v1.1 weights."
|
||
],
|
||
"node_id": "104"
|
||
},
|
||
{
|
||
"content": [
|
||
"用简单的英语写下编辑内容:\n 'Relight the scene with warm golden hour sunlight.'\n 'Place this person at the cafe table, holding a coffee.'\n 'Change her outfit to a red raincoat.'\n\n生成的脸部特征过于普通?请补充\n 'Preserve the exact facial identity - distinguishing features: ...'\nand describe what makes the face distinctive.\n\ngrounding_px:\n模型在读取指令时“看到”输入的尺寸大小。384-768是训练范围。出现重复/分割组合?降低它。\n下方折叠节点为负面提示——仅在CFG>1时使用;保持其提示为空。"
|
||
],
|
||
"node_id": "103"
|
||
},
|
||
{
|
||
"content": [
|
||
"输出分辨率。1MP是最佳选择;仅在进行单人编辑时才选择更高分辨率。"
|
||
],
|
||
"node_id": "107"
|
||
}
|
||
],
|
||
"source_path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_identity_edit_图像编辑.json",
|
||
"source_review": {
|
||
"complete": false,
|
||
"evidence": {
|
||
"link_count": 31,
|
||
"model_references": [
|
||
"Krea2\\krea2_identity_edit_v1_2.safetensors",
|
||
"Krea2\\krea2_turbo_int8_convrot.safetensors",
|
||
"qwen3vl_4b_fp8_scaled.safetensors",
|
||
"qwen_image_vae.safetensors"
|
||
],
|
||
"named_value_count": 0,
|
||
"node_count": 28,
|
||
"note_node_ids": [
|
||
"100",
|
||
"101",
|
||
"102",
|
||
"106",
|
||
"105",
|
||
"104",
|
||
"103",
|
||
"107"
|
||
],
|
||
"unnamed_widget_node_ids": [
|
||
"56",
|
||
"82",
|
||
"53",
|
||
"83",
|
||
"85",
|
||
"79",
|
||
"57",
|
||
"90",
|
||
"114",
|
||
"72",
|
||
"113",
|
||
"29",
|
||
"111",
|
||
"84",
|
||
"55",
|
||
"71"
|
||
]
|
||
},
|
||
"instruction": "检查参考图、grounded 编码和 latent 尺寸来源;身份保持效果没有真实验证。",
|
||
"purpose": "Krea2 identity 编辑使用 Krea2EditGroundedEncode、模型 patch、VAEEncode 与空 latent。",
|
||
"reviewed_named_fields": [],
|
||
"scope": [
|
||
"结构及用途局部审校",
|
||
"源具名参数/注释/连线/素材模型用途人工语义局部审校"
|
||
],
|
||
"semantic_review": {
|
||
"batch": "HEL-892-third",
|
||
"conclusions": [
|
||
"55模型经71 identity LoRA再79补丁到53,84/85分别编码正负文本,72和90为两处图像,29结果与113图像分送111比较。100列依赖及107建议1MP,只属作者说明",
|
||
"先确认参考身份和待编辑底图分别进入哪个编码端,84当前为线稿上色且要求保留签名,不泛称纯人脸替换。"
|
||
],
|
||
"evidence_refs": {
|
||
"nodes": [
|
||
{
|
||
"node_id": "100",
|
||
"pointer": "/source_nodes/3"
|
||
},
|
||
{
|
||
"node_id": "53",
|
||
"pointer": "/source_nodes/10"
|
||
},
|
||
{
|
||
"node_id": "107",
|
||
"pointer": "/source_nodes/13"
|
||
},
|
||
{
|
||
"node_id": "85",
|
||
"pointer": "/source_nodes/15"
|
||
},
|
||
{
|
||
"node_id": "79",
|
||
"pointer": "/source_nodes/16"
|
||
},
|
||
{
|
||
"node_id": "90",
|
||
"pointer": "/source_nodes/18"
|
||
},
|
||
{
|
||
"node_id": "72",
|
||
"pointer": "/source_nodes/21"
|
||
},
|
||
{
|
||
"node_id": "113",
|
||
"pointer": "/source_nodes/22"
|
||
},
|
||
{
|
||
"node_id": "29",
|
||
"pointer": "/source_nodes/23"
|
||
},
|
||
{
|
||
"node_id": "111",
|
||
"pointer": "/source_nodes/24"
|
||
},
|
||
{
|
||
"node_id": "84",
|
||
"pointer": "/source_nodes/25"
|
||
},
|
||
{
|
||
"node_id": "55",
|
||
"pointer": "/source_nodes/26"
|
||
},
|
||
{
|
||
"node_id": "71",
|
||
"pointer": "/source_nodes/27"
|
||
}
|
||
],
|
||
"notes": [
|
||
{
|
||
"node_id": "100",
|
||
"pointer": "/source_notes/0"
|
||
},
|
||
{
|
||
"node_id": "107",
|
||
"pointer": "/source_notes/7"
|
||
}
|
||
],
|
||
"source_graph": "/source_links(按scope区分主图与子图;连线ID仅在各自scope内有效)"
|
||
},
|
||
"mechanical_inventory": {
|
||
"link_count": 31,
|
||
"named_value_count": 0,
|
||
"note_count": 8,
|
||
"position_widget_node_count": 16
|
||
},
|
||
"named_parameter_finding": "未发现可由源文件确认的具名参数",
|
||
"operation_check": "55模型经71 identity LoRA再79补丁到53,84/85分别编码正负文本,72和90为两处图像,29结果与113图像分送111比较。100列依赖及107建议1MP,只属作者说明;先确认参考身份和待编辑底图分别进入哪个编码端,84当前为线稿上色且要求保留签名,不泛称纯人脸替换。",
|
||
"unknowns": [
|
||
"位置数组未按位置具名,具名字段单位/合法范围/调整效果未获定义验证",
|
||
"注释中的效果、性能、版本支持为源作者陈述,未作外部或环境验证",
|
||
"静音/旁路、虚拟节点、子图、开关与连线覆盖的实际执行结果待原前端API导出",
|
||
"模型/素材引用只表示源文件出现,实际安装、位置、可用性和输出编码待真实环境核对"
|
||
]
|
||
},
|
||
"source_sha": "e067fc40e6bbf4cc6ab7a0db791715151f49bce6",
|
||
"unconfirmed": [
|
||
"逐参数语义、单位、范围和调整效果未定稿",
|
||
"UI 位置控件未具名,含子图和旁路的实际执行路径待黄金导出",
|
||
"模型/节点包位置、素材可用性及实际输出未在目标环境核对"
|
||
]
|
||
},
|
||
"source_review_sha": "47727758b20a478bf0e2e110b946b5b85471ad9383483656df68c0e5d59d59cf",
|
||
"status": {
|
||
"doc_done": false,
|
||
"exec_verified": false,
|
||
"imported": true
|
||
},
|
||
"steps": [
|
||
"检查参考图、grounded 编码和 latent 尺寸来源;身份保持效果没有真实验证。",
|
||
"55模型经71 identity LoRA再79补丁到53,84/85分别编码正负文本,72和90为两处图像,29结果与113图像分送111比较。100列依赖及107建议1MP,只属作者说明;先确认参考身份和待编辑底图分别进入哪个编码端,84当前为线稿上色且要求保留签名,不泛称纯人脸替换。",
|
||
"打开源工作流 example_ComfyUI_workflows/3-图像生成/krea2/krea2_identity_edit_图像编辑.json,逐项核对下列源节点与注释。",
|
||
"补齐节点定义、模型来源及所需素材;完成输入输出映射核对。",
|
||
"明确触发真实测试后核对产物;本批未提交生成任务。"
|
||
],
|
||
"title": "krea2_identity_edit_图像编辑"
|
||
}
|