ComfyUI > Nodes > comfyui-prompt-composer

ComfyUI Extension: comfyui-prompt-composer

Repo Name

comfyui-prompt-composer

Author
florestefano1975 (Account age: 194 days)
Nodes
View all nodes(7)
Latest Updated
2024-07-10
Github Stars
0.22K

How to Install comfyui-prompt-composer

Install this extension via the ComfyUI Manager by searching for comfyui-prompt-composer
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter comfyui-prompt-composer in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

comfyui-prompt-composer Description

Comfyui-prompt-composer is a tool suite for managing prompts, allowing users to sequence and group strings using nodes. These nodes can be chained in any order, facilitating flexible and logical prompt creation.

comfyui-prompt-composer Introduction

The comfyui-prompt-composer is a powerful extension designed to help AI artists manage and compose prompts more efficiently. This suite of tools allows you to create, customize, and combine text prompts in a structured and intuitive way. Whether you're generating simple text strings or complex prompt sequences, this extension provides the flexibility and control you need to enhance your creative workflow.

By using comfyui-prompt-composer, you can streamline the process of prompt creation, making it easier to experiment with different text combinations and weights. This can be particularly useful for AI artists who want to fine-tune their prompts to achieve specific artistic effects or styles.

How comfyui-prompt-composer Works

At its core, comfyui-prompt-composer works by providing a set of nodes that you can use to build and manage text prompts. Think of these nodes as building blocks that you can connect together to form a complete prompt. Each node has a specific function, such as adding text, adjusting weights, or grouping text elements.

For example, you might start with a Single Text Node to input a basic text string. You can then use a Grouping Node to combine this text with other strings, and a Merge Node to join multiple text elements together. By adjusting the weights and settings of these nodes, you can control how the final prompt is constructed and how different elements are emphasized.

comfyui-prompt-composer Features

Custom Lists Node

  • Function: Reads lists from the _custom-lists_ folder and creates a selector/weight pair for each entry.
  • Customization: You can create TXT files with simple items or entire prompt libraries, allowing for easy reuse and combination.
  • Example: Create a list of adjectives and another list of nouns, then use the node to randomly select and combine them.

Single Text Node

  • Function: Contains a typing box and a slider to adjust the weight of the text.
  • Customization: Adjust the slider to change the emphasis of the text in the final prompt.
  • Example: Input "beautiful" and set the weight to 0.8 to make it moderately emphasized.

Multiple Text Node

  • Function: Contains six typing boxes with sliders to adjust their weights.
  • Customization: Each text box can be filled with different text, and each slider can be adjusted independently.
  • Example: Input different descriptive words in each box and adjust their weights to create a balanced prompt.

Grouping Node

  • Function: Encapsulates input strings in brackets and assigns a weight to the group.
  • Customization: Use this node to create logical groupings of text elements.
  • Example: Group "sunset" and "beach" together with a weight of 1.2 to emphasize this combination.

Merge Node

  • Function: Joins two text strings together.
  • Customization: Use this node to concatenate text elements in a specific order.
  • Example: Merge "sunset" and "beach" to create "sunset beach".

Active Switch Option

  • Function: Allows for quick bypass of nodes.
  • Customization: Toggle the switch to enable or disable the node's effect.
  • Example: Temporarily disable a node without removing it from the workflow.

comfyui-prompt-composer Models

Currently, there are no specific models associated with comfyui-prompt-composer. The extension focuses on providing flexible tools for text prompt management rather than predefined models.

What's New with comfyui-prompt-composer

Updates and Changes

  • Deprecated Nodes: The Effect and Styler nodes are deprecated and will not receive future updates.
  • New Features: Recent updates have improved the functionality and usability of existing nodes, making it easier to create and manage complex prompts.

Troubleshooting comfyui-prompt-composer

Common Issues and Solutions

  • Issue: Changes to custom lists are not reflected.
  • Solution: Restart ComfyUI after making changes to the custom lists folder.
  • Issue: Nodes are not functioning as expected.
  • Solution: Ensure that all nodes are properly connected and that the weights are set correctly.

Frequently Asked Questions

  • Q: How do I update the extension?
  • A: Open the terminal in the comfyui-prompt-composer folder and run git pull, then restart ComfyUI.
  • Q: Can I use this extension with other plugins?
  • A: Yes, all text outputs are simple strings and can be used with other plugins.

Learn More about comfyui-prompt-composer

For additional resources, tutorials, and community support, consider exploring the following:

  • ComfyUI Manager: A tool to manage and install ComfyUI extensions.
  • ComfyUI Portrait Master: Another extension by the same author, designed for creating human portraits.
  • ComfyUI StabilityAI Suite: A suite of tools for enhancing StabilityAI projects. By leveraging these resources, you can get the most out of comfyui-prompt-composer and enhance your AI art projects.

comfyui-prompt-composer Related Nodes

RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.