ComfyUI Node
Save Image (Dataset) MXD
Save images under an exact filename with no prefix or counter, for round-tripping image+caption datasets: load from a folder, process, save back using the same base name so the sidecar .txt still matches.
Save Image (Dataset) MXD
- images
- filename
◄filename►
◄sourceinputs►
◄subfolder►
◄embed_workflowfalse►
CategoryMXD/Image
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | Images to save. | |
| filename | STRING | Exact base filename to save as. Any extension is stripped and replaced with .png. Connect the 'filename' output of Load Image (From Folder) MXD to keep dataset pairing with a sidecar .txt. | |
| source | COMBO | inputs | Folder root to save into. |
| subfolder | STRING | Optional subfolder under the source root, e.g. 'flux_processed'. Use a different subfolder than your source images so you don't overwrite the originals. | |
| embed_workflowopt | BOOLEAN | false | Embed workflow metadata in the saved PNG. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| filename | STRING | The filename(s) written, one per line if the batch had more than one image. |