https://github.com/JustinMatters/comfyUI-JMNodes
Custom nodes for comfyUI
https://github.com/JustinMatters/comfyUI-JMNodes
Last synced: 4 months ago
JSON representation
Custom nodes for comfyUI
- Host: GitHub
- URL: https://github.com/JustinMatters/comfyUI-JMNodes
- Owner: JustinMatters
- License: mit
- Created: 2024-10-27T16:51:38.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-12-06T17:08:44.000Z (4 months ago)
- Last Synced: 2024-12-06T18:23:25.985Z (4 months ago)
- Language: Python
- Size: 11.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-comfyui - **ComfyUI JMNodes**
README
# JMNodes for ComfyUI
Nodes to allow for binary combinations of several additive prompts.
Useful for situations where you want to create every combination of a set of prompts.
Can be more controllable than random picks using comfyUIs built in {option1|option2} prompt syntax# Installation
1. Clone this repo into `custom_nodes` folder.
2. These nodes have no dependencies so no need to pip install a requirements.txt
3. You will need a combination node to join multiple prompt options together like
4. An example workflow is provided in the repo (it uses some other nodes you can install from comfyUI Manager)## Nodes:
### Create List of Numbers JM
Given an integer from 0 to 1023, returns a list of every integer up to that number
Useful as an input to `Integer to Boolean Values JM`### Integer to Boolean Values JM
Converts the list of integers provided by `create List of Numbers JM` (or any other integer input) into binary outputs
For use by `Switchable Prompt JM` or other Nodes### Switchable Prompt JM
Takes a string input and passes on either that string or the empty string depending on a boolean input
Can be used with `create List of Numbers JM` and `Integer to Boolean Values JM` to create prompt combinations### Binary Not JM
Takes a boolean input and inverts it convertinging True to False and vice versa, useful for creating negative prompts
Can be used with `Integer to Boolean Values JM` and `Switchable Prompt JM` to create appropriate negative prompts