GithubHelp home page GithubHelp logo

flowtyone / comfyui-0246 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from trung0246/comfyui-0246

0.0 1.0 0.0 7.21 MB

Random nodes for ComfyUI

License: MIT License

JavaScript 64.98% Python 35.02%

comfyui-0246's Introduction

ComfyUI-0246

Random nodes for ComfyUI I made to solve my struggle with ComfyUI. Have varying quality.

Documentation

More Docs (can be shown directly in the UI if rgthree is installed).

workflow_showcase

Nodes list

Piping:

  • Highway: yet another implementation but overkill version of pipe and reroute.
  • HighwayBatch: batching version of Highway.
  • Junction: over-the-head data packing and unpacking sequentially.
  • JunctionBatch: if Junction and ComfyUI batching have a kid.
  • Merge: pipe and batch merging.

Misc:

  • BoxRange: visualization of boxes. usefull for anything that requires boxes (which is x, y, width, height).
    • Currently only ConditioningSetAreaPercentage and anything that have percentage size and have exact x,y,width,height input name are supported. More will come in the future.
    • Reworked to now output generic int and float data based on the regex provided.
    • Double click on each corner and discover what each will do.
  • Beautify: the beautification of data for easy troubleshooting.
  • Stringify: anything to string, optionally together.
  • RandomInt: different from other implementation such that it generate number server side to works with Loop.
  • Hub: widget management to the max.
    • Image display does not work for now, alongside with other 3rd party custom. But it should generally stable.
  • CastReroute: basically like Reroute but have ability to specify custom type. Useful when dealing with Highway, Junction and such.
  • Cloud: Prompt/Data/etc management made "easy".

Control Flow:

  • Loop: very hacky recursive repetition by messing with ComfyUI internals.
  • Hold: hold data between each loop execution.
  • Count: simple counter to use with Loop.
  • Switch: allows input/output switching. Will not evaluate unused inputs.

"Execute anything" node:

  • ScriptNode
  • ScriptRule
  • Script

Update

2024-01-18

Added Cloud and Switch node (still techincally in beta but whatever). Also added 0246.AlternateDOMWidget option.

Demo workflow are below:

2023-12-19

Tons more nodes. Here's the simple workflow image that showcase everything within this update.

For any nodes related to Script, *_order widget will determine script execution order, which depends on natsort. How it being sorted can be customized by doing things like INT, LOCALE within the _sort_mode widget.

Warning: The recent changes I have changed how Highway and Junction tracking types. Therefore the best way to mitigrate this is to just copy the _query or _offset, create a new Highway or Junction, paste the string then reconnect everything over. I've probably find a way to automate this.

I recommended you to play around with this sample workflow (edit 2024-01-20: kind of obsolete but should still works with some manual fixes):


TODO (may or may not get implemented)
  • Tutorial for various nodes.
  • More testing.

comfyui-0246's People

Contributors

trung0246 avatar

Watchers

 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.