An Automatic1111 WebUI extension allowing an offset to be applied to latent noise per-channel before generation.
Latent noise channels in Stable Diffusion don’t directly represent pixel color values, though they may technically relate to RGB or CMYK values. Instead, each channel in the latent space is more conceptually tied to certain features learned in training from such noise or mean values; though they still tend to influence hue. Different models (and different prompts) may respond to offsets on each channel in unique ways, often highlighting or suppressing various conceptual elements, perhaps because they tended to occur in images with higher or lower color means.
Why is this neat?
You can sometimes steer the output toward certain themes or bring out features of your prompt that are hard to directly emphasize. For example Channel 1 often influences how dark, enclosed, or exposed the scene feels, especially if your prompt contains tokens related to those things.
This is not guaranteed to be the same for every model or prompt, but there's a lot of overlap to experiment with.
(The ui in these examples is older but the function is the same. The new UI has a couple check boxes tucked away instead of up front).
Consider the following alien landscape:
-
Channel 1 Very Low
The space becomes warmer, shaded, and more enclosed. -
Channel 1 Very High
The scene instead becomes open, exposed, and brighter.
By tinkering with various channels, you can fine-tune conceptual features, sometimes pushing them beyond what tokens and emphasis alone would accomplish.
- Channel Range: Channels 5 through 8 are not generally used, though supposedly some models can support up to 8. They’re included here for completeness, but will rarely do anything in my experience.
- RNG Intercept: This extension works by intercepting
rng.py’sImageRNG.next()method and adding the requested offsets into the generated noise. Other extensions doing similar intercepts may conflict. - Model/Prompt Sensitivity: Different models and prompts may respond more or less sensitively to channel offsets.
-
Drop Mean After Offset
- Subtracts the final mean value from the noise after all offsets have been applied, effectively “centering” the output.
- This often brings the composition somewhat closer to the original while maintaining the relative weight of each channel.
- It can also reduce the intensity of the offsets, since extreme positive/negative values are often pulled back toward zero.
-
Save Meta
- If enabled, stores the offset values in the generated image’s metadata (
infotext). - This is recommended, as it lets you load settings from the image later.
- If enabled, stores the offset values in the generated image’s metadata (
These samples use the SDXL model “quadpipe”:
quadpipe on civitai
- Drop Mean Before Offset
- Subtracts the mean of the noise before applying any offsets, centering it early.
- Drop Channel Means Before Offset
- Subtracts the mean of each channel separately before offsets are applied.
These two options can help keep offset changes in a more “healthy” range by reducing extremes in the noise. The overall effect is usually quite subtle, so feel free to ignore them if you don’t want to overcomplicate things.
- Apply Only to First Step
- By default, only the first noise sample has offset applied. Some samplers (e.g. Euler) gather noise every step.
- If you disable this, offsets will be applied every time noise is injected, making the offsets more pronounced for samplers that apply them more than once.
- For samplers that only ever gather noise once, this won’t make a difference.
Below is a grid example from one model/prompt, adjusting each channel in increments of 0.1:
By mixing and matching these offsets across channels, we can fine-tune lighting and color influences. Here’s a quick demonstration with the same settings as above, but with various channel offsets used like a color filter or stylistic adjustment:

