Visit ComfyUI Online for ready-to-use ComfyUI environment
Enhance digital images with realistic film grain effect for classic cinematic feel, offering customization options for artistic flair.
The FilmGrainEffect_v2
node is designed to enhance your images by adding a realistic film grain effect, which can give your digital artwork a classic, cinematic feel. This node is particularly useful for artists looking to replicate the texture and depth of traditional film photography in their digital creations. By simulating the random noise and texture found in film stock, this effect can add a layer of authenticity and artistic flair to your images. The node offers a variety of customization options, allowing you to adjust the intensity and scale of the grain, as well as incorporate temporal variations to simulate the dynamic nature of film grain over time. This flexibility makes it a powerful tool for achieving a wide range of artistic effects, from subtle enhancements to dramatic transformations.
This parameter accepts a batch of images in the form of a torch.Tensor
. It serves as the primary input for the node, providing the digital canvas upon which the film grain effect will be applied. The images should be pre-processed and ready for effect application.
The preset
parameter allows you to select predefined settings for the film grain effect, which can simplify the process of achieving a desired look. This can be particularly useful for users who want to quickly apply a specific style without manually adjusting each parameter.
This parameter is used to input a custom expression that can modify the behavior of the film grain effect. It provides advanced users with the ability to script specific variations or patterns in the grain, offering a high degree of creative control.
The base_intensity
parameter controls the overall strength of the film grain effect. It determines how pronounced the grain will appear on the image, with higher values resulting in more visible grain. The default value is typically set to a moderate level, allowing for both subtle and strong effects.
This parameter influences the temporal variation of the film grain effect, simulating the dynamic changes that occur in real film grain over time. Adjusting the time_scale
can create a more authentic and lively grain effect, especially in animations or sequences.
The noise_scale
parameter adjusts the size and distribution of the grain particles. A higher noise scale results in larger and more dispersed grain, while a lower scale produces finer, more concentrated grain. This parameter is crucial for tailoring the texture of the grain to match specific artistic goals.
The seed
parameter is used to initialize the random number generator that determines the pattern of the film grain. By setting a specific seed, you can ensure that the grain effect is reproducible, which is useful for maintaining consistency across multiple images or projects.
The output of the FilmGrainEffect_v2
node is a torch.Tensor
containing the processed images with the applied film grain effect. This output retains the original dimensions and format of the input images, now enhanced with the desired grain texture. The resulting images can be used directly in your projects or further processed with additional effects.
preset
options to quickly achieve various artistic styles without manually adjusting each parameter.base_intensity
and noise_scale
parameters in tandem to fine-tune the visibility and texture of the grain, ensuring it complements the overall aesthetic of your image.time_scale
to create a dynamic grain effect that evolves over time, adding a layer of realism to your sequences.torch.Tensor
format.torch.Tensor
before inputting them into the node.preset
does not match any of the available options.seed
parameter is set to a value outside the acceptable range.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.