Visit ComfyUI Online for ready-to-use ComfyUI environment
Simulate classic film grain effect for authentic, textured images with customizable parameters.
The FilmGrainEffect
node is designed to simulate the classic film grain effect, adding a layer of authenticity and texture to digital images. This effect is particularly beneficial for artists looking to recreate the nostalgic feel of analog film photography or to add a gritty, textured look to their digital artwork. By introducing controlled noise and grain patterns, the node enhances the visual depth and character of images, making them appear more dynamic and less sterile. The node's primary function is to apply a film grain effect using a set of customizable parameters that allow you to fine-tune the intensity and style of the grain, ensuring that the final output aligns with your artistic vision.
This parameter represents the batch of images to which the film grain effect will be applied. It is essential as it serves as the base upon which all subsequent effects are layered.
The preset
parameter allows you to select predefined settings for the film grain effect, providing a quick way to apply a specific style or intensity of grain without manually adjusting all parameters. This can be particularly useful for achieving consistent results across multiple images.
base_intensity
controls the overall strength of the film grain effect. A higher value results in more pronounced grain, while a lower value produces a subtler effect. The default value is typically set to provide a balanced grain effect, but it can be adjusted to suit your artistic needs.
This parameter affects the temporal variation of the grain effect, simulating the dynamic nature of film grain over time. Adjusting the time_scale
can create a more organic and less uniform appearance, enhancing the realism of the effect.
noise_scale
determines the size and distribution of the noise particles that make up the film grain. A larger scale results in coarser grain, while a smaller scale produces finer grain. This parameter allows you to customize the texture of the grain to match the desired aesthetic.
The seed
parameter is used to initialize the random number generator that creates the noise pattern for the film grain. By setting a specific seed value, you can ensure that the grain effect is reproducible, which is useful for maintaining consistency across different runs or projects.
The output is a batch of images with the film grain effect applied. This output retains the original image dimensions and color information, with the added texture and depth provided by the grain effect. The resulting images have a more organic and visually appealing quality, suitable for artistic projects that require a vintage or textured look.
preset
values to quickly achieve various styles of film grain without manually adjusting each parameter.base_intensity
and noise_scale
parameters in tandem to fine-tune the texture and visibility of the grain, ensuring it complements rather than overwhelms the original image.seed
value if you need to reproduce the exact same grain effect across multiple images or sessions.torch.Tensor
and that they have the correct dimensions and data type.preset
value does not match any available presets.seed
value provided is outside the acceptable range for the random number generator.RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.