Nodes Browser

ComfyDeploy: How ComfyUI JMNodes works in ComfyUI?

What is ComfyUI JMNodes?

Provides nodes to support generation of all possible combinations of a set of prompts via boolean logic

How to install it in ComfyDeploy?

Head over to the machine page

  1. Click on the "Create a new machine" button
  2. Select the Edit build steps
  3. Add a new step -> Custom Node
  4. Search for ComfyUI JMNodes and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine

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