Nodes/comfyui_bmab/BMAB ToBind
ComfyUI Node

BMAB ToBind

ComfyUI Node Guide

By portu-sim·Created 2 years ago·Updated 8 months ago· 124
BMAB ToBind
  • context
  • bind
  • model
  • clip
  • vae
  • positive
  • negative
  • latent
  • BMAB bind

What it is

BMAB ToBind exists to cut down on wiring. If you've built a big ComfyUI graph with BMAB nodes scattered through it, you've probably noticed the same handful of sockets - model, clip, vae, positive, negative, latent - need to reach node after node after node, and rewiring all six every time you add a new post-processing step gets old fast. ToBind bundles whatever you plug into it into a single wire, called a BMAB bind, that downstream nodes can accept instead of six separate connections. It's the same idea behind Impact Pack's "Basic Pipe" for anyone who's used that - one socket standing in for a cluster of the usual sampling ingredients.

You'll see the payoff most clearly once you notice that both BMAB Upscale With Model and BMAB Watermark accept an optional bind input - plug ToBind's output into either, and whatever you packed in travels with it automatically.

Inputs and outputs

There's exactly one required input, context - a CONTEXT-typed socket. This has to come from a BMAB Context node elsewhere in the pack, outside the nodes covered here, so if you're building with just what's in this guide, you'll need to track that one down separately; it's the piece that anchors the rest of the bundle.

Everything else is optional, which is the point - bind as much or as little as you actually have available: bind (an existing BMAB bind you want to fold more into), model, clip, vae, positive and negative (both CONDITIONING), and latent. Pack in whatever your workflow needs downstream and leave the rest disconnected. The single output is BMAB bind.

How to install it

It ships as part of comfyui_bmab, so there's nothing extra to grab beyond the base pack. Through ComfyUI Manager, search comfyui_bmab - it'll also install comfyui_controlnet_aux and ComfyUI_IPAdapter_plus, the two dependencies the wider pack relies on. Manually:

cd ComfyUI/custom_nodes
git clone https://github.com/portu-sim/comfyui_bmab.git
cd comfyui_bmab
pip install -r requirements.txt

followed by the same clone-and-install for the two companion repos, then a restart.

Common issues

The most likely stumbling block is the required context input - if you go looking for ToBind expecting to just plug in a model and clip and go, you'll hit a wall because it demands that CONTEXT connection first, and that comes from a different BMAB node this guide doesn't cover. Don't spend time debugging your model/clip wiring if the actual error is a missing context socket.

Beyond that, because everything past context is optional, it's easy to think you've bundled something you haven't - if a downstream node complains about a missing model or VAE, double-check it's actually plugged into ToBind and not just floating nearby in the graph. A BMAB bind only carries what you actually wired in, nothing more.

CategoryBMAB/sampler

Inputs (8)

NameTypeDefaultDescription
contextCONTEXT
bindoptBMAB bind
modeloptMODEL
clipoptCLIP
vaeoptVAE
positiveoptCONDITIONING
negativeoptCONDITIONING
latentoptLATENT

Outputs (1)

NameTypeDescription
BMAB bindBMAB bind