Extensions/XB_ToolBox
ComfyUI Extension

XB_ToolBox

A comprehensive ComfyUI extension suite encompassing both front-end interaction and low-level memory scheduling, designed to help beginners master workflows and simplify local deployment.

By wjluoxiao·Created 5 months ago·Updated 4 days ago· 265
WJLUOXIAO/XB_ToolBox
Nodes154
On cloudLocal install
CategoryXB_ToolBox/Audio, XB_ToolBox/Comic
Stars265
Updated4 days ago

Nodes (154)

XB-BOX - 🎵 音频切片(基础)

Slice audio to exact frames for video models — no manual math

XB_ToolBox/Audio
XB-BOX - 🎵 音频切片V1(单人)

The audio slicer with a waveform you can actually click on

XB_ToolBox/Audio
XB-BOX - 🎵 音频切片V2(双人)

Stitch two voice clips into one track, gap and all

XB_ToolBox/Audio
XB-BOX - 🎵 音频切片V3(高级)

The audio slicer for when two voices actually talk over each other

XB_ToolBox/Audio
XB-BOX - 🤖 漫画文字渲染 (全自动带涂改液)

Erase AI gibberish in comic bubbles and typeset real dialogue

XB_ToolBox/Comic
XB-BOX - Batch Folder Loader

Load one image at a time from a folder, stepper built in

XB_ToolBox/Batch_Process
XB-BOX - 🖼️ 批量图像

Merge loose images into one batch tensor, mute-proof

XB_ToolBox/Utils
XB-BOX - 🎨 Bernini 条件注入(VAE分块)

Feed source video and reference images into Bernini without OOMing

XB_ToolBox/Wan
XB-BOX - 🧠 Bernini 提示词路由(超级节点)

One dropdown replaces a 30-node Bernini prompt-switching subgraph

XB_ToolBox/Pipeline
XB-BOX - 🏷️ Canvas Label (文字标签)

A sticky note for your ComfyUI graph that can't break anything

XB_ToolBox/Display
XB-BOX - Checkpoint Block Swap

Push transformer blocks to RAM so big video models fit on your GPU

XB_ToolBox/VRAM_Hacks
XB-BOX - Chunk Visualization

See your spatial and temporal chunks before you blow your VRAM budget

XB_ToolBox
XB-BOX - 🧊 INT8 CLIP 加载器 (ROCm)

INT8 text encoders for AMD cards that were dying on VRAM

loaders
XB-BOX - CLIP Name Broadcaster

Turn a CLIP model name into a wire so other nodes can read it

XB_ToolBox/Wiring
XB-BOX - 📝 漫画提示词智能解析

Strip dialogue out of your comic prompt before the model sees it

XB_ToolBox/Comic
XB-BOX - 💬 漫画文字渲染 (精确坐标)

Place comic text at exact coordinates — narration, SFX, anything

XB_ToolBox/Comic
XB-BOX - ✂️ CosyVoice3 音频裁剪

Trim a reference clip by wall-clock time, not samples

🔊XB CosyVoice3/Audio
XB-BOX - 🌐 CosyVoice3 跨语言合成

Clone a voice once, then make it speak any of ten languages

🔊XB CosyVoice3/Synthesis
XB-BOX - 💬 CosyVoice3 多人对话

Two cloned voices, one script, one mixed conversation track

🔊XB CosyVoice3/Synthesis
XB-BOX - 🎭 CosyVoice3 指令控制

Tell the cloned voice how to sound, in plain words

🔊XB CosyVoice3/Synthesis
XB-BOX - 🔊 CosyVoice3 模型加载

The CosyVoice3 loader that actually gets the model into ComfyUI

🔊XB CosyVoice3/Loaders
XB-BOX - 💾 CosyVoice3 保存说话人

Turn a voice clip into a reusable .pt speaker file, once

🔊XB CosyVoice3/Utilities
XB-BOX - 🗣️ CosyVoice3 说话人克隆

Synthesize in a saved voice, no reference audio required

🔊XB CosyVoice3/Synthesis
XB-BOX - 🎭 CosyVoice3 说话人指令

Same cloned voice, but now tell it how to say the line

🔊XB CosyVoice3/Synthesis
XB-BOX - 🔄 CosyVoice3 语音转换

Respeak someone else's words in your own voice

🔊XB CosyVoice3/Synthesis
XB-BOX - 🎤 CosyVoice3 零样本克隆

Clone a voice from one audio clip, no training, no transcript required

🔊XB CosyVoice3/Synthesis
XB-BOX - Dashboard Zen

A clean control panel for your messy workflow, without rebuilding it

XB_ToolBox/Dashboard
XB-BOX - 🤖 数字人参数调节(双人)

Two voices, two audio tracks, one synchronized frame count

XB_ToolBox/DigitalHuman
XB-BOX - 🤖 数字人参数调节(单人)

Frame math and audio slicing for a one-person talking head, in one node

XB_ToolBox/DigitalHuman
XB-BOX - 🧊 INT8 双CLIP加载器 (ROCm)

Load two INT8 text encoders on AMD — the memory trick Flux users want

loaders
XB-BOX - Dynamic Bus

A 20-lane wire bundle for when your graph looks like spilled spaghetti

XB_ToolBox/Wiring
XB-BOX - 🖼️ FLUX多图编码

Stuff up to nine reference images into a Flux conditioning, in one node

XB_ToolBox/FLUX
XB-BOX - 🌊 海螺H3视频参数

Hailuo H3 resolution and frame math, without the mental arithmetic

XB_ToolBox/Image_Params
XB-BOX - ✂️ 人物分割 (DirectML/ROCm)

Cut a person out of any image with a GPU-accelerated mask

XB_ToolBox/Segment
XB-BOX - 📥 人物分割模型加载

Load the ONNX segmentation model that the segmenter needs

XB_ToolBox/Segment
XB-BOX - Image Params Master

One hub for image size, batch, and strength — with dims that can't go invalid

XB_ToolBox/Image_Params
XB-BOX - 📐 批量缩放图像

Scale up to nine images at once with one shared setting

XB_ToolBox/Utils
XB-BOX - 🧊 INT8 CLIP 保存 (ROCm)

Save your INT8 text encoder once, reuse it forever

loaders
XB-BOX - 🧊 INT8 组合 LoRA (ROCm)

Stack multiple LoRAs on an INT8 model without the slot limit

loaders
XB-BOX - 🧊 INT8 单LoRA (ROCm)

A LoRA loader that respects your INT8 model

loaders
XB-BOX - 🧊 INT8 模型保存 (ROCm)

Save the INT8 model so you never re-quantize it again

loaders
XB-BOX - 🧊 INT8 预加载 LoRA (ROCm)

Pre-load a LoRA so it gets baked into the INT8 weights

loaders
XB-BOX - 🎨 K2 风格切换路由(超级节点)

One dropdown instead of ten toggles for your K2 style switch

XB_ToolBox/Pipeline
XB-BOX - 采样器(原版优化)

The stock KSampler, plus a before-sampling VRAM cleanup knob

XB_ToolBox/原版优化
XB-BOX - 高级采样器(原版优化)

KSamplerAdvanced, with a pre-run VRAM cleanup bolted on

XB_ToolBox/原版优化
XB-BOX - 📋 列表分发

Split one list of strings into N separate text wires

XB_ToolBox/Utils
XB-llama - 🎭 BBox转Mask

Turn LLM-detected boxes into a soft, feathered mask

XB-llama
XB-llama - ✂️ BBox转SEGS

LLM-detected boxes, fed straight into the Impact Pack detailer

XB-llama
XB-llama - 🔍 BBoxes取BBox

Pluck one box out of a list of LLM-detected boxes

XB-llama
XB-llama - 🧹 清理状态

Reset the LLM's memory so it stops 'remembering' old runs

XB-llama
XB-llama - 💬 指令推理

Run your local GGUF model as a full instruct + vision node

XB-llama
XB-llama - 🎯 JSON转BBox

Turn your LLM's bounding-box JSON into real BBOX wires

XB-llama
XB-llama - ✨ MiniMax-fl2va提示词预设

A complete MiniMax H3 prompt builder in one dropdown

XB-llama
XB-llama - ✨ MiniMax-ref2va提示词预设

The multi-reference MiniMax H3 prompt preset

XB-llama
XB-llama - 📦 模型加载器

The GGUF model loader that powers the whole XB-llama stack

XB-llama
XB-llama - ⚙️ 推理参数

The sampling knobs for your local LLM, tuned for storyboards

XB-llama
XB-llama - 📋 解析JSON

Pull one value out of your LLM's JSON without a Python node

XB-llama
XB-llama - ✨ 提示词增强预设

Model-specific system prompts, one dropdown at a time

XB-llama
XB-llama - ✨ 分镜增强预设

Turn a story idea into a frame-by-frame storyboard prompt

XB-llama
XB-llama - 💬 分镜推理

Story idea in, frame prompts out

XB-llama
XB-llama - 🎞️ 分镜词处理器

Draw cards from your storyboard, one shot at a time

XB-llama
XB-llama - 🎞️ 分镜词处理器Pro

Same storyboard gacha, plus it sniffs your characters for you

XB-llama
XB-llama - 🗑️ 卸载模型

Kick the LLM off your GPU when you're done with it

XB-llama
XB-llama - 📝 解包代码块

Strip the ``` fences off your LLM's JSON

XB-llama
XB-BOX - 🔄 LTX2.3 数字人无限时长对口型

Unlimited-length LTX 2.3 lipsync, stitched from segments

XB_ToolBox/Pipeline
XB-BOX - Master Parameter

One value box that snap-clamps itself to the mode you're in

XB_ToolBox/Params_Control
XB 📊 硬件监控面板 (Memory Visualization)

The VRAM radar that parks itself in the corner of your screen

XB_ToolBox/Dashboard
XB-BOX - 📦 模型加载大全V1

Model, CLIP, eight LoRA slots, VAE, Sage, block swap — in one node

XB_ToolBox/Model_Loader
XB-BOX - 📦 模型加载大全V1 (GGUF)

V1's loader, but the model dropdown speaks GGUF

XB_ToolBox/Model_Loader_GGUF
XB-BOX - 📦 模型加载大全V2

Two models, one loader — high-noise and low-noise in a single node

XB_ToolBox/Model_Loader
XB-BOX - 📦 模型加载大全V2 (GGUF)

High/low dual-model loader, GGUF edition

XB_ToolBox/Model_Loader_GGUF
XB-BOX - 📦 模型加载大全V3

Dual CLIP and dual VAE in one node

XB_ToolBox/Model_Loader
XB-BOX - 📦 模型加载大全V3 (GGUF)

LTX 2.3's dual-CLIP, dual-VAE stack, quantized to fit

XB_ToolBox/Model_Loader_GGUF
XB-BOX - 🎞️ MSR 多图合成帧序列

Four images in, one frame sequence out — MSR for short dramas

XB_ToolBox/Image_Params
XB-BOX - ⚡ 节点状态开关

Mute or bypass whole nodes from a boolean — without right-clicking

XB_ToolBox/Utils
XB-BOX - 🔗 引用任意

One output, many optional upstreams — pick the live one by name

XB_ToolBox/Utils
XB-BOX - 采样器(原版优化)

KSampler, with a memory-cleanup button welded to the front

XB_ToolBox/原版优化
XB-BOX - 高级采样器(原版优化)

KSamplerAdvanced with the pre-run memory sweep

XB_ToolBox/原版优化
XB-BOX - VAE分块解码(原版优化)

Tiled, temporal VAE decode for video latents that won't fit

XB_ToolBox/原版优化
XB-BOX - 🧹 显存清理

The manual 'clear VRAM' button you can drop anywhere in a graph

XB_ToolBox/ROCm
XB-BOX - 自定义采样器(原版优化)

XB_ROCmSamplerCustom is just ComfyUI's SamplerCustom with a cleanup switch

XB_ToolBox/原版优化
XB-BOX - 自定义高级采样器(原版优化)

The same old advanced sampler, now with a panic button for your VRAM

XB_ToolBox/原版优化
XB-BOX - VAE解码(原版优化)

The 'ROCm' VAE decoder that secretly tiles everything

XB_ToolBox/原版优化
XB-BOX - VAE分块解码(原版优化)

Tiling your way out of video-VAE OOM, frame by frame

XB_ToolBox/原版优化
XB-BOX - VAE编码(原版优化)

Get your reference images into latent space without the OOM cliff

XB_ToolBox/原版优化
XB-llama - 🎬 角色场景调度器

Turn one storyboard script into per-scene prompts plus matching characters

XB-llama
XB-BOX - SageAttention Accelerator

Free attention speedup, with a preset dropdown for your exact GPU

XB_ToolBox/VRAM_Hacks
XB-BOX - Sage + BlockSwap (Golden Duo)

The 'golden duo' that runs big models on small cards

XB_ToolBox/VRAM_Hacks
XB-BOX - Sampler Chunk Master

Seeing your video's memory footprint before it OOMs

XB_ToolBox/Tile_Tools
XB-BOX - 自定义采样器(原版优化)

A sampler that does exactly what it says, plus a VRAM shovel

XB_ToolBox/原版优化
XB-BOX - 自定义高级采样器(原版优化)

ComfyUI's most flexible sampler, gift-wrapped with a cleanup dropdown

XB_ToolBox/原版优化
XB-BOX - Storyboard Slicer

One click from storyboard grid to individual scene frames

XB_ToolBox/Pipeline
XB-BOX - 📝 字符串合并

Join N strings without a tangle of text nodes

XB_ToolBox/Text
XB-BOX - 📝 Qwen图像编辑编码

Tell a picture what to change, no mask required

XB_ToolBox/Qwen
XB-BOX - 📝 Qwen图像编辑编码Plus

Multi-image Qwen editing, with the vision-language plumbing done for you

XB_ToolBox/Qwen
XB-BOX - UNet Block Swap

Trading speed for VRAM, one transformer block at a time

XB_ToolBox/VRAM_Hacks
XB-BOX - 🧊 INT8 UNet 加载器 (ROCm)

INT8 diffusion models for cards that can't fit the real thing

loaders
XB-BOX - UNet Name Broadcaster

One dropdown, one wire, every model name you need

XB_ToolBox/Wiring
XB-BOX - VAE解码(原版优化)

The plainest node in the pack, and that's the point

XB_ToolBox/原版优化
XB-BOX - VAE分块解码(原版优化)

The decoder you actually want on a 16GB card

XB_ToolBox/原版优化
XB-BOX - VAE解码(原版优化)

Decode huge latents without OOM — this is ComfyUI's tiled decoder with a cleanup switch

XB_ToolBox/原版优化
XB-BOX - VAE编码(原版优化)

Stock VAE encode, with a VRAM cleanup knob you can actually see

XB_ToolBox/原版优化
XB-BOX - VAE修补编码(原版优化)

Inpainting encode with a cleanup knob — same masked latent, less OOM

XB_ToolBox/原版优化
XB-BOX - VAE分块编码(原版优化)

Tiled VAE encode for big images and video — with the cleanup switch ComfyUI forgot

XB_ToolBox/原版优化
XB-BOX - 🎬 视频拼接输出

The VHS video saver that got ported into XB_ToolBox — with GIF/WebP shortcuts

XB_ToolBox/Video
XB-BOX - 🎬 视频加载器(修复预览BUG)

Load any video into frames with VHS compatibility — and the preview bug is actually fixed

XB_ToolBox/Video
XB-BOX - Video Merger

Stitch up to ten video segments into one long clip — on the CPU, so it won't OOM

XB_ToolBox/Pipeline
XB-BOX - Video Params Master

One hub for width, height, frames and FPS — with the 1+8N and golden-bucket rules built in

XB_ToolBox/Image_Params
XB-BOX - VRAM Calculator

Does your card actually fit that 22B model? This node does the math so you don't have to

XB_ToolBox/Chunk_Preview
XB_Wan22FunControlToVideo

Wan 2.2 reference + control-video conditioning, prebuilt so you don't hand-build concat latents

XB_ToolBox/Pipeline
XB_Wan22ImageToVideoLatent

A start image in, a Wan 2.2 latent out — the I2V setup that doesn't fight the VAE

XB_ToolBox/Pipeline
XB-BOX - 🎬 Animate 动作迁移总线

One node to configure a whole motion-transfer run — the Animate parameter bus

XB_ToolBox/Pipeline
XB-BOX - 🏃‍♀️ Animate 无限接力点

Chaining motion transfer past the 81-frame wall — the Animate relay node

XB_ToolBox/Pipeline
XB-BOX - 🆕 Animate 无限接力点 (New)

The better relay — one node that loops as many Animate segments as you need

XB_ToolBox/Pipeline
XB-BOX - 🎬 Wan 动画转视频

The engine under Wan Animate motion transfer — reference image + pose video in, sampled video out

XB_ToolBox/Wan
XB-BOX - 🔄 Wan 分块交换

Swap transformer blocks to RAM so a 14B Wan model fits your card

XB_ToolBox/Wan
XB_WanCameraImageToVideo

Wan camera-control conditioning, with a start frame and tiled VAE encode

XB_ToolBox/Pipeline
XB-BOX - ⚡ Wan 编译设置

Torch.compile for Wan, as a settings bundle — and the reason AMD users should skip it

XB_ToolBox/Wan
XB_WanDancerCombo

One node that turns a music file into dance prompts and audio features for Wan Dancer

XB_ToolBox/Wan
XB_WanDancerVideo

Dance conditioning for Wan-Dancer — the official logic, tiled so it fits in VRAM

XB_ToolBox/Pipeline
XB_WanDanceSwitcher

The Wan Dancer switcher

XB_ToolBox/Wan
XB-BOX - 🖼️ Wan VAE 解码

The tile-stride dial that saves your run

XB_ToolBox/Wan
XB-BOX - Wan First/Last Frame2Video

Wan first/last frame animation that stays on rails

XB_ToolBox/Pipeline
XB_WanFunControlToVideo

One node for control-video conditioning

XB_ToolBox/Pipeline
XB_WanFunInpaintToVideo

Bookend-pinned editing for Wan 2.2

XB_ToolBox/Pipeline
XB_WanHuMoImageToVideo

Audio-driven human motion with Wan HuMo

XB_ToolBox/Pipeline
XB-BOX - Wan Image2Video

The node that turns your start image into Wan's I2V conditioning

XB_ToolBox/Pipeline
XB-BOX - Wan Infinite Relay Node

The relay node that chains Wan clips into a continuous video stream

XB_ToolBox/Pipeline
XB-BOX - 🆕 Wan 无限接力点 (New)

Relay_count turns N nodes into one

XB_ToolBox/Pipeline
XB-BOX - 🎵 InfiniteTalk 无限对口型总线

One bus for the whole talking-head pipeline

XB_ToolBox/Pipeline
XB-BOX - 🏃 InfiniteTalk 无限对口型接力点

A segment generator that knows where the audio ends

XB_ToolBox/Pipeline
XB-BOX - 🆕 InfiniteTalk 无限接力点 (全能)

Three ways to pick a segment's first frame

XB_ToolBox/Pipeline
XB-BOX - 🆕 InfiniteTalk 无限接力点 (多图)

Per-segment reference images from your input folder

XB_ToolBox/Pipeline
XB-BOX - 🆕 InfiniteTalk 无限接力点 (New)

Relay_count for talk-till-the-audio-ends

XB_ToolBox/Pipeline
XB-BOX - 🎵 语音转视频分块

One node for InfiniteTalk audio-to-video segments, single or dual speaker

XB_ToolBox/Pipeline
XB-BOX - 🎵 语音转视频分块(双人)

Dual-speaker InfiniteTalk chunks with per-person masks

XB_ToolBox/Pipeline
XB-BOX - 🎵 语音转视频分块(单人)

The no-surprises InfiniteTalk engine

XB_ToolBox/Pipeline
XB-BOX - 🧠 Wan 模型加载

The Wan loader that makes fp8, SageAttention and block-swap choices legible

XB_ToolBox/Wan
XB-BOX - Wan Param Bus

The Wan Param Bus that ends noodle-wire chaos

XB_ToolBox/Pipeline
XB_WanPhantomSubjectToVideo

Multi-reference conditioning with Phantom Subject

XB_ToolBox/Pipeline
XB-BOX - Wan Relay Node

Stitch a whole video from first-and-last frames

XB_ToolBox/Pipeline
XB-BOX - 🎯 Wan 采样器

The Wan sampler that cleans up after itself

XB_ToolBox/Wan
XB-BOX - 🆕 SCAIL 总线 (New)

One control panel for a whole SCAIL relay chain

XB_ToolBox/Pipeline
XB-BOX - 🆕 SCAIL 无限接力点 (New)

Turn SCAIL into a five-minute video

XB_ToolBox/Pipeline
XB_WanSCAILToVideo

Plain SCAIL, one segment, no scaffolding

XB_ToolBox/Pipeline
XB_WanSCAILToVideoPro

SCAIL-2 with the relay bookkeeping built in

XB_ToolBox/Pipeline
XB_WanSoundImageToVideo

Make Wan video follow the audio

XB_ToolBox/Pipeline
XB_WanSoundImageToVideoExtend

Keep the audio going, extend the video

XB_ToolBox/Pipeline
XB-BOX - 📝 Wan T5 加载器(FP8)

The Wan T5 loader that reads umt5-xxl, not CLIP

XB_ToolBox/Wan
XB-BOX - ✍️ Wan 文本编码

Two prompt boxes, one T5 pass

XB_ToolBox/Wan
XB_WanVaceToVideo

Region-aware Wan video editing

XB_ToolBox/Pipeline
XB_WanVAEDecodeTiled

Decode long Wan latents without the OOM

XB_ToolBox/Wan
XB-BOX - 🎨 Wan VAE 加载

The Wan VAE loader with the free VRAM trim

XB_ToolBox/Wan
XB-BOX - Data Radar

A wire you can attach to see what your data weighs

XB_ToolBox/VRAM_Hacks
Readme
<div align="center"> 🌐 <a href="README.md">English</a> | <a href="README_zh.md">简体中文</a> </div> <br>

🧰 ComfyUI XB-BOX (XB_ToolBox)


🌟 Core Philosophy

The primary goal of XB_ToolBox is to help AI beginners new to ComfyUI quickly master workflows, making local deployment and execution simpler and more convenient. It is a comprehensive ComfyUI extension suite encompassing both front-end interaction and low-level memory scheduling.

  • Unified Parameters: Integrates frequently used but scattered parameter nodes, allowing you to set essential image and video parameters from a single hub.
  • Visual Learning: Provides visual chunking and parameter preview nodes, enabling beginners to intuitively understand the concepts of VAE/Encoder chunks, temporal slicing, and overlap effects.
  • UX Enhancements: Introduces a user-friendly "Mirror Clone Console" (Dashboard) that clones major operation nodes from complex workflows into a unified, clean, and highly efficient control panel.
  • Extreme VRAM Optimization: Through "Spatiotemporal Chunk Hijacking", "Dynamic VRAM Offloading for UNet/Checkpoints", and "Deep LiteGraph Customization", it allows consumer-grade GPUs to smoothly run massive 14B~22B 3D-DiT video models that would normally cause instant OOM (Out of Memory).

界面截图 界面截图 界面截图 界面截图

界面截图 界面截图 界面截图


✨ Core Nodes

1. 🎬 Media Parameters & Spatiotemporal Visualization

  • 🖼️ Image Parameters Master: Controls core image generation parameters (Width, Height, Batch Size, Strength) in one place. Enforces safe steps to prevent invalid inputs and automatically aligns dimensions when a fixed aspect ratio is selected.
  • 🎬 Video Parameters Master: Manages Width, Height, Frames, and FPS (Integer/Float). Features a geek-level "Auto-Manual Transmission Engine" that smoothly snaps to official pre-trained "Golden Buckets" (e.g., 480x832, 544x960) and strictly locks the physical frame count to the safe 1+8N rule. Dynamically displays video duration based on frame rate.
  • 🧊 Spatiotemporal Chunk Visualization: An exclusive dual-zone radar! The 2D left panel visualizes spatial image chunks and overlap values, while the 3D right panel uses a painter's algorithm to render temporal cylinder stacks. Saves beginners from the exhaustion of blind parameter tuning.
  • 🧊 Storyboard Image Slicer: Offers multiple modes to slice common 4-grid, 6-grid, 9-grid... images all at once and output multiple individual images. This makes image-to-video or start/end frame video generation much more convenient, and is highly effective for creating short dramas.
  • 📟 VRAM Calculator & Data Radar: Predicts VRAM footprint for WAN/LTX models under different quantizations (FP8/GGUF) and weighs tensor volumes with MB-level precision. Significantly reduces trial-and-error costs by helping users choose models fitting their VRAM capacity.

2. 🧊 VRAM Optimization

  • 🧊 Sampler Chunk Master: Tailored for WAN/LTX. Performs spatiotemporal dual-axis slicing (Spatial Tiles & Temporal Chunks) in the Latent space. Hijacks model parameters in-place with an built-in rocm_optimized extreme memory reclamation strategy, breaking the large-tensor OOM curse.
  • ✂️ Model Block Swap: Supports both UNet and Checkpoint modes. Forcibly unloads the first N Transformer Blocks and Text/Image embedding layers to system RAM, trading time for space.
  • 🧹 VRAM Cleaner: Essential for pre-generation clearing. Delivers "nuclear-level cleanup" by deeply invoking gc.collect() and torch.cuda.empty_cache() to crush PyTorch cache fragmentation.

3. 🎛️ Workflow Deployment Assistants

  • 🪄 XB Dashboard Zen: A "Mirror Clone Console" developed using low-level LiteGraph features. Batch-clones any scattered components in your workflow into a fixed panel. Features two-way data synchronization and direct arterial connections to create a clean, customized monitoring dashboard.
  • 🎛️ Dynamic Bus: An ultra-compact N-in/N-out AnyType universal bus node. Provides custom UI type labels and one-click channel addition/removal to save your workflow from "noodle wire" chaos.

📦 Installation

Method 1: ComfyUI Manager (Recommended) Search for XB_ToolBox in the ComfyUI Manager and click install.

Method 2: Manual Git Clone Navigate to your ComfyUI custom_nodes directory and run:

git clone https://github.com/wjluoxiao/XB_ToolBox.git

(Note: This extension relies purely on the native ComfyUI ecosystem through elegant Python/JS architecture. NO extra pip dependencies required! Plug and play.)


📝 License This project is open-sourced under the Apache-2.0 License. It guarantees the freedom to share while protecting the patent defense rights of the core architecture code.