Coder Social home page Coder Social logo

comfyui-prompt-composer's Introduction

ComfyUI Prompt Composer

A suite of tools for prompt management.

If this project is useful to you and you like it, please consider a small donation to the author.

➡️ https://ko-fi.com/stefanoflore75

Overview

ComfyUI Prompt Composer Node

Basic workflow for testing the nodes: prompt-composer-base-workflow.json

Install from ComfyUI Manager

  • Type florestefano1975 on the search bar of ComfyUI Manager.
  • Click the install button.

Manual installation and update instructions

Install

To install comfyui-prompt-composer:

  1. open the terminal on the ComfyUI installation folder
  2. digit: cd custom_nodes
  3. digit: git clone https://github.com/florestefano1975/comfyui-prompt-composer
  4. start/restart ComfyUI

Update

To update comfyui-prompt-composer:

  1. open the terminal on the comfyui-prompt-composer folder
  2. digit: cd custom_nodes
  3. digit: cd comfyui-prompt-composer
  4. digit: git pull
  5. start/restart ComfyUI

Warning: before the update create a backup of the TXT files contained in the custom-list folders.

Node List

  • Custom Lists Node: this node reads the lists contained in the custom-lists folder and creates a selector/weight pair for each.
  • Single Text Node: contains a typing box and a slider to adjust its weight.
  • Multiple Text Node: contains six typing boxes with sliders to adjust their weights.
  • Grouping Node: encapsulates the input concatenated strings in brackets () and assigns a weight to the group.
  • Merge Node: this node joins two text strings.

Single Text Node, Multiple Text Node, Styler Node, Effect Node and Grouping Node have an entry point (text_in_opt) to concatenate unlimitedly with the other nodes, and active switch option for fast by-pass.

Custom Lists Node

Create the TXT files in the custom-lists folder and insert the selector entries into each of them. You can create lists with simple items or libraries with entire prompts, so you can reuse and combine them as you like.

Important: changes inserted into the custom lists folder require restarting ComfyUI.

Deprecated Nodes

Nodes Effect and Styler are deprecated and will not receive future updates.

Usage

Combining nodes helps the user sequence strings for prompts, also creating logical groupings if necessary.

  • Individual nodes can be chained together, in any order.
  • All text_outs are simple text strings. You can also use nodes with other plugins.
  • Slider weights set to 1 do not encapsulate the related text in parentheses ().

Customization

The lists folder contains TXT files with Style and Effect node list entries.

SDXL Turbo Workflow

In the workflow folder you can download and use an SDXL Turbo configuration with some of the custom nodes already inserted and ready to use.

Styler Node

Notes

For advanced photorealism we recommend FormulaXL 2.0.

Other projects

comfyui-prompt-composer's People

Contributors

florestefano1975 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.