ComfyUI Extension: ComfyUI_UploadToWebhookHTTP
Send generated images or videos to any HTTP webhook with optional parameters such as prompt-id and metadata payload.
Custom Nodes (0)
README
ComfyUI_UploadToWebHook
A custom node for ComfyUI that allows you to send generated image(s) or video clips directly to an HTTP webhook along with optional metadata such as prompt_id
and other_data
.
โจ Features
- ๐ Upload a single image or video (from image sequence) to a webhook URL
- ๐ฆ Includes
prompt_id
and additionalother_data
as form data - ๐ง Accepts image tensor input from ComfyUI image nodes
- ๐๏ธ Optional save toggle to control file persistence (save or temp)
- ๐ Textarea input for passing additional JSON data
๐ง Installation
- Clone or download this repo into your
ComfyUI/custom_nodes
directory:
cd /workspace/ComfyUI/custom_nodes
git clone https://github.com/yourusername/ComfyUI_UploadToWebHook.git
- Install dependencies:
cd ComfyUI_UploadToWebHook
bash install.sh
- Restart ComfyUI (or use the Reload Custom Nodes button if available).
๐งฉ How to Use
In ComfyUI:
- Drag your image output (e.g., from
VAE Decode
) to the Send To Http Webhook node. - Configure:
webhook_url
: The URL that will receive your image or video.frame_rate
: Only used when sending multiple images as a video.save_image
: Toggle to control whether to store file permanently.prompt_id
: (optional) Identifier of your prompt or run.other_data
: (optional) JSON key-value data sent as extra POST fields.
๐ผ๏ธ UI Example
๐งช Webhook Example
You can test with a free service like https://webhook.site.
- The uploaded image/video appears as
file
. - Additional fields (
prompt_id
,other_data
) are sent as part of the POST form data.
๐ค Output Payload
Sample multipart form sent to webhook:
POST /your/webhook HTTP/1.1
Content-Type: multipart/form-data
file: image.png / video.mp4
prompt_id: acde070d-8c4c-4f0d-9d8a-162843
other_data: {"hello": "world"}
๐ Folder Structure
ComfyUI_UploadToWebHook/
โโโ __init__.py
โโโ requirements.txt
โโโ install.sh
๐งโ๐ป Contributing
Pull requests and feature ideas are welcome!
Feel free to fork and create a PR.
๐ License
This project is licensed under the MIT License.
See LICENSE for details.