ComfyUI-SendToDiscord is a custom node for ComfyUI that simplifies sending preview images to Discord via webhooks. It supports both single-image uploads and batch mode, making it an efficient tool for sharing your generated images directly with your Discord server.
ComfyUI-SendToDiscord is a custom node for ComfyUI that simplifies sending preview images to Discord via webhooks. It supports both single-image uploads and batch mode, making it an efficient tool for sharing your generated images directly with your Discord server.
config.ini
file for webhook URL configuration.Pillow
, requests
, and numpy
libraries (automatically installed via requirements.txt
).comfy node registry-install comfyui-sendtodiscord
git clone https://github.com/gmorks/ComfyUI-SendToDiscord.git
cd ComfyUI-SendToDiscord
pip install -r requirements.txt
config.ini
file:
config.ini.template
file in the root directory.config.ini
:
cp config.ini.template config.ini
config.ini
file and replace the placeholder with your Discord webhook URL:
; Configuration file for ComfyUI-SendToDiscord
; Replace 'your-webhook-url-here' with your Discord webhook URL.
; You can get a webhook URL by going to your Discord server settings, then Integrations, then Webhooks, then New Webhook.
[Discord]
webhook_url = your-webhook-url-here
This node has been tested with the following Python packages:
Pillow>=9.5.0
requests>=2.28.2
numpy>=1.23.5
If you encounter issues, please ensure these versions or higher are installed, or consult the official ComfyUI documentation for compatible dependencies.
The node uses the following parameters:
You can add this node after your image generation process to preview and share your results directly.
This project is licensed under the MIT License. See the LICENSE file for details.