Visit ComfyUI Online for ready-to-use ComfyUI environment
Versatile node for generating and manipulating latent noise for AI art with adjustable parameters and CPU/GPU support.
PrimereLatentNoise is a versatile node designed to generate and manipulate latent noise for AI art generation. This node allows you to create various types of noise patterns, which can be used to introduce randomness and variation into your AI-generated images. By adjusting parameters such as noise type, alpha exponent, modulator, and seed, you can fine-tune the noise characteristics to achieve the desired artistic effect. The node supports both CPU and GPU computation, making it adaptable to different hardware configurations. Additionally, it offers options for incremental seed modes and variation strengths, enabling you to create more complex and dynamic noise patterns. This node is particularly useful for artists looking to add texture, depth, and uniqueness to their AI-generated artworks.
The width parameter specifies the width of the generated noise image. It determines the horizontal dimension of the noise pattern. The value should be a positive integer representing the number of pixels. Adjusting the width can impact the level of detail and scale of the noise pattern.
The height parameter specifies the height of the generated noise image. It determines the vertical dimension of the noise pattern. The value should be a positive integer representing the number of pixels. Adjusting the height can impact the level of detail and scale of the noise pattern.
The rand_noise_type parameter allows you to specify whether the noise type should be chosen randomly. This can add an element of unpredictability to the generated noise, making each run unique. The options are typically boolean values (True or False).
The noise_type parameter defines the type of noise to be generated. Common options include "white" noise and other types that may be supported by the node. The choice of noise type affects the visual characteristics of the generated pattern.
The rand_alpha_exponent parameter determines whether the alpha exponent should be chosen randomly. This can introduce variability in the noise pattern's intensity and distribution. The options are typically boolean values (True or False).
The alpha_exponent parameter controls the power of the frequency components in the noise pattern. It affects the smoothness and granularity of the noise. The value is usually a float, with higher values resulting in smoother noise.
The alpha_exp_rand_min parameter sets the minimum value for the randomly chosen alpha exponent. This is used when rand_alpha_exponent is set to True. It ensures that the alpha exponent stays within a specified range.
The alpha_exp_rand_max parameter sets the maximum value for the randomly chosen alpha exponent. This is used when rand_alpha_exponent is set to True. It ensures that the alpha exponent stays within a specified range.
The rand_modulator parameter determines whether the modulator value should be chosen randomly. This can add variability to the noise pattern's modulation. The options are typically boolean values (True or False).
The modulator parameter controls the modulation of the noise pattern. It affects the amplitude and intensity of the noise. The value is usually a float, with higher values resulting in more pronounced modulation effects.
The modulator_rand_min parameter sets the minimum value for the randomly chosen modulator. This is used when rand_modulator is set to True. It ensures that the modulator stays within a specified range.
The modulator_rand_max parameter sets the maximum value for the randomly chosen modulator. This is used when rand_modulator is set to True. It ensures that the modulator stays within a specified range.
The noise_seed parameter specifies the seed value for the random number generator used to create the noise pattern. Setting a specific seed ensures reproducibility of the noise pattern. The value should be an integer.
The rand_device parameter determines whether the device (CPU or GPU) should be chosen randomly for noise generation. This can add variability to the computation process. The options are typically boolean values (True or False).
The device parameter specifies the hardware device to be used for noise generation. Options typically include "cpu" and "gpu". Choosing the appropriate device can impact the performance and speed of noise generation.
The optional_vae parameter allows you to specify an optional Variational Autoencoder (VAE) to be used in conjunction with the noise generation. This can enhance the quality and characteristics of the generated noise pattern.
The expand_random_limits parameter determines whether the random limits for alpha exponent and modulator should be expanded. This can introduce greater variability in the noise pattern. The options are typically boolean values (True or False).
The fine_variation_strength parameter controls the strength of fine variations in the noise pattern. It affects the subtlety and detail of the noise. The value is usually a float, with higher values resulting in more pronounced fine variations.
The noise_image parameter is the primary output of the PrimereLatentNoise node. It represents the generated noise pattern as a tensor. This noise image can be used as an input for further processing or directly applied to AI-generated artworks to introduce texture and variation. The noise image is typically normalized and formatted for compatibility with other nodes and processes.
ValueError: "noise_type" is invalid.
RuntimeError: CUDA error: device-side assert triggered
TypeError: Expected a tensor of type torch.FloatTensor but got torch.DoubleTensor
IndexError: list index out of range
ValueError: "incremental_seed_mode" is invalid.
© Copyright 2024 RunComfy. All Rights Reserved.