> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# SD_4XUpscale_Conditioning - ComfyUI Built-in Node Documentation

> The SD4XUpscaleConditioning node prepares conditioning data for upscaling images with diffusion models.

The SD\_4XUpscale\_Conditioning node prepares conditioning data for upscaling images with diffusion models. It scales the input images by a chosen ratio, adds optional noise augmentation, and returns modified positive and negative conditioning together with an empty latent for the upscaled size.

## Inputs

| Parameter | Description | Data Type | Required | Range |
| - | - | - | - | - |
| `images` | Input images to be upscaled. | IMAGE | Yes | - |
| `positive` | Positive conditioning data that guides the generation toward desired content. | CONDITIONING | Yes | - |
| `negative` | Negative conditioning data that steers the generation away from unwanted content. | CONDITIONING | Yes | - |
| `scale_ratio` | Multiplier applied to the input image dimensions when preparing the upscaled conditioning and latent (default: 4.0). | FLOAT | Yes | 0.0 - 10.0 (step 0.01) |
| `noise_augmentation` | Amount of noise to add during the upscaling process (default: 0.0). | FLOAT | Yes | 0.0 - 1.0 (step 0.001) |

Note: `noise_augmentation` is an advanced parameter, shown in the node interface under the "Advanced" toggle.

## Outputs

| Output Name | Description | Data Type |
| - | - | - |
| `positive` | Modified positive conditioning with the scaled image data and noise augmentation settings applied. | CONDITIONING |
| `negative` | Modified negative conditioning with the scaled image data and noise augmentation settings applied. | CONDITIONING |
| `latent` | Empty latent representation matching the upscaled dimensions. | LATENT |

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/SD_4XUpscale_Conditioning/en.md)

***

**Source fingerprint (SHA-256):** `f215e890bd86f42d4da9c6f575fc92e65844e2e2056c5610310d8089e5d61902`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.