Nodes/ComfyUI-Arrssenne/Load image FACE + path (Arrssenne)
ComfyUI Node

Load image FACE + path (Arrssenne)

Load a face and hand your saver its folder at the same time

By arrssenne·Created 3 months ago·Updated about a month ago· 0
Load image FACE + path (Arrssenne)
    • IMAGE
    • MASK
    • path
    • name
    base_pathE:\Ai image save\Confyui
    image

    This node is LoadImage with an extra arm. It loads a reference image exactly like the builtin node - same file picker, same [input] directory - and then hands you two bonus strings: the image's bare name, and a save path built from that name. The author's use case: pick a face, and the output folder follows the face automatically.

    How it works

    Under the hood it's a thin wrapper. It takes the builtin LoadImage's widget value (which is just a filename string), strips the ComfyUI [input] / [output] annotation and any folder/extension, then joins the result onto a base_path with a backslash. No image-loading logic is reimplemented - it delegates straight to nodes.LoadImage, including the cache (IS_CHANGED) and validation behavior, so it behaves like the builtin in every way that matters.

    The name is slightly off for a beginner: it's not "face detection." It's "load an image and call it a face," because the author feeds it into a face-swap/character workflow. The path output is a folder (directory), not a full file path - E:\Ai image save\Confyui\Lyne, no extension, no filename. It's built to plug into the path input of an Image Saver node so each face's renders land in their own directory.

    Inputs and outputs that matter

    • base_path (STRING, default E:\Ai image save\Confyui) - the parent folder everything hangs off. That default is the author's own Windows path; change it to yours, or leave it empty to get just the image name back.
    • image - the usual dropdown of files in ComfyUI/input/ plus the upload button.

    Outputs: IMAGE and MASK (from LoadImage, so you can also use it as a plain reference-image loader), plus path (the folder for the saver) and name (the bare stem - e.g. Lyne from Lyne.jpg). That name output is the bit the rest of this pack is waiting for: it feeds the first_name input of Card overlay (Arrssenne).

    The gotchas

    Two, and both are "the author is on Windows" issues. First, the path is built with a literal backslash separator, so on Linux or macOS you'll get \-joined paths like /home/you/faces\Lyne. Most Image Saver nodes treat that as a plain string and it still works, but it's ugly and can break any tooling that parses paths natively - worth knowing before you move a workflow off Windows. Second, the default base_path is a hardcoded E:\... path that almost certainly doesn't exist on your machine. Change it, or the saver will try to create a folder at the end of a drive you don't have.

    Install

    Via ComfyUI Manager, search "ComfyUI-Arrssenne", or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/arrssenne/comfyui-arrssenne
    

    Restart ComfyUI, and it's under Arrssenne/Image. No models, no keys - the only dependency is Pillow, which any ComfyUI install already has.

    Is it essential? No - you could wire the three-string equivalent yourself with LoadImage plus a couple of text nodes. But if you're running a per-face batch workflow with Image Saver, having the folder decision made inside the loader node is one less wire and one less thing to forget. It's a small, honest convenience that does exactly one job.

    CategoryArrssenne/Image

    Inputs (2)

    NameTypeDefaultDescription
    base_pathSTRINGE:\Ai image save\Confyui
    imageCOMBO1 options: example.png

    Outputs (4)

    NameTypeDescription
    IMAGEIMAGE
    MASKMASK
    pathSTRING
    nameSTRING