FETextCombine2Any
Glue anything into a prompt string
- input
- output
The sibling FETextCombine only takes strings. FETextCombine2Any removes that restriction: its inputs accept any type, and it stringifies whatever arrives. A seed number, a boolean, a float from a math node, a filename - all of them become text, and the concatenation becomes a prompt fragment or a filename component. If you've ever wanted to bake "seed 42, cfg 7.5" directly into your output name or your prompt, this is the node.
Under the hood it's gloriously simple: it takes whatever keyword arguments come in, converts each non-None value to a string, and joins them with no separator. None values are skipped entirely, which is the one genuinely useful design choice - a disconnected or empty input silently drops out of the join instead of printing the string "None" into your prompt.
Inputs and output
input(optional, any type) - one or more values, wire whatever you want stringified. Like its text-only sibling, it accepts any number of connected inputs.- Output:
output, a STRING of the concatenated, stringified values.
Two behavior notes, same as the text-only version: there's no separator (join is end-to-end), and the undefined string is not specially handled here - the empty-string handling is via the None check instead.
Where it shines
The classic use is dynamic prompts: you've got a random subject from FERandomPrompt, a style string, and a numeric parameter from some other node, and you want them all in one text string that flows into a CLIP encode. Or a save-node filename where you want the current seed embedded. Because it stringifies cleanly, you can chain pretty much anything into a prompt without worrying about types - which is more than most combine nodes offer, since most insist on STRING inputs and will error on a number.
The trade-off is that it's too permissive if you're sloppy: a float like 7.5 becomes the text 7.5, which is what you want, but a tensor that somehow lands on this input becomes a wall of numbers. Keep it to scalars and strings and you're fine.
Install
It's in fexli-util-node-comfyui:
cd ComfyUI/custom_nodes
git clone https://github.com/fexli/fexli-util-node-comfyui
cd fexli-util-node-comfyui
pip install -r requirements.txt
Or ComfyUI Manager → search fexli-util-node-comfyui → install → restart. No config.yaml, no downloads.
Reach for FETextCombine when you're only joining text; reach for this one the moment a number or boolean needs to ride along in the string. It's the "stringify anything" node, and it does exactly that.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| inputopt | * | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| output | STRING | — |