ComfyUI Node
MD: Advanced Media Save
A ComfyUI node in MD_Nodes/Save with 11 inputs and 1 output.
MD: Advanced Media Save
- images
- file_path
◄filename_prefixAMS_%Y-%m-%d►
◄save_formatPNG►
◄save_metadatatrue►
◄custom_notes►
◄jpeg_quality95►
◄webp_quality90►
◄webp_losslesstrue►
◄framerate8.0►
◄video_quality8►
◄debug_mode0 - Silent►
CategoryMD_Nodes/Save
Inputs (11)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | IMAGE INPUT • Purpose: The image or batch of images to save. • Format: Standard ComfyUI IMAGE tensor [batch, height, width, 3]. | |
| filename_prefix | STRING | AMS_%Y-%m-%d | FILENAME PREFIX • Purpose: Prefix for the saved file(s). • Options: Supports strftime codes (e.g., %Y, %m, %d, %H, %M, %S). • Note: Automatically appended with a timestamp to prevent overwrites. ⭐ Recommended: Keep default or add project name (e.g., 'projectX_%Y-%m-%d'). |
| save_format | COMBO | PNG | SAVE FORMAT • Purpose: Choose the output file format. • Static: PNG, JPEG, WEBP save each image in the batch individually. • Animation: GIF, MP4, WEBM compile the batch into a single video file. ⭐ Recommended: PNG for highest quality static images. |
| save_metadataopt | BOOLEAN | true | SAVE METADATA • Purpose: Toggle embedding workflow and prompt data into the file. • Trade-offs: Large workflows may bloat file sizes. Automatically triggers Sidecar JSON if > 256KB. ⭐ Recommended: True (unless sharing publicly and privacy is needed). |
| custom_notesopt | STRING | CUSTOM NOTES • Purpose: Add personal text notes to the file's metadata. • Note: Only embedded if 'Save Metadata' is True. | |
| jpeg_qualityopt | INT | 951–100 | JPEG QUALITY • Purpose: Compression quality for JPEG formats. • Range: 1 (Lowest) to 100 (Highest). ⭐ Recommended: 95 for best balance of size and quality. |
| webp_qualityopt | INT | 901–100 | WEBP QUALITY • Purpose: Compression quality for lossy WEBP formats. • Note: Ignored if 'WEBP Lossless' is enabled. ⭐ Recommended: 90. |
| webp_losslessopt | BOOLEAN | true | WEBP LOSSLESS • Purpose: Forces WEBP to save with zero quality loss. • Trade-offs: Perfect quality but significantly larger file sizes. ⭐ Recommended: True. |
| framerateopt | FLOAT | 8.00.1–60 | FRAMERATE (FPS) • Purpose: Playback speed for animation formats (GIF, MP4, WEBM). • Options: 8-12 fps is common for standard GIF generations. ⭐ Recommended: 8.0 |
| video_qualityopt | INT | 81–10 | VIDEO QUALITY • Purpose: Internal quality parameter for MP4 (H.264) and WEBM (VP9). • Range: 1 (Lowest) to 10 (Highest lossless). ⭐ Recommended: 8. |
| debug_modeopt | COMBO | 0 - Silent | LOGGING VERBOSITY • Purpose: Controls console output and enables disk I/O profiling. • Options: 0 (Silent), 1 (Info/Stats), 2 (Verbose). ⭐ Recommended: 0 - Silent for standard production. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| file_path | STRING | — |