Skip to content
Node packVerifiedExternal
Open source

ComfyUI_LayerStyle

A set of nodes for ComfyUI that can composite layer and mask to achieve Photoshop like functionality.

Maintainer@chflame163Bgrade

Package profile

Status
Verified
Publisher
@chflame163
Source
GitHub
Stars
3.2K

README

ComfyUI Layer Style

Important note

Split some nodes of the dependencies that are prone to problems into ComfyUI_LayerStyle_Advance repository. Including:
LayerMask: BiRefNetUltra, LayerMask: BiRefNetUltraV2, LayerMask: LoadBiRefNetModel, LayerMask: LoadBiRefNetModelV2,
LayerMask: EVFSAMUltra, LayerMask: Florence2Ultra, LayerMask: LoadFlorence2Model, LayerUtility: Florence2Image2Prompt,
LayerUtility: GetColorTone, LayerUtility: GetColorToneV2, LayerMask: HumanPartsUltra, LayerMask: BenUltra, LayerMask: LoadBenModel,
LayerUtility: ImageAutoCrop, LayerUtility: ImageAutoCropV2, LayerUtility: ImageAutoCropV3,
LayerUtility: ImageRewardFilter, LayerUtility: LoadJoyCaption2Model, LayerUtility: JoyCaption2Split,
LayerUtility: JoyCaption2, LayerUtility: JoyCaption2ExtraOptions, LayerUtility: LaMa,
LayerUtility: LlamaVision, LayerUtility: LoadPSD, LayerMask: MaskByDifferent, LayerMask: MediapipeFacialSegment,
LayerMask: BBoxJoin, LayerMask: DrawBBoxMask, LayerMask: ObjectDetectorFL2, LayerMask: ObjectDetectorMask,
LayerMask: ObjectDetectorYOLO8, LayerMask: ObjectDetectorYOLOWorld, LayerMask: PersonMaskUltra, LayerMask: PersonMaskUltra V2,
LayerUtility: PhiPrompt, LayerUtility: PromptEmbellish, LayerUtility: PromptTagger, LayerUtility: CreateQRCode, LayerUtility: DecodeQRCode,
LayerUtility: QWenImage2Prompt, LayerMask: SAM2Ultra, LayerMask: SAM2VideoUltra, LayerUtility: SaveImagePlus, LayerUtility: SD3NegativeConditioning,
LayerMask: SegmentAnythingUltra, LayerMask: SegmentAnythingUltra V2, LayerMask: TransparentBackgroundUltra,
LayerUtility: UserPromptGeneratorTxt2ImgPrompt, LayerUtility: UserPromptGeneratorTxt2ImgPromptWithReference, LayerUtility: UserPromptGeneratorReplaceWord,
LayerUtility: AddBlindWaterMark, LayerUtility: ShowBlindWaterMark, LayerMask: YoloV8Detect

If there are recent updates, you need to install ComfyUI_LayerStyle_Advance to ensure that previous workflows do not lose nodes. If the problem is caused by splitting the warehouse, please roll back the plugin version to3d4a3526a9d1a19671a133e9215077bda520ee5d Open the terminal in the plugin directory and use the following command to roll back the version:

git reset --hard 3d4a3526a9d1a19671a133e9215077bda520ee5d

中文说明点这里

商务合作请联系email [email protected].

For business cooperation, please contact email [email protected].

A set of nodes for ComfyUI that can composite layer and mask to achieve Photoshop like functionality.

It migrate some basic functions of PhotoShop to ComfyUI, aiming to centralize the workflow and reduce the frequency of software switching.

image
*this workflow (title_example_workflow.json) is in the workflow directory.

Example workflow

Some JSON workflow files in the workflow directory, That's examples of how these nodes can be used in ComfyUI.

How to install

(Taking ComfyUI official portable package and Aki ComfyUI package as examples, please modify the dependency environment directory for other ComfyUI environments)

Install plugin

  • Recommended use ComfyUI Manager for installation.

  • Or open the cmd window in the plugin directory of ComfyUI, like ComfyUI\custom_nodes,type

    git clone https://github.com/chflame163/ComfyUI_LayerStyle.git
    
  • Or download the zip file and extracted, copy the resulting folder to ComfyUI\custom_nodes

Install dependency packages

  • for ComfyUI official portable package, double-click the install_requirements.bat in the plugin directory, for Aki ComfyUI package double-click on the install_requirements_aki.bat in the plugin directory, and wait for the installatio

Nodes in this pack

100 nodes
  • LayerColor: AutoAdjust
  • LayerColor: AutoAdjustV2
  • LayerColor: AutoBrightness
  • LayerColor: Brightness & Contrast
  • LayerColor: BrightnessContrastV2
  • LayerColor: Color of Shadow & Highlight
  • LayerColor: ColorAdapter
  • LayerColor: ColorBalance
  • LayerColor: ColorofShadowHighlightV2
  • LayerColor: ColorTemperature
  • LayerColor: Exposure
  • LayerColor: Gamma
  • LayerColor: HSV
  • LayerColor: LAB
  • LayerColor: Levels
  • LayerColor: LUT Apply
  • LayerColor: Negative
  • LayerColor: RGB
  • LayerColor: YUV
  • LayerFilter: AddGrain
  • LayerFilter: ChannelShake
  • LayerFilter: ColorMap
  • LayerFilter: DistortDisplace
  • LayerFilter: Film
  • LayerFilter: FilmV2
  • LayerFilter: GaussianBlur
  • LayerFilter: GaussianBlurV2
  • LayerFilter: HalfTone
  • LayerFilter: HDREffects
  • LayerFilter: LightLeak
  • LayerFilter: MotionBlur
  • LayerFilter: Sharp & Soft
  • LayerFilter: SkinBeauty
  • LayerFilter: SoftLight
  • LayerFilter: WaterColor
  • LayerMask: BlendIf Mask
  • LayerMask: CreateGradientMask
  • LayerMask: DrawRoundedRectangle
  • LayerMask: ImageToMask
  • LayerMask: LoadSegformerModel
  • LayerMask: MaskBoxDetect
  • LayerMask: MaskBoxExtend
  • LayerMask: MaskByColor
  • LayerMask: MaskEdgeShrink
  • LayerMask: MaskEdgeUltraDetail
  • LayerMask: MaskEdgeUltraDetail V2
  • LayerMask: MaskEdgeUltraDetail V3
  • LayerMask: MaskGradient
  • LayerMask: MaskGrain
  • LayerMask: MaskGrow
  • LayerMask: MaskInvert
  • LayerMask: MaskMotionBlur
  • LayerMask: MaskPreview
  • LayerMask: MaskStroke
  • LayerMask: PixelSpread
  • LayerMask: RemBgUltra
  • LayerMask: RmBgUltra V2
  • LayerMask: SegformerB2ClothesUltra
  • LayerMask: SegformerClothesPipelineLoader
  • LayerMask: SegformerClothesSetting
  • LayerMask: SegformerFashionPipelineLoader
  • LayerMask: SegformerFashionSetting
  • LayerMask: SegformerUltraV2
  • LayerMask: SegformerUltraV3
  • LayerMask: Shadow & Highlight Mask
  • LayerMask: ShadowHighlightMaskV2
  • LayerStyle: ColorOverlay
  • LayerStyle: ColorOverlay V2
  • LayerStyle: DropShadow
  • LayerStyle: DropShadow V2
  • LayerStyle: DropShadow V3
  • LayerStyle: Gradient Map
  • LayerStyle: GradientOverlay
  • LayerStyle: GradientOverlay V2
  • LayerStyle: InnerGlow
  • LayerStyle: InnerGlow V2
  • LayerStyle: InnerShadow
  • LayerStyle: InnerShadow V2
  • LayerStyle: OuterGlow
  • LayerStyle: OuterGlow V2
  • LayerStyle: Stroke
  • LayerStyle: Stroke V2
  • LayerUtility: AnyRerouter
  • LayerUtility: BatchSelector
  • LayerUtility: Boolean
  • LayerUtility: BooleanOperator
  • LayerUtility: BooleanOperatorV2
  • LayerUtility: CheckMask
  • LayerUtility: CheckMaskV2
  • LayerUtility: ChoiceTextPreset
  • LayerUtility: ColorImage
  • LayerUtility: ColorImage V2
  • LayerUtility: ColorName
  • LayerUtility: ColorPicker
  • LayerUtility: CropBoxResolve
  • LayerUtility: CropByMask
  • LayerUtility: CropByMask V2
  • LayerUtility: CropByMask V3
  • LayerUtility: ExtendCanvas
  • LayerUtility: ExtendCanvasV2

Related resources

40 connections
Used byWan 2.2 VACE Video Inpaint: MatAnyone Painted Masking (INT8 ConvRot)Used byFlex.2 Image backpropagation wash workflow — v1.0Used byAutoBatch ZeroDistort 8K Upscaler-批量自适应8K零变形放大流 — 2workflow for autoUpscaleUsed byzyd232's Workflow for Z-Image - Including SAM2 & SAM3 Inpainting Fix — v1.0Used bySVI 2 PRO with First/Last Frame (Keyframes) // Video Continuation // 3-Stage Loop AutomationUsed byANIMA Pro Grade SFW/NSFW W/ Controlnet, Regional Prompt, & Realism enhancer — V4.0 Enhancer versionUsed byQwen Image 4 Step GGUF Text/Image to Image Low VRAM — v1.0Used byFriendly Flux 2 Klein UniEdit — v1.0Used byWhite 5 Ultra Depth Control Text Generation Image — v1.0Used byWAN2.1-VACE-14B 1.3B GGUF 6 steps AIO (t2v-i2v-v2v-FLF-controlnet-masking-long duration) simple ComfyUI workflow — VACE-Ultimate.v1.250724Used byEfficient first-last frame video generation workflow: 5 seconds per segment, and can generate continuously up to 15 seconds. — v1.0Used byKrea2千问完美洗图流+SD高清工作流合集(Krea2 + QWEN Comprehensive Perfect Image Refining Workflow + SD High-Definition Workflow Compilation) — v2.0Used byIllustrious/ Pony/ SDXL Pro Grade Workflow (Low or High VRAM) — V8.1 Region Prompt UltraUsed byKlein_4b Essentials — v1.0Used byKrea 2 Pro Grade w/ Image Edit, Style Transfer, Controlnet, Multi-reference, SAM3 Detailers, & Low VRAM options — v1.1 added rebalanceUsed by(workflow)像素游戏角色化-make a pixel sprite! — pixelsprite workflow v1.0Used byWan-Animate-SecNodes character replacement — v1.0Used byZ-Image Base & Turbo Pro Grade Workflow I2I/T2I (Low or High VRAM) — V8.0 upgrades + Qwen advUsed byFlux Workflow - Multi character with Kontext — v4.0 - Ref BackgroundUsed byProduct + Scene Image Re-lighting flux-2-klein — v1.0Used byWhite to Qwen - Office Lady Text-to-Image Acceleration Multi-Magnification Oil-Removal Edition — v1.0Used byQwen-Rapid-AIO three-view workflow — v2.1Used byVACE First + Last Frame | Animate Keyframes with VACE! — Vace FL Native + WrapperUsed byLonecat's Illustrious/Pony/SDXL WIldcard Workflow — v2.0 Professional GradeUsed byExtreme HD Repair - Add Details - Eliminate AI Qwen2511+Flux kontextUsed bykontext series:change the background — v1.0Used byComprehensive Video Watermark Removal - minimax Version, Video Erasure, Online Supported超全视频去水印-minimax版本 视频抹除 支持在线 — v1Used byWan2_2 Fun VACE Video Face Swap With High Fidelity — v1.0Used byZ-Image Base & Turbo Pro Grade Workflow I2I/T2I (Low or High VRAM) — V2.0Used byWan2_2 Fun VACE Multi_Reference Image to Video — v1.0Used byConsistent face 3x3 generator (discontinued) — v1.2Used byFlux.2 Klein Mix Workflow. Consistency, Enhanced, Image Size control, I2I, T2I, In & outpaint, ControlNets. — v1.0Used byIllustrious/ Pony/ SDXL SFW & NSFW Pro Grade Workflow (Low and high VRAM) — V8.1 upgradesUsed byWan 2.1 FusionX I2V GGUF workflow (Fusionx 쉬운 워크플로우 공유- AI는 에이원) — v1.0Used byFLUX Modular WF (discontinued) — v6.0_GGUFUsed byQwen-Image-Edit-2511 Skeleton Guidance Editing — v1.0Used byMAGREF + IndexTTS + HeyGem Digital Human Product Showcase — v1.0Used byZ-Image_T2I with Qwen3-VL-Instruct — v2.0Used byWan Pinch Pictures Raw Video Workflow — v1.0Used byWan 2.2 Long video via multi-step actions — v1.1

Sources

3 sources
GitHubSource
github.com/chflame163/ComfyUI_LayerStyle

Verified Oct 13

GitHubSourceVersion 51977b27869af9369e3d11a75d6fe8eb706f9821
github.com/chflame163/ComfyUI_LayerStyle

Verified Oct 19

Source excerpts

1 excerpt

Source context: Repo chflame163/ComfyUI_LayerStyle