Giter VIP home page Giter VIP logo

comfyui_ezxy's Introduction

ezXY

A collection of scripts and custom nodes for ComfyUI.

Features

  • Automatic type-casting for most custom and native nodes.
  • Compact math node
  • List generation for iteration control
  • Versitile XY plotter

Installation

Clone the repository to custom_nodes in your ComfyUI directory:

git clone https://github.com/GMapeSplat/ComfyUI_ezXY.git

Scripts

Automatic type-casting

Patches Comfy UI during runtime to allow integer and float slots to connect. Data types are cast automatically and clamped to the input slot's configured minimum and maximum values. Should work out of the box with most custom and native nodes. Might cause some compatibility issues, or break depending on your version of ComfyUI.

Runtime patches do not modify any source files, but it is fairly brute force. Use at your own risk. All patches can be deactivated by modifying the values in config.yaml.

Nodes

ezXY Driver

  • Simple list generator for quickly and easily setting up XY plot workflows. If used with other list generators or math nodes you can drive the primitive inputs of any node.

ezXY Assemble Plot

  • Simple image plotter, now with labels. Works best with ezXY Driver and String to Label nodes.

Plot Images

  • Formats image lists into a single image grid. Use with ezXY Driver to set up XY plots. Capable of plotting images of different sizes together.

String to Label

  • Converts simple text into a white-on-black label.

Join images

  • Joins two images together. If the images are not the same size, the smaller is padded to fit. Works well for applying labels to images.

Item from Dropdown

  • When plugged into a converted dropdown input (COMBO) it populates with the list of options. Click to pick and order which options are prepared for execultion. Use with an iteration driver to compare models/loras/samplers.

ezMath

  • Compact math node.

Iteration Driver

  • Simple integer list generator. Outputs a list of integers within the specified range.

Strings to List

  • Takes a string of semi-colon seperated items and outputs them as a list of strings.

Numbers to List

  • Takes a string of semi-colon seperated numbers and outputs them as a list. Supports in-line math and ranges.

String from List

  • Takes a string list as an input and outputs a single specified item.

Number from string

  • Takes a list of numbers as an input and outputs a single specified item.

Line to Console

  • Simple debugging node. Prints any input to the console.

ToDo

  • Labeler node
  • List widget auto-populator? (for model loaders)
  • Workflow examples
  • Add mask output to Image plotter
  • Add comparison operators to math node
  • Add logic to type-casting patches to allow int/float to string conversions?

comfyui_ezxy's People

Contributors

gmapesplat avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.