ComfyUI  >  Nodes  >  comfyui-easyapi-nodes

ComfyUI Extension: comfyui-easyapi-nodes

Repo Name

comfyui-easyapi-nodes

Author
lldacing (Account age: 2147 days)
Nodes
View all nodes (25)
Latest Updated
8/14/2024
Github Stars
0.0K

How to Install comfyui-easyapi-nodes

Install this extension via the ComfyUI Manager by searching for  comfyui-easyapi-nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter comfyui-easyapi-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-easyapi-nodes Description

Comfyui-easyapi-nodes provides nodes for converting between Base64 and images, including Base64 To Image, Image To Base64, and Load Image To Base64, facilitating seamless data transformation within the ComfyUI framework.

comfyui-easyapi-nodes Introduction

The comfyui-easyapi-nodes extension is designed to enhance the functionality of API interfaces by providing a set of custom nodes and features. This extension is particularly useful for AI artists who work with image processing and need to integrate various image-related tasks into their workflows seamlessly. By using this extension, you can easily convert images to base64 strings, load images from URLs, and perform other image manipulations, making your creative process more efficient and streamlined.

How comfyui-easyapi-nodes Works

At its core, comfyui-easyapi-nodes works by adding custom nodes to your workflow that handle specific tasks related to image processing and API interactions. Think of these nodes as building blocks that you can connect to create a pipeline for your image-related tasks. For example, you can use a node to load an image from a URL, another node to convert that image to a base64 string, and yet another node to display or save the image.

Imagine you are building a LEGO structure. Each node is like a LEGO piece with a specific function, and you can snap them together to build something complex. This modular approach allows you to customize your workflow to fit your specific needs without having to write any code.

comfyui-easyapi-nodes Features

The extension offers a variety of features, each encapsulated in a node. Here are some of the key features:

  • LoadImageFromURL: Loads an image from a given URL. This is useful for fetching images from the internet directly into your workflow.
  • LoadMaskFromURL: Similar to LoadImageFromURL, but specifically for loading mask images.
  • Base64ToImage: Converts a base64 string back into an image. This is useful for decoding images that have been transmitted as base64 strings.
  • Base64ToMask: Converts a base64 string back into a mask image.
  • ImageToBase64Advanced: Converts an image to a base64 string with options to specify the image type (e.g., image or mask). This is useful for API calls that require images in base64 format.
  • ImageToBase64: A simpler version of ImageToBase64Advanced, always converting images to base64 strings.
  • MaskToBase64Image: Converts a mask to a base64 string.
  • MaskImageToBase64: Another node for converting mask images to base64 strings.
  • LoadImageToBase64: Loads a local image and converts it to a base64 string.
  • SamAutoMaskSEGS: Generates semantic segmentation masks in coco or uncompress_rle format. Useful for advanced image segmentation tasks.
  • InsightFaceBBOXDetect: Detects faces in an image and adds bounding boxes around them.
  • ColorPicker: A simple color picker tool.
  • IntToNumber, StringToList, IntToList, ListMerge, JoinList: Various utility nodes for data manipulation.
  • ShowString, ShowInt, ShowFloat, ShowNumber, ShowBoolean: Nodes for displaying different types of data.
  • ImageEqual: Checks if two images are equal, useful for tasks like verifying if a mask is entirely black.
  • SDBaseVerNumber: Determines the version of the SD model being used (1.5 or XL).

comfyui-easyapi-nodes Models

This extension does not include different models but provides nodes that can interact with models you may already be using. For example, the SamAutoMaskSEGS node can work with models from the ComfyUI-Impact-Pack or the comfyui_segment_anything extension.

What's New with comfyui-easyapi-nodes

2024-08-08

  • Menu Adaptation: The menu has been adapted to fit the new ComfyUI frontend interface.

New Features

  • Extended Save Menu:

  • Copy Workflow

  • Save/Copy API format workflow (requires enabling Dev mode in Settings)

  • Save/Copy EasyAi format workflow, which replaces LoadImage with Base64ToImage and PreviewImage/SaveImage with ImageToBase64.

  • Settings Extensions:

  • Maximum History Size: Limits the number of history records to prevent memory overflow.

  • Auto Open Sub Menu: Automatically expands submenus.

  • Fuzzy Search: Enables fuzzy search in the menu.

  • Mirror Settings: Use mirror addresses for model downloads.

  • Menu Extensions:

  • Reset Node ID: Resets the ID of a specific node.

  • Reset All Node IDs: Resets IDs of all nodes starting from 1.

  • Locate Linked Nodes: Locates nodes connected to the current node.

Troubleshooting comfyui-easyapi-nodes

Here are some common issues you might encounter and how to solve them:

  • Issue: The interface becomes unresponsive when dealing with large base64 strings.
  • Solution: Consider uploading images to an OSS server and using the LoadImageFromURL node to fetch them. This reduces the load on your interface and network bandwidth.
  • Issue: Memory overflow due to too many history records.
  • Solution: Adjust the "Maximum History Size" setting in the Settings menu to a lower value.
  • Issue: Nodes are not performing as expected.
  • Solution: Double-check the node connections and settings. Refer to the node documentation for specific usage instructions.

Learn More about comfyui-easyapi-nodes

For more information, you can refer to the following resources:

  • ComfyUI Documentation
  • Community Forums
  • Tutorials and Examples These resources provide additional tutorials, documentation, and community support to help you get the most out of the comfyui-easyapi-nodes extension.

comfyui-easyapi-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.