Skip to content
Node packVerifiedExternal
Open source

lf-nodes

Custom nodes with a touch of extra UX ✨ Client-side LLM chat, mid-workflow image editing, history for primitives, JSON manipulation, analytics nodes, CivitAI metadata fetching and saving... and more!

Maintainer@lucafosciliCgrade

Package profile

Status
Verified
Publisher
@lucafoscili
Source
GitHub
Stars
36

README

LF Nodes

LF Nodes

LFNodes

GitHub last commit

Overview

A suite of custom nodes for ComfyUI aimed at enhancing user experience with more interactive and visually engaging widgets.

Most UI elements used by the frontend belong to the LF Widgets webcomponents library, a modern collection of modular and customizable webcomponents built on Stencil.js specifically to integrate with LF Nodes.

Simple inpaint

The nodes span quite a few categories:

  • Analytics nodes: Visualize and track data, like checkpoint/LoRA usage or image histograms.
  • Configuration nodes: Manage CivitAI metadata, and control the suite via the Control Panel.
  • Filter nodes: Apply various filters to images, including blur, sharpen, and edge detection.
  • Image manipulation nodes: Tools to manipulate images, such as filter and resize nodes.
  • IO Operations nodes: Load and save files to/from the file system.
  • JSON nodes: Tools to manipulate and display JSON data.
  • Latent manipulation nodes: Latent decoding and encoding tools.
  • LLM nodes: Interface with locally running LLMs, like the Messenger node, which also manages characters.
  • Logic nodes: Control flow using simple switches.
  • Primitive nodes: Work with primitive data types, offering features like history.
  • Region nodes: Image region selection and editing tools.
  • Seed generation nodes: Generate seeds for complex workflows.
  • Selector nodes: Resource selection widgets with metadata display for models.
  • Visual novel nodes: Author, validate, and preview deterministic target-neutral narrative graphs.

To see example workflows, check the example_workflows folder. For generic texture serialization, see DDS Output. For the current visual-novel node inputs and identity contract, see Visual Novel Nodes.

Table of Contents

Installation

ComfyUI Manager

  • Open ComfyUI Manager.
  • Search LF Nodes.
  • Install the node suite and restart ComfyUI.

Manual

Method 1: Download ZIP

  • Go to the releases page.
  • Download the latest release ZIP file.
  • Extract it as ComfyUI/custom_nodes/lf-nodes (the folder containing __init__.py, not an extra nested folder).
  • Complete the dependency step below, then restart ComfyUI.

Method 2: Git Clone

Nodes in this pack

100 nodes
  • Branch
  • Broken
  • Dynamic
  • FalseFlag
  • Good
  • LF_ACEStepRemix
  • LF_ApplyTextureToGLB
  • LF_BackgroundRemover
  • LF_Blend
  • LF_BlobToImage
  • LF_Bloom
  • LF_BlurImages
  • LF_Boolean
  • LF_Brightness
  • LF_CaptionImageWD14
  • LF_CharacterImpersonator
  • LF_CheckpointSelector
  • LF_CivitAIMetadataSetup
  • LF_Clarity
  • LF_ColorAnalysis
  • LF_CompareImages
  • LF_ComposeImageLayers
  • LF_ComposeImageRegions
  • LF_Contrast
  • LF_ControlPanel
  • LF_CreateMask
  • LF_Desaturation
  • LF_DetectRegions
  • LF_DiffusionModelSelector
  • LF_DisplayBoolean
  • LF_DisplayFloat
  • LF_DisplayInteger
  • LF_DisplayJSON
  • LF_DisplayPrimitiveAsJSON
  • LF_DisplayString
  • LF_EmbeddingSelector
  • LF_EmptyImage
  • LF_ExtractImageRegions
  • LF_ExtractPromptFromLoraTag
  • LF_ExtractString
  • LF_FilmGrain
  • LF_Float
  • LF_GaussianBlur
  • LF_GeminiAPI
  • LF_GetKeyFromJSONByIndex
  • LF_GetRandomKeyFromJSON
  • LF_GetValueFromJSON
  • LF_H3PromptMaker
  • LF_ImageClassifier
  • LF_ImageGrid
  • LF_ImageHistogram
  • LF_ImageList
  • LF_ImageListFromJSON
  • LF_ImagesEditingBreakpoint
  • LF_ImagesSlideshow
  • LF_ImageToSVG
  • LF_Inpaint
  • LF_InpaintAdvanced
  • LF_Integer
  • LF_IsLandscape
  • LF_IsoDiamondTiles
  • LF_JSONPromptCombinator
  • LF_KeywordCounter
  • LF_KeywordToggleFromJSON
  • LF_Line
  • LF_LLMChat
  • LF_LLMMessenger
  • LF_LMSLoadModel
  • LF_LMSUnloadModel
  • LF_LoadAndEditImages
  • LF_LoadCLIPSegModel
  • LF_LoadFileOnce
  • LF_LoadImageLayers
  • LF_LoadImages
  • LF_LoadLocalJSON
  • LF_LoadLoraTags
  • LF_LoadMetadata
  • LF_LoadWD14Model
  • LF_LoadWD14Onnx
  • LF_LocalChatCompletions
  • LF_LoraAndEmbeddingSelector
  • LF_LoraSelector
  • LF_LUTApplication
  • LF_LUTGeneration
  • LF_MarkdownDocGenerator
  • LF_MathOperation
  • LF_MultipleImageResizeForWeb
  • LF_MyNode
  • LF_NormalizeSpriteBatch
  • LF_Notify
  • LF_ONNXSelector
  • LF_OpenAIAPI
  • LF_ParsePromptWithLoraTags
  • LF_PeriodicImageBatchSampler
  • LF_RandomBoolean
  • LF_RegexReplace
  • LF_RegionExtractor
  • LF_RegionMask
  • LF_RegisterOutputFile
  • LF_ResizeImageByEdge

Related resources

1 connection

Sources

2 sources
GitHubSource
github.com/lucafoscili/lf-nodes

Verified Aug 9

GitHubSourceVersion ca156ea192bfee838806a4be63987d2fec2e9315
github.com/lucafoscili/lf-nodes

Verified Oct 15

Source excerpts

1 excerpt

Source context: Repo lucafoscili/lf-nodes