Nodes Browser
ComfyDeploy: How ComfyUI-GaussianShadingWatermark works in ComfyUI?
What is ComfyUI-GaussianShadingWatermark?
Add invisible watermark to images to protect your images
How to install it in ComfyDeploy?
Head over to the machine page
- Click on the "Create a new machine" button
- Select the
Edit
build steps - Add a new step -> Custom Node
- Search for
ComfyUI-GaussianShadingWatermark
and select it - Close the build step dialig and then click on the "Save" button to rebuild the machine
Comfyui-GaussianShadingWatermark
This repository UNOFFICIAL a invisable watermarking method named Gaussian Shading for Comfyui.
"Gaussian Shading: Provable Performance-Lossless Image Watermarking for Diffusion Models" (Accepted by CVPR 2024).
This watermark tool provides a plug-and-play solution for embedding custom watermark messages into the image generation workflow. It is designed to integrate seamlessly with ComfyUI. Example workflows (for stable 1.5, PixArt, and Flux versions) are provided which cover the entire process of watermark embedding, image generation, and watermark extraction.
Features
- Easy Integration: Simply plug this module into your ComfyUI workflows.
- Plug-and-Play: By default, all you need to modify is the watermark
message
parameter. - Complete Workflow: Example workflows demonstrate the embedding of the watermark, generation of images, and extraction of the watermark.
- Multiple Implementations: The tool currently supports method Gaussian Shading (GS) for watermark embedding.
Installation
cd ComfyUI/custom_nodes/
git clone https://github.com/lthero-big/Comfyui-GaussianShadingWatermark.git
Usage
- Set the Watermark Message:
Edit themessage
parameter in the node settings to your custom watermark text. - Embed the Watermark:
Use the provided nodes to embed the watermark into the latent noise. - Generate Images:
Run the workflow to generate images with the embedded watermark. - Extract the Watermark:
Use the extraction node to verify or recover the watermark from the output images.
Example Workflows
Three example workflows are included:
- MajicmixRealistic Version: Tailored for Stable Diffusion 1.5.
- PixArt Version: Designed for PixArt.
- Flux Version: Configured for Flux.
Simply load the appropriate workflow into ComfyUI to try out the end-to-end watermark process.