- upscale_tile: the 1.25x upscale with a tile ControlNet holding the redraw (the source's 0.6 to 80%), so it can redraw at 0.5; NoobAI's tile model for NoobAI/Illustrious, the union one for SDXL, Anima's tile-repair LLLite on Anima (slow on a 6 GB card, the AI is told to say so). - color_lineart: a line drawing, inverted to white on black, steers a lineart ControlNet; its lines are left as a preview. - A union ControlNet gets SetUnionControlNetType for what it follows. ControlNets not scanned yet take their base from their folder or name. - MissingModel: a block's model not in ComfyUI's lists makes add_nodes read them anew once (a model just downloaded into a subfolder), then try again. - The upscales prefer the least enlarging model that reaches their size. Live on the isolated 8199 ComfyUI: NoobAI tile upscale 77 s, Anima tile 710 s, lineart colouring 34 s (the union model found after the lists were read anew). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
98 lines
2.4 KiB
JSON
98 lines
2.4 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,
|
||
"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).",
|
||
"upscale_by": 2.0,
|
||
"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"
|
||
}
|
||
}
|
||
}
|
||
}
|