Nodes/ComfyUI-MoonNodes/🎲 Quickstart
ComfyUI Node

🎲 Quickstart

A seed that actually stays put, with a button on top

By m0rtus59Β·Created 3 months agoΒ·Updated 9 days agoΒ· 8
🎲 Quickstart
    • seed
    β—„value0β–Ί

    MoonNodes' "Other tools" section has one odd little node in it, and Quickstart is the oddest: a single button that shows a number, and when you click it, the number changes and the graph runs. That's it. But it solves a genuinely annoying ComfyUI behavior, so it earns its place.

    ComfyUI's built-in seed widgets love to re-randomize themselves. You set a seed, run, and depending on how your workflow is set up, the seed box is a different number by the time you look at it - which makes it hard to reproduce a result or to deliberately keep the same seed across many runs. Quickstart holds its value like a grudge. The number stays exactly where you left it until you deliberately roll again.

    How it works

    Under the hood it's a hidden integer widget named value plus a JavaScript extension that hides the widget and draws a button in its place, with the current value as the button's label. Click the button and two things happen:

    1. A new random integer is generated and stored in the hidden value widget.
    2. The node fires the ComfyUI queue.

    So one click gets you a fresh seed and a run. The seed is a safe 53-bit random value, which is plenty for sampling purposes.

    The interface surface is minimal:

    • value (INT, default 0) - the current seed. Hidden behind the button, but it's still a normal widget you can connect.
    • value output (INT) - wire this into the seed inputs of your samplers, or into the seed input of the Gemini chat node if you're using the pack's LLM side.

    Install

    It lives in ComfyUI-MoonNodes like everything else here:

    cd ComfyUI/custom_nodes
    git clone https://github.com/m0rtus59/ComfyUI-MoonNodes.git
    cd ComfyUI-MoonNodes && pip install -r requirements.txt
    

    Restart ComfyUI. The button only appears after the JavaScript loads, so if you see a plain integer field instead of a button, refresh the browser tab.

    Honest assessment

    The README says it's inspired by ComfyUI-Easy-Use's seed utility, and that's the right comparison: it's a quality-of-life node, not a power feature. The "conversation lifecycle controller" framing in the docs is a bit grand for what is, mechanically, a persistent random number. But the persistence is the point - if you've ever lost a seed to ComfyUI's auto-randomize and then spent ten minutes hunting through your browser history for the image that matches it, you'll understand why this exists.

    If you want a seed that re-rolls on every run, this isn't it - the value only changes when you click. And if you need a full random-seed-with-control workflow (separate control for "new seed" vs "run"), grab a dedicated seed node from a bigger utility pack. Quickstart is for the simple case: one button, one seed, run.

    CategoryMoonNodes

    Inputs (1)

    NameTypeDefaultDescription
    valueINT00–18446744073709550000β€”

    Outputs (1)

    NameTypeDescription
    seedINTβ€”