Nodes Browser

ComfyDeploy: How ComfyUI-GlifNodes works in ComfyUI?

What is ComfyUI-GlifNodes?

Custom set of nodes used by glif.app. With glif you can build mini apps that are powered by custom comfy workflows.

How to install it in ComfyDeploy?

Head over to the machine page

  1. Click on the "Create a new machine" button
  2. Select the Edit build steps
  3. Add a new step -> Custom Node
  4. Search for ComfyUI-GlifNodes and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine

ComfyUI-GlifNodes

Custom nodes for comfyUI.

Install

pip install -r requirements.txt

Nodes

<details> <summary><b><code>GlifConsistencyDecoder</code></b> openai's consistency decoder from hf hub</summary> <img src="docs/consistency_vae.png" max-height="500px"/> </details> <details> <summary><b><code>🧪GlifPatchConsistencyDecoderTiled</code></b> decoder supporting tiled decoding</summary> <img src="docs/patch_vae.png" max-height="500px"/> </details> <details> <summary><b><code>SDXLAspectRatio</code></b> find the closest SDXL height and width for an image</summary> <img src="docs/sdxl_aspect_ratio.png" max-height="500px"/> </details> <details> <summary><b><code>ImageToMultipleOf</code></b> either crop or stretch an image to a multiple of a specific value</summary> <img src="docs/multiple_of.png" max-height="500px"/> </details> <details> <summary><b><code>HFHubLoraLoader</code></b> load LoRAs directly from Huggingface</summary> <img src="docs/load_hf_lora.png" max-height="500px"/> </details> <details> <summary><b><code>HFHubEmbeddingLoader</code></b> load embeddings directly from Huggingface</summary> <img src="docs/load_hf_embedding.png" max-height="500px"/> </details> <details> <summary><b><code>LoraLoaderFromURL</code></b> load LoRAs using a url.</summary> <img src="docs/load_lora_from_url.png" max-height="500px"/>

This will work with Huggingface, Civitai, and possibly others. Most models on Civitai will require an API key to download, which can be obtained on your Civitai account page. Add it to your environment variables as CIVITAI_API_KEY.

</details> <details> <summary><b><code>GlifVariable</code></b> easily use glif variables on the glif comfy editor</summary> <img src="docs/glif_variable.png" max-height="500px"/> </details> <br>

Acknowledgements

diffusers: https://github.com/huggingface/diffusers openai - consistencydecoder: https://github.com/openai/consistencydecoder reddit user Total-Resort-3120 for float ramp node

dev

Run tests:

python tests/test_image_padding_advanced.py