✨ConcatText_Zho
The comma-join utility hiding inside a Gemini pack
- text
ConcatText_Zho does one thing: takes two strings and joins them with a comma and a space. That's the whole node. It's tucked into the ComfyUI-Gemini pack as a helper - a bit of glue for when you want to combine a fixed prefix with a model's output, or merge two prompt fragments before feeding them somewhere that expects a single text value.
It's about as simple as a node gets. No API key, no network call, no GPU - it's pure Python string joining, the kind of node that exists so you don't have to build a tiny text-math node yourself. The implementation literally collects every input that starts with text and runs ', '.join() over them.
Inputs and output
- text_1 - first string, multiline.
- text_2 - second string, multiline.
It returns a single text output: text_1, text_2. Note the separator is hardcoded - comma-space, no option to change it. If you need a custom separator, more than two inputs, or a newline join, this isn't the node; grab a proper text-utility pack (rgthree-comfy and WAS Node Suite both have flexible string combiners, and they're in the Manager).
Where you'd actually use it
Two patterns are worth knowing. First, prompt assembly: ConcatText_Zho glues a base prompt to an adjective list, then that combined string feeds a text encoder. Second - and this is the reason it ships in this pack - you can chain Gemini's output into a second request. Since the Gemini nodes here only take one prompt each, joining a model's caption to a follow-up instruction is exactly the kind of thing this node exists for.
Install and issues
It comes with the pack:
cd ComfyUI/custom_nodes
git clone https://github.com/ZHO-ZHO-ZHO/ComfyUI-Gemini.git
cd ComfyUI-Gemini
pip install -r requirements.txt
Then restart ComfyUI. There are no real failure modes to warn you about - the only thing that bites people is expecting a configurable separator and discovering it's always a comma. The good news: because it's so trivial, it also never breaks on updates. It's a utility you'll forget is installed until the one workflow that needs a comma-join shows up.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| text_1 | STRING | — | |
| text_2 | STRING | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| text | STRING | — |