comfyui_bmab
BMAB for ComfyUI. BMAB is an custom nodes of ComfyUI and has the function of post-processing the generated image according to settings. If necessary, you can find and…
Nodes (69)
Layering two images together, transparency and all
Getting an image into your graph from a string
The color-grading pass, no sampling required
A one-input grayscale node, nothing more
A straight opacity crossfade between two images
The stock SDXL encoder, along for the ride
Getting your prompt into BMAB's pipeline
The node every BMAB pipeline actually starts from
Structural conditioning inside BMAB's own pipeline
The node that tells you what's missing
Pose conditioning, once you install its real dependency
A plain crop-and-optionally-resize node
The detect-crop-resample-paste loop, on any mask you give it
Turning an object detector into a usable mask
Find a region, drop another image into it
Detect in one image, crop from another
Run a YOLO model over your image, get a mask back
A pass-through node that exists to actually execute
Canny-style edge detection, blended back into the image
Unpacking a BMAB bind back into standard ComfyUI types
Face-fixing with a segmentation mask option most detailers skip
Wiring structural control into BMAB's own pipeline
The entry point into a BMAB pipeline, for Flux
Let Gemini write your prompt for you
Routing images to a specific connected client
The node that hands your graph over to BMAB
A self-contained, prompt-driven masked fill
Model, clip, prompt, CLIP skip and prompt-weighting dialect, all in one node
The plain first-pass sampler in a BMAB pipeline
The classic two-pass detail boost, BMAB-flavored
The whole second pass in one node
High resolution without a second sampling pass
No-prompt object removal
Load Image, but it also tells you the size
Pull a previous render back into the graph
Stacking LoRAs inside BMAB's own pipeline
See what your mask actually looks like
How model/clip/vae get into BMAB's pipeline
A plain noise image, sized to match your pipeline
Snap a width/height pair to a target scale
The pose-guided hand fixer — if GroundingDINO loaded
Standalone canvas extension, no bind required
A detail pass for whole bodies, not just faces
Check what a text pipeline actually produced
A1111-style prompt weighting, inside ComfyUI
Change the aspect ratio without cropping anything out
Save Image with an extra destination
Cutout plus mask in one node
Pad to an exact canvas, no generation involved
Auto-detect the subject, then frame around them
The same framing engine, without needing a person
A save node that plugs straight into a BMAB bind
Bridging ComfyUI to BMAB's original A1111 extension
ComfyUI Node Guide
ComfyUI Node Guide
ComfyUI Node Guide
ComfyUI Node Guide
Driving an A1111/Forge instance from inside ComfyUI
One seed, wired to everything that needs it
ComfyUI Node Guide
The no-fuss fix for mangled hands
Force any image onto a square canvas without cropping it
GroundingDINO-precision hand fixes
ComfyUI Node Guide
ComfyUI Node Guide
The plain, honest pixel upscaler in BMAB's toolbox
ComfyUI Node Guide
ComfyUI Node Guide
Shrink your image onto a bigger canvas and fill the border
comfyui_bmab
BMAB is an custom nodes of ComfyUI and has the function of post-processing the generated image according to settings. If necessary, you can find and redraw people, faces, and hands, or perform functions such as resize, resample, and add noise. You can composite two images or perform the Upscale function.
<img src="https://i.ibb.co/341r93k/2024-05-21-10-56-02.png"/>You can download sample.json.
https://github.com/portu-sim/comfyui_bmab/blob/main/resources/examples/example.json
Flux
BMAB now supports Flux 1.
https://github.com/portu-sim/comfyui_bmab/blob/main/resources/examples/bmab-flux-sample.json
<img src="https://github.com/user-attachments/assets/dfa36eb1-6978-47e7-a0d0-67c82639cf52"/>New Nodes
BMAB Inpaint
<img width="1393" alt="image" src="https://github.com/user-attachments/assets/8bf15832-7be4-41f2-b8ac-64056d5ac4d9">BMAB Reframe
<img width="1317" alt="image" src="https://github.com/user-attachments/assets/ba971f72-abfa-4998-a6cb-fcbaa245fcb5">BMAB Outpaint By Ratio
<img width="1186" alt="image" src="https://github.com/user-attachments/assets/88255a25-6e56-427c-9683-6ea1f591e4dd">Gallery
Hand Detailing Sample
BMAB detects and enlarges the upper body of a person and performs Openpose at high resolution to fix incorrectly drawn hands.
<img src="https://i.ibb.co/ZMGdXVp/resize-2024-05-23-1-42-12.png"/>Installation
You can install comfyui_bmab using ComfyUI-Manager easily.
You will need to install a total of three custom nodes.
- comfyui_bmab
- comfyui_controlnet_aux
- https://github.com/Fannovel16/comfyui_controlnet_aux.git
- Fannovel16, Thanks for excellent code.
- ComfyUI_IPAdapter_plus
- https://github.com/cubiq/ComfyUI_IPAdapter_plus.git
- cubiq, Thanks for excellent code.
Grounding DINO Installation
Transfomer v4.40.0 has Grounding DINO implementation.
https://github.com/huggingface/transformers/releases/tag/v4.40.0
Now BMAB use transformer for detecting object.
No installation required.
Install Manually
I can't describe about your python environment. I will write the installation instructions assuming you have some knowledge of Python.
Windows portable User
cd ComfyUI/custom_nodes
git clone https://github.com/portu-sim/comfyui_bmab.git
cd comfyui_bmab
python_embeded\python.exe -m pip install -r requirements.txt
cd ..
You will need to install two additional custom nodes required by comfyui_bmab.
cd ComfyUI/custom_nodes
git clone https://github.com/Fannovel16/comfyui_controlnet_aux.git
cd comfyui_controlnet_aux
python_embeded\python.exe -r pip install requirements.txt
cd ..
git clone https://github.com/cubiq/ComfyUI_IPAdapter_plus.git
cd ComfyUI_IPAdapter_plus
python_embeded\python.exe -m pip install -r requirements.txt
cd ..
Other python environment
cd ComfyUI/custom_nodes
git clone https://github.com/portu-sim/comfyui_bmab.git
cd comfyui_bmab
pip install -r requirements.txt
cd ..
You will need to install two additional custom nodes required by comfyui_bmab.
cd ComfyUI/custom_nodes
git clone https://github.com/Fannovel16/comfyui_controlnet_aux.git
cd comfyui_controlnet_aux
pip install -r requirements.txt
cd ..
git clone https://github.com/cubiq/ComfyUI_IPAdapter_plus.git
cd ComfyUI_IPAdapter_plus
pip install -r requirements.txt
cd ..
Run ComfyUI