Zum Inhalt springen
Node packÜberprüftExtern
Quelle öffnen

ComfyUI-NKD-Klein-Tools

Two ComfyUI V3 nodes that encapsulate the Flux Klein pipeline (Presampling + Postsampling)

Betreuer@NekodificadorUnratedBewertung

Paketprofil

Status
Überprüft
Verleger
@Nekodificador
Quelle
GitHub

README

NKD Klein Tools

ComfyUI nodes that turn a Flux Klein workflow into something simple. Plug in your model, drop an image, write a prompt, and go — no manual wiring of internal pieces. Whether you want to generate from scratch, transform an existing photo, paint over a specific area, or zoom in for a high-detail touch-up, a couple of nodes handle it all. Optional extras let you build the prompt from curated presets, and control how much each reference image shows up — or which part of the canvas it lands on.

https://github.com/user-attachments/assets/f84cc919-325d-465b-8d3d-e178de5f7872

Full introduction tutorial


What you can do with it

  • Generate images from a prompt — just connect the model and write what you want.
  • Transform an existing image — drop your image into the reference slot and add a prompt describing the change.
  • Inpaint a specific area — paint a mask and the masked zone is the only part that gets regenerated. Everything else stays untouched.
  • Detail a small area at high quality — turn on detailing to zoom into the masked zone (a face, a hand, an eye) and regenerate it with way more detail than you'd get from a full-image pass.
  • Combine multiple reference images — extra slots appear as you connect them, so you can give the model several visual hints to work with.
  • Dial each reference separately — turn one reference up or down on its own, or (experimental) send it to a specific area of the canvas.

The node figures out which mode you're using based on what you connect — no setting to flip.


The nodes

NodeWhat it does
😺NKD Klein PresamplingThe starting point. Model, prompts and reference image go in here.
😺NKD Klein PostsamplingThe end point. Delivers the final image and puts everything back after inpainting or detailing.
😺NKD Klein Reference ControlThe all-in-one reference dial, and the one to reach for today: strength, an optional per-step curve, and a zone if you give it a mask. optional, experimental
😺NKD Klein Reference WeightThe original strength-only node. Still works; Reference Control does everything it does. optional
😺NKD Klein Reference RegionThe regional half on its own, for when a Reference Weight node is already in the chain. optional, experimental
😺NKD Klein Reference FitScales a reference so it sits inside the masked zone instead of stretching across the whole canvas. optional, experimental
😺NKD Klein Prompt BuilderBuilds a prompt from your own text plus curated preset dropdowns, with a live preview. optional

The chain looks like this:

flowchart LR
    PRE["**NKD Klein**<br/>**Presampling**"]:::nkd --> RC["**NKD Klein**<br/>**Reference Control** ×N"]:::nkd
    RC --> SAMP(["your sampler chain"]):::external
    SAMP --> POST["**NKD Klein**<br/>**Postsampling**"]:::nkd

    classDef nkd fill:#3b3b6b,stroke:#8ab4ff,stroke-width:2px,color:#fff
    classDef external fill:#2d2d2d,stroke:#888,color:#eee

Going further

The nodes in detailWhat each of the seven does, at length.
Inputs and modesEvery input that changes the result, and the mode the node puts itself in when you connect one.
Recipes and workflowsSettings that work, an example graph, and the order things go in.
ChangelogWhat changed in each version.

Requirements

  • ComfyUI with Flux Klein model support
  • PyTorch ≥ 2.0

Installation

Clone into your ComfyUI/custom_nodes folder:

git clone https://github.com/Nekodificado

Knoten in diesem Paket

8 Knoten (Plural)
  • NKDKleinPostsampling
  • NKDKleinPresampling
  • NKDKleinPromptBuilder
  • NKDKleinReferenceControl
  • NKDKleinReferenceFit
  • NKDKleinReferenceRegion
  • NKDKleinReferenceWeight
  • samples

Quellen

3 Quellen
GitHubQuelleVersion a7166007cdf66c8f3b3cfc68f589a43228267616
github.com/Nekodificador/ComfyUI-NKD-Klein-Tools

Verifiziert 3. Okt.

Quellenauszüge

1 Auszug

Source context: Repo Nekodificador/ComfyUI-NKD-Klein-Tools