upload_image
Upload a local image to ComfyUI's input directory, enabling use in LoadImage nodes. Automatically selects HTTP upload or filesystem copy.
Instructions
Upload a local image file to ComfyUI's input/ directory so it can be referenced in LoadImage nodes. Tries HTTP upload first (works with remote ComfyUI), falls back to filesystem copy when COMFYUI_PATH is set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_path | Yes | Absolute path to the local image file to upload | |
| filename | No | Override the filename in ComfyUI's input/ directory. Auto-detected from source path if omitted. |