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.
arkennemasis Text File Save (caption sidecar)
- images
- path
◄text►
◄folder_path►
◄filename►
◄extensiontxt►
◄overwritetrue►
Categoryarkennemasis/Utility
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| text | STRING | The caption. Trailing whitespace is stripped. | |
| folder_path | STRING | Same folder the image save writes to. Relative paths resolve inside ComfyUI's output directory. | |
| filename | STRING | Same filename stem as the image, WITHOUT an extension. | |
| extensionopt | STRING | txt | Sidecar extension, no dot. |
| imagesopt | IMAGE | Optional, but wire the generated image in: it binds this caption to that branch, so a skipped branch writes no orphan caption. | |
| overwriteopt | BOOLEAN | true | Off = refuse to replace an existing file. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| path | STRING | — |