ComfyUI Node

Inputs

The 'Inputs' node that tries to be your whole txt2img pipeline

By loz2754·Created 8 months ago·Updated about 22 hours ago· 5
Inputs
    • MODEL
    • CLIP
    • VAE
    • ckpt name
    • sampler
    • scheduler
    • cfg
    • steps
    • latent
    • width
    • height
    • seed
    • MainFolder
    • Filename
    • prefix
    • date format
    • batch size
    • name mode
    ckpt_name
    speed_lorafalse
    speed_lora_modelNone
    speed_lora_strength1.00
    clip_skip-1
    sampler
    scheduler
    cfg2.0
    steps10
    width720
    height720
    aspect_ratio
    aspect_modeOriginal
    batch_size1
    seed0
    MainFolderMainFolder
    ManualNameName
    name_modefalse
    prefix
    date_format
    croptrue
    words1
    megapixels1.0
    multiple8
    auto_nameName

    AUNInputs is the node the whole pack is named around: one node that loads your checkpoint, applies a SpeedLoRA, creates the empty latent, sets sampler/scheduler/cfg/steps, picks an aspect ratio, and prepares your save filename - and then spills all of it out as sockets for the rest of the graph. It's an "all-in-one" in the strongest sense: in the stock ComfyUI setup, everything this node does is five or six nodes. Here it's one node with a wall of widgets.

    That's the pitch, and it's a real one for people who build tidy, compact workflows - which is exactly the audience AUN targets. But be aware of the catch before you commit: the pack itself now calls the full Inputs family "legacy directionally." The recommended path for new workflows is the Basic input nodes plus AUN Save Image V2, because the full node's save-prep outputs (MainFolder, Filename, prefix, date format, name mode) are the older naming contract. This node still works and is kept compatible, but it's a "great while it lasts" situation, not a "build your future on this" one.

    What it outputs (and why that matters)

    The outputs are the interesting part, because they replace whole chains:

    • MODEL, CLIP, VAE - the loaded checkpoint, split out ready for a KSampler and CLIP Text Encode.
    • latent - the empty latent, sized from your aspect_ratio / width / height.
    • sampler, scheduler, cfg, steps, seed, width, height, batch size - all the sampling parameters as typed outputs, so you can route them anywhere or display them.
    • ckpt name - the model name as a string, for filenames.
    • The save-prep outputs - MainFolder, Filename, prefix, date format, name mode - for feeding an AUN filename builder or saver.

    Inputs worth knowing: ckpt_name, sampler/scheduler/cfg/steps, aspect_ratio (presets or custom), seed, and the SpeedLoRA trio (speed_lora, speed_lora_model, speed_lora_strength) - SpeedLoRA is a real thing, and its proper CFG is low, so don't be surprised the default cfg is 2. clip_skip defaults to -1.

    Installing it

    Part of the AUN pack, one install for everything:

    • ComfyUI Manager: search "AUN ComfyUI Nodes", install, restart.
    • Manual: cd custom_nodes && git clone https://github.com/loz2754/AUN-ComfyUI-Nodes, then restart.

    Deps (piexif, opencv-python-headless, imageio-ffmpeg, requests) come with Manager; manually, pip install -r custom_nodes/AUN-ComfyUI-Nodes/requirements.txt if you see ModuleNotFoundError: cv2.

    Common issues

    Two things get people. First, the widget count is overwhelming - that's by design, and double-clicking the node body collapses the connection display ("collapse connections" mode) so the graph stays readable. Second, if you migrate an old workflow that used AUNInputsRefine and the SpeedLoRA widgets look wrong after loading, the README warns the input set changed and you may need to re-check or reconnect SpeedLoRA widgets - worth knowing before you panic at a changed layout.

    CategoryAUN Nodes/Loaders+Inputs

    Inputs (25)

    NameTypeDefaultDescription
    ckpt_nameCOMBOThe checkpoint model file to load.
    speed_loraBOOLEANfalseEnable or disable SpeedLoRA optimizations.
    speed_lora_modelCOMBONoneThe SpeedLoRA model to apply. Select 'None' to disable SpeedLoRA.
    speed_lora_strengthFLOAT1.000–3Multiplier applied to the selected SpeedLoRA weights.
    clip_skipINT-1-24–-1Number of last layers of CLIP to skip. -1 is a good default.
    samplerCOMBOThe sampling algorithm to use.
    schedulerCOMBOThe noise schedule to use.
    cfgFLOAT2.0-2–100Classifier-Free Guidance scale. Higher values increase prompt adherence.
    stepsINT101–10000Number of sampling steps.
    widthINT72064–8192Image width. Used when 'aspect_ratio' is 'custom'.
    heightINT72064–8192Image height. Used when 'aspect_ratio' is 'custom'.
    aspect_ratioCOMBOSelect a predefined aspect ratio or ratio to automatically set width and height.
    aspect_modeCOMBOOriginalRandom swaps dimensions 50% of the time, Swap forces a swap, Original keeps the original order.
    batch_sizeINT11–64Number of latent images to generate in a batch.
    seedINT0-18446744073709550000–18446744073709550000The random seed for generation.
    MainFolderSTRINGMainFolderThe main output folder for saved files.
    ManualNameSTRINGNameThe filename to use when 'name_mode' is set to Manual.
    name_modeBOOLEANfalseSwitch between automatic and manual filename modes.
    prefixSTRINGA prefix to add to the generated filename.
    date_formatCOMBOThe format for the date placeholder in filenames.
    cropBOOLEANtrueEnable or disable cropping the filename to a specified number of words.
    wordsINT11–10The number of words to keep from the start of the string.
    megapixelsFLOAT1.00.1–16Target total megapixels used when a ratio is selected.
    multipleINT88–128Nearest multiple to round computed resolution to. Used with ratio.
    auto_nameoptSTRINGNameAutomatic name input, typically from a prompt node, used when 'name_mode' is set to Auto.

    Outputs (18)

    NameTypeDescription
    MODELMODEL
    CLIPCLIP
    VAEVAE
    ckpt nameSTRING
    sampler*
    scheduler*
    cfgFLOAT
    stepsINT
    latentLATENT
    widthINT
    heightINT
    seedINT
    MainFolderSTRING
    FilenameSTRING
    prefixSTRING
    date formatSTRING
    batch sizeINT
    name modeBOOLEAN