Nodes/comfyui_imgtools/Save Image with Caption (rholdorf)
ComfyUI Node

Save Image with Caption (rholdorf)

Save images as PNG with standard ComfyUI metadata plus a matching UTF-8 .txt caption file (for LoRA training pairs).

By rholdorf·Created 7 months ago·Updated about a month ago· 0
Save Image with Caption (rholdorf)
  • images
    caption
    filename_prefixComfyUI
    caption_in
    Categoryrholdorf/image

    Inputs (4)

    NameTypeDefaultDescription
    imagesIMAGEThe images to save.
    captionSTRINGCaption written as a UTF-8 .txt file alongside each image (same base name).
    filename_prefixSTRINGComfyUIPrefix for the saved files. May include formatting like %date:yyyy-MM-dd% or %Empty Latent Image.width%.
    caption_inoptSTRING

    Outputs (0)

    No outputs