comfyui_bmab

comfyui_bmab
★ 124

图像后处理目标检测与重绘图像放大(Upscale)图像合成
对生成图像进行可配置后处理:检测并重绘人物/面部/手部,支持缩放、重采样、加噪、合成与放大等功能,便于精修与复合。
💡 在生成后对人物、面部或手部进行定向重绘与放大精修。
🍴 10 Forks💻 Python🔄 2025-12-20
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/79aaff81621b
📦 requirements.txt
lightning
segment_anything
omegaconf
ultralytics
scikit-image
huggingface_hub
transformers>=4.40.0
blendmodes
opencv-python
urllib3
pillow
pillow_avif_plugin
blendmodes
diffusers
📄 README

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.

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

New Nodes

BMAB Inpaint

BMAB Reframe

BMAB Outpaint By Ratio

Gallery

instagram

facebook

Hand Detailing Sample

BMAB detects and enlarges the upper body of a person and performs Openpose at high resolution to fix incorrectly drawn hands.

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