Nodes/Replicate Select/Prompt (Replicate Select)
ComfyUI Node

Prompt (Replicate Select)

Prompt (Replicate Select) — the world's most honest node

By Pharma-Lobby·Created 2 months ago·Updated 2 months ago· 0
Prompt (Replicate Select)
    • text
    text

    This node does nothing. Text goes in, the exact same text comes out. There's no model, no encoding, no API call, no key needed. It's a string passthrough with a very specific job, and once you know the job, you'll stop deleting it from your workflows.

    Here's the problem it solves. Some ComfyUI client apps - the README's source names ComfyChair, and the mechanism is general - figure out which node holds your "positive prompt" by scanning for class names containing TextEncode or Prompt. That heuristic is how those apps know what to expose as the prompt field in their UI. The generated Replicate_* model nodes don't match that pattern, so in those apps your prompt field would just be missing - even though the model node clearly takes a prompt input. ReplicateTextEncode exists to bridge that: you route the text through this node (whose class name conveniently contains "TextEncode") and then into the model node's prompt input. The client sees a TextEncode node, and you see a prompt box that works.

    How it works

    One input, one output:

    • text (STRING, multiline) - the prompt to pass through.
    • Output: text (STRING) - the same string, unchanged.

    That's the whole schema. It's the pack's "prompt plumbing" node, and it's why the pack's own workflow templates (like the Z-Image Turbo template) always chain ReplicateTextEncode into the model node's prompt port.

    So the practical reading: if you're using plain ComfyUI, this node is optional - you can wire a string directly into the model's prompt input and everything works. If you're using a client app that hunts for TextEncode/Prompt nodes to surface the prompt, keep this node in the graph. It costs nothing (no API call) and it's what makes those apps treat your Replicate workflow like a first-class citizen.

    Install

    cd ComfyUI/custom_nodes
    git clone https://github.com/Pharma-Lobby/ComfyUI-Replicate-Select
    

    Or ComfyUI Manager → Install Custom Nodes → "Replicate Select", restart. Dependency: replicate>=1.0.7.

    One nice detail: because this node makes no network call, it doesn't even need the API token. Only the actual model nodes do.

    Where people get burned

    • Deleting it because "it does nothing." It does nothing on purpose. If your ComfyUI client stops showing a prompt field on Replicate workflows, this is the fix.
    • Expecting it to process the prompt. It won't enhance, translate, or weight your text. For prompt engineering, put the smart stuff upstream and let this node be the dumb, reliable carrier.
    • Thinking it's a required part of the pack. It's a compatibility shim, not a pipeline step. Plain ComfyUI users can skip it entirely - but leaving it in is harmless and keeps your workflows portable across client apps.
    CategoryReplicate Select

    Inputs (1)

    NameTypeDefaultDescription
    textSTRING

    Outputs (1)

    NameTypeDescription
    textSTRING