JuddandClaude Fable 5 bee518dc72 refactor: v3.0.0 - FLUX.1/FLUX.2 focus, GGUF, LoRA sets, remove dead code
- Loader: FLUX.2 (single encoder, CLIPType.FLUX2) + GGUF via ComfyUI-GGUF
- Sampler: latent layout from model, FLUX.2 schedule, reference images
  (Kontext/klein edit), cfg for klein base, fix guidance conditioning key
- New BawkLoraStack (chainable, toggleable sets); encoder accepts lora_stack
- Saver: ComfyUI-loadable PNG metadata, optional model/prompt inputs
- Image loader: fix broken folder_paths import, simplify
- Remove modules/, utils/, ControlNet placeholder, Z-Image loader,
  unused AI enhancement code; trim deps and startup prints

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-20 23:34:47 -07:00
2025-08-02 00:38:09 -07:00
2025-08-01 17:19:20 -07:00

ComfyUI Bawk Nodes

Compact FLUX workflow nodes for ComfyUI

FLUX.1 dev · Krea · Kontext · FLUX.2 dev · FLUX.2 klein 4B / 9B · GGUF

ComfyUI Version

Five nodes cover a full multi-LoRA FLUX workflow:

Bawk Model Loader ─┬─► Bawk Wildcard Encoder ─► Bawk Sampler ─► Bawk Image Saver
Bawk LoRA Stack ───┘

FLUX models do not use negative prompts, so there is none anywhere in this pack.

Nodes

🚀 Bawk Model Loader

Loads diffusion model, VAE and text encoder(s) in one node.

Model clip_name1 clip_name2 vae_name
FLUX.1 dev / Krea / Kontext t5xxl_*.safetensors clip_l.safetensors ae.safetensors
FLUX.2 dev mistral_3_small_flux2_*.safetensors none flux2-vae.safetensors
FLUX.2 klein 4B qwen_3_4b.safetensors none flux2-vae.safetensors
FLUX.2 klein 9B qwen_3_8b_*.safetensors none flux2-vae.safetensors

.gguf diffusion models and text encoders show up in the same dropdowns when ComfyUI-GGUF is installed.

🔗 Bawk LoRA Stack

Six LoRA slots per node. Chain stacks through the lora_stack input to combine sets, and flip enabled on a stack to switch a whole set on or off. Feed the result into the encoder's lora_stack input.

🎲 Bawk Wildcard Encoder

  • Applies the incoming lora_stack plus six inline LoRA slots to MODEL and CLIP.
  • {red|green|blue} wildcards, seeded by wildcard_seed (nesting allowed).
  • Outputs the resolved prompt for the saver.

🐓 Bawk Sampler

Latent, sampling and VAE decode in one node. Detects FLUX.1 vs FLUX.2 from the model and picks the right latent layout and schedule.

Input Notes
resolution Presets, Match input / reference image, or Custom. A linked WIDTHxHEIGHT string also works.
steps / guidance FLUX.1 dev: 20 / 3.5 · Kontext: 20 / 2.5 · FLUX.2 dev: 20 / 4.0 · klein distilled: 4 (guidance ignored)
scheduler auto = simple for FLUX.1, official FLUX.2 schedule for FLUX.2
input_image + denoise img2img
reference_image / reference_image_2 Kontext and FLUX.2 / klein image editing. Images are scaled to the model's preferred size and attached as reference latents.
cfg Leave at 1.0 for all distilled models. Klein base models use real CFG (~4-5) against an empty negative.
max_shift / base_shift FLUX.1 only

💾 Bawk Image Saver

Saves to output/[model]-DD-MM-YYYY/. PNG files embed the workflow (drag them back into ComfyUI); jpg / webp get a .json sidecar. Optional prompt .txt and Discord webhook upload.

📸 Bawk Image Loader · 📁 Bawk Batch Processor

Load Image with resize / pad-to-square and size outputs. Batch Processor reads one row of a CSV / JSON file (prompt, seed, steps, guidance, resolution) so batch_index on increment walks through a list of prompts.

Installation

ComfyUI Manager: search for "Bawk Nodes" and install.

Manual:

cd ComfyUI/custom_nodes
git clone https://github.com/juddisjudd/ComfyUI-BawkNodes.git

Requires a ComfyUI build with FLUX.2 support (late 2025 or newer). GGUF loading needs ComfyUI-GGUF.

An example workflow is in workflows/example_bawknodes_workflow.json.

Changes in 3.0.0

  • FLUX.2 dev and klein support (latent layout, schedule, single text encoder), GGUF loading, reference images for Kontext / klein edit.
  • Fixed: guidance was never applied (wrong conditioning key), PNG metadata was not ComfyUI-loadable, image loader validation was disabled.
  • LoRA sets: new Bawk LoRA Stack (chainable, toggleable) replaces the broken dynamic stack + apply pair.
  • Removed Z-Image loader (use Bawk Model Loader), the placeholder ControlNet node, the unused AI prompt enhancement code and ~1,200 lines of dead utilities.
  • Widget layouts changed, so workflows saved with 2.x need their Bawk nodes re-added.

License

GPL-3.0 - see LICENSE.

S
Description
No description provided
Readme GPL-3.0
825 KiB
Languages
Python 94.3%
JavaScript 5.7%