ComfyUI Extension: ComfyUI-send-Eagle(slim)
Nodes:Send Webp Image to Eagle. This is an extension node for ComfyUI that allows you to send generated images in webp format to Eagle. This extension node is a re-implementation of the Eagle linkage functions of the previous ComfyUI-send-Eagle node, focusing on the functions required for this node.
Custom Nodes (2)
README
ComfyUI-send-Eagle(slim)
A ComfyUI extension node that integrates generated images with Eagle, a powerful image management software.
Table of Contents
Features
This extension node sends images generated in ComfyUI to locally running Eagle.
- Image Format Selection: Send images in
webp
orpng
format.- For
webp
format, choose between lossy compression (with quality settings) and lossless compression.
- For
- Flexible Text Input: Directly input
prompt_text
,negative_text
, andmemo_text
for use as annotations and tags in Eagle. These inputs are optional. - Custom Folder Selection: Specify a
folder_name
within Eagle to save images. If the specified folder doesn't exist, images will be saved to Eagle's root folder. - PNG Metadata Preservation: When saving images in
png
format, ComfyUI workflow information (prompt
andextra_pnginfo
) is embedded as metadata. This allows you to recreate the generation workflow by dragging and dropping the image from Eagle back into ComfyUI.
Installation
- Navigate to ComfyUI's
custom_nodes
directory.cd path/to/ComfyUI/custom_nodes
- Clone this repository with the following command.
git clone https://github.com/shingo1228/ComfyUI-send-eagle-slim.git
- Restart ComfyUI.
Usage
Add the Send Image to Eagle
node to your ComfyUI workflow.
Connect an image to the node's input port and configure the following parameters as needed:
images
: The image to send.format
: Image save format (webp
orpng
).lossless_webp
: Forwebp
format, enable lossless compression (Enabled
) or use lossy compression (Disabled
).compression
: Compression quality forwebp
format (1-100).folder_name
: Destination folder name within Eagle (e.g.,My Project/Generated Images
).prompt_text
: Prompt text to associate with the image.negative_text
: Negative prompt text to associate with the image.memo_text
: Memo or additional information to associate with the image.
Screenshots:
Custom Node
Annotation Display in Eagle
Filename Display in Eagle
Tags Display in Eagle
Exif Information Display:
<img src="misc/sss_exif.jpg" alt="Exif Information in Eagle" style="width:512px; height:auto;">Configuration
This extension node uses config/default_config.json
for some settings.
To customize settings:
- Copy
config.json.template
toconfig/default_config.json
in theconfig
directory. - Edit
config/default_config.json
to adjust parameters.
If config/default_config.json
is not found, default settings will be used.
Testing
Run the test suite to ensure everything works correctly:
# Run unit tests
python -m pytest tests/unit/
# Run integration tests
python tests/integration/run_integration_test.py
Contributing
Bug reports, feature suggestions, and pull requests are welcome. Please see CONTRIBUTING.md for details.
License
This project is licensed under the MIT License.
Acknowledgments
- Developers and community of ComfyUI
- Developers of Eagle
- Contributors to the predecessor ComfyUI-send-Eagle
Changelog
See CHANGELOG.md for version history and changes.