Nodes/comfyui-lany-nodes/ImageSaverMini
ComfyUI Node

ImageSaverMini

Save PNG or JPG images with generation metadata. Missing model files trigger warnings and have no hashes.

By lany42·Created 2 days ago·Updated about 21 hours ago· 0
ImageSaverMini
  • images
    ◄formatpng►
    ◄path►
    ◄filename%time_%model_%seed►
    ◄models►
    ◄positive—►
    ◄negative—►
    ◄seed0►
    ◄steps20►
    ◄width0►
    ◄height0►
    ◄time_format%Y-%m-%d-%H%M%S►
    ◄jpg_quality80►
    ◄optimize_pngfalse►
    ◄png_embed_workflowtrue►
    ◄additional_hashes►
    CategoryLany Nodes

    Inputs (16)

    NameTypeDefaultDescription
    formatCOMBOpng2 options: png, jpg
    imagesIMAGE—
    pathSTRINGFolder inside ComfyUI's output directory. Leave empty to use the output directory. Supports %date, %time, %time_format<format>, %model, %seed, %steps, %width, and %height, as in filename. For example: %date/sdxl/png. No absolute paths or . or .. path components.
    filenameSTRING%time_%model_%seedFilename only; the extension is added automatically. Supports %date, %time, %time_format<format>, %model, %seed, %steps, %width, and %height. %model is the model filename without its extension. The result must use only ASCII letters, digits, underscores, hyphens, or periods, and cannot be '.' or '..'.
    modelsSTRINGComma-separated file paths under ComfyUI's models directory. Include extensions; the first file is the primary model. Filenames may use ASCII letters, digits, underscores, hyphens, or periods. No absolute paths or . or .. path components. Repeated paths are ignored; different files must have different filenames.
    positiveSTRING—
    negativeSTRING—
    seedINT00–18446744073709550000—
    stepsINT200–10000—
    widthINT00–9007199254740991Width stored in metadata. Set to 0 to use the image width.
    heightINT00–9007199254740991Height stored in metadata. Set to 0 to use the image height.
    time_formatSTRING%Y-%m-%d-%H%M%S—
    jpg_qualityINT801–100—
    optimize_pngBOOLEANfalseMake PNG files smaller without losing quality. May take longer to save.
    png_embed_workflowBOOLEANtrueSave the ComfyUI workflow and API prompt in PNGs. Generation metadata is always saved in PNG and JPG.
    additional_hashesSTRINGExtra metadata hashes, separated by commas. Surrounding whitespace and duplicates are ignored. No whitespace inside a hash.

    Outputs (0)

    No outputs