ComfyUI_essentials>🔧 InSPyReNet TransparentBG
ComfyUI_essentials
时间:2025/09/02

🔧 InSPyReNet TransparentBG

自动下载并加载InSPyReNet rembg的模型,用于后续进行图像背景移除(透明背景处理)。
🔧 InSPyReNet TransparentBG-节点参数说明
输出参数
REMBG_SESSION输出加载好的InSPyReNet rembg模型会话
控件参数
mode指定背景去除模型类型: base:标准模型,效果较好,速度一般。 fast:快速模型,精度稍低,适合实时处理。 base-nightly:开发版模型,可能包含实验性特性。
use_jit是否使用JIT编译优化推理速度。
使用InSPyReNet TransparentBG节点加载base模型,传递给Image Remove Background节点,对图片进行背景去除


模型手动下载地址

存放位置:ComfyUI\models\transparent-background(取决于环境变量TRANSPARENT_BACKGROUND_FILE_PATH)

下载地址

base:

 url: "https://github.com/plemeri/transparent-background/releases/download/1.2.12/ckpt_base.pth"

 md5: "d692e3dd5fa1b9658949d452bebf1cda"

 ckpt_name: "ckpt_base.pth"

 http_proxy: NULL

 base_size: [1024, 1024]



fast:

 url: "https://github.com/plemeri/transparent-background/releases/download/1.2.12/ckpt_fast.pth"

 md5: "9efdbfbcc49b79ef0f7891c83d2fd52f"

 ckpt_name: "ckpt_fast.pth"

 http_proxy: NULL

 base_size: [384, 384]


base-nightly:

 url: "https://github.com/plemeri/transparent-background/releases/download/1.2.12/ckpt_base_nightly.pth"

 md5: NULL

 ckpt_name: "ckpt_base_nightly.pth"

 http_proxy: NULL

 base_size: [1024, 1024]


广告

可加入知识星球获取所有示例工作流

广告

微信扫码入群,加入AIGC大家庭,与大家一起交流学习