ComfyUI Extension: Babel Removebg Api Node for ComfyUI

Authored by bartly

Created

Updated

6 stars

This is a node to remove background of human picture.

Custom Nodes (0)

    README

    <p align="left"> <a href="README_CN.md">中文</a>&nbsp | &nbspEnglish&nbsp </p> <br><br>

    Project Introduction

    • Commercial-grade portrait segmentation, hair-level matting, with excellent results.

    • Import the Babel Removebg API into ComfyUI through an API.

    • You can use my apikey and apisecret (already configured in config.json. It's a bit slow without authentication). There are still several thousand images left. If it works well for you, remember to give it a star.

    • Human Body Removebg:

      • For images under 3MB, it costs ¥0.1 per image for all users. Minimum resolution is 50, and maximum resolution is 2000.
      • For images over 3MB, it costs ¥0.2 per image. Open to subscribers. Minimum resolution is 50, and maximum resolution is 5000.
    • Privileges for subscribers:

      • Faster processing.
      • Supports high-resolution large images.
      • Supports high concurrency.

    Installation

    • Please apply for an API first before using (Don't worry it. Just use mine for now. Remember to give it a star!!!).

    • Add the Babel apikey and apisecret to the config.json file. They will be automatically loaded when running.

    • It is recommended to install using the manager ComfyUI Manager.

    • Manual installation:

      1. cd custom_nodes
      2. git clone https://github.com/bartly/Comfyui_babel_removebg_api
      3. Restart ComfyUI.

    Workflows

    • There is only one node, and it looks like this.

      workflow

    Credits

    ComfyUI-StableDiffusion3-API