Save to Cloud Drive
Upload images, a video or existing files to your own cloud drive, optionally end-to-end encrypted. One-time setup (in a terminal on the ComfyUI machine): python custom_nodes/comfyui_snacknodes/auth.py google_drive python custom_nodes/comfyui_snacknodes/auth.py webdav --url URL --username USER python custom_nodes/comfyui_snacknodes/auth.py vault-create webdav (only for encrypt) Credentials are stored on that machine, never in the workflow. Usage - Connect images and/or video; pick the drive. - remote_folder: folder on the drive, created if missing. Date tokens: ComfyUI/%date:yyyy-MM-dd% -> ComfyUI/2026-11-01 ComfyUI/%year%/%month% -> ComfyUI/2026/11 - encrypt: file contents and names are encrypted before upload (Cryptomator vault); open them with the Cryptomator app. - preview: show the images on the node after the run. - keep_local_copy: also keep the files in ComfyUI's output folder. - Advanced: filename_prefix (local file names); stop_on_error off = keep going and output success = False instead of stopping the workflow. - Outputs: remote_paths (one line per file) and success (True/False) for automation. - file_paths (input): connect a text node listing files that already exist in the output folder, one per line, e.g. video/ComfyUI_00001_.mp4 Existing files are never overwritten (name_1, name_2 ...).
- images
- video
- remote_paths
- success
Inputs (10)
| Name | Type | Default | Description |
|---|---|---|---|
| provider | COMBO | Which cloud drive to upload to. Authorize it once with auth.py. | |
| remote_folder | STRING | ComfyUI/%date:yyyy-MM-dd% | Folder on the drive (inside the vault when encrypting); created if missing. Date tokens: %date:yyyy-MM-dd%, %year%, %month%, %day%, %hour%, %minute%, %second% (server local time). Example: ComfyUI/%date:yyyy-MM% |
| encrypt | BOOLEAN | false | Encrypt file contents and names before upload (Cryptomator vault format); open them with the Cryptomator app. Create the vault once with auth.py vault-create. |
| preview | BOOLEAN | true | Show the saved images on the node after the run. |
| keep_local_copy | BOOLEAN | true | On: also keep the files in ComfyUI's output folder. Off: use the temp folder (cleared when ComfyUI restarts). |
| filename_prefix | STRING | ComfyUI | Name prefix for saved images/videos, same as Save Image. A sub folder is allowed, e.g. portraits/ComfyUI |
| stop_on_error | BOOLEAN | true | On: a failed upload stops the workflow with an error. Off: the workflow continues and the success output is False (for automation). |
| imagesopt | IMAGE | Images to save as PNG and upload. | |
| videoopt | VIDEO | Video to save as MP4 and upload. | |
| file_pathsopt | STRING | Optional: connect a text node listing existing files to upload, one per line, relative to ComfyUI's output folder, e.g. video/ComfyUI_00001_.mp4 |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| remote_paths | STRING | One line per uploaded file: a share link when the drive provides one, otherwise provider:path. |
| success | BOOLEAN | True when every file was uploaded. With stop_on_error off, a failed upload gives False instead of stopping the workflow, so you can branch on it. |