ComfyUI  >  Nodes  >  ComfyUI-Hangover-Nodes

ComfyUI Extension: ComfyUI-Hangover-Nodes

Repo Name

ComfyUI-Hangover-Nodes

Author
Hangover3832 (Account age: 640 days)
Nodes
View all nodes (4)
Latest Updated
6/14/2024
Github Stars
0.0K

How to Install ComfyUI-Hangover-Nodes

Install this extension via the ComfyUI Manager by searching for  ComfyUI-Hangover-Nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-Hangover-Nodes in the search bar
After installation, click the  Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

ComfyUI-Hangover-Nodes Description

ComfyUI-Hangover-Nodes includes MS kosmos-2 Interrogator, Save Image w/o Metadata, and Image Scale Bounding Box nodes, implementing Microsoft's kosmos-2 image-to-text transformer for enhanced image processing and metadata management.

ComfyUI-Hangover-Nodes Introduction

ComfyUI-Hangover-Nodes is an extension for , a powerful and user-friendly graphical interface and backend for stable diffusion. This extension introduces a variety of custom nodes that enhance the functionality of ComfyUI, making it easier for AI artists to manipulate and process images. Whether you are looking to scale images, create inpainting models, or use advanced multimodal language models, ComfyUI-Hangover-Nodes provides the tools you need to achieve your creative goals.

How ComfyUI-Hangover-Nodes Works

ComfyUI-Hangover-Nodes works by adding new nodes to the ComfyUI environment. These nodes are like building blocks that you can connect to create complex workflows for image processing and generation. Each node performs a specific function, such as scaling an image, saving an image with or without metadata, or using a language model to generate text from an image. By combining these nodes in different ways, you can create customized workflows that suit your specific needs.

Think of it like a digital art studio where each tool (node) has a unique purpose. You can mix and match these tools to create your masterpiece, whether it's enhancing an image, generating new content, or analyzing visual data.

ComfyUI-Hangover-Nodes Features

Kosmos-2 Node

The Kosmos-2 node integrates the model, a multimodal large language model that can process both text and images. This node can recognize elements in an image and generate descriptive text. For example, if you input an image of a famous person, Kosmos-2 can identify the person and describe the scene.

  • Usage Example: Input an image of a landscape and a prompt like "A detailed description of the scene." The node will output a detailed textual description of the landscape.
  • Customization: You can influence the output by adjusting the prompt. For instance, adding "very detailed" to the prompt will result in a more detailed description.

Save Image without Metadata Node

This node allows you to save images with or without the metadata that includes the ComfyUI workflow. It is particularly useful for privacy concerns or when you want to share images without revealing the underlying workflow.

  • Usage Example: After processing an image, use this node to save the final output without any metadata.
  • Customization: You can toggle the inclusion of metadata and even use the node as a preview tool without saving the image.

Scale Image to Bounding Box Node

This node scales an input image to fit within a specified bounding box while maintaining the aspect ratio. It can also pad the image to fill the box with a chosen color.

  • Usage Example: Resize an image to fit within a 500x500 pixel box without distorting the image.
  • Customization: Choose the padding color to match your design needs.

Make Inpainting Model for SD1.5 Node

This node allows you to create an inpainting version of any Stable Diffusion 1.5 model on the fly. Inpainting is useful for tasks like filling in missing parts of an image or adding details.

  • Usage Example: Convert a standard SD1.5 model into an inpainting model to repair damaged areas in an image.
  • Customization: Ensure you have the original SD1.5 models from in your models folder for the conversion process.

What's New with ComfyUI-Hangover-Nodes

Recent Updates

  • Save Image Node: Now has a single button to include/exclude metadata and can act as an image preview tool.
  • Kosmos-2 Interrogator: Outputs a mask indicating recognized elements in the image.
  • Image Scale to Bounding Box: Can now pad the image to its given box size.
  • New Node: Make inpainting model for SD1.5.
  • Kosmos-2 Update: Ability to strip out the prompt from the response and support for manually downloaded model folder locations.
  • Batch Processing: Scale Image Bounding Box can now be used in batches. These updates enhance the functionality and usability of the nodes, making it easier for AI artists to achieve their desired results.

Troubleshooting ComfyUI-Hangover-Nodes

Common Issues and Solutions

  1. Model Download Issues: If the Kosmos-2 model does not download automatically, you can manually download it from and place it in the ./ComfyUI/models/kosmos2/kosmos-2-patch14-224 folder.
  2. High VRAM Usage: The Kosmos-2 model requires about 6GB of VRAM in GPU mode. If you encounter memory issues, consider using the CPU mode or upgrading your hardware.
  3. Image Not Saving: Ensure that the save image node is correctly configured to include or exclude metadata as needed. Right-click on the image to manually save it if necessary.

Frequently Asked Questions

  • Q: Can I use these nodes on operating systems other than Windows 10?
  • A: While the nodes have been tested primarily on Windows 10, they should work on other operating systems with proper configuration.
  • Q: How do I customize the padding color for the Scale Image to Bounding Box node?
  • A: You can select the padding color within the node settings to match your design requirements.

Learn More about ComfyUI-Hangover-Nodes

For additional resources, tutorials, and community support, consider exploring the following:

  • These resources provide valuable information and support to help you make the most of ComfyUI-Hangover-Nodes in your creative projects.

ComfyUI-Hangover-Nodes Related Nodes

RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.