Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kraglik/prompt_collapse

A custom ComfyUI node for generating prompts
https://github.com/kraglik/prompt_collapse

comfyui comfyui-nodes prompt

Last synced: about 1 month ago
JSON representation

A custom ComfyUI node for generating prompts

Awesome Lists containing this project

README

        

# PromptCollapse

A prompt generation system that manages relationships between prompt components to maintain logical consistency. Integrates with ComfyUI as a custom node.

## Overview

PromptCollapse builds prompts by selecting components based on their inferred relationships.
Each component has its own set of parameters that are only valid within the component execution context.
Component might be purely abstract, meaning that it won't produce any prompt fragments at all, but would coordinate other components instead.

## Usage

A minimalistic example can be found in "components/sky.yaml".

## ComfyUI Integration

The system provides a custom node with the following inputs:

- **Prompt**: Initial component tags (comma-separated)
- **Components Directory Path**: Component library directory
- **Reload on Generation**: Toggle component reloading
- **Seed**: Random seed for component selection