π― YFG Store URL
The workflow-persistence trick
- STRING
Here's a problem you've probably never thought about until it bit you: ComfyUI saves your workflow JSON, but it doesn't automatically remember a URL that was generated mid-run. You upload an image to imgBB, the link comes back, you save the workflow - and the link is gone, because it only ever existed in an output socket. Store URL is the fix: it grabs a text value, passes it straight through, and writes it into the workflow file so it's still there when you reload the project next week.
It's a tiny node from the gonzalu/ComfyUI_YFG_Comical pack, living in the same loaders/imgbbLoader.py file as the pack's imgBB downloader. It exists to make the upload node's output persist.
How it works
The mechanism is simple and a little sneaky. The node receives text on its input and returns it unchanged as a string output. But because it's an output node, it also receives ComfyUI's hidden extra_pnginfo, which carries the workflow's node data. On each run, it finds its own node in that workflow JSON and writes the incoming text into widgets_values. Save the workflow and the value is baked in; reload it and the text is right there pre-filled. That's the entire trick - and it's a good one.
The flow you'd use it in
- Render something.
- Feed the image into the pack's Image to imgBB node with
upload_to_imgbbon - the URL comes out. - Wire that URL into Store URL.
- Save the workflow.
Now the workflow remembers which imgBB link the last run produced. When you reload it, the URL is sitting in the node. That "URL kept alongside the workflow" behavior is exactly what the README promises, and it's genuinely useful if you're generating assets for a project that tracks image links.
Inputs and output
text- the string to stash and pass through (any string, it doesn't have to be a URL).- Output:
STRING(a list), so you can feed it onward if you want.
Installing
Pack install: ComfyUI Manager β search "YFG Comical", or
cd ComfyUI/custom_nodes
git clone https://github.com/gonzalu/ComfyUI_YFG_Comical
Restart ComfyUI. Zero dependencies, no setup.
The honest take
This node is the definition of a niche utility - it only makes sense in the imgBB workflow, and even then only if you actually care about recovering old links. But it's a good illustration of the kind of quality-of-life thinking the whole pack is built on. Don't expect it to do anything else; it's one trick, done cleanly. If you ever wonder "where did that link go," this node is the answer to a problem you didn't know you had.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| text | STRING | β |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| STRING | STRING | β |