Nodes/ComfyUI-Blender/Blender Input String
ComfyUI Node

Blender Input String

A text field on your Blender panel, with path-formatting that actually saves you

By alexisrolland·Created about a year ago·Updated 26 days ago· 183
Blender Input String
  • group
  • STRING
value
order0
default
format_pathfalse

Every workflow has a piece of text you want to change without rebuilding the graph - a negative prompt, a filename, an output directory, a ControlNet model path. BlenderInputString is the single-line text box that ComfyUI-Blender renders on its panel in Blender, so you can type that value in the viewport instead of hopping back to the browser. Simple, and the format_path toggle makes it quietly clever for people who run Blender on one OS and ComfyUI on another.

It subclasses ComfyUI's built-in String primitive: in a ComfyUI-only graph it outputs whatever value holds, and the other inputs configure the control the Blender add-on renders. Same split as every node in this pack.

Inputs and outputs

  • value - the string the node outputs. Whatever is in the text box in Blender, that's what flows downstream.
  • default - what the field starts with when the workflow loads.
  • format_path - the interesting one. If your string is a file path, flip this on and the node normalizes it with os.path.normpath for the OS where ComfyUI is actually running. If Blender is on Windows and your ComfyUI server is on Linux (or vice versa), this is what stops a C:\models\thing.safetensors from blowing up on a Unix box. It's the pack's answer to a genuinely annoying real-world problem.
  • order - panel position, lower first.

Optional group input nests the field inside a Blender Input Group box. Output is a single STRING.

Installing it

Standard for the pack. ComfyUI side, ComfyUI Manager → search "ComfyUI-Blender", or:

cd ComfyUI/custom_nodes
git clone https://github.com/alexisrolland/ComfyUI-Blender

Restart ComfyUI. No extra Python dependencies; the one hard requirement is a current ComfyUI (schema v3 custom nodes, so old builds won't load them). The Blender add-on is the other half - a ZIP from the latest release installed via Edit > Preferences > Add-ons > Install from Disk.

Where people get burned

If the text box never appears in Blender, you exported a normal workflow JSON instead of API format (File > Export (API)) - the add-on only builds its panel from API-format exports. If paths you type in Blender fail on the ComfyUI side, you forgot format_path, or you're using it on a string that isn't actually a path (it does nothing useful to a prompt, so don't expect magic). And the recurring whole-pack reminder: the node title is the panel label, so name it "Output Folder" not "str_1". Running Blender and ComfyUI on one GPU, mind the shared VRAM - typing is free, the generation your string points at is not.

Categoryblender

Inputs (5)

NameTypeDefaultDescription
valueSTRING
orderINT0-2147483648–2147483647Position of the input in the Blender add-on.
defaultSTRINGDefault value of the input in the Blender add-on.
format_pathBOOLEANfalseIf the string value is a file path, format it to be compatible with the operating system where ComfyUI is running.
groupoptGROUP

Outputs (1)

NameTypeDescription
STRINGSTRING