ComfyUI Node
Batch Save Image
Writes, moves or copies one picture into a directory decided upstream. Move mode tidies the source folder as it goes.
Batch Save Image
- image
- image
- saved_path
- written
◄directory►
◄modemove►
◄filename_prefix►
◄formatkeep►
◄quality95►
◄overwritefalse►
◄enabledtrue►
◄source_path►
◄report►
CategoryFVM Tools/Batch
Inputs (10)
| Name | Type | Default | Description |
|---|---|---|---|
| directory | STRING | Target folder — wire this to the router's target_dir or the loader's pass_dir/fail_dir. | |
| mode | COMBO | move | save: write the image tensor as a new file. move: move the original file (tidies the source folder). copy: copy the original, source stays. |
| filename_prefix | STRING | Prepended to the filename. Empty keeps the original name. | |
| format | COMBO | keep | Output format in save mode. keep: reuse the source file's extension, PNG if unknown. |
| quality | INT | 951–100 | JPEG/WebP quality in save mode. |
| overwrite | BOOLEAN | false | Off: a colliding name gets _001, _002, … On: the existing file is replaced. |
| enabled | BOOLEAN | true | Off: do nothing and pass the image through. Lets one branch of a fork stay idle. |
| imageopt | IMAGE | Required for save mode. | |
| source_pathopt | STRING | The loader's source_path. Required for move/copy. | |
| reportopt | STRING | Written next to the picture as a .txt sidecar, so the folder records why each file landed there. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| saved_path | STRING | — |
| written | BOOLEAN | — |