✨DisplayText_Zho
The node that lets you actually see what Gemini said
- text
Here's a ComfyUI fact that trips up everyone on their first API node: string outputs are invisible. Run ㊙️Gemini_Zho and you'll get a text result, but unless you've wired it somewhere that shows text, the answer just... exists. That's the entire reason DisplayText_Zho exists - it's the "let me see what the model said" node.
It's a fork of AlekPet's display node (the pack credits him in the README), and it does exactly two things: it adds a read-only multiline box to the graph, and it passes the text through so you can both display it and keep using it. You wire a Gemini text output in, queue, and the answer appears in the widget on the node. That's it. No API, no key, no network - it never leaves your machine.
Inputs and outputs
The only input is text, and it's marked forceInput - you must connect a wire, you can't just type into it. That's deliberate; this node is a viewer, not an editor. It returns the same text unchanged, so it slots into a chain: Gemini output → DisplayText_Zho → somewhere that consumes the string. Displaying it doesn't cost you the value.
It's also flagged as an output node, which means ComfyUI treats the queue as "done" when it reaches this point - useful when your workflow is just Gemini answering a question and you don't want to run a full sampler to see the answer.
Install
There's no separate install. This ships inside ComfyUI-Gemini, so it arrives 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
Restart ComfyUI and look under the "Zho模块组/✨Gemini" menu. The display widget comes from a bundled JS extension that the pack copies into web/extensions/ on startup - if the text box isn't showing, clear your browser cache and refresh, because that's usually the extension not reloading.
Issues worth knowing
It's a viewer, so the failure modes are modest. If the box stays empty after a run, check you actually connected a wire (the input is forceInput, so an unwired node won't even validate). If you see nothing at all in the UI, it's the front-end extension not loading - hard-refresh and re-run. And if you only want a text display and none of the Gemini machinery, the original ComfyUI_Custom_Nodes_AlekPet pack gives you the same widget without dragging an API node ecosystem along.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| text | STRING | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| text | STRING | — |