upload_image
Upload a local image file to ComfyUI's input directory via HTTP endpoint, making it available for LoadImage nodes. Returns the stored filename.
Instructions
Upload a local image file to the connected ComfyUI's input/ directory via the HTTP /upload/image endpoint so it can be referenced in LoadImage nodes. Works for both local and remote ComfyUI. Returns the stored filename.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_path | Yes | Absolute path to the local file to upload | |
| filename | No | Override the filename in ComfyUI's input/ directory. Auto-detected from source path if omitted. |