ComfyUI > Nodes > ComfyUI Easy Use > PreSampling (LayerDiffuse ADDTL)

ComfyUI Node: PreSampling (LayerDiffuse ADDTL)

Class Name

easy preSamplingLayerDiffusionADDTL

Category
EasyUse/PreSampling
Author
yolain (Account age: 1341days)
Extension
ComfyUI Easy Use
Latest Updated
2024-06-25
Github Stars
0.51K

How to Install ComfyUI Easy Use

Install this extension via the ComfyUI Manager by searching for ComfyUI Easy Use
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI Easy Use 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
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

PreSampling (LayerDiffuse ADDTL) Description

Facilitates pre-sampling with advanced layer diffusion for refined AI art generation.

PreSampling (LayerDiffuse ADDTL):

The easy preSamplingLayerDiffusionADDTL node is designed to facilitate the pre-sampling process in AI art generation by leveraging advanced layer diffusion techniques. This node allows you to apply specific layer diffusion methods to your pipeline, enhancing the quality and detail of the generated images. By integrating this node, you can achieve more refined and controlled diffusion effects, which are particularly useful for creating complex and visually appealing artworks. The node supports various diffusion methods and provides flexibility in adjusting parameters such as weight, steps, and denoise levels, making it a powerful tool for AI artists looking to optimize their creative workflows.

PreSampling (LayerDiffuse ADDTL) Input Parameters:

pipe

This parameter represents the pipeline to which the layer diffusion method will be applied. It is a required input and ensures that the node integrates seamlessly with the existing workflow.

method

This parameter specifies the layer diffusion method to be used. Options include FG_ONLY_ATTN, FG_ONLY_CONV, EVERYTHING, FG_TO_BLEND, and BG_TO_BLEND. Each method offers a different approach to layer diffusion, allowing you to choose the one that best suits your artistic needs.

weight

This parameter controls the intensity of the layer diffusion effect. It is a floating-point value with a default of 1.0, a minimum of -1, and a maximum of 3, adjustable in steps of 0.05. Adjusting the weight can significantly impact the final output, making it either more subtle or more pronounced.

steps

This parameter defines the number of steps to be taken during the diffusion process. It is an integer value with a default of 20, a minimum of 1, and a maximum value that is not specified in the context. More steps generally result in finer details but may increase processing time.

cfg

This parameter is used to configure additional settings for the diffusion process. The exact nature of these settings is not detailed in the context, but it typically includes parameters that further refine the diffusion effect.

sampler_name

This parameter specifies the name of the sampler to be used. It defaults to euler and includes other options available in comfy.samplers.KSampler.SAMPLERS. The choice of sampler can affect the quality and style of the generated images.

scheduler

This parameter determines the scheduling method for the diffusion process. It defaults to normal and includes options from comfy.samplers.KSampler.SCHEDULERS plus any new schedulers added. The scheduler can influence the timing and progression of the diffusion steps.

denoise

This parameter controls the level of denoising applied during the diffusion process. It is a floating-point value with a default of 1.0, a minimum of 0.0, and a maximum of 1.0, adjustable in steps of 0.01. Proper denoising can enhance the clarity and quality of the final image.

seed

This parameter sets the seed for random number generation, ensuring reproducibility of results. It is an integer value with a default of 0 and a minimum of 0. The maximum value is defined by MAX_SEED_NUM, which is not specified in the context.

image (optional)

This optional parameter allows you to provide an initial image to be used in the diffusion process. It can help guide the diffusion and influence the final output.

blended_image (optional)

This optional parameter allows you to provide a blended image that can be used in conjunction with the initial image to create more complex diffusion effects.

mask (optional)

This optional parameter allows you to provide a mask that can control which parts of the image are affected by the diffusion process. It offers additional control over the final output.

prompt (hidden)

This hidden parameter is used to provide a textual prompt that can influence the diffusion process. It is not intended to be modified directly by the user.

extra_pnginfo (hidden)

This hidden parameter is used to store additional metadata in the output image. It is not intended to be modified directly by the user.

my_unique_id (hidden)

This hidden parameter is used to uniquely identify the pipeline instance. It is not intended to be modified directly by the user.

PreSampling (LayerDiffuse ADDTL) Output Parameters:

pipe

This output parameter returns the modified pipeline after applying the layer diffusion method. It allows you to continue using the pipeline in subsequent nodes or processes, ensuring a seamless workflow.

PreSampling (LayerDiffuse ADDTL) Usage Tips:

  • Experiment with different layer diffusion methods to find the one that best suits your artistic vision.
  • Adjust the weight parameter to control the intensity of the diffusion effect, making it either more subtle or more pronounced.
  • Use the steps parameter to balance between finer details and processing time, increasing steps for more detailed results.
  • Utilize the optional image and blended_image parameters to guide the diffusion process and create more complex effects.
  • Ensure reproducibility by setting a specific seed value, allowing you to recreate the same results in future runs.

PreSampling (LayerDiffuse ADDTL) Common Errors and Solutions:

Only SDXL and SD1.5 model supported for Layer Diffusion

  • Explanation: This error occurs when an unsupported model version is used with the layer diffusion method.
  • Solution: Ensure that you are using either the SDXL or SD1.5 model for the layer diffusion process.

Invalid layer diffusion method

  • Explanation: This error occurs when an invalid or unsupported layer diffusion method is specified.
  • Solution: Verify that the method parameter is set to one of the supported options: FG_ONLY_ATTN, FG_ONLY_CONV, EVERYTHING, FG_TO_BLEND, or BG_TO_BLEND.

Weight parameter out of range

  • Explanation: This error occurs when the weight parameter is set outside the allowed range.
  • Solution: Ensure that the weight parameter is within the range of -1 to 3, and adjust it in steps of 0.05 as needed.

Steps parameter out of range

  • Explanation: This error occurs when the steps parameter is set to a value less than the minimum allowed.
  • Solution: Ensure that the steps parameter is set to an integer value of at least 1.

PreSampling (LayerDiffuse ADDTL) Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI Easy Use
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.