This extension provides various nodes to support Lora Block Weight and the Impact Pack. Provides many easily applicable regional features and applications for Variation Seed.
This repository offers various extension nodes for ComfyUI. Nodes here have different characteristics compared to those in the ComfyUI Impact Pack. The Impact Pack has become too large now...
MediaPipeFaceMeshDetectorProvider
update to latest version(Sep. 17th).LoRA Loader (Block Weight)
: When loading Lora, the block weight vector is applied.
XY Input: LoRA Block Weight
: This is a node in the Efficiency Nodes' XY Plot that allows you to use Lora block weight.
Efficient Nodes
to a version released after September 3rd.OpenPose Preprocessor Provider (SEGS)
: OpenPose preprocessor is applied for the purpose of using OpenPose ControlNet in SEGS.
Canny Preprocessor Provider (SEGS)
: Canny preprocessor is applied for the purpose of using Canny ControlNet in SEGS.DW Preprocessor Provider (SEGS)
, MiDaS Depth Map Preprocessor Provider (SEGS)
, LeReS Depth Map Preprocessor Provider (SEGS)
,
MediaPipe FaceMesh Preprocessor Provider (SEGS)
, HED Preprocessor Provider (SEGS)
, Fake Scribble Preprocessor (SEGS)
,
AnimeLineArt Preprocessor Provider (SEGS)
, Manga2Anime LineArt Preprocessor Provider (SEGS)
, LineArt Preprocessor Provider (SEGS)
,
Color Preprocessor Provider (SEGS)
, Inpaint Preprocessor Provider (SEGS)
, Tile Preprocessor Provider (SEGS)
, MeshGraphormer Depth Map Preprocessor Provider (SEGS)
MediaPipeFaceMeshDetectorProvider
: This node provides BBOX_DETECTOR
and SEGM_DETECTOR
that can be used in Impact Pack's Detector using the MediaPipe-FaceMesh Preprocessor
of ControlNet Auxiliary Preprocessors.KSampler (Inspire)
: ComfyUI uses the CPU for generating random noise, while A1111 uses the GPU. One of the three factors that significantly impact reproducing A1111's results in ComfyUI can be addressed using KSampler (Inspire)
.
KSamplerAdvanced (Inspire)
: Inspire Pack version of KSampler (Advanced)
.RandomNoise (inspire)
: Inspire Pack version of RandomNoise
.batch_seed_mode
determines how seeds are applied to batch latents:
comfy
: This method applies the noise to batch latents all at once. This is advantageous to prevent duplicate images from being generated due to seed duplication when creating images.incremental
: Similar to the A1111 case, this method incrementally increases the seed and applies noise sequentially for each batch. This approach is beneficial for straightforward reproduction using only the seed.variation_strength
: In each batch, the variation strength starts from the set variation_strength
and increases by xxx
.variation_seed
and variation_strength
- Initial noise generated by the seed is transformed to the shape of variation_seed
by variation_strength
. If variation_strength
is 0, it only relies on the influence of the seed, and if variation_strength
is 1.0, it is solely influenced by variation_seed
.
KSampler Progress (Inspire)
- In KSampler, the sampling process generates latent batches. By using Video Combine
node from ComfyUI-VideoHelperSuite, you can create a video from the progress.Scheduled CFGGuider (Inspire)
- This is a CFGGuider that adjusts the schedule from from_cfg to to_cfg using linear, log, and exp methods.Scheduled PerpNeg CFGGuider (Inspire)
- This is a PerpNeg CFGGuider that adjusts the schedule from from_cfg to to_cfg using linear, log, and exp methods.Load Prompts From Dir (Inspire)
: It sequentially reads prompts files from the specified directory. The output it returns is ZIPPED_PROMPT.
ComfyUI-Inspire-Pack/prompts/
---
.prompts/example
Load Prompts From File (Inspire)
: It sequentially reads prompts from the specified file. The output it returns is ZIPPED_PROMPT.
ComfyUI-Inspire-Pack/prompts/
prompts/example/prompt2.txt
Load Single Prompt From File (Inspire)
: Loads a single prompt from a file containing multiple prompts by using an index.inspire_prompts
in extra_model_paths.yaml
Unzip Prompt (Inspire)
: Separate ZIPPED_PROMPT into positive
, negative
, and name components.
positive
and negative
represent text prompts, while name
represents the name of the prompt. When loaded from a file using Load Prompts From File (Inspire)
, the name corresponds to the file name.Zip Prompt (Inspire)
: Create ZIPPED_PROMPT from positive, negative, and name_opt.
Prompt Extractor (Inspire)
: This node reads prompt information from the image's metadata. Since it retrieves all the text, you need to directly specify the prompts to be used for positive
and negative
as indicated in the info.Global Seed (Inspire)
: This is a node that controls the global seed without a separate connection line. It only controls when the widget's name is 'seed' or 'noise_seed'. Additionally, if 'control_before_generate' is checked, it controls the seed before executing the prompt.
Global Sampler (Inspire)
: This node is similar to GlobalSeed and can simultaneously set the sampler_name and scheduler for all nodes in the workflow.
GlobalSampler
is muted.sampler_name
and scheduler
have been converted to input and connected to Primitive node, it will not apply only to the converted widget. The widget that has not been converted to input will still be affected.Bind [ImageList, PromptList] (Inspire)
: Bind Image list and zipped prompt list to export image
, positive
, negative
, and prompt_label
in a list format. If there are more prompts than images, the excess prompts are ignored, and if there are not enough, the remainder is filled with default input based on the images.Wildcard Encode (Inspire)
: The combination node of ImpactWildcardEncode and BlenderNeko's CLIP Text Encode (Advanced).
ImpactWildcardEncode
, but it encodes using CLIP Text Encode (Advanced)
instead of the default CLIP Text Encode from ComfyUI for CLIP Text Encode.Prompt Builder (Inspire)
: This node is a convenience node that allows you to easily assemble prompts by selecting categories and presets. To modify the presets, edit the ComfyUI-InspirePack/resources/prompt-builder.yaml
file.Seed Explorer (Inspire)
: This node helps explore seeds by allowing you to adjust the variation seed gradually in a prompt-like form.
seed_prompt
, the first seed is considered the initial seed, and the reflection rate is omitted, always defaulting to 1.0.seed:strength
.additional_seed:additional_strength
to the prompt.Composite Noise (Inspire)
: This node overwrites a specific area on top of the destination noise with the source noise.Random Generator for List (Inspire)
: When connecting the list output to the signal input, this node generates random values for all items in the list.Make Basic Pipe (Inspire)
: This is a node that creates a BASIC_PIPE using Wildcard Encode. The Add select to
determines whether the selected item from the Select to...
combo will be input as positive wildcard text or negative wildcard text.Remove ControlNet (Inspire)
, Remove ControlNet [RegionalPrompts] (Inspire)
: Remove ControlNet from CONDITIONING or REGIONAL_PROMPTS.
Remove ControlNet [RegionalPrompts] (Inspire)
requires Impact Pack V4.73.1 or above.Impact Pack
.
Regional Prompt Simple (Inspire)
: This node takes mask
and basic_pipe
as inputs and simplifies the creation of REGIONAL_PROMPTS
.Regional Prompt By Color Mask (Inspire)
: Similar to Regional Prompt Simple (Inspire)
, this function accepts a color mask image as input and defines the region using the color value that will be used as the mask, instead of directly receiving the mask.
Conditioning (Set Mask)
.
Regional Conditioning Simple (Inspire)
Regional Conditioning By Color Mask (Inspire)
ComfyUI IPAdapter Plus
custom nodes.
Regional IPAdapter Mask (Inspire)
, Regional IPAdapter By Color Mask (Inspire)
Regional IPAdapter Encoded Mask (Inspire)
, Regional IPAdapter Encoded By Color Mask (Inspire)
: accept embeds
instead of image
Regional Seed Explorer By Mask (Inspire)
Regional Seed Explorer By Color Mask (Inspire)
Regional CFG (Inspire)
- By applying a mask as a multiplier to the configured cfg, it allows different areas to have different cfg settings.Color Mask To Depth Mask (Inspire)
- Convert the color map from the spec text into a mask with depth values ranging from 0.0 to 1.0.
Load Image Batch From Dir (Inspire)
: This is almost same as LoadImagesFromDirectory
of ComfyUI-Advanced-Controlnet. This is just a modified version. Just note that this node forcibly normalizes the size of the loaded image to match the size of the first image, even if they are not the same size, to create a batch image.Load Image List From Dir (Inspire)
: This is almost same as Load Image Batch From Dir (Inspire)
. However, note that this node loads data in a list format, not as a batch, so it returns images at their original size without normalizing the size.Load Image (Inspire)
: This node is similar to LoadImage, but the loaded image information is stored in the workflow. The image itself is stored in the workflow, making it easier to reproduce image generation on other computers.Change Image Batch Size (Inspire)
: Change Image Batch Size
simple
: if the batch_size
is larger than the batch size of the input image, the last frame will be duplicated. If it is smaller, it will be simply cropped.Change Latent Batch Size (Inspire)
: Change Latent Batch SizeImageBatchSplitter //Inspire
, LatentBatchSplitter //Inspire
: The script divides a batch of images/latents into individual images/latents, each with a quantity equal to the specified split_count
. An additional output slot is added for each split_count
. If the number of images/latents exceeds the split_count
, the remaining ones are returned as the "remained" output.Color Map To Masks (Inspire)
: From the color_map, it extracts the top max_count number of colors and creates masks. min_pixels represents the minimum number of pixels for each color.Select Nth Mask (Inspire)
: Extracts the nth mask from the mask batch.Cache Backend Data (Inspire)
: Stores any backend data in the cache using a string key. Tags are for quick reference.Retrieve Backend Data (Inspire)
: Retrieves cached backend data using a string key.Remove Backend Data (Inspire)
: Removes cached backend data.
signal_opt
is used to control the order of execution for this node; it will still run without a signal_opt
input.Show Cached Info (Inspire)
: Displays information about cached data.
cache_settings.json
.Show Cached Info (Inspire)
node. For example: ckpt: 10
.Cache Backend Data [NumberKey] (Inspire)
, Retrieve Backend Data [NumberKey] (Inspire)
, Remove Backend Data [NumberKey] (Inspire)
: These nodes are provided for convenience in the automation process, allowing the use of numbers as keys.Cache Backend Data List (Inspire)
, Cache Backend Data List [NumberKey] (Inspire)
: This node allows list input for backend cache. Conversely, nodes like Cache Backend Data [NumberKey] (Inspire)
that do not accept list input will attempt to cache redundantly and overwrite existing data if provided with a list input. Therefore, it is necessary to use a unique key for each element to prevent this. This node caches the combined list. When retrieving cached backend data through this node, the output is in the form of a list.Shared Checkpoint Loader (Inspire)
: When loading a checkpoint through this loader, it is automatically cached in the backend cache. Additionally, if it is already cached, it retrieves it from the cache instead of loading it anew.
key_opt
is empty, the ckpt_name
is set as the cache key. The cache key output can be used for deletion purposes with Remove Back End.Stable Cascade Checkpoint Loader (Inspire)
: This node provides a feature that allows you to load the stage_b
and stage_c
checkpoints of Stable Cascade at once, and it also provides a backend caching feature, optionally.Is Cached (Inspire)
: Returns whether the cache exists.Concat Conditionings with Multiplier (Inspire)
: Concatenating an arbitrary number of Conditionings while applying a multiplier for each Conditioning. The multiplier depends on comfy_PoP
, so comfy_PoP must be installed.Conditioning Upscale (Inspire)
: When upscaling an image, it helps to expand the conditioning area according to the upscale factor. Taken from ComfyUI_Dave_CustomNodeConditioning Stretch (Inspire)
: When upscaling an image, it helps to expand the conditioning area by specifying the original resolution and the new resolution to be applied. Taken from ComfyUI_Dave_CustomNodeIPAdapter Model Helper (Inspire)
: This provides presets that allow for easy loading of the IPAdapter related models. However, it is essential for the model's name to be accurate.
Float Range (Inspire)
: Create a float list that increases the value by step
from start
to stop
. A list as large as the maximum limit is created, and when ensure_end
is enabled, the last value of the list becomes the stop value.Worklist To Item List (Inspire)
: The list in ComfyUI allows for repeated execution of a sub-workflow. This groups these repetitions (a.k.a. list) into a single ITEM_LIST output. ITEM_LIST can then be used in ForeachList.â–¶Foreach List (Inspire)
: A starting node for performing iterative tasks by retrieving items one by one from the ITEM_LIST.\nGenerate a new intermediate_output using item and intermediate_output as inputs, then connect it to ForeachListEnd.\nNOTE:If initial_input is omitted, the first item in item_list is used as the initial value, and the processing starts from the second item in item_list.Foreach Listâ—€ (Inspire)
: A end node for performing iterative tasks by retrieving items one by one from the ITEM_LIST.\nNOTE:Directly connect the outputs of ForeachListBegin to 'flow_control' and 'remained_list'.ToIPAdapterPipe (Inspire)
, FromIPAdapterPipe (Inspire)
: These nodes assists in conveniently using the bundled ipadapter_model, clip_vision, and model required for applying IPAdapter.List Counter (Inspire)
: When each item in the list traverses through this node, it increments a counter by one, generating an integer value.RGB Hex To HSV (Inspire)
: Convert an RGB hex string like #FFD500
to HSV:ComfyUI/ComfyUI - A powerful and modular stable diffusion GUI.
ComfyUI/sd-webui-lora-block-weight - The original idea for LoraBlockWeight came from here, and it is based on the syntax of this extension.
jags111/efficiency-nodes-comfyui - The XY Input
provided by the Inspire Pack supports the XY Plot
of this node.
Fannovel16/comfyui_controlnet_aux - The wrapper for the controlnet preprocessor in the Inspire Pack depends on these nodes.
Kosinkadink/ComfyUI-Advanced-Controlnet - Load Images From Dir (Inspire)
code is came from here.
Trung0246/ComfyUI-0246 - Nice bypass hack!
cubiq/ComfyUI_IPAdapter_plus - IPAdapter related nodes depend on this extension.
Davemane42/ComfyUI_Dave_CustomNode - Original author of ConditioningStretch, ConditioningUpscale
BlenderNeko/ComfyUI_Noise - slerp code for noise variation
BadCafeCode/execution-inversion-demo-comfyui - reference loop implementation for ComfyUI