Skip to content
Node packVerifiedExternal
Open source

ComfyUI-utils-nodes

This repo contains some useful tools, especially for improving speed.

Maintainer@zhangp365Bgrade

Package profile

Status
Verified
Publisher
@zhangp365
Source
GitHub
Stars
140

README

Some Utils for ComfyUI

Notice: The face detection node depends on TensorFlow 2.17, which is now outdated and may cause compatibility issues. Therefore, it is no longer installed by default. If you need to use this node, please install it manually. Users who have previously installed this library are not affected.

LoadImageWithSwitch

Modified the official LoadImage node by adding a switch. When turned off, it will not load the image.

LoadImageMaskWithSwitch

Modified the official LoadImageMask node by adding a switch. When turned off, it will not load the image to mask.

LoadImageWithoutListDir

When there are a lot of images in the input directory, loading image with os.listdir can be slow. This node avoids using os.listdir to improve performance.

LoadImageMaskWithoutListDir

When there are a lot of images in the input directory, loading image as Mask with os.listdir can be slow. This node avoids using os.listdir to improve performance.

ImageCompositeMaskedWithSwitch

Modified the official ImageCompositeMasked node by adding a switch. When turned off, it will return the destination image directly.

ImageCompositeMaskedOneByOne

Modified the official ImageCompositeMasked node to process images one by one, instead of processing an entire batch at once. In video scenarios, processing in a batch may require a significant amount of memory, but this method helps reduce memory usage.

ImageBatchOneOrMore

This node can input one or more images, the limit is six. It expands the functionality of the official ImageBatch node from two to multiple images.

ImageConcatenateOfUtils

This node, ImageConcatenateOfUtils, is an extension of the original ImageConcatenate node developed by @kijai.

Features

  • Upscale: This extension adds the capability to upscale images.
  • Check: Additional functionality for checking the second image empty or not.

Original node

The original ImageConcatenate node can be found here. Special thanks to @kijai for their contribution to the initial version.

ColorCorrectOfUtils

This node, ColorCorrectOfUtils, is an extension of the original ColorCorrect node developed by @EllangoK. Added the channels of red, green, and blue adjustment functionalities.

ImagesConcanateToGrid

This node is designed to concatenate the input one batch images to a grid. It can concatenate images in the horizontal or vertical direction.

VolcanoOutpainting

This node is designed to outpaint the input image using the Volcano engine. To use this node, you must get your free API key from Volcano engine:

  • Visit Volcano engine
  • Log in with your Volcano engine account
  • Click on "访问控制" or go to settings
  • Create a new API key
  • Copy the API key for use in the node's input

VolcanoImageEdit

This node is designed to edit the input image using the Volcano engine.

VolcanoArkImageEdit

This node is designed to edit images using the volcano Ark API, supporting multiple input images and various image sizes and aspect ratios.

ModifyTextGender

This node adjusts the text to describe the gender based on the input. If the gender input is 'M', the text will be adjusted to describe as male; if the gender input is 'F', it will be adjusted to describe as female.

GeminiPromptEnhance

This node is designed to enhance the text description of the image, using the latest Gemini 2.0 flash model. It can add quality descriptors, lighting descriptions, scene descriptions, and skin descriptions to the text. and according to the gender input, can modify the content about gender.

To use this node, you must get your free API key from Google AI Studio:

Nodes in this pack

63 nodes
  • AspectRatioSizeNodeOfUtils
  • BooleanControlOutput
  • CheckpointLoaderSimpleWithSwitch
  • ColorCorrectOfUtils
  • ConcatTextOfUtils
  • CropByMaskToSpecificSize
  • DeepfaceAnalyzeFaceAttributes
  • DetectorForNSFW
  • EmptyConditioning
  • FalFunControlVideoRequestNode
  • FalImage2VideoRequestNode
  • FalNanoBananaNode
  • FalVideo2VideoRequestNode
  • FloatMultipleAddLiteral
  • FrameAdjuster
  • GeminiPromptEnhance
  • GenderControlOutput
  • ImageAutoSelector
  • ImageBatchOneOrMore
  • ImageCompositeMaskedOneByOne
  • ImageCompositeMaskedWithSwitch
  • ImageCompositeWatermark
  • ImageConcanateOfUtils
  • ImageMaskColorAverage
  • ImageResizeTo8x
  • ImageScaleToTotalPixelsSwitch
  • ImagesConcanateToGrid
  • ImageTransition
  • ImageTransitionBottomToTop
  • ImageTransitionLeftToRight
  • ImageTransitionRightToLeft
  • ImageTransitionTopToBottom
  • IntMultipleAddLiteral
  • LayerUtility: CropByMask To Specific Size
  • LoadImageMaskWithoutListDir
  • LoadImageMaskWithSwitch
  • LoadImageWithoutListDir
  • LoadImageWithSwitch
  • MaskAreaComparison
  • MaskAutoSelector
  • MaskCoverFourCorners
  • MaskFastGrow
  • MaskFromFaceModel
  • MaskofCenter
  • MatchImageRatioToPreset
  • ModelsDownloaderOfUtils
  • ModifyTextGender
  • NeedImageSizeAndCount
  • NovitaVideoRequestNode
  • QwenEditPlusLoraNode
  • ReferenceLatentSwitch
  • ReplicateRequstNode
  • ReplicateVideoRequestNode
  • SegmindVideoRequestNode
  • SplitMask
  • TextInputAutoSelector
  • TextPreview
  • TorchCompileModelAdvancedOfUtils
  • UpscaleImageWithModelIfNeed
  • VAEEncoderSwitch
  • VolcanoArkImageEditNode
  • VolcanoImageEditNode
  • VolcanoOutpaintingNode

Related resources

12 connections

Sources

3 sources
GitHubSourceVersion c81ccb9b47a51b0e6b5087ab52581ed0cf3bac4e
github.com/zhangp365/ComfyUI-utils-nodes

Verified Oct 7

GitHubSource
github.com/zhangp365/ComfyUI-utils-nodes

Verified Oct 25

Source excerpts

1 excerpt

Source context: Repo zhangp365/ComfyUI-utils-nodes