Nodes Browser
ComfyDeploy: How Mango Node Pack works in ComfyUI?
What is Mango Node Pack?
Node pack designed to save images with metadata supported by Civitai.
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
Mango Node Pack
and select it - Close the build step dialig and then click on the "Save" button to rebuild the machine
ComfyUI MangoNodePack
A collection of enhanced nodes for ComfyUI with metadata handling for Civitai and streamlined model loading.
π NEW NODES
π Prompt Saver β Don't lose your prompts ever again, by saving their copy in the output folder (or specified subfolder).
π Prompt Loader β Load saved prompts easily from the dropdown list, and connect to the Positive/Negative nodes.
π UPDATE - FLUX NODES
π Diffusion Model Loader β Like SDXL/PONY version, it loads model along with clips and LoRAs, extracting metadata and and passing them as string.
π FLUX Sampler β Metadata tracking with LoRA and checkpoint integration.
π FLUX Guidance β The very same FLUX Guidance as ComfyUI original, but with guidance extraction to save as metadata.
Known issue: Occasionally, not every LoRA will be visible on Civitai as the hash will not be recognized correctly. It's most likely caused by models' updates on Civitai, and re-downloading the model solves the issue.
π Features
π LoRA Metadata Exporter β Extracts trigger words from LoRA metadata (local & online).
π Prompt Formatters β Organizes quality tags, descriptions, and prompt structure.
π Smart Model Loader β Loads models and LoRAs with automatic metadata extraction.
π Enhanced KSampler β Improved metadata tracking with LoRA and checkpoint integration.
π Advanced Image Saver β Saves images with embedded metadata, filenames, and auto-numbering.
π Custom Latent Generator β Predefined resolutions for common aspect ratios.
π½ Installation
Requirements
- ComfyUI installed and running.
- Python dependencies (install via terminal):
pip install safetensors
Installation Steps
Find Mango Node Pack in the ComfyUI Manager!
OR
- Clone the repository:
git clone https://github.com/mang01010/MangoNodePack.git
- Move the
MangoNodePack
folder into ComfyUIβscustom_nodes
directory. - Restart ComfyUI to load the new nodes.
π Node Overview
1οΈβ£ Trigger Exporter (Mango)
π‘ Category: Metadata
- The pack started with this node. It extracts trigger words from LoRAs and concatenates them as comma delimited string that can be pushed further, so you won't have to think about these. Don't fail using downloaded LoRA ever again!
2οΈβ£ Prompt (Mango)
π‘ Category: Metadata
- This node organizes prompts into three separate text boxes, making them easier to read and edit. It also supports direct integration with the Trigger Exporter.
3οΈβ£ Prompt /w Embedding (Mango)
π‘ Category: Metadata
- Does the same thing as Prompt (Mango), but divides prompt further to add embeddings in seperate field.
4οΈβ£ Loader (Mango)
π‘ Category: Loaders
- Loads Stable Diffusion models and up to 5 LoRAs.
- Computes model hashes and applies LoRAs with weight control.
5οΈβ£ KSampler (Mango)
π‘ Category: Sampling
- This version of the KSampler node features eight inputs. The standard inputsβmodel, latent image, positive, and negativeβare used for image generation. Additionally, it includes a LoRA stack, checkpoint name, and separate positive and negative text fields as a metadata workaround for:
6οΈβ£ Image Saver (Mango)
π‘ Category: Metadata
- Saves images with embedded metadata (prompt, seed, CFG, steps, sampler, checkpoint and LoRAs info), ensuring compatibility with Civitai for direct metadata reading.
- Supports auto-numbering and custom subdirectories.
7οΈβ£ Latent Image (Mango)
π‘ Category: Loaders
- Generates latent tensors in predefined aspect ratios (e.g., 1:1, 16:9, etc.).
π Usage Guide
Once installed, find the MangoNodePack nodes inside ComfyUI.
Example Workflow:
π License
This project is licensed under the MIT License β see the LICENSE file for details.