explaingit

shootthesound/comfyui-kms

Analysis updated 2026-05-18

20PythonAudience · generalComplexity · 2/5Setup · easy

TLDR

A ComfyUI plugin that lets you preview multiple AI image seeds as thumbnails before committing to a full render, saving time and computing power by only finishing the one you pick.

Mindmap

mindmap
  root((repo))
    What it does
      Previews multiple seeds
      Shows thumbnails on node
      Finishes chosen seed only
    How it works
      Runs partial renders
      Caches probe work
      Continues from stop point
    Use cases
      Compare seed options
      Save compute time
      Explore image variations
    Audience
      ComfyUI users
      AI image creators
    Tech stack
      Python
      ComfyUI
    Setup
      Install custom node
      Load example workflow

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Preview several seed options at a glance before committing to a full image render.

USE CASE 2

Save GPU time by only fully rendering the one seed you actually like best.

USE CASE 3

Switch between candidate seeds later without redoing the initial preview work.

What is it built with?

PythonComfyUI

How does it compare?

shootthesound/comfyui-kmsa-shojaei/constructdrawingaialex72-py/aria-termux
Stars202020
LanguagePythonPythonPython
Setup difficultyeasymoderatemoderate
Complexity2/54/52/5
Audiencegeneraldeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Drops into an existing ComfyUI installation as a custom node and includes an example workflow to get started quickly.

In plain English

ComfyUI-KMS is a custom node for ComfyUI, a popular interface for running image-generation AI models. The node is called KSampler Multi-Choice, and it solves a common frustration: choosing the right "seed." A seed is the random starting point that determines what an image will look like. Normally, if you want to compare several options, you have to generate each image fully, which costs time and computing power. This node changes that workflow. It runs a short, partial render for several seeds in a row, just enough steps to see the rough composition of each image. Then it pauses and shows those partial renders as small clickable thumbnails directly on the node itself. You look at the thumbnails, pick the one you like best, and only that chosen seed gets rendered to completion. The others are discarded unless you decide you want them later. A key feature is that the work from that initial partial run is not wasted. The finished image continues from exactly where the short probe stopped. With deterministic samplers, the result is identical to what you would get if you had just rendered that seed from scratch the normal way. This makes browsing cheap. The developer notes that looking at eight seeds this way costs around 22 total model steps, compared to 64 steps for rendering eight full images. The node works with different model types. For fast, distilled models, a one or two step probe is often enough to see the composition. For traditional multi-step models, you might set the probe to run for about a third of the total steps so the preview is clear enough to judge. After you pick a seed, the other thumbnails stay on screen. If you change your mind, you can click another candidate and it will render too, picking up from its own cached stopping point. An example workflow is included to help you get started. The full README is longer than what was shown.

Copy-paste prompts

Prompt 1
How do I install and use the KSampler Multi-Choice node in my ComfyUI workflow to preview multiple seeds before picking one to fully render?
Prompt 2
What probe step count should I set for distilled versus traditional multi-step models in ComfyUI-KMS, and how does the cached continuation work?
Prompt 3
Show me how to use the included example workflow in ComfyUI-KMS to browse eight seeds cheaply and then fully render only the one I pick.
Prompt 4
After I pick a seed in KSampler Multi-Choice, how do I go back and render a different thumbnail candidate without losing the original preview work?

Frequently asked questions

What is comfyui-kms?

A ComfyUI plugin that lets you preview multiple AI image seeds as thumbnails before committing to a full render, saving time and computing power by only finishing the one you pick.

What language is comfyui-kms written in?

Mainly Python. The stack also includes Python, ComfyUI.

How hard is comfyui-kms to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is comfyui-kms for?

Mainly general.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.