VRGDG_IntToString
The 5-second node every text pipeline ends up needing
- string
ComfyUI is aggressively typed, and "number" is not "text". VRGDG_IntToString exists to bridge exactly that gap: it takes one integer, turns it into a string, and hands it to whatever needs text. That's the whole job, and it's embarrassingly easy to take for granted until you're three layers deep in a workflow and an LLM node silently refuses the seed you wanted to feed it because the wire was INT and it wanted STRING.
Where does this actually get used? In this pack, everywhere. The VRGameDevGirl music-video pipeline is a text factory - lyrics get transcribed to strings, scene prompts get assembled from strings, LLM calls are strings in and strings out. Numbers like scene_count, a batch index, or a frame count are forever trying to sneak into those prompts. This node is the little adapter you slot in so 7 becomes "7" and can be concatenated with a lyric line or a filename.
What it does
One input, one output:
- value (
INT, default 0) - the integer you want to stringify. - string (
STRING) - the same number as text.
Under the hood it's a one-liner: str(value). There's no formatting, no padding to a fixed width, no cleverness. If you need 007 instead of 7, this won't do it - that's what other string utils are for. The honest pitch is that it's the most boring node in the pack and that's precisely why you'll reach for it.
Where you'll actually wire it
The classic moves:
- Into an LLM prompt.
VRGDG_LLM_Multi(also in this pack) takes prompts as strings. If you want the model to "write a scene for clip number 3", you concatenate "clip number " + the stringified integer. - Into filenames and paths. The splitter nodes in this pack emit per-scene metadata; turning a scene index into a string is the standard way to build per-scene output names.
- Into any node that only accepts STRING. Which, in ComfyUI, is more of them than you'd think.
Installing it
There's no separate install - this node ships inside the whole comfyui-vrgamedevgirl pack. In ComfyUI Manager, search "vrgamedev" (or paste https://github.com/vrgamegirl19/comfyui-vrgamedevgirl as a Git URL), install, restart. Manual path:
cd ComfyUI/custom_nodes
git clone https://github.com/vrgamegirl19/comfyui-vrgamedevgirl
Then install the README's requirements (kornia, librosa, imageio) into your ComfyUI Python environment:
pip install -r custom_nodes/comfyui-vrgamedevgirl/requirements.txt
Honest caveat: installing a whole pack for a str() wrapper is a big hammer. If all you need is int-to-string, there are lighter standalone nodes out there. You install this one because you're already running the pack's audio-splitting and music-video workflow, not because a converter is worth a dependency tree by itself.
If it's not working
There's basically one failure mode, and it's not this node's fault: you typed the number into the widget, the workflow ran, and the string downstream looks wrong because you expected zero-padding. Re-check your assumptions - it's "7", not "007". And if the node seems to be missing entirely after installing, you either haven't restarted ComfyUI or the pack failed to import (missing requirements, usually), which takes down every VRGDG_ node with it. Fix the import error and this one comes back.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| value | INT | 0 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| string | STRING | — |