Display Any From GenAsset
Display Any From GenAsset — the debug viewer you didn't know the pack shipped
- value
- value
- text
Half the battle with the GenAsset pack is reading what the nodes actually returned. Every node spits out status_json, diff_json, assets_json, metadata_json - all strings, all useful, all buried unless you can see them. Display Any From GenAsset is the node that makes them visible. Connect any GenAsset (or ComfyUI) output to its value input and it renders the thing as readable text, with automatic JSON pretty-printing. It's a debug viewer, and it's the most underrated node in the pack.
It's also the only node here that doesn't need a token, a network call, or even GenAsset itself. It's pure local plumbing - a nicer way to look at values that are already sitting on your wires. If you've ever spent a minute decoding a one-line JSON dump from a Show Text-style node, you'll understand the appeal immediately.
How it works
The format input defaults to auto, which is the smart mode: if the connected value is JSON, it pretty-prints it with indentation; if it's plain text, it shows it as-is; if it's a tensor or something exotic, it renders a compact representation instead of exploding. You can force text, json, or repr if auto picks wrong for your case. The max_characters limit (200–200000, default 12000) keeps a giant metadata blob from flooding your screen, and the node marks the output as truncated if it cuts anything off.
It's an output node, so it shows the formatted text in the UI. It also passes the raw value back out as value (a passthrough of whatever you connected) and the formatted string as text - so you can display one thing and still pipe the value onward.
Inputs and outputs that matter
The value input is the star - it's a wildcard (*), so it accepts literally anything: a status_json string, a diff_json, an assets_json, a tensor shape, whatever. The title field adds a heading above the display so you can label multiple viewers. fallback_text is the quiet hero: if nothing is connected to value, the node displays the fallback text instead - which means you can use it to eyeball a JSON blob you paste in by hand.
Outputs: value (passthrough of the input) and text (the formatted string). Two practical uses: debug a status_json to see why a save failed, or wire a workflow_json into it to inspect what a load actually returned before you feed it onward.
Installation
Part of the steliosot/ComfyUI-GenAsset pack. ComfyUI Manager → search GenAsset → install, or:
cd ComfyUI/custom_nodes
git clone https://github.com/steliosot/ComfyUI-GenAsset.git
Restart after. No extra dependencies - and remember, unlike almost everything else in this pack, this node needs no token at all.
Common issues
- The display is truncated - you hit
max_characters. Bump it up if you really need the whole blob; the node tells you when it truncated. - Auto mode picked the wrong format - some strings look like JSON but aren't, or vice versa. Switch
formattotextorjsonexplicitly and it stops guessing. - Nothing shows - you left both
valueandfallback_textempty. Connect something, or paste something into the fallback.
Here's the workflow tip that makes this node earn its keep: whenever a GenAsset save or load mysteriously fails, add a Display Any From GenAsset right after the node and wire its status_json into it. The error the other node buried in JSON becomes a readable paragraph, and nine times out of ten that's the whole fix.
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| title | STRING | GenAsset display | Optional heading shown above the displayed value. |
| fallback_text | STRING | Used when nothing is connected to value. Paste text or JSON here. | |
| format | COMBO | auto | 4 options: auto, text, json, repr |
| max_characters | INT | 12000200–200000 | — |
| valueopt | * | Connect any GenAsset or ComfyUI output here. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| value | * | — |
| text | STRING | — |