Nodes/AkkiNodes LLM Suite: Your Personal AI Film Studio/Generic Image Shot Loader v1.0 - Akki
ComfyUI Node

Generic Image Shot Loader v1.0 - Akki

Pull the latest render for a shot back into the graph

By routhakash·Created about a year ago·Updated 9 months ago· 8
Generic Image Shot Loader v1.0 - Akki
    • image
    project_path
    image_subfolderShots
    shot_name
    filename_prefixFinalRender

    The Generic Image Shot Loader v1.0 is the image-flavored sibling of the Generic File Loader. Instead of text, it finds and loads the latest image saved for a specific shot and returns it as a proper ComfyUI IMAGE tensor - the thing you can wire into any image-processing node, a VAE, an upscaler, a ControlNet preprocessor, whatever. In the Akki pipeline this is how a shot's latest render gets pulled back into the graph for review or for a second pass, without you hunting through folders for the right file.

    How it works

    Same pattern as the text loader: it builds a search for files matching {filename_prefix}_{shot_name}_... (default prefix FinalRender) inside project_path/image_subfolder (default Shots), reverse-sorts to find the newest, and loads it. The image is converted to RGB, normalized to 0–1 floats, and returned as a batched tensor with a leading batch dimension - exactly the shape ComfyUI's image nodes expect.

    Inputs and outputs

    All four inputs are strings: project_path, image_subfolder (default Shots), shot_name, filename_prefix (default FinalRender).

    One output: image (type IMAGE). That's it. If you're feeding renders into an image-to-video chain or a review node, this is the wire.

    Install and the blank-image trap

    Pack install: ComfyUI Manager search "AkkiNodes LLM Suite", or git clone https://github.com/routhakash/AkkiNodes-LLM-Suite-for-ComfyUI into custom_nodes, install.bat as admin on Windows, restart.

    Here's the one that trips people up: when the image file isn't found, this node does not error out and does not return an error string - it returns a blank 64×64 black tensor. Your workflow will happily keep running, and you'll stare at a black square wondering where your render went. It's a deliberate choice (keep the graph alive), but it's the worst kind of silent failure. If you see a 64×64 image where a full render should be, the loader missed the file - check that shot_name and filename_prefix match what the saver actually wrote. Filenames have to line up exactly, right down to the case.

    CategoryAkkiNodes/FileIO

    Inputs (4)

    NameTypeDefaultDescription
    project_pathSTRING
    image_subfolderSTRINGShots
    shot_nameSTRING
    filename_prefixSTRINGFinalRender

    Outputs (1)

    NameTypeDescription
    imageIMAGE