ComfyOnlineUploadAnything
Turn a local file into a path string for the rest of your graph
- file_path
This node uses ComfyUI's familiar upload-combo pattern - the same widget behind LoadImage's file picker - except it's generic about what you're uploading, not locked to images. Pick a file from your input folder, or use the upload button to add a new one, and the node hands you back a plain string path you can wire into anything else in your graph that wants a file location.
What it's for
Most ComfyUI input nodes are typed to one kind of file - LoadImage wants an image, LoadAudio wants audio. This node sidesteps that by not caring: it just resolves whatever file you picked to a path and outputs that path as a STRING. That's useful when a downstream node in your workflow expects a file path rather than the parsed contents - this pack's own ComfyOnlineSaveFile node, for instance, takes exactly that kind of bare path string as its input, and the two look like they're meant to be used together.
As with the rest of the comfyonline-dynamic category this node lives in, it's built as plumbing for ComfyOnline (comfyonline.app), the cloud platform this whole pack takes its name and purpose from. Whether picking a file here also uploads it somewhere on ComfyOnline's backend, or whether it's purely a local path resolver, isn't spelled out in the pack's README - the schema only tells you the input and output shapes, not the side effects.
The input and output that matter
file(enum, required) - the standard ComfyUI file-picker combo: a dropdown of files already present in yourinputfolder, plus an upload button in the node's UI to add a new one on the fly. The schema's sample value is a placeholder (example.png), but nothing in the node restricts you to images - "anything" is the point.- Output:
file_path(STRING) - the resolved path to whatever you picked, ready to feed into any node downstream that expects a plain path rather than parsed file data.
How to install it
- ComfyUI Manager - search "comfyui-model-dynamic-loader," install, restart.
- Manual -
cd ComfyUI/custom_nodes && git clone https://github.com/jax-explorer/comfyui-model-dynamic-loader, then restart.
No dependencies listed for this node specifically. It doesn't download anything itself - it works with a file you already have locally, either sitting in input already or added through the node's own upload control.
Common issues & troubleshooting
Dropdown only shows example.png or is otherwise empty. That's the standard ComfyUI input-folder behavior - the combo is populated from whatever's actually in your input directory. Use the node's upload button to add a file rather than expecting one to already be there.
Not sure what happens after upload beyond the path. That's the honest answer for this node outside its home platform: the README documents the input/output shape but not what, if anything, happens on ComfyOnline's side when you pick a file. If your goal is simply "get a local file's path into my graph as a string" for use inside ComfyUI itself, this node does that regardless of whether the ComfyOnline-specific wiring behind it is active for your setup.
Downstream node rejects the file_path string. Double-check the receiving node actually expects a raw path (like ComfyOnlineSaveFile does) rather than parsed image or audio data - a path string and an IMAGE/AUDIO socket aren't interchangeable, and ComfyUI's type checking will catch the mismatch at the wire rather than silently doing the wrong thing.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| file | COMBO | 1 options: example.png |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| file_path | STRING | — |