Send generated images or videos to any HTTP webhook with optional parameters such as prompt-id and metadata payload.
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
.
prompt_id
and additional other_data
as form dataComfyUI/custom_nodes
directory:cd /workspace/ComfyUI/custom_nodes
git clone https://github.com/yourusername/ComfyUI_UploadToWebHook.git
cd ComfyUI_UploadToWebHook
bash install.sh
In ComfyUI:
VAE Decode
) to the Send To Http Webhook node.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.You can test with a free service like https://webhook.site.
file
.prompt_id
, other_data
) are sent as part of the POST form data.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"}
ComfyUI_UploadToWebHook/
โโโ __init__.py
โโโ requirements.txt
โโโ install.sh
Pull requests and feature ideas are welcome!
Feel free to fork and create a PR.
This project is licensed under the MIT License.
See LICENSE for details.