Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proof-of-concept rewrite to support automatic styler generation #11

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ali1234
Copy link

@ali1234 ali1234 commented Aug 31, 2023

At the request of a user, I rewrote this using metaprogramming techniques to support auto-generating many node types from directories of json files, so that you can have eg a Camera Styler or a Lighting Styler. It also supports creating nodes with multiple selection fields, so you can eg combine camera and lighting styles into one node with two drop downs, or any combination you want, eg the Perfection Styler that has almost everything. The code is very much proof-of-concept, and I've also rewritten the loaders to use pathlib and turned templates into a class. I'm not sure where the included json files came from - I got them from the user.

I don't recommend merging this as is, and I'm probably not going to be able to maintain it long-term. I just wanted to let you know it exists, and to gauge interest.

@ali1234
Copy link
Author

ali1234 commented Aug 31, 2023

Also I haven't heavily tested it, especially the advanced nodes.

@TripleHeadedMonkey
Copy link

Absolutely amazing work I've only been hands on for a few minutes at this point, but this will replace all of my existing implementations of Prompt Styler. I definitely feel like this is the most comprehensive fork/styler currently available for Comfy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants