Presentation Seed
A random-seed control your users can actually find
- value
If you're shipping a ComfyUI workflow as a website (the whole point of niknah's Presentation ComfyUI), you don't want your users hunting for a seed widget buried in the KSampler. Presentation Seed gives them a proper seed control on the generated page - a number they can tweak, or a randomize that actually randomizes. It's the "roll the dice" button for people who shouldn't have to know what a sampler is.
The README groups it with the other input controls - "Use Primitive Int/String, string(multiline), Presentation Seed, Presentation Drop Down, Presentation File. Connect it to the node and put them in the group." The idea: you expose the few inputs that matter, and Presentation Seed is how the "random vs. reproducible" choice becomes a visible control instead of a hidden field.
How it works
It's a plain data node with one real decision in it. The seed method just returns (value,), so the node itself is a passthrough - but the after_generate behavior is the interesting part, because it's implemented on the website side: the generated Vue page shows a seed field plus a button, and each generation updates the value according to the rule you set.
The inputs that matter
value(INT, default-1) - the seed.-1is the pack's "give me a fresh one" convention: it behaves as random.after_generate(enum) - what happens to the seed after each run:random- new seed every generation. The default, and what most users want.increase/decrease- step by one, handy for controlled variations on a starting seed.fixed- keep reusing the same seed until someone changes it. Reproducibility mode.
Output: value (INT). Wire it into the KSampler's seed input. That's the only place this node makes sense to connect.
How to install it
Same single install as the rest of the pack. ComfyUI Manager, search "Presentation ComfyUI", or:
cd ComfyUI/custom_nodes
git clone https://github.com/niknah/presentation-ComfyUI
then restart. Requires Node.js (install separately); first launch runs npm install for the Nuxt site in output/presentation-site, which takes a few minutes. The site appears at http://localhost:3000.
Common issues & troubleshooting
Every generation looks identical. Check after_generate is random (or increase/decrease). fixed is exactly the setting that makes everything repeat.
Seed does nothing at all. The output only matters if it's actually connected to the sampler's seed input - an unconnected Presentation Seed is just a nice-looking number. Also make sure the KSampler itself isn't set to its own fixed seed downstream.
Site not picking up node changes. Settings → Presentation → Restart after workflow edits; Rebuild for structural ones. Watch for duplicate nuxt processes holding the same folder.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| value | INT | -1 | — |
| after_generateopt | COMBO | random | 4 options: increase, decrease, random, fixed |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| value | INT | — |