Files
DemonGatanjieu-Anomalous_Mo…/api/blocks/upscale_iterative.json
T
DemonGatanjieuandClaude Opus 5.5 ba1d124fc1 Tile-held upscale, line drawing colouring, union types, a second look for new models
- 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>
2026-10-27 16:55:35 +08:00

117 lines
3.1 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"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,
"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"
}
}
}
}