Nodes/comfyui-art-venture/Download and Load ISNet Model
ComfyUI Node Runs on cloud

Download and Load ISNet Model

Grab a background-removal model

By sipherxyz·Created 3 years ago·Updated 4 months ago· 352
Download and Load ISNet Model
    • ISNET_MODEL
    model_name

    This node is the low-friction way to get a background-removal model running in ComfyUI: pick a model from the dropdown and it downloads it for you on first use, then loads it, ready to feed the pack's ISNet segmentation node. No hunting for weights, no manual placement - hence the "Download and Load" in the name. For a beginner who just wants a clean cutout without a research project, that's exactly the right amount of ceremony.

    ISNet is a segmentation network known for sharper edges than the old u2net default - it's the same family behind the "isnet-general-use" and "isnet-anime" options people reach for in rembg. Background removal is the most commoditized operation in the whole ecosystem: the models are free, fast, and plural, and honestly good enough that a dedicated node like this covers the common case fine. You point it at a subject, it separates foreground from background, and you get a mask or cutout. Where these models still struggle is the hard stuff - flyaway hair, fur, semi-transparent materials like veils and glass - which no free model has fully solved. For a solid subject on a contrasting background, though, this is plenty.

    How it works

    The node fetches the chosen model's weights (downloading them the first time, caching after) and loads it into memory, handing an ISNET_MODEL to the ArtVenture ISNet segmentation node that does the actual foreground/background split. The download-on-demand is the convenience: you don't need to know where the file lives or what it's called.

    Inputs and outputs

    One input:

    • model_name - the dropdown of ISNet models. Three options: isnet-general-use.pth (the general default), isnetis.pth (tuned for anime and illustration), and RMBG-1.4.bin (BRIA's well-regarded background-removal model). Pick isnetis for drawn content, the general one for photos.

    The output is ISNET_MODEL - into the pack's ISNet segment node.

    Installing it

    Ships with the ArtVenture pack. ComfyUI Manager: search comfyui-art-venture, install, restart. Or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/sipherxyz/comfyui-art-venture
    

    Restart ComfyUI. The model weights download automatically the first time you run the node, so the first run is slower - that's the download, not a hang.

    Common issues

    First run seems stuck. It's fetching the weights. Give it a moment and watch the console; it's a download, not a freeze. Subsequent runs use the cached file and are instant.

    Download fails. No network access, or the source is unreachable from where ComfyUI runs. On an offline or locked-down box, the auto-download can't work - you'd need to place the file manually.

    Edges are rough on hair or fur. That's the frontier this whole class of model hasn't cracked. For a subject with fine strands or semi-transparent bits, ISNet's edges may not be clean enough, and a heavier model (BiRefNet HR, or a matting-specific model) would do better. For ordinary subjects it's fine.

    RMBG-1.4 licensing. RMBG-1.4 is BRIA's model and its weights carry a non-commercial license - great for personal and experimental work, but check the terms before you build it into anything you sell. The ISNet options don't carry that restriction in the same way.

    Anime cutout looks worse than expected. Use isnetis.pth for illustration - the general model is trained for photos and can flub line-art edges.

    CategoryArtVenture/Segmentation

    Inputs (1)

    NameTypeDefaultDescription
    model_nameCOMBO3 options: isnet-general-use.pth, isnetis.pth, RMBG-1.4.bin

    Outputs (1)

    NameTypeDescription
    ISNET_MODELISNET_MODEL