ComfyUI Node
Context-Anchored Tile Refine
A ComfyUI node in image/upscaling with 11 inputs and 1 output.
Context-Anchored Tile Refine
- image
- guider
- sampler
- sigmas
- vae
- noise
- mask
- IMAGE
◄max_tile_width1024►
◄max_tile_height1024►
◄context_anchor32►
◄context_overlap32►
Categoryimage/upscaling
Inputs (11)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | The image to refine. Upscale it before this node. | |
| guider | GUIDER | The guider that denoises each tile. | |
| sampler | SAMPLER | The sampler used to denoise each tile. | |
| sigmas | SIGMAS | The sigma schedule used when sampling each tile. | |
| vae | VAE | The VAE that encodes and decodes each tile. | |
| noise | NOISE | Noise is drawn once for the entire image and then sliced for each tile. | |
| max_tile_width | INT | 1024256–16384 | Hard cap on the width the model ever sees per sampled crop, including the context_overlap and context_anchor rings. Set to the largest width the model supports. |
| max_tile_height | INT | 1024256–16384 | Hard cap on the height the model ever sees per sampled crop, including the context_overlap and context_anchor rings. Set to the largest height the model supports. |
| context_anchor | INT | 320–512 | Pixels around each tile that are frozen and shown to the model as context, then cropped away. With a mask it is also the frozen background the region is refined against, so keep it above 0. |
| context_overlap | INT | 320–512 | Overlapped context that is diffused from both sides and then blended. It anchors the tiles to each other, like context_anchor anchors each tile to its surroundings. |
| maskopt | MASK | Only the masked region is refined and the rest is left untouched. Feed an inverted mask for a second pass. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |