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
Release files for prompt_collapse 0.1.3.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| prompt_collapse-0.1.3.5.tar.gz | 13.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| prompt_collapse-0.1.3.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 46.5 kB
Release files / prompt_collapse-0.1.3.5.tar.gz
| Download URL | prompt_collapse-0.1.3.5.tar.gz |
|---|---|
| Size | 13.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c2c5e109a1ee803fbf4ac4c3c7be7beaa0fe76ad7cadbc0c1b93e80a6a8645a3
|
|
BLAKE2b-256 checksum How to use checksums |
3015a31fc4f2ba0e9ca2843dac9682470d85dd8c90adbeeaf4c157f2cd962a8c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.12.7 Linux/6.11.10-2-MANJARO
|
Release files / prompt_collapse-0.1.3.5-py3-none-any.whl
| Download URL | prompt_collapse-0.1.3.5-py3-none-any.whl |
|---|---|
| Size | 32.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3822f2c21a2425e266d953c637f6d4c3da69b3dc6fedc6ef1abba494eb968b81
|
|
BLAKE2b-256 checksum How to use checksums |
4c1c89ec820098e93b33d1ffa875aae829872a5910624378018cc1f08cc79a05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.12.7 Linux/6.11.10-2-MANJARO
|