comfyUI-JMNodes

comfyUI-JMNodes
★ 0

提示词组合布尔逻辑批量生成节点扩展
提供一组节点,基于布尔逻辑生成提示词的所有组合,便于自动化扩展与批量试验。
💡 自动枚举提示词组合以进行批量渲染和效果对比。
🍴 2 Forks💻 Python🔄 2025-01-04
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/9d76119b2ef2
📄 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

  • Clone this repo into custom_nodes folder.
  • These nodes have no dependencies so no need to pip install a requirements.txt
  • You will need a combination node to join multiple prompt options together like
  • 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