ComfyUI-TinyBee
A collection of custom nodes for ComfyUI, designed to provide utility functions for list processing, file management, and more.
Nodes (91)
The node that finally gives you a fresh seed every queue
Turning a checkbox into a number (and why you'd bother)
Two detections, one crop box
Stop hand-figuring Flux.2 dimensions — give it megapixels and a ratio
Reshape a detection box to any aspect ratio without losing the subject
Merge several Florence2 detection payloads into one, then parse it once
Set math for your prompt lists
Merge Your Metadata Into One Bundle
The crop node that doesn't panic when the box hangs off the image
Get Your Spreadsheet Data Into the Graph
Bulk-Format Every Entry in One Go
Pull One Value Out of an Object
Draw your detection box on the image so you can actually see what it found
Use an empty prompt as an off-switch instead of building a bypass
Build a Whole Metadata Bundle at Once
Wrap a Value So It Can Travel With Your Workflow
The Crop That Keeps the Face
Read the JSON Living Next to Your Image
Resume a Batch Without Regenerating Everything
Keep only the entries you actually meant to keep
Keep the Tags That Actually Show Up
A Real If-Statement for Your Workflow
Build a Rectangle From Any Two Corners
Round a weight curve into discrete frame indices
Turn a numeric widget into text you can save or stamp
Turn Florence2's detection JSON into a mask, a box, and a center point
Reshape a Box to Fit an Aspect Ratio
Turn a folder into a workflow input
Load a Text File as a Real List
Measure what the mask actually covers
Freeze a crop box in 0-to-1 coordinates so it survives resizing
Split a Contact Sheet Back Into Individual Images
A contact sheet without the export detour
Unpack a Batch Into Individual Image Wires
A counter that steps and wraps for batch loops
Pick Item N Out of a List
Turn two numbers into a yes/no
Crossfade Between Two Images
The Overlap of Two Boxes, in One Node
The Integer Sibling of Floats to Rect
The one-liner that turns numbers into yes/no
The one-line node that unblocks half your workflows
Padding numbers to filenames that sort correctly
A guard for the workflow you don't want to run on nothing
Seed farming, without clicking the dice a hundred times
Turn a JSON array into a real list so for-each loops can chew on it
Turn a properties dict into a real JSON string
A home for your JSON that stops mangling newlines
Querying JSON inside ComfyUI with JSONata
How many things are in that list, anyway?
One zip in, a whole image batch out
Load an image and its embedded metadata together
Read a text file into your workflow — prompts, captions, configs, anything
An IMAGE output that is deliberately nothing
The node that turns 'nothing' into an empty string so your workflow stops crashing
Pad an image and get it back at the same size
Tear a filename into its useful parts
One prompt box in, five prompt/negative pairs out
Prompt batching for people who outgrew five slots
Pull one key out of a TinyBee properties bag
Pick a random item from your list, reproducibly or not
Random files, without drowning in one folder
Shuffle your frames right on the wire
One seed, a new shuffle every run
The rectangle that is just the whole image
Is your crop box actually inside the image? Get the full edge report.
Unpack a rectangle into plain float coordinates
A rectangle as integers, rounded the way you choose
Your detection box, turned into a mask the sampler actually accepts
Find-and-replace across a whole list at once
Make a string safe to use as a filename
Hand someone all 64 frames as one file
The SaveImage that remembers your custom data
Stop copy-pasting your prompts into a text file
Scale a bounding box without breaking your head
Find-and-replace for prompts, with a case-matching party trick
Turn 'does this text contain X?' into a yes/no your workflow can branch on
Pick the one detection you actually care about
Make ComfyUI do things in the order you actually meant
Sort a list of strings — including file lists, by date or folder
Cut a list in two at any index — the batch-split you keep needing
The find-and-replace node that earns its place in every workflow
The prompt-variation node that does the cartesian product for you
Compare two strings and get a boolean — read the fine print first
The float twin of String to Integer, for when your API sends decimals as text
The one-line string-to-number cast that unblocks half your workflows
Turn a text blob into a real ComfyUI list — comments and all
Peel the quotes off a string so the rest of your workflow stops choking
A filename-safe clock that never collides
Random numbers that cluster toward the middle — the CFG jitter you want
Build prompts from templates instead of by hand
ComfyUI-TinyBee
A collection of custom nodes for ComfyUI, designed to provide utility functions for list processing, file management, and more.
Features
- List counting, random entry selection, and indexed entry selection
- List randomization with seed support
- Incrementer node for generating sequences
- File listing with glob and extension filtering
- Path processing utilities
Installation
- Clone or copy this folder into your ComfyUI
custom_nodesdirectory. - (Optional) Install any dependencies listed in
requirements.txt(all current dependencies are from the Python standard library).
Usage
Add the nodes to your ComfyUI workflow as needed. Each node is documented with its input and output types in the UI.
Nodes
- List Count: Counts the number of items in a list.
- Random Entry: Selects a random entry from a list, with optional seed.
- Indexed Entry: Selects an entry by index, with wrap-around.
- Randomize List: Shuffles a list with a given seed.
- Incrementer: Generates incrementing numbers with optional reset.
- Get File List: Lists files in a directory matching a glob pattern and extensions.
- Process Path Name: Splits a path into components.
License
MIT License