The 18 blocks are grouped into 7 uses (a block's "job": repaint,
new_background, upscale, refine, follow, detail, process); a block that is
not its use's default has a "want" word (best, 2x, pose, ...).
add_nodes(use=…, want=…) has reference_blocks.pick choose the first by rank
this ComfyUI can run (packs and models present, not turned off), the block
taking a second picture when one is given; block= by name still works.
begin_task's directory is a line a use with its wants, the rest by what it
needs ("LanPaint: repaint best"), so it no longer grows with the blocks and
the word budget tiers are gone. Tried live: use=new_background with two
pictures built place_in_scene.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
134 lines
3.4 KiB
JSON
134 lines
3.4 KiB
JSON
{
|
||
"job": "upscale",
|
||
"want": "steps",
|
||
"rank": 2,
|
||
"short": "3 steps",
|
||
"title": {
|
||
"zh": "迭代放大",
|
||
"en": "Iterative upscale"
|
||
},
|
||
"about": {
|
||
"zh": "分 3 小步放大到 1.3 倍,每步轻轻重画一次,比一步到位更稳。另存一张,文件名以 upscaled 开头。 装了 KJNodes 时,还会把颜色对齐到原图,防止放大后颜色跑偏。",
|
||
"en": "Enlarges to 1.3× in 3 small steps, a light redraw each, steadier than one jump. Saved beside it, prefix upscaled. With KJNodes, its colours are matched to the original, so they don't drift."
|
||
},
|
||
"source": {
|
||
"zh": "参考工作流的「迭代放大」组(作者另加的噪声增强要 ComfyUI Noise,这里没用)",
|
||
"en": "The reference workflow's iterative upscale group (its noise boost needs ComfyUI Noise, left out)"
|
||
},
|
||
"packs": {
|
||
"PixelKSampleUpscalerProvider": "ComfyUI-Impact-Pack",
|
||
"IterativeImageUpscale": "ComfyUI-Impact-Pack"
|
||
},
|
||
"instead": "upscale",
|
||
"upscaler": true,
|
||
"after": "run_workflow saves the picture as before and the 1.3× one beside it (prefix upscaled): 3 steps, each redrawn at denoise 0.3 with the sampler's steps and cfg.",
|
||
"notes": "The source's values: factor 1.32, 3 steps, denoise 0.3, geometric; its noise injection (ComfyUI Noise) is left out. ColorMatch mkl after the redraw is the source's, optional (KJNodes).",
|
||
"extras": {
|
||
"ColorMatch": "ComfyUI-KJNodes"
|
||
},
|
||
"upscale_by": 1.3,
|
||
"nodes": {
|
||
"upscaler": {
|
||
"class_type": "UpscaleModelLoader",
|
||
"inputs": {
|
||
"model_name": "$upscaler"
|
||
}
|
||
},
|
||
"redraw": {
|
||
"class_type": "PixelKSampleUpscalerProvider",
|
||
"like": "$sampler",
|
||
"inputs": {
|
||
"scale_method": "lanczos",
|
||
"model": [
|
||
"$sampler.model",
|
||
"*"
|
||
],
|
||
"vae": [
|
||
"$decode.vae",
|
||
"*"
|
||
],
|
||
"positive": [
|
||
"$sampler.positive",
|
||
"*"
|
||
],
|
||
"negative": [
|
||
"$sampler.negative",
|
||
"*"
|
||
],
|
||
"denoise": 0.3,
|
||
"use_tiled_vae": false,
|
||
"tile_size": 1024,
|
||
"upscale_model_opt": [
|
||
"upscaler",
|
||
0
|
||
]
|
||
}
|
||
},
|
||
"steps": {
|
||
"class_type": "IterativeImageUpscale",
|
||
"inputs": {
|
||
"pixels": [
|
||
"$save.images",
|
||
"*"
|
||
],
|
||
"upscale_factor": 1.3,
|
||
"steps": 3,
|
||
"temp_prefix": "",
|
||
"upscaler": [
|
||
"redraw",
|
||
0
|
||
],
|
||
"vae": [
|
||
"$decode.vae",
|
||
"*"
|
||
],
|
||
"step_mode": "geometric",
|
||
"vae_compression": 8
|
||
}
|
||
},
|
||
"match": {
|
||
"class_type": "ColorMatch",
|
||
"optional": true,
|
||
"inputs": {
|
||
"image_ref": [
|
||
"$save.images",
|
||
"*"
|
||
],
|
||
"image_target": [
|
||
"steps",
|
||
0
|
||
],
|
||
"method": "mkl",
|
||
"strength": 1.0,
|
||
"multithread": true
|
||
}
|
||
},
|
||
"save": {
|
||
"class_type": "SaveImage",
|
||
"inputs": {
|
||
"images": [
|
||
"match|steps",
|
||
0
|
||
],
|
||
"filename_prefix": "upscaled"
|
||
}
|
||
}
|
||
},
|
||
"models": [
|
||
"2x_animesharp_v4",
|
||
"4x_ultrasharp"
|
||
],
|
||
"tested": {
|
||
"gpu": "RTX 4050 Laptop",
|
||
"vram_gb": 6,
|
||
"date": "2026-10-27",
|
||
"runs": [
|
||
{
|
||
"model": "SDXL (Illustrious)",
|
||
"size": "832×1216 → 1.3×",
|
||
"seconds": 157
|
||
}
|
||
]
|
||
}
|
||
}
|