- string
What it is
There's not a lot of mystery to BMAB Text, and that's fine - not every node needs to be clever. It's a small text-handling utility: you write or pipe in a prompt, optionally add a second bit of text, and it hands back a single string you can wire wherever a plain STRING socket is expected. Inside a BMAB workflow that usually means feeding the prompt fields on the SD-WebUI API nodes (T2I, I2I) or anywhere else in the graph that wants a text string rather than a full CLIP conditioning object.
If you're coming from native ComfyUI, think of it as sitting a level below CLIP Text Encode - it deals in raw strings, not conditioning tensors, which makes it useful as connective tissue between nodes that pass text around rather than as something that talks to a model directly.
Inputs and outputs
One required input, prompt - a multiline text box, so you can write a full paragraph if you need to. One optional input, text, also a plain string, for anything you want combined in alongside the main prompt. The single output is string.
That's genuinely the whole schema. If you've got a workflow where the same base prompt needs to reach several different nodes, or you want a spot in the graph where you can quickly swap prompt text without hunting through every downstream node, this is the low-effort way to do it.
How to install it
It comes bundled with the rest of comfyui_bmab, so there's no separate install step - just get the pack itself. Through ComfyUI Manager, search comfyui_bmab; it'll also pull in the two dependencies the wider pack needs, comfyui_controlnet_aux and ComfyUI_IPAdapter_plus, even though this particular node doesn't use either of them directly. Manually:
cd ComfyUI/custom_nodes
git clone https://github.com/portu-sim/comfyui_bmab.git
cd comfyui_bmab
pip install -r requirements.txt
then restart ComfyUI. Windows portable users run the pip install through python_embeded\python.exe -m pip install -r requirements.txt instead.
Common issues
Honestly, there isn't much to go wrong here - it's a text box with a plug. The one thing worth flagging is that BMAB doesn't document exactly how the optional text input combines with prompt, so if you wire both in and the result looks off, try each input on its own first to see which one is actually landing where you expect. Beyond that, if the node itself is missing from your palette after installing the pack, that almost always means comfyui_bmab didn't load cleanly - check the ComfyUI console on startup for an import error, which is more likely to be a missing dependency from one of the two companion packs than anything wrong with this node specifically.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | STRING | — | |
| textopt | STRING | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| string | STRING | — |