Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > comfyui-diversityboost > Diversity Boost (V3)

ComfyUI Node: Diversity Boost (V3)

Class Name

DiversityBoostCoreV3

Category
sampling
Author
facok (Account age: 1188days)
Extension
comfyui-diversityboost
Latest Updated
2026-04-25
Github Stars
0.03K

How to Install comfyui-diversityboost

Install this extension via the ComfyUI Manager by searching for comfyui-diversityboost
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter comfyui-diversityboost 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

Diversity Boost (V3) Description

Enhances composition diversity in AI-generated art by restoring richness and variety lost during distillation process.

Diversity Boost (V3):

DiversityBoostCoreV3 is a sophisticated node designed to enhance the composition diversity of distilled models, particularly in the realm of AI-generated art. This node operates by implementing a combination of high-frequency (HF) attenuation and discrete cosine transform (DCT) composition push, specifically at the initial step of the process. The primary goal of DiversityBoostCoreV3 is to restore and maintain the richness and variety in compositions that might otherwise be lost during the distillation process of models. By doing so, it ensures that the generated outputs are not only diverse but also maintain a high level of detail and complexity. This node is particularly beneficial for artists and creators who seek to push the boundaries of creativity and achieve unique artistic expressions through AI.

Diversity Boost (V3) Input Parameters:

strength

The strength parameter controls the intensity of the diversity boost applied to the model. A higher value increases the effect, potentially leading to more varied and complex compositions. The default value is 2.0, with a typical range from 0.0 to 5.0, allowing you to fine-tune the diversity level according to your artistic needs.

clamp_val

clamp_val determines the maximum allowable value for the diversity boost effect, effectively capping the intensity to prevent over-saturation or distortion. The default is set at 0.5, with a range from 0.0 to 1.0, ensuring that the output remains within a visually appealing spectrum.

noise_type

This parameter specifies the type of noise to be used in the diversity boosting process. The default option is "pink," which is known for its balanced frequency distribution, but other types may be available depending on the implementation, each offering different aesthetic effects.

dc_preserve

dc_preserve is used to maintain the direct current (DC) component of the image, which can help in preserving the overall brightness and contrast. The default value is 0.0, with a range from 0.0 to 1.0, allowing you to adjust how much of the original image's tonal balance is retained.

energy_compensate

This boolean parameter, when enabled, compensates for energy loss during the diversity boosting process, ensuring that the output maintains a consistent level of brightness and contrast. It is set to False by default.

mode

The mode parameter defines the method used for diversity boosting. The default is "polynomial," which provides a smooth and continuous effect, but other modes like "butterworth" may be available for different artistic outcomes.

hf_factor

hf_factor adjusts the influence of high-frequency components in the diversity boosting process. A higher value increases the prominence of fine details. The default is 1.0, with a range from 0.0 to 2.0.

lf_factor

This parameter controls the impact of low-frequency components, affecting the overall structure and form of the composition. The default value is 0.3, with a range from 0.0 to 1.0.

transition

transition defines the smoothness of the transition between different frequency components. The default is 2.0, with a range from 0.0 to 5.0, allowing for either sharp or gradual transitions.

schedule

The schedule parameter determines the progression of the diversity boost effect over time. The default is "linear," providing a steady increase, but other schedules may be available for varied temporal dynamics.

Diversity Boost (V3) Output Parameters:

modified

The modified output represents the final image or video after the diversity boost has been applied. This output is crucial as it embodies the enhanced diversity and complexity achieved through the node's processing, offering a richer and more varied artistic expression.

Diversity Boost (V3) Usage Tips:

  • Experiment with the strength parameter to find the right balance between diversity and coherence in your compositions.
  • Use clamp_val to prevent over-exaggeration of effects, ensuring that the output remains visually appealing.
  • Try different noise_type settings to explore various artistic styles and textures.
  • Adjust hf_factor and lf_factor to emphasize either fine details or overall structure, depending on your artistic goals.

Diversity Boost (V3) Common Errors and Solutions:

"ValueError: Invalid noise type"

  • Explanation: This error occurs when an unsupported noise type is specified.
  • Solution: Ensure that the noise_type parameter is set to a valid option, such as "pink."

"RuntimeError: Clamp value out of range"

  • Explanation: The clamp_val parameter is set outside the acceptable range.
  • Solution: Adjust clamp_val to be within the range of 0.0 to 1.0.

"TypeError: Unsupported mode"

  • Explanation: The mode parameter is set to an unsupported value.
  • Solution: Verify that the mode is set to a supported option like "polynomial" or "butterworth."

Diversity Boost (V3) Related Nodes

Go back to the extension to check out more related nodes.
comfyui-diversityboost
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.

Diversity Boost (V3)