ComfyUI Node

Show String

OpenPose Studio's built-in string preview, no wiring required

By andreszs·Created 5 months ago·Updated 3 months ago· 74
Show String
      text

      Show String does one thing and doesn't pretend otherwise: it takes a text input and puts it on the node so you can read it. That's it. No formatting, no processing, no widgets to configure - just a required text field and a spot on the canvas where the value shows up.

      It ships as part of andreszs's ComfyUI-OpenPose-Studio, and the obvious reason it exists is that OpenPose Studio's own JSON output is a raw string - the pose data in standard OpenPose format. Before you save that string to a file or hand it off somewhere, it's genuinely useful to eyeball it and confirm it's not empty or malformed. Rather than make you install a separate text-preview pack just for that, andreszs bundled a minimal one in. It's not fancy, and it doesn't need to be.

      How it works

      Wire any STRING-producing node into text, and Show String renders that value directly on the node body. Because it's flagged as an output node, ComfyUI is happy to let it sit at the dead end of a branch - you don't need to route it onward to anything for the graph to be valid.

      The input that matters

      There's exactly one: text (STRING, required). That's the whole interface. Point it at OpenPose Studio's JSON output, or honestly at any other string in your graph you want to sanity-check - a prompt, a filename, whatever.

      Worth knowing going in: there's no output. This is the one real difference from similar "show text" nodes you'll find in other packs (pysssss's Show Text, for instance, passes the string straight through so you can keep chaining). Show String is a genuine terminal - once you plug something in, that branch stops there. If you need to both preview a string and keep using it downstream, you'll want a reroute or a duplicate connection from the source, since Show String won't hand it back to you.

      How to install it

      Same pack, same steps as OpenPose Studio itself - there's no separate install, it comes along for free:

      cd ComfyUI/custom_nodes
      git clone https://github.com/andreszs/ComfyUI-OpenPose-Studio
      

      Restart ComfyUI and you'll find it under image > OpenPose Studio alongside the main editor node. No models, no extra Python dependencies - it's about as light as a custom node gets.

      Common issues & troubleshooting

      Nothing will connect to it. Show String only accepts STRING. If the node you're trying to inspect outputs an INT, FLOAT, IMAGE, or a typed value like POSE_KEYPOINT, ComfyUI's type checking blocks the wire outright - convert it to a string first, or reach for the KPS output on OpenPose Studio and a different display node if it's the pose data structure itself you want to inspect.

      The box is empty and you expected data. That's almost always an upstream problem, not this node - if you fed it OpenPose Studio's JSON output and it's blank, the pose itself is probably empty (no keypoints drawn yet) rather than Show String failing to render. Treat the empty box as the diagnostic, not the bug.

      You wired it in but now you're stuck - nothing downstream. That's expected, not a limitation you're missing a setting for. Show String has no output socket at all. Split the connection from the source node if you need the value both displayed here and used somewhere else in the graph.

      CategoryOpenPose Studio

      Inputs (1)

      NameTypeDefaultDescription
      textSTRING

      Outputs (0)

      No outputs