Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/kraglik/prompt_collapse
- Owner: kraglik
- Created: 2024-12-07T09:09:46.000Z (about 2 months ago)
- Default Branch: master
- Last Pushed: 2024-12-14T09:33:10.000Z (about 1 month ago)
- Last Synced: 2024-12-14T10:21:53.444Z (about 1 month ago)
- Topics: comfyui, comfyui-nodes, prompt
- Language: Python
- Homepage:
- Size: 30.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-comfyui - **PromptCollapse**
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