upload_image
Upload a source image to ComfyUI's input folder for use with LoadImage in img2img, inpaint, or ControlNet. Accepts local file path or base64, and can upload as a mask.
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 | |||