- tags_from_picture: WD14 tagger (the source's model and thresholds) on a picture the user handed; run_status now carries what nodes showed as words (texts: a tagger's tags), with a summary and next step for a run that made words but no pictures. - Optional nodes: a block node marked optional goes when its pack is missing, and a link "match|decode" takes the first one there. The four upscales end in KJNodes' ColorMatch (mkl, the source's) when it is installed; the panel says "better with" it otherwise. - LanPaint's next step keeps the prompt about the whole picture; Follow a pose says OpenPose misreads anime (use control_depth), as the source's author did. - The directory has a size cap: past it, block names alone, so collected ways never make begin_task long; shorter headings and few-word lines. Live-tested on the isolated 8199 ComfyUI: LanPaint (area changed 14.6, outside 0.0, 82 s), tiled 2x (167 s), depth ControlNet (follows the layout), OpenPose (misreads an anime picture), background removal (8 s), tags (166 s with the model download), upscale with ColorMatch (73 s). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
116 lines
3.1 KiB
JSON
116 lines
3.1 KiB
JSON
{
|
||
"job": "upscale",
|
||
"rank": 2,
|
||
"short": "1.3× in 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,
|
||
"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"
|
||
}
|
||
}
|
||
},
|
||
"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"
|
||
}
|
||
}
|