ComfyUI Node
Save to Cloud Drive
Upload images and videos to your own cloud drive (Google Drive, WebDAV, Cloudflare R2), optionally end-to-end encrypted. Hover over each option for details.
Save to Cloud Drive
- images
- video
- file_count
◄provider▾►
◄remote_folderComfyUI/%date:yyyy-MM-dd%►
◄encryptfalse►
◄previewfalse►
◄keep_local_copyfalse►
◄wait_for_uploadfalse►
◄filename_prefixComfyUI►
◄stop_on_errortrue►
◄file_paths—►
CategorySnackNodes
Inputs (11)
| Name | Type | Default | Description |
|---|---|---|---|
| provider | COMBO | Which cloud drive to upload to. Connect drives in SnackNodes > Cloud drives (top bar) (click the status line below). | |
| 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%. Existing files are never overwritten (name_1, name_2 ...). |
| encrypt | BOOLEAN | false | Encrypt file contents and names before upload (Cryptomator vault format); open them with the Cryptomator app. Set up the vault once in SnackNodes > Cloud drives (top bar). |
| preview | BOOLEAN | false | Show the saved images on the node after the run. |
| keep_local_copy | BOOLEAN | false | On: also keep the files in ComfyUI's output folder. Off: nothing is kept in output; the temporary copies are deleted after the upload or when ComfyUI restarts. |
| wait_for_upload | BOOLEAN | false | Off (default): files upload in the background and the workflow goes on at once; progress shows on the node, and unfinished uploads continue after a restart. On: the workflow waits here until the upload is done, so the file_count output counts uploaded files (for automation). |
| 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; the file_count output tells how many files were uploaded. With background uploads this only applies to setup problems found before queueing (drive not connected, no vault). |
| 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 (1)
| Name | Type | Description |
|---|---|---|
| file_count | INT | Number of files: uploaded (wait_for_upload on; with stop_on_error off and a failure, the ones done before it) or queued for upload (off). 0 when nothing was uploaded. |