- 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>
97 lines
2.3 KiB
JSON
97 lines
2.3 KiB
JSON
{
|
||
"job": "upscale",
|
||
"rank": 4,
|
||
"short": "2×, in tiles",
|
||
"title": {
|
||
"zh": "分块放大",
|
||
"en": "Tiled upscale"
|
||
},
|
||
"about": {
|
||
"zh": "放大 2 倍,按 1024 的小块逐块重画,多大的图都放得下,比「放大」慢。 装了 KJNodes 时,还会把颜色对齐到原图,防止放大后颜色跑偏。",
|
||
"en": "2×, redrawn in 1024 tiles, so any size fits; slower than Upscale. With KJNodes, its colours are matched to the original, so they don't drift."
|
||
},
|
||
"source": {
|
||
"zh": "节点包 UltimateSDUpscale 自带的示例",
|
||
"en": "UltimateSDUpscale's own example"
|
||
},
|
||
"packs": {
|
||
"UltimateSDUpscale": "ComfyUI_UltimateSDUpscale"
|
||
},
|
||
"instead": "upscale",
|
||
"upscaler": true,
|
||
"nodes": {
|
||
"upscaler": {
|
||
"class_type": "UpscaleModelLoader",
|
||
"inputs": {
|
||
"model_name": "$upscaler"
|
||
}
|
||
},
|
||
"tiles": {
|
||
"class_type": "UltimateSDUpscale",
|
||
"like": "$sampler",
|
||
"inputs": {
|
||
"image": [
|
||
"$save.images",
|
||
"*"
|
||
],
|
||
"model": [
|
||
"$sampler.model",
|
||
"*"
|
||
],
|
||
"positive": [
|
||
"$sampler.positive",
|
||
"*"
|
||
],
|
||
"negative": [
|
||
"$sampler.negative",
|
||
"*"
|
||
],
|
||
"vae": [
|
||
"$decode.vae",
|
||
"*"
|
||
],
|
||
"upscale_model": [
|
||
"upscaler",
|
||
0
|
||
],
|
||
"upscale_by": 2.0,
|
||
"denoise": 0.3,
|
||
"tile_width": 1024,
|
||
"tile_height": 1024
|
||
}
|
||
},
|
||
"match": {
|
||
"class_type": "ColorMatch",
|
||
"optional": true,
|
||
"inputs": {
|
||
"image_ref": [
|
||
"$save.images",
|
||
"*"
|
||
],
|
||
"image_target": [
|
||
"tiles",
|
||
0
|
||
],
|
||
"method": "mkl",
|
||
"strength": 1.0,
|
||
"multithread": true
|
||
}
|
||
},
|
||
"save": {
|
||
"class_type": "SaveImage",
|
||
"inputs": {
|
||
"images": [
|
||
"match|tiles",
|
||
0
|
||
],
|
||
"filename_prefix": "upscaled"
|
||
}
|
||
}
|
||
},
|
||
"after": "run_workflow saves the picture as before and the 2× one beside it (prefix upscaled); each tile is redrawn with the sampler's steps and cfg at denoise 0.3 (higher adds more detail, and may add seams).",
|
||
"extras": {
|
||
"ColorMatch": "ComfyUI-KJNodes"
|
||
},
|
||
"notes": "ColorMatch mkl after the redraw is the source's, optional (KJNodes)."
|
||
}
|