ComfyUI-DiscordWebhook

ComfyUI-DiscordWebhook
★ 4

Discord集成Webhook图片分享隐私安全
在 ComfyUI 中通过 Discord webhook 发送图片和文字的轻量节点,需先用 Set 节点设置 URL,发送后删除 Set 节点以避免在工作流或图像元数据中保存 URL。
💡 将生成的图片或文本直接推送到 Discord 频道共享。
🍴 4 Forks💻 Python🔄 2025-08-13
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/e98a62d17551
📦 requirements.txt
discord_webhook[async]
InitialSetup
SetupResult
image
image
📄 README

[!IMPORTANT]

Delete the Set node after using to ensure that the URL is not saved within any workflow or image metadata.

ComfyUI-DiscordWebhook

A very simple Discord webhook integration node for ComfyUI that lets you post images and text.

Usage

On first use, you will need to use the “Set Discord Webhook” node to set your webhook URL. Create a blank workflow and add the two nodes from the Discord category for Set and Use Discord Webhook.

Connect them together and you should see a test image sent to your Discord channel if you configured your webhook correctly.

Delete the Set node after using to ensure that the URL is not saved within any workflow or image metadata.

How to Create a Webhook URL

https://support.discord.com/hc/en-us/articles/228383668-Intro-to-Webhooks

Installation:

[!NOTE]

Recommended to install ComfyUI-Manager and then search for and install this extension from within the manager: https://github.com/ltdrdata/ComfyUI-Manager?tab=readme-ov-file#installation

Clone or download this repo into your ComfyUI/custom_nodes folder.

Modules:

[!IMPORTANT]

Install discord_webhook[async] module with pip.

For Windows:

.\python_embeded\python.exe -s -m pip install –upgrade discord_webhook[async]

Ex. custom_launcher.bat

.\python_embeded\python.exe -s -m pip install --upgrade discord_webhook[async]
.\python_embeded\python.exe -s ComfyUI\main.py --windows-standalone-build
pause

For Linux:

./bin/python -s ./bin/pip install –upgrade discord_webhook[async]

Ex. custom_launcher.sh

./bin/python -s ./bin/pip install --upgrade discord_webhook[async]
./bin/python -s ./main.py
pause

License

[!IMPORTANT]

Most of my work is under the GNU LESSER GENERAL PUBLIC LICENSE Version 2.1 (See the included LICENSE or visit (https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html#SEC1)


In summary, you may make modifications and derivatives of this work as long as:

+ The work is licensed under LGPLv2.1

+ The source is made freely available

+ You link back to my original source

+ My original copyright notices are preserved without modification

+ Any files modified carry prominent notices stating that you changed the files and the date of any change.

[!NOTE]

### Distributing this work in it’s entirety and without modfication such as in a pack or content delivery system is perfectly fine and is not subject to the scope of this license.