Nodes/comfyui-arkennemasis/arkennemasis Text File Save (caption sidecar)
ComfyUI Node

arkennemasis Text File Save (caption sidecar)

Write text to <folder_path>/<filename>.<extension> - a caption sidecar matching an image saved with the same folder and filename.

By Hishamahmer·Created about a month ago·Updated 9 days ago· 5
arkennemasis Text File Save (caption sidecar)
  • images
  • path
text
folder_path
filename
extensiontxt
overwritetrue
Categoryarkennemasis/Utility

Inputs (6)

NameTypeDefaultDescription
textSTRINGThe caption. Trailing whitespace is stripped.
folder_pathSTRINGSame folder the image save writes to. Relative paths resolve inside ComfyUI's output directory.
filenameSTRINGSame filename stem as the image, WITHOUT an extension.
extensionoptSTRINGtxtSidecar extension, no dot.
imagesoptIMAGEOptional, but wire the generated image in: it binds this caption to that branch, so a skipped branch writes no orphan caption.
overwriteoptBOOLEANtrueOff = refuse to replace an existing file.

Outputs (1)

NameTypeDescription
pathSTRING