ComfyUI > Nodes > ComfyUI-LG_SamplingUtils > 🎈LG Noise Injection

ComfyUI Node: 🎈LG Noise Injection

Class Name

LGNoiseInjection

Category
advanced/model
Author
LAOGOU-666 (Account age: 656days)
Extension
ComfyUI-LG_SamplingUtils
Latest Updated
2025-12-24
Github Stars
0.14K

How to Install ComfyUI-LG_SamplingUtils

Install this extension via the ComfyUI Manager by searching for ComfyUI-LG_SamplingUtils
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-LG_SamplingUtils in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

🎈LG Noise Injection Description

Enhances images by blending features from a reference image using CFG for artistic detail.

🎈LG Noise Injection:

The LGNoiseInjection node is designed to enhance the creative process by injecting specific features from a reference image into a generated image using a CFG (Classifier-Free Guidance) mechanism. This allows the generated image to "learn" and incorporate certain characteristics of the reference image, such as textures, surface details like water droplets, or material qualities. The primary goal of this node is to provide artists with a tool to seamlessly blend desired features from one image into another, enhancing the visual richness and detail of the output. By leveraging latent features, the node ensures that the integration of these characteristics is both subtle and effective, allowing for a more controlled and artistic expression in image generation.

🎈LG Noise Injection Input Parameters:

model

The model parameter specifies the model to be used for the noise injection process. It is crucial as it determines the underlying architecture and capabilities that will be applied to the image generation task. The model acts as the foundation upon which the reference features are injected, influencing the overall quality and style of the output.

reference_latent

The reference_latent parameter is a latent representation of the reference image containing the features you wish to inject into the generated image. This parameter is essential as it serves as the source of the characteristics to be transferred, such as textures or surface details. The latent format allows for a more nuanced and detailed feature extraction, ensuring that the injected features are well-integrated into the final image.

strength

The strength parameter controls the intensity of the feature injection, with a default value of 0.15. It ranges from 0.0 to 1.0, where lower values result in a subtle influence and higher values lead to a more pronounced effect. This parameter allows you to fine-tune the degree to which the reference features impact the generated image, providing flexibility in achieving the desired artistic effect.

🎈LG Noise Injection Output Parameters:

injected_image

The injected_image is the primary output of the LGNoiseInjection node, representing the generated image with the injected features from the reference latent. This output is crucial as it embodies the successful integration of desired characteristics, such as textures or surface details, into the generated image. The quality and effectiveness of the feature injection are reflected in this output, making it a key component in evaluating the node's performance.

🎈LG Noise Injection Usage Tips:

  • Experiment with different strength values to achieve the desired level of feature integration. Start with a lower value for subtle effects and gradually increase it for more noticeable changes.
  • Use high-quality reference images with distinct features to ensure that the injected characteristics are clear and enhance the generated image effectively.
  • Consider the compatibility of the reference image's features with the generated image's style to maintain a cohesive and aesthetically pleasing result.

🎈LG Noise Injection Common Errors and Solutions:

Mismatched Tensor Dimensions

  • Explanation: This error occurs when the dimensions of the reference latent do not match those of the generated image's latent space.
  • Solution: Ensure that the reference latent is properly resized or interpolated to match the dimensions of the generated image's latent space before injection.

Invalid Strength Value

  • Explanation: This error arises when the strength parameter is set outside the allowed range of 0.0 to 1.0.
  • Solution: Adjust the strength parameter to fall within the valid range, ensuring it is neither negative nor exceeds 1.0.

Missing Reference Latent

  • Explanation: This error occurs when the reference_latent parameter is not provided, preventing the node from performing feature injection.
  • Solution: Provide a valid reference latent that contains the features you wish to inject into the generated image.

🎈LG Noise Injection Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-LG_SamplingUtils
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.