ComfyUI Node
TS Prompt Library
A library of ready-made prompts. Pick a section, a model and a preset: the node shows the prompt with a Copy button and sends it on as text. Fields in braces such as {TARGET} are filled in right on the node, so the output is a finished prompt. First section: context editing for Qwen Image 2.1 and FLUX.2 Klein 9B.
TS Prompt Library
- prompt
◄presetcontext_edit/qwen_image_2_1/R01►
◄fields{}►
CategoryTS/Text
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| preset | COMBO | context_edit/qwen_image_2_1/R01 | Which prompt to use, as section/model/code. The library is plain JSON in nodes/text/prompt_library — a new section or model is a new folder, not a code change. |
| fields | STRING | {} | Values for the fields in braces, as JSON: {"TARGET": "the red suitcase"}. The node's own panel fills this in; an empty field stays in braces. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| prompt | STRING | The finished prompt, fields filled in. Feed it to the text encoder. |