comfyui_upload_image
Upload a base64-encoded image to ComfyUI's input directory, making it available for workflows. Optionally specify subfolder, destination, or overwrite to control file placement.
Instructions
Upload an image to ComfyUI.
Defaults to ComfyUI's input directory (the destination workflows read from). Set destination='output' or 'temp' only if you have a specific reason.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Name for the uploaded file (e.g. 'reference.png') | |
| overwrite | No | If True, replace any existing file with the same name. If False (default), ComfyUI auto-renames by suffixing ' (N)'. | |
| subfolder | No | Optional subfolder within the destination directory | |
| image_data | Yes | Base64-encoded image data | |
| destination | No | Destination directory. 'input' (default) is where workflows read user-supplied images from; 'output' and 'temp' are usually only useful for testing or scripted setups. | input |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |