Nodes/Artha-Gemini/πŸ”± Gemini Response
ComfyUI Node

πŸ”± Gemini Response

The pack's answer display β€” where Gemini's output actually shows up

By CyrostarΒ·Created about a year agoΒ·Updated about a year agoΒ· 1
πŸ”± Gemini Response
    • response
    β—„responseβ€”β–Ί
    β—„textβ–Ί

    Gemini Response is the display node that the whole Artha-Gemini pack funnels through. Its stated job is to "display other Gemini nodes' outputs," and that's precisely it: you connect any text output from the pack to this node, and it shows the result in the ComfyUI UI. It's the pack's version of a Show Text node, with a couple of Artha-specific touches.

    If you've been running the pack's nodes and wondering where the answers are going, this is the missing piece. Text-only Gemini nodes (Question, Operation, Translate, Vision, and the rest) return a response string, but unless you attach something to see it, it just vanishes into the workflow. Response is that something.

    How it works

    Two inputs: response, which is forced - it must be wired to another node's output - and a text field you can type into directly. On execution, the node takes the response string, strips out * and # markdown characters (the pack's standard cleanup, so captions and answers come back clean), and renders the text in a UI panel. It's an output node, so it draws that panel when the workflow runs.

    It also passes the cleaned string through as its own response output, so you can both display the answer and feed it onward into a prompt encoder or another node. Display and passthrough in one.

    Inputs and outputs

    • response - forced STRING input; the Gemini node output you want to display.
    • text - an optional multiline field for manually-typed content.

    Output: response (STRING) - the cleaned text, passed through for downstream use. No API block, no key, no cost.

    Installing it

    Via ComfyUI Manager (search Artha-Gemini) or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/Cyrostar/ComfyUI-Artha-Gemini
    cd ComfyUI-Artha-Gemini
    pip install -r requirements.txt
    

    No model downloads, no API key. Purely local display.

    Where people get burned

    The first stumble is expecting it to work with no connection. The response input is forced, so the node is dead weight until you wire a text source into it - attach it to the end of any Gemini text node and it springs to life.

    Second, the markdown stripping is a surprise if you don't expect it. The * and # characters get removed from anything you run through here, which is great for captions and terrible if you were planning to display a markdown reference sheet - that's what Gemini Markdown is for, and the pack keeps the two display nodes separate on purpose. Pick Response for plain text, Markdown for formatted text.

    And one quirk worth knowing: there are two ways to get text into the UI with this pack, and they're not interchangeable. If you type into the text field it displays that, but the point of the node is the wired response. Use the wiring, not the text box, or you'll keep wondering why your node's answer never shows up.

    CategoryArtha/LLM/GEMINI

    Inputs (2)

    NameTypeDefaultDescription
    responseSTRINGβ€”
    textSTRINGβ€”

    Outputs (1)

    NameTypeDescription
    responseSTRINGβ€”