upload_image
Upload a source image (local path or base64) to ComfyUI's input folder, making it available for LoadImage in img2img, inpaint, or ControlNet workflows. Optionally upload a mask for an existing image.
Instructions
Upload a source image into ComfyUI's input folder so LoadImage can use it (img2img / inpaint / ControlNet). Exactly one of image_path (local file) or image_base64. mask_for={filename, subfolder?, type?} uploads this as a MASK for that already-uploaded image instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| mask_for | No | ||
| overwrite | No | ||
| subfolder | No | ||
| image_path | No | ||
| image_base64 | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||