upload_image
Upload a local image to ComfyUI's input directory for use in image-to-image or ControlNet workflows, with an optional subfolder placement.
Instructions
Upload an image to ComfyUI for use in image-to-image or controlnet workflows.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"image_path": "<image_path>"
},
"name": "upload_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subfolder | No | Optional subfolder within ComfyUI input directory | |
| image_path | Yes | Local file path to the image |