ComfyUI Node
PSN Prompt Structure Enforcer
Rewrite a free-form prompt into a fixed structural template.
PSN Prompt Structure Enforcer
- structured_prompt
◄prompta cat in a forest, warm lighting, oil painting style►
◄template{subject}, {env}, {light}, {style}►
CategoryParametric/Prompts
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | STRING | a cat in a forest, warm lighting, oil painting style | The prompt text. Default a cat in a forest, warm lighting, oil painting style. |
| template | STRING | {subject}, {env}, {light}, {style} | Template. Default {subject}, {env}, {light}, {style}. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| structured_prompt | STRING | — |